Skip to content

Commit

Permalink
Unify menu separator to "->"
Browse files Browse the repository at this point in the history
Other meanings of previous " -> " are now:
" -> " conversion
" .. " a range

Other fixes:
1. "File>Save" typo
2. Remove $ from sort order tooltips as it is
 a. not relevant,
 b. untranslatable for languages used in different regions.
  • Loading branch information
fellen committed Jan 5, 2020
1 parent 589f1c4 commit 0f4265d
Show file tree
Hide file tree
Showing 66 changed files with 1,736 additions and 1,769 deletions.
10 changes: 5 additions & 5 deletions doc/tip_of_the_day.list.c
Expand Up @@ -53,7 +53,7 @@ the subaccount (e.g. A:C for Assets:Cash.)")

N_( "Want to see all your subaccount transactions in one register? \
From the Accounts tab in the main window, highlight the parent account \
and select Edit -> Open Subaccounts from the menu.")
and select Edit->Open Subaccounts from the menu.")

N_( "When entering dates, you can type '+' or '-' to increment or \
decrement the selected date. You can use '+' and '-' to increment and \
Expand All @@ -78,12 +78,12 @@ headings to change the display.")

N_( "You can pack multiple reports into a single window, \
providing all the financial information you want at a glance. \
To do so, use the Sample & Custom -> \"Custom Multicolumn Report\" \
To do so, use the Sample & Custom->\"Custom Multicolumn Report\" \
report.")

N_( "Style Sheets affect how reports are displayed. Choose \
a style sheet for your report as a report option, and use \
the Edit -> Style Sheets menu to customize style sheets.")
the Edit->Style Sheets menu to customize style sheets.")

N_( "To raise the accounts menu in the transfer field of a register \
page, press the Menu key or the Ctrl-Down key combination.")
Expand All @@ -101,12 +101,12 @@ you can choose the monthly basic frequency and then set 'Every \
registers after midnight, to get the new date as default for new \
transactions. It is not necessary to restart GnuCash.")

N_( "To search through all your transactions, start a search (Edit -> \
N_( "To search through all your transactions, start a search (Edit->\
Find...) from the main accounts hierarchy page. To limit your search \
to a single account, start the search from that account's register.")

N_( "To visually compare on screen the contents of 2 tabs, \
in one of the tabs, select Window -> New Window with Page \
in one of the tabs, select Window->New Window with Page \
from the menu to duplicate that tab in a new window.")

N_( "There is a theory that if ever anyone discovers what \
Expand Down
4 changes: 2 additions & 2 deletions gnucash/gnome-utils/gnc-autosave.c
Expand Up @@ -107,13 +107,13 @@ static gboolean autosave_confirm(GtkWidget *toplevel)
"GnuCash has a feature to save the file automatically every %d minute, "
"just as if you had pressed the \"Save\" button each time. \n\n"
"You can change the time interval or turn off this feature under "
"Edit -> Preferences -> General -> Auto-save time interval. \n\n"
"Edit->Preferences->General->Auto-save time interval. \n\n"
"Should your file be saved automatically?",
"Your data file needs to be saved to your hard disk to save your changes. "
"GnuCash has a feature to save the file automatically every %d minutes, "
"just as if you had pressed the \"Save\" button each time. \n\n"
"You can change the time interval or turn off this feature under "
"Edit -> Preferences -> General -> Auto-save time interval. \n\n"
"Edit->Preferences->General->Auto-save time interval. \n\n"
"Should your file be saved automatically?",
interval_mins),
interval_mins);
Expand Down
2 changes: 1 addition & 1 deletion gnucash/gnome-utils/gnc-file.c
Expand Up @@ -444,7 +444,7 @@ show_session_error (GtkWindow *parent,
case ERR_SQL_DB_TOO_NEW:
fmt = _("This database is from a newer version of GnuCash. "
"This version can read it, but cannot safely save to it. "
"It will be marked read-only until you do File>Save As, "
"It will be marked read-only until you do File->Save As, "
"but data may be lost in writing to the old version.");
gnc_warning_dialog (parent, "%s", fmt);
uh_oh = TRUE;
Expand Down
4 changes: 2 additions & 2 deletions gnucash/gnome-utils/gnc-tree-control-split-reg.c
Expand Up @@ -81,7 +81,7 @@ gtc_sr_is_trans_readonly_and_warn (GncTreeViewSplitReg *view, Transaction *trans
"%s", title);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
"%s", _("The date of this transaction is older than the \"Read-Only Threshold\" set for this book. "
"This setting can be changed in File -> Properties -> Accounts."));
"This setting can be changed in File->Properties->Accounts."));
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
return TRUE;
Expand Down Expand Up @@ -1357,7 +1357,7 @@ gnc_tree_control_split_reg_duplicate_current (GncTreeViewSplitReg *view)
"%s", _("Cannot store a transaction at this date"));
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
"%s", _("The entered date of the duplicated transaction is older than the \"Read-Only Threshold\" set for this book. "
"This setting can be changed in File -> Properties -> Accounts."));
"This setting can be changed in File->Properties->Accounts."));
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);

