refactor(i18n): rename booklore translation keys to grimmory

- Frontend translations:
  - rename the remaining `booklore`-named translation keys across the locale JSON files to `grimmory`
  - keep the translated values intact while aligning the key namespace with the Grimmory branding pass

- Angular lookups:
  - update the affected Transloco lookups in book menus, metadata views, user-management permissions, and KOReader settings
  - preserve existing compatibility-oriented API and state names that are not translation identifiers

- Notes:
  - this commit also normalizes JSON formatting across the touched locale files because the key rename was applied structurally
  - the resulting diff is much noisier than the logical change, but the intended behavior change is the translation-key rename itself
This commit is contained in:
James Cox
2026-03-20 19:58:03 -05:00
committed by James Cox
parent 857290d215
commit eb94afa7ad
236 changed files with 640 additions and 640 deletions
@@ -358,17 +358,17 @@ export class BookMenuService {
if (permissions?.canBulkResetBookloreReadProgress) {
items.push({
label: this.t.translate('book.menuService.menu.resetBookloreProgress'),
label: this.t.translate('book.menuService.menu.resetGrimmoryProgress'),
icon: 'pi pi-undo',
command: () => {
this.confirmationService.confirm({
message: this.t.translate('book.menuService.confirm.resetBookloreMessage', {count}),
message: this.t.translate('book.menuService.confirm.resetGrimmoryMessage', {count}),
header: this.t.translate('book.menuService.confirm.resetHeader'),
icon: 'pi pi-exclamation-triangle',
acceptLabel: this.t.translate('common.yes'),
rejectLabel: this.t.translate('common.no'),
accept: () => {
const loader = this.loadingService.show(this.t.translate('book.menuService.loading.resettingBookloreProgress', {count}));
const loader = this.loadingService.show(this.t.translate('book.menuService.loading.resettingGrimmoryProgress', {count}));
this.bookService.resetProgress(Array.from(selectedBooks), ResetProgressTypes.BOOKLORE)
.pipe(finalize(() => this.loadingService.hide(loader)))
@@ -377,7 +377,7 @@ export class BookMenuService {
this.messageService.add({
severity: 'success',
summary: this.t.translate('book.menuService.toast.progressResetSummary'),
detail: this.t.translate('book.menuService.toast.bookloreProgressResetDetail'),
detail: this.t.translate('book.menuService.toast.grimmoryProgressResetDetail'),
life: 1500
});
},