refactor: replace numeric translation keys with named keys

- Extract shared i18n.sh library with tr() function (replaces 5 duplicated text_lang functions)
- Replace numeric IDs (001, 002, ...) with human-readable keys (already_started, delete, etc.)
- Update all language files (en_US, en_GB, de_DE) to use named key format
- Update all scripts (jdautoenc, rename, addrename, removerename, config) to use tr() from i18n.sh
This commit is contained in:
2026-08-12 05:50:48 +02:00
parent a862b7be7c
commit 05e07a3857
21 changed files with 1914 additions and 2193 deletions
+6 -6
View File
@@ -1,6 +1,6 @@
001 Select the entry to be deleted:
002 Exit
003 Are you sure you want to
004 delete
005 want?
006 Invalid entry.
select_delete Select the entry to be deleted:
exit Exit
sure_delete Are you sure you want to
delete delete
want want?
invalid Invalid entry.