Skip to content

Commit

Permalink
Feat: enable additional languages (#1605)
Browse files Browse the repository at this point in the history
* feat: enable extra languages

* fix: make settings area wider

* fix: allow decimal separators
  • Loading branch information
Tuditi authored Dec 13, 2023
1 parent e199242 commit 10e348d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion packages/desktop/features/app.features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ const appFeatures: IAppFeatures = {
translations: {
languages: {
en: true,
de: false,
de: true,
tr: true,
nl: true,
pl: true,
},
},
particles: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

<style lang="postcss">
aside {
@apply w-64 px-4 py-8;
@apply w-72 px-4 py-8;
@apply bg-surface-1/90 dark:bg-surface-1-dark/60;
@apply border-solid border-r border-stroke dark:border-stroke-dark;
border-top-left-radius: 32px;
Expand Down
6 changes: 4 additions & 2 deletions packages/shared/src/components/inputs/AmountInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
export let fontWeight = FontWeight.semibold
export let disabled = false
export let hasFocus = false
export let amount: string = ''
export let isInteger = false
export let amount = ''
$: amount, onAmountInputChange()
Expand All @@ -29,7 +30,8 @@
bind:inputElement
bind:value={amount}
bind:hasFocus
inputType="number"
float={!isInteger}
integer={isInteger}
{disabled}
placeholder="0"
{fontSize}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ export interface IAppFeatures {
en: boolean
de: boolean
tr: boolean
nl: boolean
pl: boolean
}
}
particles: IFeatureFlag
Expand Down

0 comments on commit 10e348d

Please sign in to comment.