summaryrefslogtreecommitdiffstats
path: root/app/l10n_util.h
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-17 07:49:53 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-17 07:49:53 +0000
commit2e59325fed2416cd23d0b418cd46e302148aa584 (patch)
tree12a5fa4d92c38c32b4e03a8df4a55a8688f1e449 /app/l10n_util.h
parent3e52d7d6df02b80809826c8a68b897d337ec8f94 (diff)
downloadchromium_src-2e59325fed2416cd23d0b418cd46e302148aa584.zip
chromium_src-2e59325fed2416cd23d0b418cd46e302148aa584.tar.gz
chromium_src-2e59325fed2416cd23d0b418cd46e302148aa584.tar.bz2
Translate: Move label parsing logic into common code.
* Add a string16 & Cocoa version of GetStringF(). * Move logic for parsing translate infobar label into translate_infobars_delegates. * Make views variant of translate infobars use new code. BUG=34466 TEST=Translate infobars should continue to workon Windows. Review URL: http://codereview.chromium.org/597042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39206 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/l10n_util.h')
-rw-r--r--app/l10n_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/l10n_util.h b/app/l10n_util.h
index 8ed7596..66b9d23 100644
--- a/app/l10n_util.h
+++ b/app/l10n_util.h
@@ -155,6 +155,10 @@ std::wstring GetStringF(int message_id,
const std::wstring& a,
const std::wstring& b,
std::vector<size_t>* offsets);
+string16 GetStringFUTF16(int message_id,
+ const string16& a,
+ const string16& b,
+ std::vector<size_t>* offsets);
// Convenience formatters for a single number.
std::wstring GetStringF(int message_id, int a);