LO340: дублирование сочетаний клавиш в главном меню [РЕШЕНО]

Автор Helen, 11 мая 2011, 22:21

0 Пользователи и 1 гость просматривают эту тему.

Helen

в главном меню Writer и Calc дублируется сочетание клавиш для команд "Вставка" и "Таблица"

Где-то надо сменить.

bormant, у тебя жива KID-сборка ООо?

[вложение удалено Администратором]

Helen

Прошу прощения, конечно, только в Writer :)
Исправилась

ape

Есть 3 способа вставки таблицы в текст. Все используют одно сочетание - это, имхо, правильно - выполняется одно и то же действие.

[вложение удалено Администратором]

bormant

#3
Да, OOo 4.3-kid жива. По ней:

меню Вставка:
officecfg   registry\data\org\openoffice\Office\UI\GenericCommands.xcu   0   value   ..GenericCommands.UserInterface.Popups..uno:InsertMenu   Label         0   kid   fpt860‖~Insert

меню Таблица:
officecfg   registry\data\org\openoffice\Office\UI\WriterCommands.xcu   0   value   ..WriterCommands.UserInterface.Popups..uno:TableMenu   Label         0   kid   ah=nyf‖T~able

Соответственно:
Цитировать
officecfg/registry/data/org/openoffice/Office/UI.po:8961:
#: GenericCommands.xcu#..GenericCommands.UserInterface.Popups..uno_InsertMenu.Label.value.text
msgctxt "GenericCommands.xcu#..GenericCommands.UserInterface.Popups..uno_InsertMenu.Label.value.text"
msgid "~Insert"
msgstr "Вс~тавка"

officecfg/registry/data/org/openoffice/Office/UI.po:5638:
#: WriterCommands.xcu#..WriterCommands.UserInterface.Popups..uno_TableMenu.Label.value.text
msgid "T~able"
msgstr "~Таблица"

В 3.1.1 горячими были В~ставка, Спр~авка (возможно, на автомате).

Если "с" отдавать под "Справку", то
Цитировать
officecfg/registry/data/org/openoffice/Office/UI.po:8926:
#: GenericCommands.xcu#..GenericCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text
msgctxt "GenericCommands.xcu#..GenericCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text"
msgid "~Help"
msgstr "Спр~авка"
--
officecfg/registry/data/org/openoffice/Office/UI.po:9396:
#: StartModuleCommands.xcu#..StartModuleCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text
msgctxt "StartModuleCommands.xcu#..StartModuleCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text"
msgid "~Help"
msgstr "Спр~авка"

ps. Если правильно путаю, на сайтах (wiki?) OOo где-то была табличка с перечнем горячих клавиш, и их произвольно менять не рекомендовали, а замену просили документировать (в целях VCL TestTool).
Автору на яд. Поддержать форум.

Helen

#4
спасибо. В ООо 3.3, кстати, та же ошибка.


Helen

Цитата: bormant от 12 мая 2011, 09:13ps. Если правильно путаю, на сайтах (wiki?) OOo где-то была табличка с перечнем горячих клавиш, и их произвольно менять не рекомендовали, а замену просили документировать (в целях VCL TestTool).
тесты в VCL TestTool не зависят от локализации. Зачем им наши сочетания?

Helen

Цитата: bormant от 12 мая 2011, 09:13Если "с" отдавать под "Справку", то

Цитироватьofficecfg/registry/data/org/openoffice/Office/UI.po:8926:
#: GenericCommands.xcu#..GenericCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text
msgctxt "GenericCommands.xcu#..GenericCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text"
msgid "~Help"
msgstr "Спр~авка"
--
officecfg/registry/data/org/openoffice/Office/UI.po:9396:
#: StartModuleCommands.xcu#..StartModuleCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text
msgctxt "StartModuleCommands.xcu#..StartModuleCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text"
msgid "~Help"
msgstr "Спр~авка"

"Спр~авка" с ~а только две лексемы найдено?

Тогда получится:
Вст~авка
~Таблица
~Справка


