summaryrefslogtreecommitdiffstats
path: root/remoting/tools
diff options
context:
space:
mode:
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)