Skip to content

Commit

Permalink
[DDW-746] Small UI and copy improvements (#1459)
Browse files Browse the repository at this point in the history
* [DDW-746] Small UI and copy improvements - missing copy and transations

* [DDW-746] CHANGELOG

* [DDW-746] Fix application menu capitalization

* [DDW-746] Inject missing translations and update English copy
  • Loading branch information
thedanheller authored and nikolaglumac committed Jul 11, 2019
1 parent 06c7b3a commit 774b40f
Show file tree
Hide file tree
Showing 7 changed files with 106 additions and 83 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Changelog

### Fixes

- Improved small UI and copy elements ([PR 1459](https://github.com/input-output-hk/daedalus/pull/1459))
- Fixed shutting down screen top priority ([PR 1428](https://github.com/input-output-hk/daedalus/pull/1428))
- Fixed screen flashes during Daedalus loading ([PR 1444](https://github.com/input-output-hk/daedalus/pull/1444))
- Removes files pushed without running Prettier ([PR 1445](https://github.com/input-output-hk/daedalus/pull/1445))
Expand Down
37 changes: 20 additions & 17 deletions source/main/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,38 @@
"menu.daedalus": "Daedalus",
"menu.daedalus.about": "About Daedalus",
"menu.daedalus.adaRedemption": "Ada Redemption",
"menu.daedalus.daedalusDiagnostics": "Daedalus Diagnostics",
"menu.daedalus.blockConsolidationStatus": "Block Consolidation Status",
"menu.daedalus.quit": "Quit",
"menu.daedalus.hideDaedalus": "Hide Daedalus",
"menu.daedalus.hideOthers": "Hide Others",
"menu.daedalus.showAll": "Show All",
"menu.daedalus.close": "Close",
"menu.daedalus.quit": "Quit",
"menu.edit": "Edit",
"menu.edit.undo": "Undo",
"menu.edit.redo": "Redo",
"menu.edit.cut": "Cut",
"menu.edit.copy": "Copy",
"menu.edit.cut": "Cut",
"menu.edit.paste": "Paste",
"menu.edit.redo": "Redo",
"menu.edit.selectAll": "Select All",
"menu.helpSupport": "Help and Support",
"menu.helpSupport.gpuSafeMode": "GPU Safe Mode",
"menu.helpSupport.gpuSafeModeDialogTitle": "Turn off 'GPU safe mode'?",
"menu.helpSupport.nonGpuSafeModeDialogTitle": "Turn on 'GPU safe mode'?",
"menu.helpSupport.gpuSafeModeDialogMessage": "Turn off 'GPU safe mode'? \n \nYou are about to disable 'GPU safe mode' which will improve the performance of user interface rendering. \n \nClick on 'Yes' to restart Daedalus with 'GPU safe mode' disabled. \n \n If you see a blank screen instead of Daedalus user interface after Daedalus restarts, please turn 'GPU safe mode' back on.",
"menu.helpSupport.nonGpuSafeModeDialogMessage": "Turn on 'GPU safe mode'? \n \nYou are about to enable 'GPU safe mode' which will reduce the performance of user interface rendering. \n \nYou should enable this only if you are seeing a blank screen instead of Daedalus user interface. If Daedalus is working properly for you, please click the 'No'. Otherwise, click 'Yes' to restart Daedalus with 'GPU safe mode' enabled.",
"menu.edit.undo": "Undo",
"menu.helpSupport": "Help",
"menu.helpSupport.blockConsolidationStatus": "Block Consolidation Status",
"menu.helpSupport.daedalusDiagnostics": "Daedalus Diagnostics",
"menu.helpSupport.downloadLogs": "Download Logs",
"menu.helpSupport.blankScreenFix": "Blank Screen Fix",
"menu.helpSupport.gpuSafeModeDialogCancel": "Cancel",
"menu.helpSupport.gpuSafeModeDialogConfirm": "Yes",
"menu.helpSupport.gpuSafeModeDialogMessage": "Turn off 'Blank screen fix'? \n \nDisabling the blank screen fix setting will improve the performance of user interface rendering by enabling graphics acceleration, however, some users may find that Daedalus runs better with this setting enabled. If you see a blank screen instead of the Daedalus user interface after disabling this setting and restarting Daedalus, please turn this setting back on. \n \nDo you want to disable this setting and restart Daedalus?",
"menu.helpSupport.gpuSafeModeDialogNo": "No",
"menu.helpSupport.gpuSafeModeDialogCancel": "Cancel",
"menu.helpSupport.downloadLogs": "Download Logs",
"menu.helpSupport.supportRequest": "Support Request",
"menu.helpSupport.supportRequestUrl": "https://iohk.zendesk.com/hc/en-us/requests/new/",
"menu.helpSupport.gpuSafeModeDialogTitle": "Turn off 'Blank screen fix'?",
"menu.helpSupport.knownIssues": "Known Issues",
"menu.helpSupport.knownIssuesUrl": "https://daedaluswallet.io/known-issues/",
"menu.helpSupport.nonGpuSafeModeDialogMessage": "Turn on 'Blank screen fix'? \n \nIf the Daedalus user interface is failing to load then enabling this setting may fix the problem. It will reduce the performance of user interface rendering by disabling graphics acceleration, but some users may find that Daedalus runs better with this setting enabled. \n \nEnable this setting only if the Daedalus user interface is failing to load. If Daedalus is working properly, please click ‘No’. Otherwise, click ‘Yes’ to restart Daedalus with the blank screen fix setting enabled. \n \nDo you want to enable this setting and restart Daedalus?",
"menu.helpSupport.nonGpuSafeModeDialogTitle": "Turn on 'Blank screen fix'?",
"menu.helpSupport.supportRequest": "Support Request",
"menu.helpSupport.supportRequestUrl": "https://iohk.zendesk.com/hc/en-us/requests/new/",
"menu.view": "View",
"menu.view.reload": "Reload",
"menu.view.toggleDeveloperTools": "Toggle Developer Tools",
"menu.view.toggleFullScreen": "Toggle Full Screen",
"menu.view.toggleMaximumWindowSize": "Toggle Maximum Window Size",
"menu.view.toggleDeveloperTools": "Toggle Developer Tools",
"window.title.gpuSafeMode": "[GPU Safe Mode]"
}
37 changes: 20 additions & 17 deletions source/main/locales/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,38 @@
"menu.daedalus": "Daedalus",
"menu.daedalus.about": "このDaedalusについて",
"menu.daedalus.adaRedemption": "Adaの還元",
"menu.daedalus.daedalusDiagnostics": "Daedalus診断",
"menu.daedalus.blockConsolidationStatus": "ブロック統合状況",
"menu.daedalus.quit": "終了",
"menu.daedalus.hideDaedalus": "Daedalusを非表示",
"menu.daedalus.hideOthers": "他を非表示",
"menu.daedalus.showAll": "すべてを表示",
"menu.daedalus.close": "閉じる",
"menu.daedalus.quit": "終了",
"menu.edit": "編集",
"menu.edit.undo": "元に戻す",
"menu.edit.redo": "やり直し",
"menu.edit.cut": "カット",
"menu.edit.copy": "コピー",
"menu.edit.cut": "カット",
"menu.edit.paste": "ペースト",
"menu.edit.redo": "やり直し",
"menu.edit.selectAll": "すべて選択",
"menu.helpSupport": "ヘルプとサポート",
"menu.helpSupport.gpuSafeMode": "GPUセーフモード",
"menu.helpSupport.gpuSafeModeDialogTitle": "「GPUセーフモード」を解除しますか?",
"menu.helpSupport.nonGpuSafeModeDialogTitle": "「GPUセーフモード」を設定しますか?",
"menu.helpSupport.gpuSafeModeDialogMessage": "「GPUセーフモード」を解除しますか? \n \n「GPUセーフモード」を解除します。ユーザーインターフェイスのレンダリングパフォーマンスが向上します。 \n \n「はい」をクリックしてDaedalusを再起動し、「GPUセーフモード」を解除してください。\n \n Daedalusを再起動した際にDaedalusユーザーインターフェイスの代わりにブランクスクリーンが表示される場合は、「GPUセーフモード」に戻してください。",
"menu.helpSupport.nonGpuSafeModeDialogMessage": "「GPUセーフモード」を設定しますか? \n \n「GPUセーフモード」を設定します。ユーザーインターフェイスのレンダリングパフォーマンスが低下します。 \n \nDaedalusユーザーインターフェイスの代わりにブランクスクリーンが表示される場合にのみ設定してください。Daedalusが通常通りに動作している場合は、「いいえ」をクリックしてください。その他の場合は「はい」をクリックしてDaedalusを再起動し、「GPUセーフモード」を設定してください。",
"menu.edit.undo": "元に戻す",
"menu.helpSupport": "ヘルプ",
"menu.helpSupport.blockConsolidationStatus": "ブロック統合状況",
"menu.helpSupport.daedalusDiagnostics": "Daedalus診断",
"menu.helpSupport.downloadLogs": "ログのダウンロード",
"menu.helpSupport.blankScreenFix": "ブランク画面修正",
"menu.helpSupport.gpuSafeModeDialogCancel": "キャンセル",
"menu.helpSupport.gpuSafeModeDialogConfirm": "はい",
"menu.helpSupport.gpuSafeModeDialogMessage": "「ブランク画面修正」を無効にしますか? \n \nブランク画面修正設定を無効にすると、グラフィックアクセラレーションが有効化されてユーザーインターフェイスのレンダリングパフォーマンスが向上しますが、この設定を有効にした方がDaedalusがスムーズに作動する場合があります。この設定を無効にしてDaedalusを再起動した際にDaedalusユーザーインターフェイスの代わりにブランク画面が表示される場合は、この設定をもう一度有効にしてください。 \n \nこの設定を無効にしてDaedalusを再起動しますか。",
"menu.helpSupport.gpuSafeModeDialogNo": "いいえ",
"menu.helpSupport.gpuSafeModeDialogCancel": "キャンセル",
"menu.helpSupport.downloadLogs": "ログのダウンロード",
"menu.helpSupport.supportRequest": "サポートリクエスト",
"menu.helpSupport.supportRequestUrl": "https://iohk.zendesk.com/hc/ja/requests/new/",
"menu.helpSupport.gpuSafeModeDialogTitle": "「ブランク画面修正」を無効にしますか?",
"menu.helpSupport.knownIssues": "既知の問題",
"menu.helpSupport.knownIssuesUrl": "https://daedaluswallet.io/ja/known-issues/",
"menu.helpSupport.nonGpuSafeModeDialogMessage": "「ブランク画面修正」を有効にしますか? \n \nDaedalusユーザーインターフェイスがロードに失敗した際、この設定を有効にすることにより問題が解消される場合があります。この場合、グラフィックアクセラレーションが無効化されることでユーザーインターフェイスのレンダリングパフォーマンスが低下しますが、この設定を有効にした方がDaedalusがスムーズに作動する場合があります。 \n \nこの設定はDaedalusユーザーインターフェイスがロードに失敗した場合にのみ有効にしてください。Daedalusが正常に作動している場合は[いいえ]をクリックします。正常に作動していない場合には[はい]をクリックし、ブランク画面修正設定を有効にしてDaedalusを再起動してください。 \n \nこの設定を有効にしてDaedalusを再起動しますか。",
"menu.helpSupport.nonGpuSafeModeDialogTitle": "「ブランク画面修正」を有効にしますか?",
"menu.helpSupport.supportRequest": "サポートリクエスト",
"menu.helpSupport.supportRequestUrl": "https://iohk.zendesk.com/hc/ja/requests/new/",
"menu.view": "見る",
"menu.view.reload": "リロード",
"menu.view.toggleDeveloperTools": "「開発者ツールの切り替え」",
"menu.view.toggleFullScreen": "フルスクリーン切り替え",
"menu.view.toggleMaximumWindowSize": "最大ウインドウサイズ切り切り替え",
"menu.view.toggleDeveloperTools": "「開発者ツールの切り替え」",
"window.title.gpuSafeMode": "[GPUセーフモード]"
}
60 changes: 37 additions & 23 deletions source/main/menus/osx.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ export const osxMenu = (
actions.openAdaRedemptionScreen();
},
},
{ type: 'separator' },
{
label: translation('daedalus.blockConsolidationStatus'),
accelerator: 'Command+B',
click() {
actions.openBlockConsolidationStatusDialog();
},
label: translation('daedalus.hideDaedalus'),
role: 'hide',
},
{
label: translation('daedalus.daedalusDiagnostics'),
accelerator: 'Command+D',
click() {
actions.openDaedalusDiagnosticsDialog();
},
label: translation('daedalus.hideOthers'),
role: 'hideothers',
},
{
label: translation('daedalus.showAll'),
role: 'unhide',
},
{ type: 'separator' },
{
label: translation('daedalus.quit'),
accelerator: 'Command+Q',
Expand All @@ -73,9 +73,7 @@ export const osxMenu = (
accelerator: 'Shift+Command+Z',
role: 'redo',
},
{
type: 'separator',
},
{ type: 'separator' },
{
label: translation('edit.cut'),
accelerator: 'Command+X',
Expand Down Expand Up @@ -122,7 +120,14 @@ export const osxMenu = (
label: translation('helpSupport'),
submenu: compact([
{
label: translation('helpSupport.gpuSafeMode'),
label: translation('helpSupport.knownIssues'),
click() {
const faqLink = translation('helpSupport.knownIssuesUrl');
shell.openExternal(faqLink);
},
},
{
label: translation('helpSupport.blankScreenFix'),
type: 'checkbox',
checked: isInSafeMode,
click(item) {
Expand Down Expand Up @@ -154,12 +159,7 @@ export const osxMenu = (
});
},
},
{
label: translation('helpSupport.downloadLogs'),
click() {
showUiPartChannel.send(NOTIFICATIONS.DOWNLOAD_LOGS, window);
},
},
{ type: 'separator' },
{
label: translation('helpSupport.supportRequest'),
click() {
Expand All @@ -178,10 +178,24 @@ export const osxMenu = (
},
},
{
label: translation('helpSupport.knownIssues'),
label: translation('helpSupport.downloadLogs'),
click() {
const faqLink = translation('helpSupport.knownIssuesUrl');
shell.openExternal(faqLink);
showUiPartChannel.send(NOTIFICATIONS.DOWNLOAD_LOGS, window);
},
},
{ type: 'separator' },
{
label: translation('helpSupport.blockConsolidationStatus'),
accelerator: 'Command+B',
click() {
actions.openBlockConsolidationStatusDialog();
},
},
{
label: translation('helpSupport.daedalusDiagnostics'),
accelerator: 'Command+D',
click() {
actions.openDaedalusDiagnosticsDialog();
},
},
]),
Expand Down
50 changes: 26 additions & 24 deletions source/main/menus/win-linux.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,6 @@ export const winLinuxMenu = (
actions.openAdaRedemptionScreen();
},
},
{
label: translation('daedalus.blockConsolidationStatus'),
accelerator: 'Ctrl+B',
click() {
actions.openBlockConsolidationStatusDialog();
},
},
{
label: translation('daedalus.daedalusDiagnostics'),
accelerator: 'Ctrl+D',
click() {
actions.openDaedalusDiagnosticsDialog();
},
},
{
label: translation('daedalus.close'),
accelerator: 'Ctrl+W',
Expand Down Expand Up @@ -140,7 +126,14 @@ export const winLinuxMenu = (
label: translation('helpSupport'),
submenu: compact([
{
label: translation('helpSupport.gpuSafeMode'),
label: translation('helpSupport.knownIssues'),
click() {
const faqLink = translation('helpSupport.knownIssuesUrl');
shell.openExternal(faqLink);
},
},
{
label: translation('helpSupport.blankScreenFix'),
type: 'checkbox',
checked: isInSafeMode,
click(item) {
Expand Down Expand Up @@ -173,12 +166,7 @@ export const winLinuxMenu = (
});
},
},
{
label: translation('helpSupport.downloadLogs'),
click() {
showUiPartChannel.send(NOTIFICATIONS.DOWNLOAD_LOGS, window);
},
},
{ type: 'separator' },
{
label: translation('helpSupport.supportRequest'),
click() {
Expand All @@ -197,10 +185,24 @@ export const winLinuxMenu = (
},
},
{
label: translation('helpSupport.knownIssues'),
label: translation('helpSupport.downloadLogs'),
click() {
const faqLink = translation('helpSupport.knownIssuesUrl');
shell.openExternal(faqLink);
showUiPartChannel.send(NOTIFICATIONS.DOWNLOAD_LOGS, window);
},
},
{ type: 'separator' },
{
label: translation('helpSupport.blockConsolidationStatus'),
accelerator: 'Ctrl+B',
click() {
actions.openBlockConsolidationStatusDialog();
},
},
{
label: translation('helpSupport.daedalusDiagnostics'),
accelerator: 'Ctrl+D',
click() {
actions.openDaedalusDiagnosticsDialog();
},
},
]),
Expand Down
2 changes: 1 addition & 1 deletion source/renderer/app/i18n/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"inline.editing.input.changesSaved": "Your changes have been saved",
"loading.screen.connectingToNetworkMessage": "Connecting to network",
"loading.screen.crashedCardanoMessage": "Cardano node crashed",
"loading.screen.errors.tlsCertificateNotValidPleaseRestartError": "TLS certificate is not valid. Please restart Daedalus.",
"loading.screen.errors.tlsCertificateNotValidPleaseRestartError": "A configuration issue was detected and fixed. Please restart Dedalus to continue.",
"loading.screen.loadingWalletData": "Loading wallet data",
"loading.screen.readArticle.buttonLabel": "Read the article",
"loading.screen.readIssueArticle.connectivityIssueArticleUrl": "https://iohk.zendesk.com/hc/en-us/articles/360010522913",
Expand Down
2 changes: 1 addition & 1 deletion source/renderer/app/i18n/locales/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"inline.editing.input.changesSaved": "変更は保存されました",
"loading.screen.connectingToNetworkMessage": "ネットワークに接続中",
"loading.screen.crashedCardanoMessage": "カルダノ・ノードがクラッシュしました",
"loading.screen.errors.tlsCertificateNotValidPleaseRestartError": "TLS証明書が無効です。Daedalusを再起動してください",
"loading.screen.errors.tlsCertificateNotValidPleaseRestartError": "設定の不具合が検知され修正されました。続けるにはDaedalusを再起動してください",
"loading.screen.loadingWalletData": "ウォレットデータ読み込み中",
"loading.screen.readArticle.buttonLabel": "記事を読む",
"loading.screen.readIssueArticle.connectivityIssueArticleUrl": "https://iohk.zendesk.com/hc/ja/articles/360010522913",
Expand Down

0 comments on commit 774b40f

Please sign in to comment.