Можно ещё раз заглянуть в KID-сборку? Вторая найденная Cпр~авка - это пункт меню, когда ни один компонент ООо не выбран?

bormant

Цитата: Helen от 12 мая 2011, 10:01Вторая найденная Cпр~авка - это пункт меню, когда ни один компонент ООо не выбран?
Да.

Полный комплект (все вхождения, не только главное меню) несколько объёмнее:
Цитировать
./javainstaller2/src/Localization.po-50-#: setupstrings.ulf#STRING_HELP.LngText.text
./javainstaller2/src/Localization.po-51-msgid "Help"
./javainstaller2/src/Localization.po:52:msgstr "Справка"
--
./sfx2/source/appl.po-225-#: app.src#RID_STR_HELP.string.text
./sfx2/source/appl.po-226-msgid "Help"
./sfx2/source/appl.po:227:msgstr "Справка"
--
./sfx2/source/appl.po-453-#: newhelp.src#STR_HELP_WINDOW_TITLE.string.text
./sfx2/source/appl.po-454-msgid "%PRODUCTNAME Help"
./sfx2/source/appl.po:455:msgstr "Справка %PRODUCTNAME"
--
./sfx2/source/menu.po-41-#: menu.src#STR_MENU_ADDONHELP.string.text
./sfx2/source/menu.po-42-msgid "Add-~On Help"
./sfx2/source/menu.po:43:msgstr "Справка по дополнениям"
--
./scp2/source/math.po-52-#: module_math.ulf#STR_NAME_MODULE_PRG_MATH_HELP.LngText.text
./scp2/source/math.po-53-msgid "%PRODUCTNAME Math Help"
./scp2/source/math.po:54:msgstr "Справка по %PRODUCTNAME Math"
--
./scp2/source/math.po-56-#: module_math.ulf#STR_DESC_MODULE_PRG_MATH_HELP.LngText.text
./scp2/source/math.po-57-msgid "Help about %PRODUCTNAME Math"
./scp2/source/math.po:58:msgstr "Справка по %PRODUCTNAME Math"
--
./scp2/source/calc.po-42-#: module_calc.ulf#STR_NAME_MODULE_PRG_CALC_HELP.LngText.text
./scp2/source/calc.po-43-msgid "%PRODUCTNAME Calc Help"
./scp2/source/calc.po:44:msgstr "Справка по %PRODUCTNAME Calc"
--
./scp2/source/calc.po-46-#: module_calc.ulf#STR_DESC_MODULE_PRG_CALC_HELP.LngText.text
./scp2/source/calc.po-47-msgid "Help about %PRODUCTNAME Calc"
./scp2/source/calc.po:48:msgstr "Справка по %PRODUCTNAME Calc"
--
./scp2/source/draw.po-59-#: module_draw.ulf#STR_NAME_MODULE_PRG_DRAW_HELP.LngText.text
./scp2/source/draw.po-60-msgid "%PRODUCTNAME Draw Help"
./scp2/source/draw.po:61:msgstr "Справка по %PRODUCTNAME Draw"
--
./scp2/source/draw.po-63-#: module_draw.ulf#STR_DESC_MODULE_PRG_DRAW_HELP.LngText.text
./scp2/source/draw.po-64-msgid "Help about %PRODUCTNAME Draw"
./scp2/source/draw.po:65:msgstr "Справка по %PRODUCTNAME Draw"
--
./scp2/source/writer.po-94-#: module_writer.ulf#STR_NAME_MODULE_PRG_WRT_HELP.LngText.text
./scp2/source/writer.po-95-msgid "%PRODUCTNAME Writer Help"
./scp2/source/writer.po:96:msgstr "Справка по %PRODUCTNAME Writer"
--
./scp2/source/writer.po-98-#: module_writer.ulf#STR_DESC_MODULE_PRG_WRT_HELP.LngText.text
./scp2/source/writer.po-99-msgid "Help about %PRODUCTNAME Writer"
./scp2/source/writer.po:100:msgstr "Справка по %PRODUCTNAME Writer"
--
./scp2/source/impress.po-98-#: module_impress.ulf#STR_NAME_MODULE_PRG_IMPRESS_HELP.LngText.text
./scp2/source/impress.po-99-msgid "%PRODUCTNAME Impress Help"
./scp2/source/impress.po:100:msgstr "Справка по %PRODUCTNAME Impress"
--
./scp2/source/impress.po-102-#: module_impress.ulf#STR_DESC_MODULE_PRG_IMPRESS_HELP.LngText.text
./scp2/source/impress.po-103-msgid "Help about %PRODUCTNAME Impress"
./scp2/source/impress.po:104:msgstr "Справка по %PRODUCTNAME Impress."
--
./scp2/source/base.po-40-#: module_base.ulf#STR_NAME_MODULE_PRG_BASE_HELP.LngText.text
./scp2/source/base.po-41-msgid "%PRODUCTNAME Base Help"
./scp2/source/base.po:42:msgstr "Справка по %PRODUCTNAME Base"
--
./scp2/source/base.po-44-#: module_base.ulf#STR_DESC_MODULE_PRG_BASE_HELP.LngText.text
./scp2/source/base.po-45-msgid "Help about %PRODUCTNAME Base"
./scp2/source/base.po:46:msgstr "Справка по %PRODUCTNAME Base"
--
./svx/inc.po-549-#: globlmn_tmpl.hrc#ITEM_HELP_HELPMENU.#define.text
./svx/inc.po-550-msgid "~Help"
./svx/inc.po:551:msgstr "~Справка"
--
./instsetoo_native/inc_openoffice/windows/msi_languages.po-1478-#: Control.ulf#OOO_CONTROL_56.LngText.text
./instsetoo_native/inc_openoffice/windows/msi_languages.po-1479-msgid "&Help"
./instsetoo_native/inc_openoffice/windows/msi_languages.po:1480:msgstr "Справка"
--
./desktop/source/deployment/registry/help.po-19-#: dp_help.src#RID_STR_HELP.string.text
./desktop/source/deployment/registry/help.po-20-msgid "Help"
./desktop/source/deployment/registry/help.po:21:msgstr "Справка"
--
./svl/source/misc.po-151-#: mediatyp.src#STR_SVT_MIMETYPE_APP_STARHELP.string.text
./svl/source/misc.po-152-msgid "%PRODUCTNAME Help"
./svl/source/misc.po:153:msgstr "Справка %PRODUCTNAME"
--
./wizards/source/euro.po-26-#: euro.src#STEP_ZERO___1.string.text
./wizards/source/euro.po-27-msgid "~Help"
./wizards/source/euro.po:28:msgstr "Сп~равка"
--
./wizards/source/formwizard.po-107-#: dbwizres.src#RID_COMMON_START___15.string.text
./wizards/source/formwizard.po-108-msgctxt "dbwizres.src#RID_COMMON_START___15.string.text"
./wizards/source/formwizard.po-109-msgid "~Help"
./wizards/source/formwizard.po:110:msgstr "~Справка"
--
./wizards/source/formwizard.po-176-#: dbwizres.src#RID_DB_COMMON_START___20.string.text
./wizards/source/formwizard.po-177-msgctxt "dbwizres.src#RID_DB_COMMON_START___20.string.text"
./wizards/source/formwizard.po-178-msgid "~Help"
./wizards/source/formwizard.po:179:msgstr "Сп~равка"
--
./wizards/source/importwizard.po-20-#: importwi.src#sHelpButton.string.text
./wizards/source/importwizard.po-21-msgid "~Help"
./wizards/source/importwizard.po:22:msgstr "Сп~равка"
--
./sdext/source/minimizer/registry/data/org/openoffice/Office/extension.po-35-#: SunPresentationMinimizer.xcu#.SunPresentationMinimizer.Strings.STR_HELP.value.text
./sdext/source/minimizer/registry/data/org/openoffice/Office/extension.po-36-msgid "~Help"
./sdext/source/minimizer/registry/data/org/openoffice/Office/extension.po:37:msgstr "~Справка"
--
./sdext/source/presenter/registry/data/org/openoffice/Office/extension.po-41-#: PresenterScreen.xcu#..PresenterScreen.PresenterScreenSettings.ToolBars.ToolBar.Entries.l.Normal.Text.value.text
./sdext/source/presenter/registry/data/org/openoffice/Office/extension.po-42-msgctxt "PresenterScreen.xcu#..PresenterScreen.PresenterScreenSettings.ToolBars.ToolBar.Entries.l.Normal.Text.value.text"
./sdext/source/presenter/registry/data/org/openoffice/Office/extension.po-43-msgid "Help"
./sdext/source/presenter/registry/data/org/openoffice/Office/extension.po:44:msgstr "Справка"
--
./sdext/source/presenter/registry/data/org/openoffice/Office/extension.po-300-#: PresenterScreen.xcu#..PresenterScreen.Presenter.Views.HelpView.Title.value.text
./sdext/source/presenter/registry/data/org/openoffice/Office/extension.po-301-msgctxt "PresenterScreen.xcu#..PresenterScreen.Presenter.Views.HelpView.Title.value.text"
./sdext/source/presenter/registry/data/org/openoffice/Office/extension.po-302-msgid "Help"
./sdext/source/presenter/registry/data/org/openoffice/Office/extension.po:303:msgstr "Справка"
--
./reportdesign/source/ui/dlg.po-182-#: PageNumber.src#RID_PAGENUMBERS.PB_HELP.helpbutton.text
./reportdesign/source/ui/dlg.po-183-msgctxt "PageNumber.src#RID_PAGENUMBERS.PB_HELP.helpbutton.text"
./reportdesign/source/ui/dlg.po-184-msgid "~Help"
./reportdesign/source/ui/dlg.po:185:msgstr "~Справка"
--
./reportdesign/source/ui/dlg.po-247-#: CondFormat.src#RID_CONDFORMAT.PB_HELP.helpbutton.text
./reportdesign/source/ui/dlg.po-248-msgctxt "CondFormat.src#RID_CONDFORMAT.PB_HELP.helpbutton.text"
./reportdesign/source/ui/dlg.po-249-msgid "~Help"
./reportdesign/source/ui/dlg.po:250:msgstr "~Справка"
--
./reportdesign/source/ui/dlg.po-293-#: CondFormat.src#ADDFIELD_FL_HELP_SEPARATOR.fixedline.text
./reportdesign/source/ui/dlg.po-294-msgctxt "CondFormat.src#ADDFIELD_FL_HELP_SEPARATOR.fixedline.text"
./reportdesign/source/ui/dlg.po-295-msgid "Help"
./reportdesign/source/ui/dlg.po:296:msgstr "Справка"
--
./reportdesign/source/ui/dlg.po-432-#: GroupsSorting.src#RID_GROUPS_SORTING.FL_SEPARATOR1.fixedline.text
./reportdesign/source/ui/dlg.po-433-msgctxt "GroupsSorting.src#RID_GROUPS_SORTING.FL_SEPARATOR1.fixedline.text"
./reportdesign/source/ui/dlg.po-434-msgid "Help"
./reportdesign/source/ui/dlg.po:435:msgstr "Справка"
--
./reportdesign/source/ui/dlg.po-535-#: DateTime.src#RID_DATETIME_DLG.PB_HELP.helpbutton.text
./reportdesign/source/ui/dlg.po-536-msgctxt "DateTime.src#RID_DATETIME_DLG.PB_HELP.helpbutton.text"
./reportdesign/source/ui/dlg.po-537-msgid "~Help"
./reportdesign/source/ui/dlg.po:538:msgstr "~Справка"
--
./padmin/source.po-559-#: padialog.src#RID_ADDP_PAGE_COMMAND.RID_ADDP_CMD_BTN_HELP.pushbutton.text
./padmin/source.po-560-msgctxt "padialog.src#RID_ADDP_PAGE_COMMAND.RID_ADDP_CMD_BTN_HELP.pushbutton.text"
./padmin/source.po-561-msgid "~Help"
./padmin/source.po:562:msgstr "Сп~равка"
--
./padmin/source.po-889-#: rtsetup.src#RID_RTS_COMMANDPAGE.RID_RTS_CMD_BTN_HELP.pushbutton.text
./padmin/source.po-890-msgctxt "rtsetup.src#RID_RTS_COMMANDPAGE.RID_RTS_CMD_BTN_HELP.pushbutton.text"
./padmin/source.po-891-msgid "~Help"
./padmin/source.po:892:msgstr "Сп~равка"
--
./uui/source.po-614-#: unknownauthdlg.src#DLG_UUI_UNKNOWNAUTH.PB_HELP.helpbutton.text
./uui/source.po-615-msgid "Help"
./uui/source.po:616:msgstr "Справка"
--
./vcl/source/src.po-42-#: btntext.src#SV_BUTTONTEXT_HELP.string.text
./vcl/source/src.po-43-msgid "~Help"
./vcl/source/src.po:44:msgstr "~Справка"
--
./vcl/source/src.po-701-#: helptext.src#SV_HELPTEXT_HELP.string.text
./vcl/source/src.po-702-msgctxt "helptext.src#SV_HELPTEXT_HELP.string.text"
./vcl/source/src.po-703-msgid "Help"
./vcl/source/src.po:704:msgstr "Справка"
--
./vcl/source/src.po-726-#: helptext.src#SV_SHORTCUT_HELP.string.text
./vcl/source/src.po-727-msgctxt "helptext.src#SV_SHORTCUT_HELP.string.text"
./vcl/source/src.po-728-msgid "Help"
./vcl/source/src.po:729:msgstr "Справка"
--
./officecfg/registry/data/org/openoffice/Office/UI.po-6655-#: GenericCommands.xcu#..GenericCommands.UserInterface.Commands..uno_HelpIndex.Label.value.text
./officecfg/registry/data/org/openoffice/Office/UI.po-6656-msgctxt "GenericCommands.xcu#..GenericCommands.UserInterface.Commands..uno_HelpIndex.Label.value.text"
./officecfg/registry/data/org/openoffice/Office/UI.po-6657-msgid "%PRODUCTNAME ~Help"
./officecfg/registry/data/org/openoffice/Office/UI.po:6658:msgstr "Справка по %PRODUCTNAME"
--
./officecfg/registry/data/org/openoffice/Office/UI.po-8926-#: GenericCommands.xcu#..GenericCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text
./officecfg/registry/data/org/openoffice/Office/UI.po-8927-msgctxt "GenericCommands.xcu#..GenericCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text"
./officecfg/registry/data/org/openoffice/Office/UI.po-8928-msgid "~Help"
./officecfg/registry/data/org/openoffice/Office/UI.po:8929:msgstr "Спр~авка"
--
./officecfg/registry/data/org/openoffice/Office/UI.po-9326-#: StartModuleCommands.xcu#..StartModuleCommands.UserInterface.Commands..uno_HelpIndex.Label.value.text
./officecfg/registry/data/org/openoffice/Office/UI.po-9327-msgctxt "StartModuleCommands.xcu#..StartModuleCommands.UserInterface.Commands..uno_HelpIndex.Label.value.text"
./officecfg/registry/data/org/openoffice/Office/UI.po-9328-msgid "%PRODUCTNAME ~Help"
./officecfg/registry/data/org/openoffice/Office/UI.po:9329:msgstr "Справка по %PRODUCTNAME"
--
./officecfg/registry/data/org/openoffice/Office/UI.po-9396-#: StartModuleCommands.xcu#..StartModuleCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text
./officecfg/registry/data/org/openoffice/Office/UI.po-9397-msgctxt "StartModuleCommands.xcu#..StartModuleCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text"
./officecfg/registry/data/org/openoffice/Office/UI.po-9398-msgid "~Help"
./officecfg/registry/data/org/openoffice/Office/UI.po:9399:msgstr "Спр~авка"
--
./extensions/source/propctrlr.po-945-#: formres.src#RID_RSC_ENUM_PUSHBUTTONTYPE.4.string.text
./extensions/source/propctrlr.po-946-msgctxt "formres.src#RID_RSC_ENUM_PUSHBUTTONTYPE.4.string.text"
./extensions/source/propctrlr.po-947-msgid "Help"
./extensions/source/propctrlr.po:948:msgstr "Справка"
--
./extensions/source/propctrlr.po-1487-#: propres.src#RID_STR_HELP_SECTION_LABEL.string.text
./extensions/source/propctrlr.po-1488-msgctxt "propres.src#RID_STR_HELP_SECTION_LABEL.string.text"
./extensions/source/propctrlr.po-1489-msgid "Help"
./extensions/source/propctrlr.po:1490:msgstr "Справка"
--
./dbaccess/source/ui/misc.po-105-#: WizardPages.src#WIZ_RTFCOPYTABLE.PB_HELP.helpbutton.text
./dbaccess/source/ui/misc.po-106-msgid "~Help"
./dbaccess/source/ui/misc.po:107:msgstr "Сп~равка"
--
./framework/source/classes.po-24-#: resource.src#STR_MENU_ADDONHELP.string.text
./framework/source/classes.po-25-msgid "Add-~On Help"
./framework/source/classes.po:26:msgstr "Справка по дополнениям"
--
./cui/source/dialogs.po-736-#: fmsearch.src#RID_SVXDLG_SEARCHFORM.1.helpbutton.text
./cui/source/dialogs.po-737-msgid "~Help"
./cui/source/dialogs.po:738:msgstr "~Справка"
--
./cui/source/options.po-21-#: optgdlg.src#OFA_TP_MISC.FL_HELP.fixedline.text
./cui/source/options.po-22-msgctxt "optgdlg.src#OFA_TP_MISC.FL_HELP.fixedline.text"
./cui/source/options.po-23-msgid "Help"
./cui/source/options.po:24:msgstr "Справка"
--
./cui/source/options.po-1889-#: optpath.src#RID_SVXSTR_KEY_HELP_DIR.string.text
./cui/source/options.po-1890-msgctxt "optpath.src#RID_SVXSTR_KEY_HELP_DIR.string.text"
./cui/source/options.po-1891-msgid "Help"
./cui/source/options.po:1892:msgstr "Справка"
Автору на яд. Поддержать форум.

