diff options
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/chrome_dll_resource.h | 6 | ||||
-rw-r--r-- | chrome/app/generated_resources.grd | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/chrome/app/chrome_dll_resource.h b/chrome/app/chrome_dll_resource.h index 423c053..c73243c 100644 --- a/chrome/app/chrome_dll_resource.h +++ b/chrome/app/chrome_dll_resource.h @@ -230,6 +230,12 @@ #define IDC_SYNC_BOOKMARKS 41108 #define IDC_SPELLPANEL_TOGGLE 41109 +// Writing direction +#define IDC_WRITING_DIRECTION_MENU 41120 // OSX only +#define IDC_WRITING_DIRECTION_DEFAULT 41121 // OSX only +#define IDC_WRITING_DIRECTION_LTR 41122 // OSX only +#define IDC_WRITING_DIRECTION_RTL 41123 // OSX only + // Translate #define IDC_TRANSLATE_OPTIONS_ALWAYS 42000 #define IDC_TRANSLATE_OPTIONS_NEVER_TRANSLATE_LANG 42001 diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index dc37001..79922a5 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -320,6 +320,20 @@ each locale. --> </message> <!-- content area context menus --> + <if expr="os == 'darwin'"> + <message name="IDS_CONTENT_CONTEXT_WRITING_DIRECTION_MENU" desc="The name of the Writing Direction submenu in the content area context menu. To translate, launch /Applications/Textedit.app in an appropriately localized version of OS X, right-click on the text entry area and use the translation from there."> + Writing Direction + </message> + <message name="IDS_CONTENT_CONTEXT_WRITING_DIRECTION_DEFAULT" desc="The name of the 'default' item from the Writing Direction submenu in the content area context menu. To translate, launch /Applications/Textedit.app in an appropriately localized version of OS X, right-click on the text entry area and use the translation from there."> + Default + </message> + <message name="IDS_CONTENT_CONTEXT_WRITING_DIRECTION_LTR" desc="The name of the 'Left to Right' item from the Writing Direction submenu in the content area context menu. To translate, launch /Applications/Textedit.app in an appropriately localized version of OS X, right-click on the text entry area and use the translation from there."> + Left to Right + </message> + <message name="IDS_CONTENT_CONTEXT_WRITING_DIRECTION_RTL" desc="The name of the 'Right to Left' item from the Writing Direction submenu in the content area context menu. To translate, launch /Applications/Textedit.app in an appropriately localized version of OS X, right-click on the text entry area and use the translation from there."> + Right to Left + </message> + </if> <if expr="not pp_ifdef('use_titlecase')"> <message name="IDS_CONTENT_CONTEXT_BACK" desc="The name of the Back command in the content area context menu"> &Back |