Skip to content

Commit 69d5b12

Browse files
committed
rewording I
1 parent eda0c27 commit 69d5b12

File tree

9 files changed

+26
-26
lines changed

9 files changed

+26
-26
lines changed

services/static-webserver/client/source/class/osparc/Application.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ qx.Class.define("osparc.Application", {
7474
const webSocket = osparc.wrapper.WebSocket.getInstance();
7575
webSocket.addListener("connect", () => osparc.WatchDog.getInstance().setOnline(true));
7676
webSocket.addListener("disconnect", () => osparc.WatchDog.getInstance().setOnline(false));
77-
webSocket.addListener("logout", () => this.logout(qx.locale.Manager.tr("You were logged out")));
77+
webSocket.addListener("logout", () => this.logout(qx.locale.Manager.tr("You have been logged out")));
7878
// alert the users that they are about to navigate away
7979
// from osparc. unfortunately it is not possible
8080
// to provide our own message here
@@ -371,7 +371,7 @@ qx.Class.define("osparc.Application", {
371371
__checkNewRelease: function() {
372372
if (osparc.NewRelease.firstTimeISeeThisFrontend()) {
373373
const newRelease = new osparc.NewRelease();
374-
const title = this.tr("New Release");
374+
const title = this.tr("New Version Released");
375375
const win = osparc.ui.window.Window.popUpInWindow(newRelease, title, 350, 135).set({
376376
clickAwayClose: false,
377377
resizable: false,
@@ -563,7 +563,7 @@ qx.Class.define("osparc.Application", {
563563
if (forcedReason) {
564564
osparc.FlashMessenger.logAs(forcedReason, "WARNING", 0);
565565
} else {
566-
osparc.FlashMessenger.logAs(this.tr("You are logged out"), "INFO");
566+
osparc.FlashMessenger.logAs(this.tr("You have been logged out"), "INFO");
567567
}
568568
this.__closeAllAndToLoginPage();
569569
},

services/static-webserver/client/source/class/osparc/CookieExpirationTracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ qx.Class.define("osparc.CookieExpirationTracker", {
112112
// /FLASH MESSAGE //
113113

114114
__logoutUser: function() {
115-
const reason = qx.locale.Manager.tr("Session expired");
115+
const reason = qx.locale.Manager.tr("Your session has expired");
116116
qx.core.Init.getApplication().logout(reason);
117117
}
118118
}

services/static-webserver/client/source/class/osparc/MaintenanceTracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ qx.Class.define("osparc.MaintenanceTracker", {
166166
end: null,
167167
reason: null
168168
});
169-
const reason = qx.locale.Manager.tr("We are under maintenance. Please check back later");
169+
const reason = qx.locale.Manager.tr("The service is under maintenance. Please check back later");
170170
qx.core.Init.getApplication().logout(reason);
171171
},
172172

services/static-webserver/client/source/class/osparc/TooSmallDialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ qx.Class.define("osparc.TooSmallDialog", {
1919
extend: osparc.ui.window.SingletonWindow,
2020

2121
construct: function() {
22-
this.base(arguments, "too-small-logout", this.tr("Window too small"));
22+
this.base(arguments, "too-small-logout", this.tr("Window size too small"));
2323

2424
this.set({
2525
layout: new qx.ui.layout.VBox(10),

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,7 @@ qx.Class.define("osparc.data.Resources", {
14911491
if ("status" in err && err.status === 401) {
14921492
// Unauthorized again, the cookie might have expired.
14931493
// We can assume that all calls after this will respond with 401, so bring the user ot the login page.
1494-
qx.core.Init.getApplication().logout(qx.locale.Manager.tr("You were logged out. Your cookie might have expired."));
1494+
qx.core.Init.getApplication().logout(qx.locale.Manager.tr("You have been logged out. Your cookie might have expired."));
14951495
}
14961496
});
14971497
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ qx.Class.define("osparc.desktop.MainPage", {
304304
osparc.data.Resources.fetch("snapshots", "checkout", params)
305305
.then(snapshotResp => {
306306
if (!snapshotResp) {
307-
const msg = this.tr("Snapshot not found");
307+
const msg = this.tr("No snapshot found");
308308
throw new Error(msg);
309309
}
310310
const params2 = {

services/static-webserver/client/source/class/osparc/desktop/account/ProfilePage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ qx.Class.define("osparc.desktop.account.ProfilePage", {
142142
expirationLayout.add(expirationDateLabel);
143143
const expirationDate = new qx.ui.basic.Label();
144144
expirationLayout.add(expirationDate);
145-
const infoLabel = this.tr("Please contact us by email:<br>");
145+
const infoLabel = this.tr("Please contact us via email:<br>");
146146
const infoExtension = new osparc.ui.hint.InfoHint(infoLabel);
147147
const supportEmail = osparc.store.VendorInfo.getInstance().getSupportEmail();
148148
infoExtension.setHintText(infoLabel + supportEmail);

services/static-webserver/client/source/class/osparc/utils/Utils.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -600,14 +600,14 @@ qx.Class.define("osparc.utils.Utils", {
600600
expirationMessage: function(daysToExpiration) {
601601
let msg = "";
602602
if (daysToExpiration === 0) {
603-
msg = qx.locale.Manager.tr("This account will expire Today.");
603+
msg = qx.locale.Manager.tr("Your account will expire today.");
604604
} else if (daysToExpiration === 1) {
605-
msg = qx.locale.Manager.tr("This account will expire Tomorrow.");
605+
msg = qx.locale.Manager.tr("Your account will expire tomorrow.");
606606
} else {
607-
msg = qx.locale.Manager.tr("This account will expire in ") + daysToExpiration + qx.locale.Manager.tr(" days.");
607+
msg = qx.locale.Manager.tr("Your account will expire in ") + daysToExpiration + qx.locale.Manager.tr(" days.");
608608
}
609609
msg += "</br>";
610-
msg += qx.locale.Manager.tr("Please contact us by email:");
610+
msg += qx.locale.Manager.tr("Please contact us via email:");
611611
msg += "</br>";
612612
const supportEmail = osparc.store.VendorInfo.getInstance().getSupportEmail();
613613
msg += supportEmail;

services/static-webserver/client/source/translation/en.po

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#: osparc/Application.js
2-
msgid "You were logged out"
2+
msgid "You have been logged out"
33
msgstr ""
44

55
#: osparc/Application.js
6-
msgid "New Release"
6+
msgid "New Version Released"
77
msgstr ""
88

99
#: osparc/Application.js
@@ -15,7 +15,7 @@ msgid "Privacy Policy and License Terms"
1515
msgstr ""
1616

1717
#: osparc/Application.js
18-
msgid "You are logged out"
18+
msgid "You have been logged out"
1919
msgstr ""
2020

2121
#: osparc/desktop/credits/ResourceInTableViewer.js
@@ -43,23 +43,23 @@ msgid "Tomorrow"
4343
msgstr ""
4444

4545
#: osparc/utils/Utils.js
46-
msgid "This account will expire Today."
46+
msgid "Your account will expire today."
4747
msgstr ""
4848

4949
#: osparc/utils/Utils.js
50-
msgid "This account will expire Tomorrow."
50+
msgid "Your account will expire tomorrow."
5151
msgstr ""
5252

5353
#: osparc/utils/Utils.js
54-
msgid "This account will expire in "
54+
msgid "Your account will expire in "
5555
msgstr ""
5656

5757
#: osparc/utils/Utils.js
5858
msgid " days."
5959
msgstr ""
6060

6161
#: osparc/utils/Utils.js
62-
msgid "Please contact us by email:"
62+
msgid "Please contact us via email:"
6363
msgstr ""
6464

6565
#: osparc/utils/Utils.js
@@ -167,7 +167,7 @@ msgid "Accept"
167167
msgstr ""
168168

169169
#: osparc/data/Resources.js
170-
msgid "You were logged out. Your cookie might have expired."
170+
msgid "You have been logged out. Your cookie might have expired."
171171
msgstr ""
172172

173173
#: osparc/FlashMessenger.js
@@ -231,7 +231,7 @@ msgid "Closing previous snapshot..."
231231
msgstr ""
232232

233233
#: osparc/desktop/MainPage.js
234-
msgid "Snapshot not found"
234+
msgid "No snapshot found"
235235
msgstr ""
236236

237237
#: osparc/desktop/MainPageHandler.js
@@ -251,11 +251,11 @@ msgid "Iteration not found"
251251
msgstr ""
252252

253253
#: osparc/MaintenanceTracker.js
254-
msgid "We are under maintenance. Please check back later"
254+
msgid "The service is under maintenance. Please check back later"
255255
msgstr ""
256256

257257
#: osparc/CookieExpirationTracker.js
258-
msgid "Session expired"
258+
msgid "Your session has expired"
259259
msgstr ""
260260

261261
#: osparc/NewUITracker.js
@@ -423,7 +423,7 @@ msgid "Don't show again"
423423
msgstr ""
424424

425425
#: osparc/TooSmallDialog.js
426-
msgid "Window too small"
426+
msgid "Window size too small"
427427
msgstr ""
428428

429429
#: osparc/TooSmallDialog.js
@@ -1335,7 +1335,7 @@ msgid "Expiration date:"
13351335
msgstr ""
13361336

13371337
#: osparc/desktop/account/ProfilePage.js
1338-
msgid "Please contact us by email:<br>"
1338+
msgid "Please contact us via email:<br>"
13391339
msgstr ""
13401340

13411341
#: osparc/desktop/account/ProfilePage.js

0 commit comments

Comments
 (0)