feat: Implement internationalization with react-i18next, add translation files, and integrate language switching across components.
This commit is contained in:
64
k-notes-frontend/public/locales/en/translation.json
Normal file
64
k-notes-frontend/public/locales/en/translation.json
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"{{count}} selected_one": "{{count}} selected",
|
||||
"{{count}} selected_other": "{{count}} selected",
|
||||
"Add a new note to your collection.": "Add a new note to your collection.",
|
||||
"Archive": "Archive",
|
||||
"Archived {{count}} note_one": "Archived {{count}} notes",
|
||||
"Archived {{count}} note_other": "Archived {{count}} notes",
|
||||
"Are you sure you want to delete {{count}} note?_one": "Are you sure you want to delete {{count}} notes?",
|
||||
"Are you sure you want to delete {{count}} note?_other": "Are you sure you want to delete {{count}} notes?",
|
||||
"Are you sure?": "Are you sure?",
|
||||
"Backend URL": "Backend URL",
|
||||
"Color": "Color",
|
||||
"Configure the application settings.": "Configure the application settings.",
|
||||
"Content": "Content",
|
||||
"Create": "Create",
|
||||
"Create Note": "Create Note",
|
||||
"Data Management": "Data Management",
|
||||
"Delete": "Delete",
|
||||
"Delete tag \"{{name}}\"? Notes will keep their content.": "Delete tag \"{{name}}\"? Notes will keep their content.",
|
||||
"Deleted {{count}} note_one": "Deleted {{count}} notes",
|
||||
"Deleted {{count}} note_other": "Deleted {{count}} notes",
|
||||
"Edit Note": "Edit Note",
|
||||
"Export Data": "Export Data",
|
||||
"Export failed": "Export failed",
|
||||
"Export successful": "Export successful",
|
||||
"Export your notes for backup or import from a JSON file.": "Export your notes for backup or import from a JSON file.",
|
||||
"Grid View": "Grid View",
|
||||
"History": "History",
|
||||
"Import Data": "Import Data",
|
||||
"Import failed": "Import failed",
|
||||
"Import successful. Reloading...": "Import successful. Reloading...",
|
||||
"Invalid URL": "Invalid URL",
|
||||
"K-Notes": "K-Notes",
|
||||
"Language": "Language",
|
||||
"List View": "List View",
|
||||
"New Note": "New Note",
|
||||
"No archived notes yet": "No archived notes yet",
|
||||
"No matching notes found": "No matching notes found",
|
||||
"No notes with tag \"${activeTag}\"": "No notes with tag \"${activeTag}\"",
|
||||
"No tags yet": "No tags yet",
|
||||
"Note content... Type / for commands": "Note content... Type / for commands",
|
||||
"Note created": "Note created",
|
||||
"Note title": "Note title",
|
||||
"Note updated": "Note updated",
|
||||
"Others": "Others",
|
||||
"Pin this note": "Pin this note",
|
||||
"Pinned": "Pinned",
|
||||
"Rename": "Rename",
|
||||
"Save changes": "Save changes",
|
||||
"Saving...": "Saving...",
|
||||
"Search your notes...": "Search your notes...",
|
||||
"Settings": "Settings",
|
||||
"Settings saved. Please refresh the page.": "Settings saved. Please refresh the page.",
|
||||
"Tag deleted": "Tag deleted",
|
||||
"Tag renamed": "Tag renamed",
|
||||
"Tags": "Tags",
|
||||
"Tags (comma separated)": "Tags (comma separated)",
|
||||
"Title": "Title",
|
||||
"Title is required": "Title is required",
|
||||
"Title too long": "Title too long",
|
||||
"Update": "Update",
|
||||
"work, todo, ideas": "work, todo, ideas",
|
||||
"Your notes will appear here. Click + to create one.": "Your notes will appear here. Click + to create one."
|
||||
}
|
||||
73
k-notes-frontend/public/locales/pl/translation.json
Normal file
73
k-notes-frontend/public/locales/pl/translation.json
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"{{count}} selected_one": "{{count}} zaznaczony",
|
||||
"{{count}} selected_few": "{{count}} zaznaczone",
|
||||
"{{count}} selected_many": "{{count}} zaznaczonych",
|
||||
"{{count}} selected_other": "{{count}} zaznaczonych",
|
||||
"Add a new note to your collection.": "Dodaj nową notatkę do swojej kolekcji.",
|
||||
"Archive": "Archiwum",
|
||||
"Archived {{count}} note_one": "Zarchiwizowano {{count}} notatkę",
|
||||
"Archived {{count}} note_few": "Zarchiwizowano {{count}} notatki",
|
||||
"Archived {{count}} note_many": "Zarchiwizowano {{count}} notatek",
|
||||
"Archived {{count}} note_other": "Zarchiwizowano {{count}} notatek",
|
||||
"Are you sure you want to delete {{count}} note?_one": "Czy na pewno chcesz usunąć {{count}} notatkę?",
|
||||
"Are you sure you want to delete {{count}} note?_few": "Czy na pewno chcesz usunąć {{count}} notatki?",
|
||||
"Are you sure you want to delete {{count}} note?_many": "Czy na pewno chcesz usunąć {{count}} notatek?",
|
||||
"Are you sure you want to delete {{count}} note?_other": "Czy na pewno chcesz usunąć {{count}} notatek?",
|
||||
"Are you sure?": "Czy jesteś pewien?",
|
||||
"Backend URL": "Adres URL backendu",
|
||||
"Color": "Kolor",
|
||||
"Configure the application settings.": "Skonfiguruj ustawienia aplikacji.",
|
||||
"Content": "Treść",
|
||||
"Create": "Utwórz",
|
||||
"Create Note": "Utwórz notatkę",
|
||||
"Data Management": "Zarządzanie danymi",
|
||||
"Delete": "Usuń",
|
||||
"Delete tag \"{{name}}\"? Notes will keep their content.": "Usunąć tag \"{{name}}\"? Notatki zachowają swoją treść.",
|
||||
"Deleted {{count}} note_one": "Usunięto {{count}} notatkę",
|
||||
"Deleted {{count}} note_few": "Usunięto {{count}} notatki",
|
||||
"Deleted {{count}} note_many": "Usunięto {{count}} notatek",
|
||||
"Deleted {{count}} note_other": "Usunięto {{count}} notatek",
|
||||
"Edit Note": "Edytuj notatkę",
|
||||
"Export Data": "Eksportuj dane",
|
||||
"Export failed": "Eksport nie powiódł się",
|
||||
"Export successful": "Eksport zakończony sukcesem",
|
||||
"Export your notes for backup or import from a JSON file.": "Wyeksportuj swoje notatki do kopii zapasowej lub zaimportuj z pliku JSON.",
|
||||
"Grid View": "Widok siatki",
|
||||
"History": "Historia",
|
||||
"Import Data": "Importuj dane",
|
||||
"Import failed": "Import nie powiódł się",
|
||||
"Import successful. Reloading...": "Import zakończony sukcesem. Przeładowywanie...",
|
||||
"Invalid URL": "Nieprawidłowy adres URL",
|
||||
"K-Notes": "K-Notes",
|
||||
"Language": "Język",
|
||||
"List View": "Widok listy",
|
||||
"New Note": "Nowa notatka",
|
||||
"No archived notes yet": "Jeszcze nie ma zarchiwizowanych notatek",
|
||||
"No matching notes found": "Nie znaleziono pasujących notatek",
|
||||
"No notes with tag \"${activeTag}\"": "Brak notatek z tagiem \"${activeTag}\"",
|
||||
"No tags yet": "Nie ma jeszcze tagów",
|
||||
"Note content... Type / for commands": "Treść notatki... Wpisz / aby zobaczyć komendy",
|
||||
"Note created": "Notatka utworzona",
|
||||
"Note title": "Tytuł notatki",
|
||||
"Note updated": "Notatka zaktualizowana",
|
||||
"Notes": "Notatki",
|
||||
"Others": "Inne",
|
||||
"Pin this note": "Przypnij tę notatkę",
|
||||
"Pinned": "Przypięte",
|
||||
"Rename": "Zmień nazwę",
|
||||
"Save changes": "Zapisz zmiany",
|
||||
"Saving...": "Zapisywanie...",
|
||||
"Search your notes...": "Szukaj swoich notatek...",
|
||||
"Settings": "Ustawienia",
|
||||
"Settings saved. Please refresh the page.": "Ustawienia zapisane. Odśwież stronę.",
|
||||
"Tag deleted": "Tag usunięty",
|
||||
"Tag renamed": "Nazwę tagu zmieniono",
|
||||
"Tags": "Tagi",
|
||||
"Tags (comma separated)": "Tagi (oddzielone przecinkiem)",
|
||||
"Title": "Tytuł",
|
||||
"Title is required": "Tytuł jest wymagany",
|
||||
"Title too long": "Tytuł za długi",
|
||||
"Update": "Aktualizuj",
|
||||
"work, todo, ideas": "praca, zadania, pomysły",
|
||||
"Your notes will appear here. Click + to create one.": "Twoje notatki pojawią się tutaj. Kliknij +, aby utworzyć notatkę."
|
||||
}
|
||||
Reference in New Issue
Block a user