Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py

Issue 7273027: Minor fixes of gen_keyboard_overlay_data.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py
diff --git a/tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py b/tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py
index ff2c031aae52ee5fc0b03b5452cc1a23a3431809..457f493bc8f3228bcdeaa917f10429f08226576d 100755
--- a/tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py
+++ b/tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py
@@ -63,7 +63,7 @@ LABEL_MAP = {
# Kana/Eisu key on Japanese keyboard
'glyph_ime': u'\u304b\u306a\u0020\u002f\u0020\u82f1\u6570',
'glyph_lock': 'lock',
- 'glyph_overview': 'switch window',
+ 'glyph_overview': 'maximize',
'glyph_power': 'power',
'glyph_right': 'right',
'glyph_reload': 'reload',
@@ -360,7 +360,7 @@ def OutputJson(keyboard_glyph_data, hotkey_data, layouts, var_name, outfile):
json_data = json.dumps(data, sort_keys=True, indent=2)
# Remove redundant spaces after ','
json_data = json_data.replace(', \n', ',\n')
- out.write('var %s = %s;' % (var_name, json_data))
+ out.write('var %s = %s;\n' % (var_name, json_data))
def OutputGrd(hotkey_data, outfile):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698