From 53bda002825112a0e121f063f659b53492fbb615 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Thu, 1 Jul 2021 19:11:08 +0200 Subject: Add translations for upcoming category system --- core/language/de.php | 11 +++++++++++ core/language/en.php | 11 +++++++++++ theme/admin/lang/de.php | 12 +++++++++--- theme/admin/lang/en.php | 6 ++++++ theme/default/lang/de.php | 8 ++++++++ theme/default/lang/en.php | 8 ++++++++ 6 files changed, 53 insertions(+), 3 deletions(-) diff --git a/core/language/de.php b/core/language/de.php index 2f008da..a525218 100644 --- a/core/language/de.php +++ b/core/language/de.php @@ -88,6 +88,7 @@ $LANGUAGE['authentication_failure'] = 'Der Benutzername oder das Passwort ist ni #=============================================================================== # Items [singular] #=============================================================================== +$LANGUAGE['category'] = 'Kategorie'; $LANGUAGE['page'] = 'Seite'; $LANGUAGE['post'] = 'Beitrag'; $LANGUAGE['user'] = 'Benutzer'; @@ -95,6 +96,7 @@ $LANGUAGE['user'] = 'Benutzer'; #=============================================================================== # Items [plural] #=============================================================================== +$LANGUAGE['categories'] = 'Kategorien'; $LANGUAGE['pages'] = 'Seiten'; $LANGUAGE['posts'] = 'Beiträge'; $LANGUAGE['users'] = 'Benutzer'; @@ -126,6 +128,7 @@ $LANGUAGE['next_user'] = 'Nächster Benutzer'; #=============================================================================== # Item overview #=============================================================================== +$LANGUAGE['category_overview'] = 'Kategorieübersicht'; $LANGUAGE['page_overview'] = 'Seitenübersicht'; $LANGUAGE['post_overview'] = 'Beitragsübersicht'; $LANGUAGE['user_overview'] = 'Benutzerübersicht'; @@ -133,6 +136,7 @@ $LANGUAGE['user_overview'] = 'Benutzerübersicht'; #=============================================================================== # Items select #=============================================================================== +$LANGUAGE['select_category'] = 'Kategorie anzeigen'; $LANGUAGE['select_page'] = 'Seite anzeigen'; $LANGUAGE['select_post'] = 'Beitrag anzeigen'; $LANGUAGE['select_user'] = 'Benutzer anzeigen'; @@ -140,6 +144,7 @@ $LANGUAGE['select_user'] = 'Benutzer anzeigen'; #=============================================================================== # Items insert #=============================================================================== +$LANGUAGE['insert_category'] = 'Kategorie erstellen'; $LANGUAGE['insert_page'] = 'Seite erstellen'; $LANGUAGE['insert_post'] = 'Beitrag erstellen'; $LANGUAGE['insert_user'] = 'Benutzer erstellen'; @@ -147,6 +152,7 @@ $LANGUAGE['insert_user'] = 'Benutzer erstellen'; #=============================================================================== # Items update #=============================================================================== +$LANGUAGE['update_category'] = 'Kategorie bearbeiten'; $LANGUAGE['update_page'] = 'Seite bearbeiten'; $LANGUAGE['update_post'] = 'Beitrag bearbeiten'; $LANGUAGE['update_user'] = 'Benutzer bearbeiten'; @@ -154,6 +160,7 @@ $LANGUAGE['update_user'] = 'Benutzer bearbeiten'; #=============================================================================== # Items delete #=============================================================================== +$LANGUAGE['delete_category'] = 'Kategorie löschen'; $LANGUAGE['delete_page'] = 'Seite löschen'; $LANGUAGE['delete_post'] = 'Beitrag löschen'; $LANGUAGE['delete_user'] = 'Benutzer löschen'; @@ -167,6 +174,7 @@ $LANGUAGE['search_post'] = 'Beiträge durchsuchen'; #=============================================================================== # Item insert titles #=============================================================================== +$LANGUAGE['title_category_insert'] = $LANGUAGE['insert_category']; $LANGUAGE['title_page_insert'] = $LANGUAGE['insert_page']; $LANGUAGE['title_post_insert'] = $LANGUAGE['insert_post']; $LANGUAGE['title_user_insert'] = $LANGUAGE['insert_user']; @@ -174,6 +182,7 @@ $LANGUAGE['title_user_insert'] = $LANGUAGE['insert_user']; #=============================================================================== # Item update titles #=============================================================================== +$LANGUAGE['title_category_update'] = $LANGUAGE['update_category']; $LANGUAGE['title_page_update'] = $LANGUAGE['update_page']; $LANGUAGE['title_post_update'] = $LANGUAGE['update_post']; $LANGUAGE['title_user_update'] = $LANGUAGE['update_user']; @@ -181,6 +190,7 @@ $LANGUAGE['title_user_update'] = $LANGUAGE['update_user']; #=============================================================================== # Item delete titles #=============================================================================== +$LANGUAGE['title_category_delete'] = $LANGUAGE['delete_category']; $LANGUAGE['title_page_delete'] = $LANGUAGE['delete_page']; $LANGUAGE['title_post_delete'] = $LANGUAGE['delete_post']; $LANGUAGE['title_user_delete'] = $LANGUAGE['delete_user']; @@ -194,6 +204,7 @@ $LANGUAGE['title_post_search'] = $LANGUAGE['search_post']; #=============================================================================== # Item overview titles #=============================================================================== +$LANGUAGE['title_category_overview'] = "{$LANGUAGE['category_overview']} [%d]"; $LANGUAGE['title_page_overview'] = "{$LANGUAGE['page_overview']} [%d]"; $LANGUAGE['title_post_overview'] = "{$LANGUAGE['post_overview']} [%d]"; $LANGUAGE['title_user_overview'] = "{$LANGUAGE['user_overview']} [%d]"; diff --git a/core/language/en.php b/core/language/en.php index eeec0a9..29e330a 100644 --- a/core/language/en.php +++ b/core/language/en.php @@ -88,6 +88,7 @@ $LANGUAGE['authentication_failure'] = 'The username or password is incorrect.'; #=============================================================================== # Items [singular] #=============================================================================== +$LANGUAGE['category'] = 'Category'; $LANGUAGE['page'] = 'Page'; $LANGUAGE['post'] = 'Post'; $LANGUAGE['user'] = 'User'; @@ -95,6 +96,7 @@ $LANGUAGE['user'] = 'User'; #=============================================================================== # Items [plural] #=============================================================================== +$LANGUAGE['categories'] = 'Categories'; $LANGUAGE['pages'] = 'Pages'; $LANGUAGE['posts'] = 'Posts'; $LANGUAGE['users'] = 'Users'; @@ -126,6 +128,7 @@ $LANGUAGE['next_user'] = 'Next user'; #=============================================================================== # Item overview #=============================================================================== +$LANGUAGE['category_overview'] = 'Category overview'; $LANGUAGE['page_overview'] = 'Page overview'; $LANGUAGE['post_overview'] = 'Post overview'; $LANGUAGE['user_overview'] = 'User overview'; @@ -133,6 +136,7 @@ $LANGUAGE['user_overview'] = 'User overview'; #=============================================================================== # Items select #=============================================================================== +$LANGUAGE['select_category'] = 'Show category'; $LANGUAGE['select_page'] = 'Show page'; $LANGUAGE['select_post'] = 'Show post'; $LANGUAGE['select_user'] = 'Show user'; @@ -140,6 +144,7 @@ $LANGUAGE['select_user'] = 'Show user'; #=============================================================================== # Items insert #=============================================================================== +$LANGUAGE['insert_category'] = 'Create category'; $LANGUAGE['insert_page'] = 'Create page'; $LANGUAGE['insert_post'] = 'Create post'; $LANGUAGE['insert_user'] = 'Create user'; @@ -147,6 +152,7 @@ $LANGUAGE['insert_user'] = 'Create user'; #=============================================================================== # Items update #=============================================================================== +$LANGUAGE['update_category'] = 'Edit category'; $LANGUAGE['update_page'] = 'Edit page'; $LANGUAGE['update_post'] = 'Edit post'; $LANGUAGE['update_user'] = 'Edit user'; @@ -154,6 +160,7 @@ $LANGUAGE['update_user'] = 'Edit user'; #=============================================================================== # Items delete #=============================================================================== +$LANGUAGE['delete_category'] = 'Delete category'; $LANGUAGE['delete_page'] = 'Delete page'; $LANGUAGE['delete_post'] = 'Delete post'; $LANGUAGE['delete_user'] = 'Delete user'; @@ -167,6 +174,7 @@ $LANGUAGE['search_post'] = 'Search in posts'; #=============================================================================== # Item insert titles #=============================================================================== +$LANGUAGE['title_category_insert'] = $LANGUAGE['insert_category']; $LANGUAGE['title_page_insert'] = $LANGUAGE['insert_page']; $LANGUAGE['title_post_insert'] = $LANGUAGE['insert_post']; $LANGUAGE['title_user_insert'] = $LANGUAGE['insert_user']; @@ -174,6 +182,7 @@ $LANGUAGE['title_user_insert'] = $LANGUAGE['insert_user']; #=============================================================================== # Item update titles #=============================================================================== +$LANGUAGE['title_category_update'] = $LANGUAGE['update_category']; $LANGUAGE['title_page_update'] = $LANGUAGE['update_page']; $LANGUAGE['title_post_update'] = $LANGUAGE['update_post']; $LANGUAGE['title_user_update'] = $LANGUAGE['update_user']; @@ -181,6 +190,7 @@ $LANGUAGE['title_user_update'] = $LANGUAGE['update_user']; #=============================================================================== # Item delete titles #=============================================================================== +$LANGUAGE['title_category_delete'] = $LANGUAGE['delete_category']; $LANGUAGE['title_page_delete'] = $LANGUAGE['delete_page']; $LANGUAGE['title_post_delete'] = $LANGUAGE['delete_post']; $LANGUAGE['title_user_delete'] = $LANGUAGE['delete_user']; @@ -194,6 +204,7 @@ $LANGUAGE['title_post_search'] = $LANGUAGE['search_post']; #=============================================================================== # Item overview titles #=============================================================================== +$LANGUAGE['title_category_overview'] = "{$LANGUAGE['category_overview']} [%d]"; $LANGUAGE['title_page_overview'] = "{$LANGUAGE['page_overview']} [%d]"; $LANGUAGE['title_post_overview'] = "{$LANGUAGE['post_overview']} [%d]"; $LANGUAGE['title_user_overview'] = "{$LANGUAGE['user_overview']} [%d]"; diff --git a/theme/admin/lang/de.php b/theme/admin/lang/de.php index 3c7e834..716a0a0 100644 --- a/theme/admin/lang/de.php +++ b/theme/admin/lang/de.php @@ -23,6 +23,7 @@ $LANGUAGE['last_user'] = 'Letzter Benutzer'; #=============================================================================== # Insert item description #=============================================================================== +$LANGUAGE['insert_category_desc'] = 'Hier kannst du eine neue Kategorie erstellen, um deine Beiträge zu kategorisieren.'; $LANGUAGE['insert_page_desc'] = 'Hier kannst du eine neue Seite erstellen und veröffentlichen.'; $LANGUAGE['insert_post_desc'] = 'Hier kannst du einen neuen Beitrag erstellen und veröffentlichen.'; $LANGUAGE['insert_user_desc'] = 'Hier kannst du einen neuen Benutzer erstellen und veröffentlichen.'; @@ -30,6 +31,7 @@ $LANGUAGE['insert_user_desc'] = 'Hier kannst du einen neuen Benutzer erstellen u #=============================================================================== # Update item description #=============================================================================== +$LANGUAGE['update_category_desc'] = 'Hier kannst du eine vorhandene Kategorie bearbeiten und die Änderungen abspeichern.'; $LANGUAGE['update_page_desc'] = 'Hier kannst du eine vorhandene Seite bearbeiten und die Änderungen abspeichern.'; $LANGUAGE['update_post_desc'] = 'Hier kannst du einen vorhandenen Beitrag bearbeiten und die Änderungen abspeichern.'; $LANGUAGE['update_user_desc'] = 'Hier kannst du einen vorhandenen Benutzer bearbeiten und die Änderungen abspeichern.'; @@ -37,9 +39,10 @@ $LANGUAGE['update_user_desc'] = 'Hier kannst du einen vorhandenen Benutzer bearb #=============================================================================== # Delete item description #=============================================================================== -$LANGUAGE['delete_page_desc'] = 'Falls du diese Seite nicht mehr benötigst kannst du sie über den folgenden Button permanent löschen.'; -$LANGUAGE['delete_post_desc'] = 'Falls du diesen Beitrag nicht mehr benötigst kannst du ihn über den folgenden Button permanent löschen.'; -$LANGUAGE['delete_user_desc'] = 'Falls du diesen Benutzer nicht mehr benötigst kannst du ihn über den folgenden Button permanent löschen.'; +$LANGUAGE['delete_category_desc'] = 'Falls du diese Kategorie nicht mehr benötigst, kannst du sie über den folgenden Button permanent löschen.'; +$LANGUAGE['delete_page_desc'] = 'Falls du diese Seite nicht mehr benötigst, kannst du sie über den folgenden Button permanent löschen.'; +$LANGUAGE['delete_post_desc'] = 'Falls du diesen Beitrag nicht mehr benötigst, kannst du ihn über den folgenden Button permanent löschen.'; +$LANGUAGE['delete_user_desc'] = 'Falls du diesen Benutzer nicht mehr benötigst, kannst du ihn über den folgenden Button permanent löschen.'; #=============================================================================== # Search item description @@ -50,6 +53,7 @@ $LANGUAGE['search_post_desc'] = 'Hier kannst du mit der booleschen Volltexts #=============================================================================== # Item overview description #=============================================================================== +$LANGUAGE['overview_category_desc'] = 'Hier siehst du alle vorhandenen Kategorien in sortierter Reihenfolge.'; $LANGUAGE['overview_page_desc'] = 'Hier siehst du alle vorhandenen Seiten.'; $LANGUAGE['overview_post_desc'] = 'Hier siehst du alle vorhandenen Beiträge.'; $LANGUAGE['overview_user_desc'] = 'Hier siehst du alle vorhandenen Benutzer.'; @@ -130,6 +134,8 @@ $LANGUAGE['label_mailaddr'] = 'E-Mail'; $LANGUAGE['label_username'] = 'Username'; $LANGUAGE['label_password'] = 'Passwort'; $LANGUAGE['label_language'] = 'Sprache'; +$LANGUAGE['label_category'] = 'Kategorie'; +$LANGUAGE['label_category_parent'] = 'Innerhalb'; #=============================================================================== # Markdown diff --git a/theme/admin/lang/en.php b/theme/admin/lang/en.php index 20482d4..adf10ff 100644 --- a/theme/admin/lang/en.php +++ b/theme/admin/lang/en.php @@ -23,6 +23,7 @@ $LANGUAGE['last_user'] = 'Last user'; #=============================================================================== # Insert item description #=============================================================================== +$LANGUAGE['insert_category_desc'] = 'Here you can create a new category to categorize your posts.'; $LANGUAGE['insert_page_desc'] = 'Here you can create and publish a new page.'; $LANGUAGE['insert_post_desc'] = 'Here you can create and publish a new post.'; $LANGUAGE['insert_user_desc'] = 'Here you can create and publish a new user.'; @@ -30,6 +31,7 @@ $LANGUAGE['insert_user_desc'] = 'Here you can create and publish a new user.'; #=============================================================================== # Update item description #=============================================================================== +$LANGUAGE['update_category_desc'] = 'Here you can edit an existing category and save the changes.'; $LANGUAGE['update_page_desc'] = 'Here you can edit an existing page and save the changes.'; $LANGUAGE['update_post_desc'] = 'Here you can edit an existing post and save the changes.'; $LANGUAGE['update_user_desc'] = 'Here you can edit an existing user and save the changes.'; @@ -37,6 +39,7 @@ $LANGUAGE['update_user_desc'] = 'Here you can edit an existing user and save the #=============================================================================== # Delete item description #=============================================================================== +$LANGUAGE['delete_category_desc'] = 'If you do not need this category anymore, you can permanently delete it by clicking the following button.'; $LANGUAGE['delete_page_desc'] = 'If you do not need this page anymore, you can permanently delete it by clicking the following button.'; $LANGUAGE['delete_post_desc'] = 'If you do not need this post anymore, you can permanently delete it by clicking the following button.'; $LANGUAGE['delete_user_desc'] = 'If you do not need this user anymore, you can permanently delete it by clicking the following button.'; @@ -50,6 +53,7 @@ $LANGUAGE['search_post_desc'] = 'Here you can search a post with the boolean #=============================================================================== # Item overview description #=============================================================================== +$LANGUAGE['overview_category_desc'] = 'Here you can see all existing categories in sorted order.'; $LANGUAGE['overview_page_desc'] = 'Here you can see all existing pages.'; $LANGUAGE['overview_post_desc'] = 'Here you can see all existing posts.'; $LANGUAGE['overview_user_desc'] = 'Here you can see all existing users.'; @@ -130,6 +134,8 @@ $LANGUAGE['label_mailaddr'] = 'Email'; $LANGUAGE['label_username'] = 'Username'; $LANGUAGE['label_password'] = 'Password'; $LANGUAGE['label_language'] = 'Language'; +$LANGUAGE['label_category'] = 'Category'; +$LANGUAGE['label_category_parent'] = 'Within'; #=============================================================================== # Markdown diff --git a/theme/default/lang/de.php b/theme/default/lang/de.php index 221322c..ed42393 100644 --- a/theme/default/lang/de.php +++ b/theme/default/lang/de.php @@ -53,6 +53,14 @@ $LANGUAGE['search_base_heading_desc'] = 'Wenn du einen bestimmten Beitra $LANGUAGE['search_result_heading_text'] = 'Suchergebnisse für %s'; $LANGUAGE['search_result_heading_desc'] = 'Herzlichen Glückwunsch, deine Suchanfrage scheint erfolgreich gewesen zu sein!'; +#=============================================================================== +# Categories +#=============================================================================== +$LANGUAGE['category_list_title'] = '[Seite: %d] Hier siehst du alle Kategorien und ihre Unterkategorien in sortierter Reihenfolge.'; +$LANGUAGE['category_posts_page'] = 'Seite: %d'; +$LANGUAGE['category_list_empty'] = 'Die Kategorie-Liste ist leer. Es wurden noch keine Kategorien angelegt.'; +$LANGUAGE['category_empty'] = 'Diese Kategorie ist leer. Es wurden noch keine Beiträge hier veröffentlicht.'; + #=============================================================================== # Search form placeholder text #=============================================================================== diff --git a/theme/default/lang/en.php b/theme/default/lang/en.php index 644d364..62bb798 100644 --- a/theme/default/lang/en.php +++ b/theme/default/lang/en.php @@ -53,6 +53,14 @@ $LANGUAGE['search_base_heading_desc'] = 'If you are looking for a specific