diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 03:09:05 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 03:09:05 +0000 |
commit | 36a26ed0faf7fb24d1991136cb5d6969f8042055 (patch) | |
tree | f8651c491b8a25bc7bd5b56f85f099c3b3f651dd /chrome_frame/resources | |
parent | 6502d03df070469ccc6f634f4c72d4ceda9a3bb3 (diff) | |
download | chromium_src-36a26ed0faf7fb24d1991136cb5d6969f8042055.zip chromium_src-36a26ed0faf7fb24d1991136cb5d6969f8042055.tar.gz chromium_src-36a26ed0faf7fb24d1991136cb5d6969f8042055.tar.bz2 |
Add a simple resource loader to Chrome Frame that is capable of finding, loading and extracting resources from the Chrome locale DLLs.
Add the Chrome Frame resource strings to the Chrome .grds so they get built directly into the Chrome locale dlls.
There is one remaining todo here, which is to load the dialog template into a grd + rc somewhere (probably in generated_resources.grd) and then get CF to load dialog templates from a different module. Will do that in another patch.
BUG=24305
TEST=Chrome Frame when loaded on machines whose locales are not US English will display strings appropriate to those locales.
Review URL: http://codereview.chromium.org/1240001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42423 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/resources')
-rw-r--r-- | chrome_frame/resources/chrome_frame_resources.grd | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/chrome_frame/resources/chrome_frame_resources.grd b/chrome_frame/resources/chrome_frame_resources.grd index ee6a846..abd6547 100644 --- a/chrome_frame/resources/chrome_frame_resources.grd +++ b/chrome_frame/resources/chrome_frame_resources.grd @@ -20,20 +20,7 @@ for localizable strings <output filename="chrome_frame_resources.pak" type="data_package" /> </outputs> <release seq="1"> - <messages> - <message name="IDS_VERSIONMISMATCH_HEADER"> - ChromeFrame Update. - </message> - <message name="IDS_VERSIONMISMATCH"> - ChromeFrame has been updated. Please restart your browser. Chrome version: <ph name="TODO_0001">%ls<ex>TODO</ex></ph>, Chrome Frame version: <ph name="TODO_0002">%ls<ex>TODO</ex></ph> - </message> - <message name="IDS_VERSIONUNKNOWN"> - Very old - </message> - <message name="IDS_CHROME_FRAME_MENU_ABOUT" desc="About Chrome Frame label"> - About Chrome Frame... - </message> - </messages> + <!-- TODO(robertshield): All that's left now is to localize the dialog resource. --> <structures first_id="50000"> <structure name="IDD_FIND_DIALOG" file="structured_resources.rc" type="dialog" > </structure> |