aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/locales
diff options
context:
space:
mode:
authorZéro~Informatique2022-07-26 08:44:34 +0200
committerpacien2022-09-03 01:30:42 +0200
commit00510820a2794efcadbc83f7f8b54318fe198ecb (patch)
treea894d99c22a601197869c7a6928d40bb4ae2c392 /viewer/src/locales
parent88aa098c07e067f9f737fbeba1f52a9bd5042e53 (diff)
downloadldgallery-00510820a2794efcadbc83f7f8b54318fe198ecb.tar.gz
viewer: migrate to vue 3, general refactoring and cleanup
Non-exhaustive list of fixes and improvements done at the same time: - html default background to grey (avoids white flash during init) - unified links behavior - added more theme variables - removed the flex-expand transition (it wasn't working) and replaced it with a slide - fixed LdLoading not centered on the content - title on removable tags - fixed an issue with encoded URI from vue-router - unified Item resource URLs - removed the iframe for PlainTextViewer (it wasn't working properly) and replaced it with a pre - fixed clear and search buttons tabindex - fixed the information panel bumping up during the fade animation of tag's dropdown - fixed some focus outlines not appearing correctly - moved CSS variables to the :root context - Code cleaning GitHub: closes #217 GitHub: closes #300 GitHub: closes #297 GitHub: closes #105 GitHub: closes #267 GitHub: closes #275 GitHub: closes #228 GitHub: closes #215 GitHub: closes #112
Diffstat (limited to 'viewer/src/locales')
-rw-r--r--viewer/src/locales/en.json26
-rw-r--r--viewer/src/locales/en.yml44
2 files changed, 44 insertions, 26 deletions
diff --git a/viewer/src/locales/en.json b/viewer/src/locales/en.json
deleted file mode 100644
index d0a7a26..0000000
--- a/viewer/src/locales/en.json
+++ /dev/null
@@ -1,26 +0,0 @@
1{
2 "command.back": "Go back",
3 "command.parent": "Go to parent directory",
4 "command.search": "Open/close search panel",
5 "command.search.clear": "Clear",
6 "command.search.search": "Search",
7 "command.sort.byDateAsc": "By date (oldest first)",
8 "command.sort.byDateDesc": "By date (most recent first)",
9 "command.sort.byTitleAsc": "By title (A to Z)",
10 "directory.no-results": "Empty directory",
11 "download.download-file-fmt": "Download {0}",
12 "gallery.unknown-resource": "Resource not found",
13 "panelLeft.information.title": "Information",
14 "panelLeft.propositions": "Related filters",
15 "panelLeft.propositions.other": "other filters",
16 "search.no-result-fmt": "No result<br>({0} match in other folders) | No result<br>({0} matches in other folders)",
17 "snack.retry": "Retry",
18 "splashScreen.button.acknowledge": "Acknowledge",
19 "tag-propositions.addition": "Include all items with this tag",
20 "tag-propositions.intersection": "Search for this tag",
21 "tag-propositions.item-count": "Item count",
22 "tag-propositions.showmore": "show more ({0})",
23 "tag-propositions.substraction": "Exclude items with this tag",
24 "tagInput.nomatch": "No match",
25 "tagInput.placeholder": "Filters"
26}
diff --git a/viewer/src/locales/en.yml b/viewer/src/locales/en.yml
new file mode 100644
index 0000000..acbe24b
--- /dev/null
+++ b/viewer/src/locales/en.yml
@@ -0,0 +1,44 @@
1command:
2 back: Go back
3 parent: Go to parent directory
4 search:
5 clear: Clear
6 search: Search
7 slider: Open/close search panel
8 sort:
9 byDateAsc: By date (oldest first)
10 byDateDesc: By date (most recent first)
11 byTitleAsc: By title (A to Z)
12 title: Sort by...
13directory:
14 no-results: Empty directory
15download:
16 download-file-fmt: Download {0}
17gallery:
18 resource-loading-error: Error loading resource
19 unknown-resource: Resource not found
20panelLeft:
21 information:
22 title: Information
23 propositions:
24 other: other filters
25 related: Related filters
26 taglist:
27 activetag:
28 title: Remove tag
29search:
30 no-result-fmt: >-
31 No result<br>({0} match in other folders) | No result<br>({0} matches in
32 other folders)
33splashScreen:
34 button:
35 acknowledge: Acknowledge
36tag-propositions:
37 addition: Include all items with this tag
38 intersection: Search for this tag
39 item-count: Item count
40 showmore: show more ({0})
41 substraction: Exclude items with this tag
42tagInput:
43 nomatch: No match
44 placeholder: Filters