Skip to content

Commit 69b67c8

Browse files
committed
Add "No sync events" translation support #2252
1 parent 721ae6c commit 69b67c8

32 files changed

Lines changed: 35 additions & 31 deletions

src/js/Options/Modules/Options/Settings/SyncEvents.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<script lang="ts">
22
import type {TSyncEvent} from "@Background/Modules/IsThereAnyDeal/_types";
3+
import {__itad_noSyncEvents} from "@Strings/_strings";
4+
import {L} from "@Core/Localization/Localization";
35
46
export let events: TSyncEvent[];
57
</script>
@@ -14,7 +16,7 @@
1416
<div>{event.count}</div>
1517
</div>
1618
{:else}
17-
No sync events
19+
{L(__itad_noSyncEvents)}
1820
{/each}
1921
</div>
2022

src/localization/compiled/_strings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ export const __itad_info_steamItad = "itad_info_steamItad";
518518
export const __itad_syncEvents = "itad_syncEvents";
519519
export const __itad_expired = "itad_expired";
520520
export const __itad_reauthorize = "itad_reauthorize";
521+
export const __itad_noSyncEvents = "itad_noSyncEvents";
521522
export const __tradeoffer_numItem = "tradeoffer_numItem";
522523
export const __tradeoffer_numItems = "tradeoffer_numItems";
523524
export const __tradeoffer_back = "tradeoffer_back";

src/localization/compiled/bg.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/localization/compiled/cs.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/localization/compiled/da.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/localization/compiled/de.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/localization/compiled/el.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/localization/compiled/en.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/localization/compiled/es-419.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/localization/compiled/es-ES.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)