Commit b2249ec8 authored by yoshiki@chromium.org's avatar yoshiki@chromium.org

[Cleanup] Files.app: Fix 80 columns in mock_chrome.js.

BUG=175657
TEST=Files.app harness launches without error.
TBR=mtomasz@chromium.org, haruki@chromium.org

Review URL: https://codereview.chromium.org/12258002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182198 0039d316-1c4b-4281-b951-d872f2087c98
parent 379801dc
...@@ -157,7 +157,8 @@ chrome.fileBrowserPrivate = { ...@@ -157,7 +157,8 @@ chrome.fileBrowserPrivate = {
{ {
taskId: internalTaskPrefix + '|gallery', taskId: internalTaskPrefix + '|gallery',
title: 'View', title: 'View',
regexp: /\.(bmp|gif|jpe?g|png|webp|3gp|avi|m4v|mov|mp4|mpeg4?|mpg4?|ogm|ogv|ogx|webm)$/i, regexp: new RegExp('\.(bmp|gif|jpe?g|png|webp|3gp|avi|m4v|mov|mp4|' +
'mpeg4?|mpg4?|ogm|ogv|ogx|webm)$', 'i'),
iconUrl: emptyIcon iconUrl: emptyIcon
}, },
{ {
...@@ -169,7 +170,8 @@ chrome.fileBrowserPrivate = { ...@@ -169,7 +170,8 @@ chrome.fileBrowserPrivate = {
{ {
taskId: 'fake-extension-id|file|fake-item', taskId: 'fake-extension-id|file|fake-item',
title: 'External action', title: 'External action',
regexp: /\.(bmp|gif|jpe?g|png|webp|3gp|avi|m4v|mov|mp4|mpeg4?|mpg4?|ogm|ogv|ogx|webm)$/i, regexp: new RegExp('\.(bmp|gif|jpe?g|png|webp|3gp|avi|m4v|mov|mp4|' +
'mpeg4?|mpg4?|ogm|ogv|ogx|webm)$', 'i'),
iconUrl: 'chrome://theme/IDR_FILE_MANAGER_IMG_FILETYPE_GENERIC' iconUrl: 'chrome://theme/IDR_FILE_MANAGER_IMG_FILETYPE_GENERIC'
}, },
{ {
...@@ -473,7 +475,10 @@ chrome.fileBrowserPrivate = { ...@@ -473,7 +475,10 @@ chrome.fileBrowserPrivate = {
ROOT_DIRECTORY_LABEL: 'Files', ROOT_DIRECTORY_LABEL: 'Files',
DOWNLOADS_DIRECTORY_LABEL: 'Downloads', DOWNLOADS_DIRECTORY_LABEL: 'Downloads',
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>", 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>",
NAME_COLUMN_LABEL: 'Name', NAME_COLUMN_LABEL: 'Name',
SIZE_COLUMN_LABEL: 'Size', SIZE_COLUMN_LABEL: 'Size',
SIZE_BYTES: '$ bytes', SIZE_BYTES: '$ bytes',
...@@ -548,11 +553,13 @@ chrome.fileBrowserPrivate = { ...@@ -548,11 +553,13 @@ chrome.fileBrowserPrivate = {
GALLERY_OVERWRITE_BUBBLE: 'Your edits are saved automatically.<br><br>' + GALLERY_OVERWRITE_BUBBLE: 'Your edits are saved automatically.<br><br>' +
'To keep a copy of the original image, uncheck "Overwrite original"', 'To keep a copy of the original image, uncheck "Overwrite original"',
GALLERY_UNSAVED_CHANGES: 'Changes are not saved yet.', GALLERY_UNSAVED_CHANGES: 'Changes are not saved yet.',
GALLERY_READONLY_WARNING: '$1 is read only. Edited images will be saved in the Downloads folder.', GALLERY_READONLY_WARNING: '$1 is read only. Edited images will be ' +
'saved in the Downloads folder.',
GALLERY_IMAGE_ERROR: 'This file could not be displayed', GALLERY_IMAGE_ERROR: 'This file could not be displayed',
GALLERY_IMAGE_TOO_BIG_ERROR: 'This file is too large to be opened.', GALLERY_IMAGE_TOO_BIG_ERROR: 'This file is too large to be opened.',
GALLERY_VIDEO_ERROR: 'This file could not be played.', GALLERY_VIDEO_ERROR: 'This file could not be played.',
GALLERY_VIDEO_DECODING_ERROR: 'An error occurred. Click to restart from the beginning.', GALLERY_VIDEO_DECODING_ERROR:
'An error occurred. Click to restart from the beginning.',
GALLERY_ITEMS_SELECTED: '$1 items selected', GALLERY_ITEMS_SELECTED: '$1 items selected',
GALLERY_NO_IMAGES: 'No images in this directory.', GALLERY_NO_IMAGES: 'No images in this directory.',
...@@ -568,9 +575,12 @@ chrome.fileBrowserPrivate = { ...@@ -568,9 +575,12 @@ chrome.fileBrowserPrivate = {
AUDIO_ERROR: 'This file could not be played', AUDIO_ERROR: 'This file could not be played',
CONFIRM_OVERWRITE_FILE: 'A file named "$1" already exists. Do you want to replace it?', CONFIRM_OVERWRITE_FILE:
FILE_ALREADY_EXISTS: 'The file named "$1" already exists. Please choose a different name.', 'A file named "$1" already exists. Do you want to replace it?',
DIRECTORY_ALREADY_EXISTS: 'The folder named "$1" already exists. Please choose a different name.', FILE_ALREADY_EXISTS:
'The file named "$1" already exists. Please choose a different name.',
DIRECTORY_ALREADY_EXISTS: 'The folder named "$1" already exists. ' +
'Please choose a different name.',
ERROR_RENAMING: 'Unable to rename "$1". $2', ERROR_RENAMING: 'Unable to rename "$1". $2',
RENAME_PROMPT: 'Enter a new name', RENAME_PROMPT: 'Enter a new name',
RENAME_BUTTON_LABEL: 'Rename', RENAME_BUTTON_LABEL: 'Rename',
...@@ -614,7 +624,8 @@ chrome.fileBrowserPrivate = { ...@@ -614,7 +624,8 @@ chrome.fileBrowserPrivate = {
'All files saved in this folder are backed up online automatically', 'All files saved in this folder are backed up online automatically',
DRIVE_WELCOME_TEXT_LONG: DRIVE_WELCOME_TEXT_LONG:
'<p><strong>Access files from everywhere, even offline.</strong> ' + '<p><strong>Access files from everywhere, even offline.</strong> ' +
'Files in Google Drive are up-to-date and available from any device.</p>' + 'Files in Google Drive are up-to-date and available from any ' +
'device.</p>' +
'<p><strong>Keep your files safe.</strong> ' + '<p><strong>Keep your files safe.</strong> ' +
'No matter what happens to your device, your files are ' + 'No matter what happens to your device, your files are ' +
'safely stored in Google Drive .</p>' + 'safely stored in Google Drive .</p>' +
...@@ -625,13 +636,18 @@ chrome.fileBrowserPrivate = { ...@@ -625,13 +636,18 @@ chrome.fileBrowserPrivate = {
DRIVE_LOADING_PROGRESS: '$1 files fetched', DRIVE_LOADING_PROGRESS: '$1 files fetched',
OFFLINE_HEADER: 'You are offline', OFFLINE_HEADER: 'You are offline',
OFFLINE_MESSAGE: 'To save this file for offline use, get back online and<br>select the \'$1\' checkbox for this file.', OFFLINE_MESSAGE: 'To save this file for offline use, get back online ' +
OFFLINE_MESSAGE_PLURAL: 'To save these files for offline use, get back online and<br>select the \'$1\' checkbox for this file.', 'and<br>select the \'$1\' checkbox for this file.',
OFFLINE_MESSAGE_PLURAL: 'To save these files for offline use, get back ' +
'online and<br>select the \'$1\' checkbox for this file.',
HOSTED_OFFLINE_MESSAGE: 'You must be online to access this file.', HOSTED_OFFLINE_MESSAGE: 'You must be online to access this file.',
HOSTED_OFFLINE_MESSAGE_PLURAL: 'You must be online to access these files.', HOSTED_OFFLINE_MESSAGE_PLURAL:
'You must be online to access these files.',
CONFIRM_MOBILE_DATA_USE: 'Fetching this file will use approximately $1 of mobile data.', CONFIRM_MOBILE_DATA_USE:
CONFIRM_MOBILE_DATA_USE_PLURAL: 'Fetching these files will use approximately $1 of mobile data.', 'Fetching this file will use approximately $1 of mobile data.',
CONFIRM_MOBILE_DATA_USE_PLURAL:
'Fetching these files will use approximately $1 of mobile data.',
GDOC_DOCUMENT_FILE_TYPE: 'Google document', GDOC_DOCUMENT_FILE_TYPE: 'Google document',
GSHEET_DOCUMENT_FILE_TYPE: 'Google spreadsheet', GSHEET_DOCUMENT_FILE_TYPE: 'Google spreadsheet',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment