OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 function MockEventSource() { | 5 function MockEventSource() { |
6 this.listeners_ = []; | 6 this.listeners_ = []; |
7 } | 7 } |
8 | 8 |
9 /** | 9 /** |
10 * Add a listener. | 10 * Add a listener. |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 DOWNLOADS_DIRECTORY_LABEL: 'Downloads', | 449 DOWNLOADS_DIRECTORY_LABEL: 'Downloads', |
450 DOWNLOADS_DIRECTORY_WARNING: "<strong>Caution:</strong> These
files are temporary and may be automatically deleted to free up disk space. <
;a href='javascript://'>Learn More</a>", | 450 DOWNLOADS_DIRECTORY_WARNING: "<strong>Caution:</strong> These
files are temporary and may be automatically deleted to free up disk space. <
;a href='javascript://'>Learn More</a>", |
451 NAME_COLUMN_LABEL: 'Name', | 451 NAME_COLUMN_LABEL: 'Name', |
452 SIZE_COLUMN_LABEL: 'Size', | 452 SIZE_COLUMN_LABEL: 'Size', |
453 SIZE_KB: 'KB', | 453 SIZE_KB: 'KB', |
454 SIZE_MB: 'MB', | 454 SIZE_MB: 'MB', |
455 SIZE_GB: 'GB', | 455 SIZE_GB: 'GB', |
456 SIZE_TB: 'TB', | 456 SIZE_TB: 'TB', |
457 SIZE_PB: 'PB', | 457 SIZE_PB: 'PB', |
458 TYPE_COLUMN_LABEL: 'Type', | 458 TYPE_COLUMN_LABEL: 'Type', |
459 DATE_COLUMN_LABEL: 'Date', | 459 DATE_COLUMN_LABEL: 'Date modified', |
460 PREVIEW_COLUMN_LABEL: 'Preview', | 460 PREVIEW_COLUMN_LABEL: 'Preview', |
461 | 461 |
462 ERROR_CREATING_FOLDER: 'Unable to create folder "$1". $2', | 462 ERROR_CREATING_FOLDER: 'Unable to create folder "$1". $2', |
463 ERROR_INVALID_CHARACTER: 'Invalid character: $1', | 463 ERROR_INVALID_CHARACTER: 'Invalid character: $1', |
464 ERROR_RESERVED_NAME: 'This name may not be used as a file of folder name', | 464 ERROR_RESERVED_NAME: 'This name may not be used as a file of folder name', |
465 ERROR_WHITESPACE_NAME: 'Invalid name', | 465 ERROR_WHITESPACE_NAME: 'Invalid name', |
466 ERROR_NEW_FOLDER_EMPTY_NAME: 'Please specify a folder name', | 466 ERROR_NEW_FOLDER_EMPTY_NAME: 'Please specify a folder name', |
467 NEW_FOLDER_BUTTON_LABEL: 'New folder', | 467 NEW_FOLDER_BUTTON_LABEL: 'New folder', |
468 FILENAME_LABEL: 'File Name', | 468 FILENAME_LABEL: 'File Name', |
469 PREPARING_LABEL: 'Preparing', | 469 PREPARING_LABEL: 'Preparing', |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 | 533 |
534 UNMOUNT_FAILED: 'Unable to eject: $1', | 534 UNMOUNT_FAILED: 'Unable to eject: $1', |
535 UNMOUNT_DEVICE_BUTTON_LABEL: 'Unmount', | 535 UNMOUNT_DEVICE_BUTTON_LABEL: 'Unmount', |
536 FORMAT_DEVICE_BUTTON_LABEL: 'Format', | 536 FORMAT_DEVICE_BUTTON_LABEL: 'Format', |
537 | 537 |
538 GDATA_MENU_HELP: 'Help', | 538 GDATA_MENU_HELP: 'Help', |
539 GDATA_MOBILE_CONNECTION_OPTION: 'Do not use mobile data for sync', | 539 GDATA_MOBILE_CONNECTION_OPTION: 'Do not use mobile data for sync', |
540 GDATA_SHOW_HOSTED_FILES_OPTION: 'Show Google Docs files', | 540 GDATA_SHOW_HOSTED_FILES_OPTION: 'Show Google Docs files', |
541 GDATA_WAITING_FOR_SPACE_INFO: 'Waiting for space info...', | 541 GDATA_WAITING_FOR_SPACE_INFO: 'Waiting for space info...', |
542 GDATA_FAILED_SPACE_INFO: 'Failed to retrieve space info', | 542 GDATA_FAILED_SPACE_INFO: 'Failed to retrieve space info', |
543 GDATA_BUY_MORE_SPACE: 'Buy more...', | 543 GDATA_BUY_MORE_SPACE: 'Buy more storage...', |
544 GDATA_SPACE_AVAILABLE: '$1 left', | 544 GDATA_SPACE_AVAILABLE: '$1 left', |
545 | 545 |
546 OFFLINE_COLUMN_LABEL: 'Available offline', | 546 OFFLINE_COLUMN_LABEL: 'Available offline', |
547 GDATA_LOADING: 'Hang with us. We\'re fetching your files.', | 547 GDATA_LOADING: 'Hang with us. We\'re fetching your files.', |
548 GDATA_RETRY: 'Retry', | 548 GDATA_RETRY: 'Retry', |
549 GDATA_LEARN_MORE: 'Learn more', | 549 GDATA_LEARN_MORE: 'Learn more', |
550 GDATA_CANNOT_REACH: '$1 cannot be reached at this time', | 550 GDATA_CANNOT_REACH: '$1 cannot be reached at this time', |
551 | 551 |
552 GDATA_WELCOME_TITLE: 'Welcome to Google Drive!', | 552 GDATA_WELCOME_TITLE: 'Welcome to Google Drive!', |
553 GDATA_WELCOME_TITLE_ALTERNATIVE: 'Get 100 GB free with Google Drive', | 553 GDATA_WELCOME_TITLE_ALTERNATIVE: 'Get 100 GB free with Google Drive', |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 compare: function(a, b) { | 816 compare: function(a, b) { |
817 if (a > b) return 1; | 817 if (a > b) return 1; |
818 if (a < b) return -1; | 818 if (a < b) return -1; |
819 return 0; | 819 return 0; |
820 } | 820 } |
821 }; | 821 }; |
822 }; | 822 }; |
823 | 823 |
824 return v8Intl; | 824 return v8Intl; |
825 }()); | 825 }()); |
OLD | NEW |