Skip to content

Commit 67d06fd

Browse files
committed
UX: Improve wording in frontend templates
1 parent f3e8d37 commit 67d06fd

File tree

21 files changed

+439
-372
lines changed

21 files changed

+439
-372
lines changed

frontend/package-lock.json

Lines changed: 227 additions & 142 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"eslint-config-prettier": "^8.3.0",
5151
"eslint-config-standard": "^16.0.3",
5252
"eslint-formatter-pretty": "^4.1.0",
53-
"eslint-friendly-formatter": "^4.0.1",
53+
"eslint-friendly-formatter": "^3.0.0",
5454
"eslint-plugin-html": "^6.1.2",
5555
"eslint-plugin-import": "^2.23.4",
5656
"eslint-plugin-node": "^11.1.0",
@@ -91,7 +91,7 @@
9191
"resolve-url-loader": "^3.1.4",
9292
"sass": "^1.36.0",
9393
"sass-loader": "^12.1.0",
94-
"server": "^1.0.34",
94+
"server": "^1.0.36",
9595
"sockette": "^2.0.6",
9696
"style-loader": "^3.1.0",
9797
"svg-url-loader": "^7.1.1",

frontend/src/component/photo/cards.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
color="secondary-dark" icon="lightbulb_outline" class="no-results ma-2 opacity-70" outline
66
>
77
<h3 v-if="filter.order === 'edited'" class="body-2 ma-0 pa-0">
8-
<translate>Couldn't find recently edited</translate>
8+
<translate>No recently edited pictures</translate>
99
</h3>
1010
<h3 v-else class="body-2 ma-0 pa-0">
11-
<translate>Couldn't find anything</translate>
11+
<translate>No pictures found</translate>
1212
</h3>
1313
<p class="body-1 mt-2 mb-0 pa-0">
1414
<translate>Try again using other filters or keywords.</translate>
15-
<translate>When a file you expect is missing, please rescan your library and wait until indexing has been completed.</translate>
15+
<translate>In case pictures you expect are missing, please rescan your library and wait until indexing has been completed.</translate>
1616
<template v-if="$config.feature('review')" class="mt-2 mb-0 pa-0">
1717
<translate>Non-photographic and low-quality images require a review before they appear in search results.</translate>
1818
</template>

frontend/src/component/photo/list.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
color="secondary-dark" icon="lightbulb_outline" class="no-results ma-2 opacity-70" outline
77
>
88
<h3 v-if="filter.order === 'edited'" class="body-2 ma-0 pa-0">
9-
<translate>Couldn't find recently edited</translate>
9+
<translate>No recently edited pictures</translate>
1010
</h3>
1111
<h3 v-else class="body-2 ma-0 pa-0">
12-
<translate>Couldn't find anything</translate>
12+
<translate>No pictures found</translate>
1313
</h3>
1414
<p class="body-1 mt-2 mb-0 pa-0">
1515
<translate>Try again using other filters or keywords.</translate>
16-
<translate>When a file you expect is missing, please rescan your library and wait until indexing has been completed.</translate>
16+
<translate>In case pictures you expect are missing, please rescan your library and wait until indexing has been completed.</translate>
1717
<template v-if="config.settings.features.review" class="mt-2 mb-0 pa-0">
1818
<translate>Non-photographic and low-quality images require a review before they appear in search results.</translate>
1919
</template>

frontend/src/component/photo/mosaic.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
color="secondary-dark" icon="lightbulb_outline" class="no-results ma-2 opacity-70" outline
66
>
77
<h3 v-if="filter.order === 'edited'" class="body-2 ma-0 pa-0">
8-
<translate>Couldn't find recently edited</translate>
8+
<translate>No recently edited pictures</translate>
99
</h3>
1010
<h3 v-else class="body-2 ma-0 pa-0">
11-
<translate>Couldn't find anything</translate>
11+
<translate>No pictures found</translate>
1212
</h3>
1313
<p class="body-1 mt-2 mb-0 pa-0">
1414
<translate>Try again using other filters or keywords.</translate>
15-
<translate>When a file you expect is missing, please rescan your library and wait until indexing has been completed.</translate>
15+
<translate>In case pictures you expect are missing, please rescan your library and wait until indexing has been completed.</translate>
1616
<template v-if="$config.feature('review')" class="mt-2 mb-0 pa-0">
1717
<translate>Non-photographic and low-quality images require a review before they appear in search results.</translate>
1818
</template>

frontend/src/locales/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
PhotoPrism uses [gettext](https://en.wikipedia.org/wiki/Gettext) for localizing frontend and backend.
44
It's one of the most widely adopted standards for translating user interfaces.
55

6-
Human readable messages like `File not found` are used as ids for finding matching translations,
6+
Human-readable messages like `File not found` are used as ids for finding matching translations,
77
and used as defaults whenever there is no translation available.
88

9-
Messages may optionally contain placeholders, like `Found %{n} files`, for numbers and
9+
Messages may optionally contain placeholders, like `%{n} files found`, for numbers and
1010
other variables.
1111

1212
We strongly recommend [Poedit](https://poedit.net/download) for creating and updating translations.

frontend/src/locales/de.mo

-555 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)