Helen

Цитата: bormant от 12 мая 2011, 10:19
Цитата: Helen от Сегодня в 10:01
Вторая найденная Cпр~авка - это пункт меню, когда ни один компонент ООо не выбран?
Да.
Хорошо. Значит, пересечений нет и можно менять в меню на
Цитата: Helen от 12 мая 2011, 11:01
Вст~авка
~Справка


Потом надо будет разыскать все вхождения "сп~равка" и также унифицировать.

bormant

#9
Но есть и другая сторона -- Alt+С удобнее нажимать, клавиши рядом, в отличие от Alt+А, а вставкой пользуемся чаще намного, чем справкой.
Кроме того, в предыдущих версиях (по крайней мере в 3.1.1) было В~ставка и Спр~авка.

Когда отдавали "С" под справку в диалоговых окнах -- там это было оправданно -- справка по контексту действительно может понадобиться, единообразие является несомненным плюсом. А вот про главное меню подобного утверждать не берусь. Стоит ли менять?

Хотя, с другой стороны, разница всего в один ряд клавиш между Alt+с и Alt+а не столь существенна. Я за замену.
Автору на яд. Поддержать форум.

Helen

#10
Сделаны замены в TDF Pootle:
officecfg/registry/data/org/openoffice/Office/UI.po
#: GenericCommands.xcu#..GenericCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text
#: StartModuleCommands.xcu#..StartModuleCommands.UserInterface.Popups..uno_HelpMenu.Label.value.text
Спр~авка -> ~Справка
#: GenericCommands.xcu#..GenericCommands.UserInterface.Popups..uno_InsertMenu.Label.value.text
Вс~тавка -> Вст~авка


по сп~равке создам отдельную тему http://forumooo.ru/index.php/topic,1576.0.html

bormant

Автору на яд. Поддержать форум.