mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
Show alert if syncing is disabled for profile.
This commit is contained in:
parent
2f6e9dc280
commit
ac2e5f00b5
@ -355,6 +355,12 @@
|
||||
"options_syncUnsupportedHelp": {
|
||||
"message": "Options syncing is not supported on your platform or browser. For now, only Chrome browser on desktop is supported."
|
||||
},
|
||||
"options_profileSyncDisabled": {
|
||||
"message": "Syncing is disabled for this profile."
|
||||
},
|
||||
"options_profileSyncDisabled_quotaPerItem": {
|
||||
"message": "Syncing is disabled for this profile for using too much storage space."
|
||||
},
|
||||
"options_profileTabPrefix": {
|
||||
"message": "Profile :: "
|
||||
},
|
||||
|
@ -355,6 +355,12 @@
|
||||
"options_syncUnsupportedHelp": {
|
||||
"message": "选项同步暂不支持您的平台或浏览器。目前只支持桌面版Chrome的浏览器的同步,请谅解。"
|
||||
},
|
||||
"options_profileSyncDisabled": {
|
||||
"message": "此情景模式已经禁用同步。"
|
||||
},
|
||||
"options_profileSyncDisabled_quotaPerItem": {
|
||||
"message": "此情景模式使用存储空间过多,因此无法进行同步。"
|
||||
},
|
||||
"options_profileTabPrefix": {
|
||||
"message": "情景模式: "
|
||||
},
|
||||
|
@ -355,6 +355,12 @@
|
||||
"options_syncUnsupportedHelp": {
|
||||
"message": "選項同步暫不支援您的平臺或瀏覽器。目前只支援桌面版Chrome的瀏覽器的同步,請諒解。"
|
||||
},
|
||||
"options_profileSyncDisabled": {
|
||||
"message": "此情景模式已經禁用同步。"
|
||||
},
|
||||
"options_profileSyncDisabled_quotaPerItem": {
|
||||
"message": "此情景模式使用儲存空間過多,因此無法進行同步。"
|
||||
},
|
||||
"options_profileTabPrefix": {
|
||||
"message": "情景模式: "
|
||||
},
|
||||
|
@ -355,6 +355,12 @@
|
||||
"options_syncUnsupportedHelp": {
|
||||
"message": "選項同步暫不支援您的平臺或瀏覽器。目前只支援桌面版Chrome的瀏覽器的同步,請諒解。"
|
||||
},
|
||||
"options_profileSyncDisabled": {
|
||||
"message": "此情景模式已經禁用同步。"
|
||||
},
|
||||
"options_profileSyncDisabled_quotaPerItem": {
|
||||
"message": "此情景模式使用儲存空間過多,因此無法進行同步。"
|
||||
},
|
||||
"options_profileTabPrefix": {
|
||||
"message": "情景模式: "
|
||||
},
|
||||
|
@ -27,4 +27,13 @@
|
||||
x-spectrum-colorpicker(ng-model='profile.color' options='spectrumOptions'
|
||||
ng-if='profile.profileType != "VirtualProfile"')
|
||||
h2.profile-name {{'options_profileTabPrefix' | tr}}{{profile.name}}
|
||||
section.settings-group(ng-show='profile.syncOptions == "disabled"')
|
||||
p.alert.alert-info.width-limit(ng-show='!profile.syncError')
|
||||
span.glyphicon.glyphicon-info-sign
|
||||
= ' '
|
||||
| {{'Syncing is disabled for this profile.'}}
|
||||
p.alert.alert-danger.width-limit(ng-show='!!profile.syncError')
|
||||
span.glyphicon.glyphicon-remove
|
||||
= ' '
|
||||
| {{('options_profileSyncDisabled_' + profile.syncError.reason) | tr}}
|
||||
div(ng-include='profileTemplate')
|
||||
|
Loading…
Reference in New Issue
Block a user