Skip to content

Commit

Permalink
UBER-600: fix label, fix colours for boolean presenter (#3608)
Browse files Browse the repository at this point in the history
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
  • Loading branch information
ThetaDR authored Aug 19, 2023
1 parent 90664d7 commit 6e3ad0e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion models/setting/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export function createModel (builder: Builder): void {
{
hidden: false,
generated: false,
label: setting.string.IntegrationDisabled,
label: setting.string.IntegrationDisabledSetting,
group: setting.ids.SettingNotificationGroup,
field: 'disabled',
txClasses: [core.class.TxUpdateDoc],
Expand Down
1 change: 1 addition & 0 deletions plugins/setting-assets/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"DeleteStatusConfirm": "Do you want to delete this status?",
"Reconnect": "Reconnect",
"IntegrationDisabled": " has been disabled",
"IntegrationDisabledSetting": "Integration has been disabled",
"IntegrationWith": "Integration with ",
"ClassSetting": "Class setting",
"Attributes": "Attributes",
Expand Down
1 change: 1 addition & 0 deletions plugins/setting-assets/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"DeleteStatusConfirm": "Вы действительно хотите удалить этот статус?",
"Reconnect": "Переподключить",
"IntegrationDisabled": " была отключена",
"IntegrationDisabledSetting": "Интеграция была отключена",
"IntegrationWith": "Интеграция с ",
"ClassSetting": "Настройки класса",
"Attributes": "Атрибуты",
Expand Down
1 change: 1 addition & 0 deletions plugins/setting-resources/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default mergeIds(settingId, setting, {
},
string: {
IntegrationDisabled: '' as IntlString,
IntegrationDisabledSetting: '' as IntlString,
IntegrationWith: '' as IntlString,
DeleteStatus: '' as IntlString,
DeleteStatusConfirm: '' as IntlString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import { getPlatformColor, themeStore } from '@hcengineering/ui'
export let value: boolean
export let trueColor = 0
export let falseColor = 16
export let trueColor = 16
export let falseColor = 0
export let useInvert = false
$: val = useInvert ? !value : value
Expand Down

0 comments on commit 6e3ad0e

Please sign in to comment.