Skip to content

Commit a723a3c

Browse files
committed
rewording last
1 parent 67f1de3 commit a723a3c

File tree

19 files changed

+57
-57
lines changed

19 files changed

+57
-57
lines changed

services/static-webserver/client/source/class/osparc/data/model/NodeProgressSequence.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ qx.Class.define("osparc.data.model.NodeProgressSequence", {
123123

124124
createDisclaimerText: function() {
125125
const disclaimerText = new qx.ui.basic.Atom().set({
126-
label: qx.locale.Manager.tr("Please be patient, this process can take a few minutes ..."),
126+
label: qx.locale.Manager.tr("Please wait, this process may take a few minutes ..."),
127127
padding: [20, 10],
128128
gap: 15,
129129
icon: "@FontAwesome5Solid/exclamation-triangle/16",
@@ -187,10 +187,10 @@ qx.Class.define("osparc.data.model.NodeProgressSequence", {
187187
getProgress: function(report) {
188188
if (report.unit) {
189189
const attempt = ("attempt" in report && report["attempt"] > 1) ? `(attempt ${report["attempt"]}) ` : "";
190-
const current_value = osparc.utils.Utils.bytesToSize(report["actual_value"], 1, false);
191-
const total_value = osparc.utils.Utils.bytesToSize(report["total"], 1, false)
190+
const currentValue = osparc.utils.Utils.bytesToSize(report["actual_value"], 1, false);
191+
const totalValue = osparc.utils.Utils.bytesToSize(report["total"], 1, false)
192192
return {
193-
progressLabel: `${attempt}${current_value} / ${total_value}`,
193+
progressLabel: `${attempt}${currentValue} / ${totalValue}`,
194194
value: report["actual_value"] / report["total"]
195195
}
196196
}

services/static-webserver/client/source/class/osparc/desktop/credits/CreditsPerService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ qx.Class.define("osparc.desktop.credits.CreditsPerService", {
8989
this._add(uiEntry);
9090
});
9191
} else {
92-
const nothingFound = new qx.ui.basic.Label(this.tr("No usage found")).set({
92+
const nothingFound = new qx.ui.basic.Label(this.tr("No usage records found")).set({
9393
font: "text-14",
9494
padding: 20,
9595
});

services/static-webserver/client/source/class/osparc/desktop/organizations/MembersList.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ qx.Class.define("osparc.desktop.organizations.MembersList", {
243243
const canIDelete = organization.getAccessRights()["delete"];
244244

245245
const introText = canIWrite ?
246-
this.tr("You can add new members and change their roles.") :
247-
this.tr("You can't add new members to this Organization. Please contact an Administrator or Manager.");
246+
this.tr("You can add new members and assign roles.") :
247+
this.tr("You cannot add new members to this Organization. Please contact an Administrator or Manager.");
248248
this.__introLabel.setValue(introText);
249249

250250
this.__addMembersButton.set({
@@ -508,7 +508,7 @@ qx.Class.define("osparc.desktop.organizations.MembersList", {
508508
} else if (isThereAnyManager) {
509509
rUSure += `<br>There is no ${osparc.data.Roles.ORG[3].label} in this Organization.`;
510510
}
511-
rUSure += "<br><br>" + this.tr("If you Leave, the page will be reloaded.");
511+
rUSure += "<br><br>" + this.tr("If you leave, the page will reload.");
512512
const confirmationWin = new osparc.ui.window.Confirmation(rUSure).set({
513513
caption: this.tr("Leave Organization"),
514514
confirmText: this.tr("Leave"),

services/static-webserver/client/source/class/osparc/desktop/organizations/OrganizationDetails.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ qx.Class.define("osparc.desktop.organizations.OrganizationDetails", {
7171
const titleLayout = this.__titleLayout = new qx.ui.container.Composite(new qx.ui.layout.HBox(5));
7272

7373
const prevBtn = new qx.ui.form.Button().set({
74-
toolTipText: this.tr("Back to Organizations list"),
74+
toolTipText: this.tr("Return to Organizations list"),
7575
icon: "@FontAwesome5Solid/arrow-left/20",
7676
backgroundColor: "transparent"
7777
});

services/static-webserver/client/source/class/osparc/desktop/paymentMethods/PaymentMethodDetails.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ qx.Class.define("osparc.desktop.paymentMethods.PaymentMethodDetails", {
4747
members: {
4848
__buildLayout: function(paymentMethodData) {
4949
[
50-
[this.tr("Holder name"), paymentMethodData["cardHolderName"]],
50+
[this.tr("Card Holder name"), paymentMethodData["cardHolderName"]],
5151
[this.tr("Type"), paymentMethodData["cardType"]],
5252
[this.tr("Number"), paymentMethodData["cardNumberMasked"]],
5353
[this.tr("Expiration date"), paymentMethodData["expirationMonth"] + "/" + paymentMethodData["expirationYear"]]

services/static-webserver/client/source/class/osparc/desktop/paymentMethods/PaymentMethodListItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ qx.Class.define("osparc.desktop.paymentMethods.PaymentMethodListItem", {
182182
},
183183

184184
__deletePressed: function() {
185-
const msg = this.tr("Are you sure you want to delete the Payment Method?");
185+
const msg = this.tr("Are you sure you want to delete this Payment Method?");
186186
const win = new osparc.ui.window.Confirmation(msg).set({
187187
caption: this.tr("Delete Payment Method"),
188188
confirmText: this.tr("Delete"),

services/static-webserver/client/source/class/osparc/desktop/preferences/pages/TokensPage.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,12 @@ qx.Class.define("osparc.desktop.preferences.pages.TokensPage", {
173173

174174
__createTokensSection: function() {
175175
// layout
176-
const box = osparc.ui.window.TabbedView.createSectionBox(this.tr("External Service Tokens"));
176+
const box = osparc.ui.window.TabbedView.createSectionBox(this.tr("API Tokens for External Services"));
177177

178-
const label = osparc.ui.window.TabbedView.createHelpLabel(this.tr("Enter the API tokens to access external services."));
178+
const label = osparc.ui.window.TabbedView.createHelpLabel(this.tr("Provide the API tokens needed to access external services."));
179179
box.add(label);
180180

181-
const validTokensGB = this.__validTokensGB = osparc.ui.window.TabbedView.createSectionBox(this.tr("Existing Tokens"));
181+
const validTokensGB = this.__validTokensGB = osparc.ui.window.TabbedView.createSectionBox(this.tr("Current Tokens"));
182182
box.add(validTokensGB);
183183

184184
const supportedExternalsGB = this.__supportedExternalsGB = osparc.ui.window.TabbedView.createSectionBox(this.tr("Supported services")).set({
@@ -280,7 +280,7 @@ qx.Class.define("osparc.desktop.preferences.pages.TokensPage", {
280280
return;
281281
}
282282

283-
const msg = this.tr("Do you want to delete the Token?");
283+
const msg = this.tr("Are you sure you want to delete this token?");
284284
const win = new osparc.ui.window.Confirmation(msg).set({
285285
caption: this.tr("Delete Token"),
286286
confirmText: this.tr("Delete"),
@@ -326,13 +326,13 @@ qx.Class.define("osparc.desktop.preferences.pages.TokensPage", {
326326

327327
const newTokenKey = new qx.ui.form.TextField();
328328
newTokenKey.set({
329-
placeholder: this.tr("Input your token key")
329+
placeholder: this.tr("Enter your token key")
330330
});
331331
form.add(newTokenKey, this.tr("Key"));
332332

333333
const newTokenSecret = new qx.ui.form.TextField();
334334
newTokenSecret.set({
335-
placeholder: this.tr("Input your token secret")
335+
placeholder: this.tr("Enter your token secret")
336336
});
337337
form.add(newTokenSecret, this.tr("Secret"));
338338

services/static-webserver/client/source/class/osparc/desktop/preferences/window/CreateAPIKey.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ qx.Class.define("osparc.desktop.preferences.window.CreateAPIKey", {
1717
extend: osparc.desktop.preferences.window.APIKeyBase,
1818

1919
construct: function() {
20-
const caption = this.tr("Create API Key");
20+
const caption = this.tr("Generate API Key");
2121
const infoText = this.tr("Key names must be unique.");
2222
this.base(arguments, caption, infoText);
2323

@@ -48,7 +48,7 @@ qx.Class.define("osparc.desktop.preferences.window.CreateAPIKey", {
4848
if (date) {
4949
// allow only future dates
5050
if (new Date() > new Date(date)) {
51-
const msg = this.tr("Choose a future date");
51+
const msg = this.tr("Select a future date");
5252
osparc.FlashMessenger.logAs(msg, "WARNING");
5353
expirationDate.resetValue();
5454
} else {

services/static-webserver/client/source/class/osparc/desktop/preferences/window/ShowAPIKey.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ qx.Class.define("osparc.desktop.preferences.window.ShowAPIKey", {
1818

1919
construct: function(key, secret, baseUrl) {
2020
const caption = this.tr("API Key");
21-
const infoText = this.tr("For your protection, store your access keys securely and do not share them. You will not be able to access the key again once this window is closed.");
21+
const infoText = this.tr("For your security, store your access keys safely. You will not be able to access them again after closing this window.");
2222
this.base(arguments, caption, infoText);
2323

2424
this.set({

services/static-webserver/client/source/class/osparc/desktop/wallets/WalletDetails.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ qx.Class.define("osparc.desktop.wallets.WalletDetails", {
6666
const titleLayout = this.__titleLayout = new qx.ui.container.Composite(new qx.ui.layout.HBox(5));
6767

6868
const prevBtn = new qx.ui.form.Button().set({
69-
toolTipText: this.tr("Back to Credit Accounts list"),
69+
toolTipText: this.tr("Return to Credit Accounts list"),
7070
icon: "@FontAwesome5Solid/arrow-left/20",
7171
backgroundColor: "transparent"
7272
});

0 commit comments

Comments
 (0)