Use same name for dialog and menu related to preconfigured reports

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23613 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2013-12-24 17:09:00 +00:00
parent 07e2106386
commit 6efd839282
4 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@
<!-- interface-naming-policy project-wide --> <!-- interface-naming-policy project-wide -->
<object class="GtkDialog" id="custom_report_dialog"> <object class="GtkDialog" id="custom_report_dialog">
<property name="border_width">5</property> <property name="border_width">5</property>
<property name="title" translatable="yes">Preconfigured reports</property> <property name="title" translatable="yes">Preconfigured Reports</property>
<property name="window_position">center-on-parent</property> <property name="window_position">center-on-parent</property>
<property name="type_hint">dialog</property> <property name="type_hint">dialog</property>
<property name="skip_taskbar_hint">True</property> <property name="skip_taskbar_hint">True</property>

View File

@ -1035,7 +1035,7 @@ static GtkActionEntry report_actions[] =
}, },
{ {
"ReportSaveAsAction", GTK_STOCK_SAVE_AS, N_("Save Report As..."), "<control><alt><shift>s", "ReportSaveAsAction", GTK_STOCK_SAVE_AS, N_("Save Report As..."), "<control><alt><shift>s",
N_("Add the current report's configuration to the `Custom Reports' menu. " N_("Add the current report's configuration to the `Preconfigured Reports' menu. "
"The report will be saved in the file ~/.gnucash/saved-reports-2.4. "), "The report will be saved in the file ~/.gnucash/saved-reports-2.4. "),
G_CALLBACK(gnc_plugin_page_report_save_as_cb) G_CALLBACK(gnc_plugin_page_report_save_as_cb)
}, },
@ -1476,7 +1476,7 @@ gnc_plugin_page_report_save_as_cb( GtkAction *action, GncPluginPageReport *repor
save_func = scm_c_eval_string("gnc:report-to-template-new"); save_func = scm_c_eval_string("gnc:report-to-template-new");
rpt_id = scm_call_1(save_func, priv->cur_report); rpt_id = scm_call_1(save_func, priv->cur_report);
/* Open Custom Reports dialog to allow user to change the name */ /* Open Preconfigured Reports dialog to allow user to change the name */
if (!scm_is_null (rpt_id)) if (!scm_is_null (rpt_id))
{ {
GncPluginPage *reportPage = GNC_PLUGIN_PAGE (report); GncPluginPage *reportPage = GNC_PLUGIN_PAGE (report);

View File

@ -111,9 +111,9 @@
(gnc-add-scm-extension (gnc-add-scm-extension
(gnc:make-menu-item (gnc:make-menu-item
(N_ "Custom Reports") (N_ "Preconfigured Reports")
"4d3dcdc8890b11df99dd94cddfd72085" "4d3dcdc8890b11df99dd94cddfd72085"
(N_ "Manage and run custom reports") (N_ "Manage and run preconfigured reports")
(list gnc:menuname-reports) (list gnc:menuname-reports)
(lambda (window) (lambda (window)
(gnc:spawn-custom-report-dialog window)))) (gnc:spawn-custom-report-dialog window))))

View File

@ -31,7 +31,7 @@
;; custom report: like a report-template, but saved with a different set ;; custom report: like a report-template, but saved with a different set
;; of default options. A better name would probably be "preconfigured ;; of default options. A better name would probably be "preconfigured
;; report" or something similar. These templates are managed by the ;; report" or something similar. These templates are managed by the
;; user via the "Custom Reports" menu item ;; user via the "Preconfigured Reports" menu item
;; report: an instantiation of a report-template (custom or otherwise). One ;; report: an instantiation of a report-template (custom or otherwise). One
;; specific instance of a template, loaded and configured by the user ;; specific instance of a template, loaded and configured by the user
;; while the program is running. ;; while the program is running.