mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-11 16:24:11 +01:00
Frontend: Remove "#, fuzzy" from translations in src/locales/fr.po
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -513,7 +513,6 @@ msgid "Audio"
|
||||
msgstr "Audio"
|
||||
|
||||
#: src/model/logs.js:192
|
||||
#, fuzzy
|
||||
msgid "Audit Log"
|
||||
msgstr "Journal d'audit"
|
||||
|
||||
@@ -2934,7 +2933,6 @@ msgstr ""
|
||||
"emplacement actuel."
|
||||
|
||||
#: src/page/admin/activity.vue:132
|
||||
#, fuzzy
|
||||
msgid "Repeated"
|
||||
msgstr "Répétition"
|
||||
|
||||
@@ -3188,7 +3186,6 @@ msgid "Setup"
|
||||
msgstr "Configurer"
|
||||
|
||||
#: src/page/admin/activity.vue:128 src/page/admin/activity.vue:36
|
||||
#, fuzzy
|
||||
msgid "Severity"
|
||||
msgstr "Gravité"
|
||||
|
||||
@@ -3519,7 +3516,6 @@ msgid ""
|
||||
msgstr "Cela monte le dossier des originaux en tant que lecteur réseau et vous permet d'ouvrir, modifier et supprimer des fichiers de votre ordinateur ou smartphone comme s'ils étaient locaux. "
|
||||
|
||||
#: src/page/admin/activity.vue:127
|
||||
#, fuzzy
|
||||
msgid "Time"
|
||||
msgstr "L'heure"
|
||||
|
||||
|
||||
@@ -1,9 +1,30 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
shopt -s globstar nullglob
|
||||
|
||||
remove_fuzzy_flag() {
|
||||
local file="$1"
|
||||
# Skip files that do not contain the fuzzy marker.
|
||||
if ! grep -q '^#,\ fuzzy$' "$file"; then
|
||||
return
|
||||
fi
|
||||
|
||||
local tmp
|
||||
tmp="$(mktemp)"
|
||||
# Copy every line except the fuzzy marker.
|
||||
awk '$0 != "#, fuzzy"' "$file" >"$tmp"
|
||||
mv "$tmp" "$file"
|
||||
}
|
||||
|
||||
echo "Removing fuzzy attribute from backend translations..."
|
||||
for file in ./assets/locales/**/*.po; do msgattrib --clear-fuzzy -o "${file}" "${file}"; done
|
||||
for file in ./assets/locales/**/*.po; do
|
||||
remove_fuzzy_flag "$file"
|
||||
done
|
||||
|
||||
echo "Removing fuzzy attribute from frontend translations..."
|
||||
for file in ./frontend/src/locales/*.po; do msgattrib --clear-fuzzy -o "${file}" "${file}"; done
|
||||
for file in ./frontend/src/locales/*.po; do
|
||||
remove_fuzzy_flag "$file"
|
||||
done
|
||||
|
||||
echo "Done."
|
||||
|
||||
Reference in New Issue
Block a user