From 75e659ba65d30dec4b8debac01a3b65505eae711 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 3 Mar 2021 14:10:18 +0300 Subject: [PATCH] reduce Amount of Caps Used in Multiple Dialogs --- classes/pref/system.php | 4 ++-- js/CommonDialogs.js | 6 +++--- js/CommonFilters.js | 2 +- js/PrefFeedTree.js | 2 +- js/PrefHelpers.js | 4 ++-- js/PrefLabelTree.js | 2 +- js/PrefUsers.js | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/classes/pref/system.php b/classes/pref/system.php index e58765c49..3456cd51f 100644 --- a/classes/pref/system.php +++ b/classes/pref/system.php @@ -165,7 +165,7 @@ class Pref_System extends Handler_Administrative { $page = (int) ($_REQUEST["page"] ?? 0); ?>
-
'> +
'> _log_viewer($page, $severity); @@ -175,7 +175,7 @@ class Pref_System extends Handler_Administrative { ?>
-
'> +
'>
diff --git a/js/CommonDialogs.js b/js/CommonDialogs.js index 321ddf6d3..a7e793b9c 100644 --- a/js/CommonDialogs.js +++ b/js/CommonDialogs.js @@ -16,7 +16,7 @@ const CommonDialogs = { {op: "feeds", method: "subscribeToFeed"}, (reply) => { const dialog = new fox.SingleUseDialog({ - title: __("Subscribe to Feed"), + title: __("Subscribe to feed"), content: ` @@ -333,7 +333,7 @@ const CommonDialogs = { const dialog = new fox.SingleUseDialog({ id: "feedEditDlg", - title: __("Edit Feed"), + title: __("Edit feed"), feed_title: "", unsubscribe: function() { if (confirm(__("Unsubscribe from %s?").replace("%s", this.feed_title))) { @@ -473,7 +473,7 @@ const CommonDialogs = {
diff --git a/js/CommonFilters.js b/js/CommonFilters.js index 0c138760d..0b907e2ba 100644 --- a/js/CommonFilters.js +++ b/js/CommonFilters.js @@ -11,7 +11,7 @@ const Filters = { const dialog = new fox.SingleUseDialog({ id: "filterEditDlg", - title: filter_id ? __("Edit Filter") : __("Create Filter"), + title: filter_id ? __("Edit filter") : __("Create new filter"), ACTION_TAG: 4, ACTION_SCORE: 6, ACTION_LABEL: 7, diff --git a/js/PrefFeedTree.js b/js/PrefFeedTree.js index bb5d25e67..0e89e1978 100644 --- a/js/PrefFeedTree.js +++ b/js/PrefFeedTree.js @@ -300,7 +300,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dojo/_b try { const dialog = new fox.SingleUseDialog({ - title: __("Edit Multiple Feeds"), + title: __("Edit multiple feeds"), /*getChildByName: function (name) { let rv = null; this.getChildren().forEach( diff --git a/js/PrefHelpers.js b/js/PrefHelpers.js index 8035d7866..fc59ebb70 100644 --- a/js/PrefHelpers.js +++ b/js/PrefHelpers.js @@ -56,7 +56,7 @@ const Helpers = { Digest: { preview: function() { const dialog = new fox.SingleUseDialog({ - title: __("Digest Preview"), + title: __("Digest preview"), content: `
${__("Loading, please wait...")}
@@ -124,7 +124,7 @@ const Helpers = { edit: function() { const dialog = new fox.SingleUseDialog({ id: "profileEditDlg", - title: __("Settings Profiles"), + title: __("Manage profiles"), getSelectedProfiles: function () { return Tables.getSelected("pref-profiles-list"); }, diff --git a/js/PrefLabelTree.js b/js/PrefLabelTree.js index 2b78927c2..6792413b1 100644 --- a/js/PrefLabelTree.js +++ b/js/PrefLabelTree.js @@ -68,7 +68,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/f const dialog = new fox.SingleUseDialog({ id: "labelEditDlg", - title: __("Label Editor"), + title: __("Edit label"), style: "width: 650px", setLabelColor: function (id, fg, bg) { diff --git a/js/PrefUsers.js b/js/PrefUsers.js index 378c97154..7fde19851 100644 --- a/js/PrefUsers.js +++ b/js/PrefUsers.js @@ -36,7 +36,7 @@ const Users = { const dialog = new fox.SingleUseDialog({ id: "userEditDlg", - title: __("User Editor"), + title: __("Edit user"), execute: function () { if (this.validate()) { Notify.progress("Saving data...", true);