locale for web app (#334)
* locale for web app * more translations * Rename profiles service to avoid locale conflict * More translation work * Lint fix --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
1 parent
019fde1e67
commit
42dadec020
54 files changed
+538
-151
No files matched your search
@@ -1,7 +1,9 @@
|
||||
<script lang="ts">
|
||||
import { tr } from "lib/Stores";
|
||||
|
||||
let modal;
|
||||
|
||||
export let label = "Filters";
|
||||
export let label = $tr("Filters");
|
||||
|
||||
export const filters = {
|
||||
date: "",
|
||||
@@ -28,7 +30,7 @@
|
||||
count += filters.features.length;
|
||||
count += filters.sort_by ? 1 : 0;
|
||||
|
||||
label = `Filters` + `${count > 0 ? ` (${count})` : ""}`;
|
||||
label = $tr("Filters") + `${count > 0 ? ` (${count})` : ""}`;
|
||||
}
|
||||
|
||||
const options = {
|
||||
@@ -239,12 +241,12 @@
|
||||
<button
|
||||
class="btn btn-outline"
|
||||
type="button"
|
||||
on:click={() => modal.close()}>Close</button
|
||||
on:click={() => modal.close()}>{$tr("Close")}</button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<form method="dialog" class="modal-backdrop">
|
||||
<button>Close</button>
|
||||
<button>{$tr("Close")}</button>
|
||||
</form>
|
||||
</dialog>
|
||||
Reference in new issue
Block a user