diff options
author | cira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-19 23:08:06 +0000 |
---|---|---|
committer | cira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-19 23:08:06 +0000 |
commit | 2dc8b3eb1bd1c648d2549d7af7ad5f0ad781ff39 (patch) | |
tree | fdf4de9b0000a15d8e3e4b9a5bcc9dbfb8def453 /chrome/common/extensions | |
parent | cd21403f2ce88b61e04ebcffdf03794c2abd9f94 (diff) | |
download | chromium_src-2dc8b3eb1bd1c648d2549d7af7ad5f0ad781ff39.zip chromium_src-2dc8b3eb1bd1c648d2549d7af7ad5f0ad781ff39.tar.gz chromium_src-2dc8b3eb1bd1c648d2549d7af7ad5f0ad781ff39.tar.bz2 |
adding underscore notation to manifest.json. Also adding spanish dictionary.
See http://codereview.chromium.org/551005 for review.
Landing for ernestd(at)google.com
TBR=finnur
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36568 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions')
3 files changed, 33 insertions, 3 deletions
diff --git a/chrome/common/extensions/docs/examples/api/i18n/getMessage/_locales/en_US/messages.json b/chrome/common/extensions/docs/examples/api/i18n/getMessage/_locales/en_US/messages.json index 9e86443..b33d2f0 100644 --- a/chrome/common/extensions/docs/examples/api/i18n/getMessage/_locales/en_US/messages.json +++ b/chrome/common/extensions/docs/examples/api/i18n/getMessage/_locales/en_US/messages.json @@ -8,6 +8,9 @@ "click_here": { "message": "Left click to list acceptLanguages." }, + "browser_action_title": { + "message": "Click Me" + }, "chrome_accept_languages": { "message": "$CHROME$ accepts $languages$ languages", "placeholders": { diff --git a/chrome/common/extensions/docs/examples/api/i18n/getMessage/_locales/es/messages.json b/chrome/common/extensions/docs/examples/api/i18n/getMessage/_locales/es/messages.json new file mode 100644 index 0000000..c8267e4 --- /dev/null +++ b/chrome/common/extensions/docs/examples/api/i18n/getMessage/_locales/es/messages.json @@ -0,0 +1,27 @@ +{ + "chrome_extension_name": { + "message": "AcceptLanguage" + }, + "chrome_extension_description": { + "message": "Devuelve los idiomas aceptados por el navegador" + }, + "click_here": { + "message": "Click con botón izquierdo para mostrar la lista de acceptLanguages." + }, + "browser_action_title": { + "message": "Haz click aquí" + }, + "chrome_accept_languages": { + "message": "$CHROME$ acepta los idiomas $languages$", + "placeholders": { + "chrome": { + "content": "Chrome", + "example": "Chrome" + }, + "languages": { + "content": "$1", + "example": "en-US,sr,de" + } + } + } +} diff --git a/chrome/common/extensions/docs/examples/api/i18n/getMessage/manifest.json b/chrome/common/extensions/docs/examples/api/i18n/getMessage/manifest.json index 5b78230..8b4e226 100644 --- a/chrome/common/extensions/docs/examples/api/i18n/getMessage/manifest.json +++ b/chrome/common/extensions/docs/examples/api/i18n/getMessage/manifest.json @@ -1,10 +1,10 @@ { - "name": "AcceptLanguage", - "description": "Returns accept languages of the browser", + "name": "__MSG_chrome_extension_name__", + "description": "__MSG_chrome_extension_description__", "version": "0.1", "default_locale": "en_US", "browser_action": { - "default_title": "Click Me", + "default_title": "__MSG_browser_action_title__", "default_icon": "icon.png", "popup": "popup.html" } |