summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-03 14:10:18 +0300
committerAndrew Dolgov <[email protected]>2021-03-03 14:10:18 +0300
commit75e659ba65d30dec4b8debac01a3b65505eae711 (patch)
tree10adbe3a56b15d37e631ef7877295eaf4f0adeac
parent0730128a97a46054099b59554e891cee99829eaa (diff)
reduce Amount of Caps Used in Multiple Dialogs
-rw-r--r--classes/pref/system.php4
-rw-r--r--js/CommonDialogs.js6
-rw-r--r--js/CommonFilters.js2
-rw-r--r--js/PrefFeedTree.js2
-rw-r--r--js/PrefHelpers.js4
-rw-r--r--js/PrefLabelTree.js2
-rw-r--r--js/PrefUsers.js2
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);
?>
<div dojoType='dijit.layout.AccordionContainer' region='center'>
- <div dojoType='dijit.layout.AccordionPane' style='padding : 0' title='<i class="material-icons">report</i> <?= __('Event Log') ?>'>
+ <div dojoType='dijit.layout.AccordionPane' style='padding : 0' title='<i class="material-icons">report</i> <?= __('Event log') ?>'>
<?php
if (Config::get(Config::LOG_DESTINATION) == "sql") {
$this->_log_viewer($page, $severity);
@@ -175,7 +175,7 @@ class Pref_System extends Handler_Administrative {
?>
</div>
- <div dojoType='dijit.layout.AccordionPane' style='padding : 0' title='<i class="material-icons">mail</i> <?= __('Mail Configuration') ?>'>
+ <div dojoType='dijit.layout.AccordionPane' style='padding : 0' title='<i class="material-icons">mail</i> <?= __('Mail configuration') ?>'>
<div dojoType="dijit.layout.ContentPane">
<form dojoType="dijit.form.Form">
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: `
<form onsubmit='return false'>
@@ -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 = {
<section>
<fieldset>
<input dojoType='dijit.form.ValidationTextBox' required='1'
- placeHolder="${__("Feed Title")}"
+ placeHolder="${__("Feed title")}"
style='font-size : 16px; width: 500px' name='title' value="${App.escapeHtml(feed.title)}">
</fieldset>
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: `
<div class='panel panel-scrollable digest-preview'>
<div class='text-center'>${__("Loading, please wait...")}</div>
@@ -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);