INS+Unicode status bar message more descriptive now

This commit is contained in:
Simon Rozman 2016-05-06 11:32:30 +02:00
parent d86c1d004d
commit 5c9a9cab03
2 changed files with 14 additions and 7 deletions

View File

@ -1,8 +1,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: ZRCola\n" "Project-Id-Version: ZRCola\n"
"POT-Creation-Date: 2016-05-05 15:23+0200\n" "POT-Creation-Date: 2016-05-06 11:29+0200\n"
"PO-Revision-Date: 2016-05-05 15:23+0200\n" "PO-Revision-Date: 2016-05-06 11:30+0200\n"
"Last-Translator: Simon Rozman <simon.rozman@amebis.si>\n" "Last-Translator: Simon Rozman <simon.rozman@amebis.si>\n"
"Language-Team: Amebis, d. o. o., Kamnik <info@amebis.si>\n" "Language-Team: Amebis, d. o. o., Kamnik <info@amebis.si>\n"
"Language: sl_SI\n" "Language: sl_SI\n"
@ -223,9 +223,13 @@ msgstr "Sestavljeno besedilo"
msgid "Composed Unicode Dump" msgid "Composed Unicode Dump"
msgstr "Unicode sestavljenega" msgstr "Unicode sestavljenega"
#: zrcolakeyhndlr.cpp:65 zrcolakeyhndlr.cpp:74 #: zrcolakeyhndlr.cpp:65
msgid "INS" msgid ""
msgstr "INS" "INS key is pressed. Type the Unicode code of desired character now (up to "
"four hexadecimal digits: 0-9, A-F), then release INS."
msgstr ""
"Pritisnjena tipka INS. Zdaj vtpikajte kodo Unicode želenega znaka (do štiri "
"šestnajstiške števke: 0-9, A-F), nato izpustite INS."
#: zrcolagui.h:86 MSIBuild/En.Win32.Debug.Feature-2.idtx:4 #: zrcolagui.h:86 MSIBuild/En.Win32.Debug.Feature-2.idtx:4
#: MSIBuild/En.Win32.Debug.Shortcut-2.idtx:4 #: MSIBuild/En.Win32.Debug.Shortcut-2.idtx:4
@ -249,6 +253,9 @@ msgstr "1250"
msgid "Input system for linguistic use" msgid "Input system for linguistic use"
msgstr "Vnašalni sistem za jezikoslovno rabo" msgstr "Vnašalni sistem za jezikoslovno rabo"
#~ msgid "INS"
#~ msgstr "INS"
#~ msgid "Character &Groups" #~ msgid "Character &Groups"
#~ msgstr "Skupine &znakov" #~ msgstr "Skupine &znakov"

View File

@ -62,7 +62,7 @@ bool wxZRColaKeyHandler::ProcessEvent(wxEvent& event)
m_is_insert = true; m_is_insert = true;
wxFrame *pFrame = wxDynamicCast(wxTheApp->GetTopWindow(), wxFrame); wxFrame *pFrame = wxDynamicCast(wxTheApp->GetTopWindow(), wxFrame);
if (pFrame && pFrame->GetStatusBar()) if (pFrame && pFrame->GetStatusBar())
pFrame->SetStatusText(_("INS")); pFrame->SetStatusText(_("INS key is pressed. Type the Unicode code of desired character now (up to four hexadecimal digits: 0-9, A-F), then release INS."));
} else if (m_is_insert) { } else if (m_is_insert) {
wxChar chr = e.GetUnicodeKey(); wxChar chr = e.GetUnicodeKey();
wxFrame *pFrame = wxDynamicCast(wxTheApp->GetTopWindow(), wxFrame); wxFrame *pFrame = wxDynamicCast(wxTheApp->GetTopWindow(), wxFrame);
@ -71,7 +71,7 @@ bool wxZRColaKeyHandler::ProcessEvent(wxEvent& event)
m_insert_seq.push_back((char)chr); m_insert_seq.push_back((char)chr);
if (pFrame && pFrame->GetStatusBar()) if (pFrame && pFrame->GetStatusBar())
pFrame->SetStatusText(wxString::Format(wxT("%s+%s"), (const wxStringCharType*)_("INS"), (const wxStringCharType*)wxString(m_insert_seq.data(), m_insert_seq.size()))); pFrame->SetStatusText(wxString::Format(wxT("U+%s"), (const wxStringCharType*)wxString(m_insert_seq.data(), m_insert_seq.size())));
event.StopPropagation(); event.StopPropagation();
return true; return true;