Expand Down
2 changes: 1 addition & 1 deletion gnucash/gnome-utils/gnc-tree-util-split-reg.c
Expand Up @@ -477,7 +477,7 @@ gnc_tree_util_split_reg_parse_date (GDate *parsed, const char *datestr)
"%s", _("Cannot store a transaction at this date"));
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
"%s", _("The entered date of the new transaction is older than the \"Read-Only Threshold\" set for this book. "
"This setting can be changed in File -> Properties -> Accounts."));
"This setting can be changed in File->Properties->Accounts."));
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
#endif
Expand Down
2 changes: 1 addition & 1 deletion gnucash/gnome/gnc-split-reg.c
Expand Up @@ -1099,7 +1099,7 @@ is_trans_readonly_and_warn (GtkWindow *parent, Transaction *trans)
"%s", title);
gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog),
"%s", _("The date of this transaction is older than the \"Read-Only Threshold\" set for this book. "
"This setting can be changed in File -> Properties -> Accounts."));
"This setting can be changed in File->Properties->Accounts."));
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
return TRUE;
Expand Down
4 changes: 2 additions & 2 deletions gnucash/gtkbuilder/dialog-preferences.glade
Expand Up @@ -1146,8 +1146,8 @@ many months before the current month:</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="has_tooltip">True</property>
<property name="tooltip_markup">Present the new account list dialog when you choose File -&gt; New File.</property>
<property name="tooltip_text" translatable="yes">Present the new account list dialog when you choose File -&gt; New File.</property>
<property name="tooltip_markup">Present the new account list dialog when you choose File-&gt;New File.</property>
<property name="tooltip_text" translatable="yes">Present the new account list dialog when you choose File-&gt;New File.</property>
<property name="halign">start</property>
<property name="margin_left">12</property>
<property name="use_underline">True</property>
Expand Down
2 changes: 1 addition & 1 deletion gnucash/register/ledger-core/split-register.c
Expand Up @@ -613,7 +613,7 @@ gnc_split_register_duplicate_current (SplitRegister *reg)
"%s", _("Cannot store a transaction at this date"));
gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog),
"%s", _("The entered date of the duplicated transaction is older than the \"Read-Only Threshold\" set for this book. "
"This setting can be changed in File -> Properties -> Accounts."));
"This setting can be changed in File->Properties->Accounts."));
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);

Expand Down
2 changes: 1 addition & 1 deletion gnucash/register/register-gnome/datecell-gnome.c
Expand Up @@ -103,7 +103,7 @@ check_readonly_threshold (const gchar *datestr, GDate *d, gboolean warn)
gchar *dialog_msg = _("The entered date of the transaction is "
"older than the \"Read-Only Threshold\" set for "
"this book. This setting can be changed in "
"File -> Properties -> Accounts, resetting to the threshold.");
"File->Properties->Accounts, resetting to the threshold.");
gchar *dialog_title = _("Cannot store a transaction at this date");
GtkWidget *dialog = gtk_message_dialog_new(gnc_ui_get_main_window (NULL),
0,
Expand Down
4 changes: 2 additions & 2 deletions gnucash/report/business-reports/aging.scm
Expand Up @@ -382,8 +382,8 @@ more than one currency. This report is not designed to cope with this possibilit
(N_ "Sort order.")
'increasing
(list
(vector 'increasing (N_ "Increasing") (N_ "0 -> $999,999.99, A->Z."))
(vector 'decreasing (N_ "Decreasing") (N_ "$999,999.99 -> $0, Z->A.")))))
(vector 'increasing (N_ "Increasing") (N_ "0 .. 999,999.99, A .. Z."))
(vector 'decreasing (N_ "Decreasing") (N_ "999,999.99 .. 0, Z .. A.")))))

(add-option
(gnc:make-simple-boolean-option
Expand Down

0 comments on commit 0f4265d

Please sign in to comment.