Infoinset - better specification of few strings

This commit is contained in:
Pavel Sanda 2023-02-25 18:52:31 +01:00
parent 7da020a594
commit 2b6ef1257a
3 changed files with 13 additions and 13 deletions

View File

@ -426,11 +426,11 @@ Menuset
Menu "insert_fields" Menu "insert_fields"
Item "Date (Current)|D" "info-insert date" Item "Date (Current)|D" "info-insert date"
Item "Date (Last Modification)|L" "info-insert moddate" Item "Date (Last Modification of Document)|L" "info-insert moddate"
Item "Date (Fixed)|F" "info-insert fixdate" Item "Date (Fixed)|F" "info-insert fixdate"
Separator Separator
Item "Time (Current)|T" "info-insert time" Item "Time (Current)|T" "info-insert time"
Item "Time (Last Modification)|M" "info-insert modtime" Item "Time (Last Modification of document)|M" "info-insert modtime"
Item "Time (Fixed)|x" "info-insert fixtime" Item "Time (Fixed)|x" "info-insert fixtime"
Separator Separator
Item "File Name (Excl. Extension)|N" "info-insert buffer name-noext" Item "File Name (Excl. Extension)|N" "info-insert buffer name-noext"

View File

@ -68,17 +68,17 @@ char const * info_types[] =
// GUI names (in combo) // GUI names (in combo)
char const * info_types_gui[] = char const * info_types_gui[] =
{ N_("Date (current)"),// date { N_("Date (current)"),// date
N_("Date (last modified)"),// moddate N_("Date (last modification of document)"),// moddate
N_("Date (fix)"),// fixdate N_("Date (fixed)"),// fixdate
N_("Time (current)"),// time N_("Time (current)"),// time
N_("Time (last modified)"),// modtime N_("Time (last modification of document)"),// modtime
N_("Time (fix)"),// fixtime N_("Time (fixed)"),// fixtime
N_("Document Information"),// buffer N_("Document Information"),// buffer
N_("Version Control Information"),// vcs N_("Version Control Information"),// vcs
N_("LaTeX Package Availability"),// package N_("LaTeX Package Availability"),// package
N_("LaTeX Class Availability"),// textclass N_("LaTeX Class Availability"),// textclass
N_("Last Assigned Keyboard Shortcut"),// shortcut N_("Last Assigned Keyboard Shortcut"),// shortcut
N_("All Keyboard Shortcuts"),// shortcuts N_("All Assigned Keyboard Shortcuts"),// shortcuts
N_("LyX Menu Location"),// menu N_("LyX Menu Location"),// menu
N_("Localized GUI String"),// l7n N_("Localized GUI String"),// l7n
N_("LyX Toolbar Icon"),// icon N_("LyX Toolbar Icon"),// icon
@ -358,12 +358,12 @@ bool GuiInfo::checkWidgets(bool readonly) const
fixDateLE->setVisible(fixdate_enabled); fixDateLE->setVisible(fixdate_enabled);
fixDateLA->setVisible(fixdate_enabled); fixDateLA->setVisible(fixdate_enabled);
if (typestr == "fixdate") { if (typestr == "fixdate") {
fixDateLE->setToolTip(qt_("Here you can enter a fix date (in ISO format: YYYY-MM-DD)")); fixDateLE->setToolTip(qt_("Here you can enter a fixed date (in ISO format: YYYY-MM-DD)"));
fixDateLA->setText(qt_("&Fix Date:")); fixDateLA->setText(qt_("&Fixed Date:"));
} }
else if (typestr == "fixtime") { else if (typestr == "fixtime") {
fixDateLE->setToolTip(qt_("Here you can enter a fix time (in ISO format: hh:mm:ss)")); fixDateLE->setToolTip(qt_("Here you can enter a fixed time (in ISO format: hh:mm:ss)"));
fixDateLA->setText(qt_("&Fix Time:")); fixDateLA->setText(qt_("&Fixed Time:"));
} }
if (!InsetParamsWidget::checkWidgets()) if (!InsetParamsWidget::checkWidgets())

View File

@ -46,7 +46,7 @@
<item> <item>
<widget class="QLabel" name="fixDateLA"> <widget class="QLabel" name="fixDateLA">
<property name="text"> <property name="text">
<string>&amp;Fix Date:</string> <string>&amp;Fixed Date:</string>
</property> </property>
<property name="buddy"> <property name="buddy">
<cstring>fixDateLE</cstring> <cstring>fixDateLE</cstring>
@ -56,7 +56,7 @@
<item> <item>
<widget class="QLineEdit" name="fixDateLE"> <widget class="QLineEdit" name="fixDateLE">
<property name="toolTip"> <property name="toolTip">
<string>Here you can enter a fix date (in ISO format: YYYY-MM-DD)</string> <string>Here you can enter a fixed date (in ISO format: YYYY-MM-DD)</string>
</property> </property>
</widget> </widget>
</item> </item>