summaryrefslogtreecommitdiffstats
path: root/remoting/tools
diff options
context:
space:
mode:
authorlambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-27 21:44:11 +0000
committerlambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-27 21:44:11 +0000
commit8bf7178895ee4acbebf60e64a8225ef1eded6b09 (patch)
treef339044458081eee55092cfe40a33c8b68e21629 /remoting/tools
parentbd779991caaefa8d10948a00d79d9c6fb8fb1a35 (diff)
downloadchromium_src-8bf7178895ee4acbebf60e64a8225ef1eded6b09.zip
chromium_src-8bf7178895ee4acbebf60e64a8225ef1eded6b09.tar.gz
chromium_src-8bf7178895ee4acbebf60e64a8225ef1eded6b09.tar.bz2
Rename Chromoting string resource IDs from IDR_ to IDS_.
This makes the names consistent with other string resources in Chrome, and is needed for localizing the Android client. Review URL: https://codereview.chromium.org/140683010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247303 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/tools')
-rwxr-xr-xremoting/tools/verify_resources.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/tools/verify_resources.py b/remoting/tools/verify_resources.py
index 5623228..1f5d8d4 100755
--- a/remoting/tools/verify_resources.py
+++ b/remoting/tools/verify_resources.py
@@ -45,8 +45,8 @@ def LoadTagsFromGrd(filename):
msgs_and_structs.extend(xml.getElementsByTagName("structure"))
for res in msgs_and_structs:
name = res.getAttribute("name")
- if not name or not name.startswith("IDR_"):
- raise Exception("Tag name doesn't start with IDR_: %s" % name)
+ if not name or not name.startswith("IDS_"):
+ raise Exception("Tag name doesn't start with IDS_: %s" % name)
tags.append(name[4:])
return tags
@@ -68,7 +68,7 @@ def ExtractTagFromLine(file_type, line):
if m: return m.group(1)
elif file_type == 'cc' or file_type == 'mm':
# C++ style
- m = re.search('IDR_([A-Z0-9_]*)', line)
+ m = re.search('IDS_([A-Z0-9_]*)', line)
if m: return m.group(1)
m = re.search('/\*i18n-content\*/["]([^\`"]*)["]', line)
if m: return m.group(1)