fix: remove trailing spaces in translatable strings

This commit is contained in:
Raizaaa 2025-08-27 13:23:17 +03:00
parent 683e49e05b
commit aa3bb0e4d7
17 changed files with 23 additions and 20 deletions

View file

@ -37,7 +37,7 @@
"fieldtype": "Link",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "User ",
"label": "User",
"options": "User",
"read_only": 1
},

View file

@ -55,7 +55,7 @@
},
{
"collapsible": 1,
"description": "Change the starting / current sequence number of an existing series. <br>\n\nWarning: Incorrectly updating counters can prevent documents from getting created. ",
"description": "Change the starting / current sequence number of an existing series. <br>\n\nWarning: Incorrectly updating counters can prevent documents from getting created.",
"fieldname": "update_series",
"fieldtype": "Section Break",
"label": "Update Series Counter"

View file

@ -13,7 +13,7 @@ frappe.ui.form.on("RQ Job", {
frm.add_custom_button(__("Force Stop job"), () => {
frappe.confirm(
__(
"This will terminate the job immediately and might be dangerous, are you sure? "
"This will terminate the job immediately and might be dangerous, are you sure?"
),
() => {
frappe

View file

@ -304,7 +304,7 @@
"default": "10",
"fieldname": "allow_consecutive_login_attempts",
"fieldtype": "Int",
"label": "Allow Consecutive Login Attempts "
"label": "Allow Consecutive Login Attempts"
},
{
"fieldname": "column_break_34",
@ -706,7 +706,7 @@
},
{
"default": "100000",
"description": "This value specifies the max number of rows that can be rendered in report view. ",
"description": "This value specifies the max number of rows that can be rendered in report view.",
"fieldname": "max_report_rows",
"fieldtype": "Int",
"label": "Max Report Rows"

View file

@ -231,7 +231,7 @@ frappe.setup.SetupWizard = class SetupWizard extends frappe.ui.Slides {
? frappe.last_response.setup_wizard_failure_message
: __("Failed to complete setup");
this.update_setup_message(__("Could not start up: ") + fail_msg);
this.update_setup_message(__("Could not start up:") + " " + fail_msg);
this.$working_state.find(".title").html(__("Setup failed"));

View file

@ -257,7 +257,7 @@
{
"default": "250",
"depends_on": "use_imap",
"description": "Total number of emails to sync in initial sync process ",
"description": "Total number of emails to sync in initial sync process",
"fieldname": "initial_sync_count",
"fieldtype": "Select",
"hide_days": 1,

View file

@ -51,7 +51,7 @@
"depends_on": "eval:doc.use_html",
"fieldname": "response_html",
"fieldtype": "Code",
"label": "Response ",
"label": "Response",
"options": "Jinja"
}
],

View file

@ -295,7 +295,7 @@
"description": "Do not create new user if user with email does not exist in the system",
"fieldname": "do_not_create_new_user",
"fieldtype": "Check",
"label": "Do Not Create New User "
"label": "Do Not Create New User"
}
],
"in_create": 1,

View file

@ -37,7 +37,7 @@
"label": "API Secret"
},
{
"description": "Enabling this will register your site on a central relay server to send push notifications for all installed apps through Firebase Cloud Messaging. This server only stores user tokens and error logs, and no messages are saved. ",
"description": "Enabling this will register your site on a central relay server to send push notifications for all installed apps through Firebase Cloud Messaging. This server only stores user tokens and error logs, and no messages are saved.",
"fieldname": "section_break_qgjr",
"fieldtype": "Section Break",
"label": "Relay Settings"

View file

@ -1791,9 +1791,12 @@ class Document(BaseDocument):
if date_diff(to_date, from_date) < 0:
table_row = ""
if self.meta.istable:
table_row = _("{0} row #{1}: ").format(
_(frappe.unscrub(self.parentfield)),
self.idx,
table_row = (
_("{0} row #{1}:").format(
_(frappe.unscrub(self.parentfield)),
self.idx,
)
+ " "
)
frappe.throw(

View file

@ -216,7 +216,7 @@ frappe.ui.form.qz_fail = function (e) {
// notify qz errors
frappe.show_alert(
{
message: __("QZ Tray Failed: ") + e.toString(),
message: __("QZ Tray Failed:") + " " + e.toString(),
indicator: "red",
},
20

View file

@ -65,7 +65,7 @@ export default class LinksWidget extends Widget {
<div class="arrow"></div>
<h3 class="popover-title" style="display: none;"></h3>
<div class="popover-content" style="padding: 12px;">
<div class="small text-muted">${__("You need to create these first: ")}</div>
<div class="small text-muted">${__("You need to create these first:") + " "}</div>
<div class="small">${item.incomplete_dependencies.join(", ")}</div>
</div>
</div>`;

View file

@ -6,5 +6,5 @@
<a href="{{ link }}" rel="nofollow" class="btn btn-primary btn-sm primary-action" style="padding: 8px 20px;">{{ _("Download Data") }}</a>
</p>
<p style="font-size: 85%;">
{{_("You can also copy-paste this ")}} <a href="{{ link }}">{{_("Download Link")}}</a>{{_(" to your browser")}}
{{_("You can also copy-paste this")}} <a href="{{ link }}">{{_("Download Link")}}</a> {{_("to your browser")}}
</p>

View file

@ -1,4 +1,4 @@
<p>{{ _("You have a new message from: ") }}<b>{{ from }}</b></p>
<p>{{ _("You have a new message from:") }} <b>{{ from }}</b></p>
<p>{{ message }}</p>
<div class="more-info">
<a href="{{ link }}">{{ _("Login and view in Browser") }}</a>

View file

@ -1,7 +1,7 @@
<div class="comment-view mb-6">
{% if not comment_list %}
<div class="no-comment">
<p class="text-muted small">{{ _("No comments yet. ") }}
<p class="text-muted small">{{ _("No comments yet.") }}
<span class="hidden login-required">
<a href="/login?redirect-to={{ pathname }}">{{ _("Login to start a new discussion") }}</a>
</span>

View file

@ -40,7 +40,7 @@
{
"fieldname": "deletion_steps",
"fieldtype": "Table",
"label": "Deletion Steps ",
"label": "Deletion Steps",
"options": "Personal Data Deletion Step"
}
],

View file

@ -16,7 +16,7 @@
</ol>
</p>
<br>
<p class='text-muted small'>{{ _("Authentication Apps you can use are: ") }}
<p class='text-muted small'>{{ _("Authentication Apps you can use are:") }}
FreeOTP, Google Authenticator, Lastpass Authenticator, Authy and Duo Mobile.
</p>
</div>