From 67b96a0b2135f072ef2ac84cad4ef6802e929655 Mon Sep 17 00:00:00 2001 From: sb0001 <48289594+sb0001@users.noreply.github.com> Date: Tue, 26 Oct 2021 00:33:28 +0200 Subject: [PATCH 1/6] Update de_DE.ini quite extensively modified. most of the phrases are now translated. repeatedly occuring terms are consequently translated with the same word(s). --- lang/de_DE.ini | 152 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 76 insertions(+), 76 deletions(-) diff --git a/lang/de_DE.ini b/lang/de_DE.ini index d1dfd3e..5038da0 100644 --- a/lang/de_DE.ini +++ b/lang/de_DE.ini @@ -7,7 +7,7 @@ All_blog_posts = "Alle Beiträge" Archives = "Archiv" Are_you_sure_you_want_to_delete_ = "Sind Sie sicher, daß Sie %s löschen wollen?" Audio_post = "Audio-Beitrag" -Audio_post_comment = "Erstelle einen Beitrag mit hervorgehobenem Audio" +Audio_post_comment = "Erstelle einen Beitrag zur Präsentation eines Audios" Author = "Autor" Backup = "Backup" Cancel = "Abbrechen" @@ -16,19 +16,19 @@ Category = "Kategorie" Clear_cache = "Cache löschen" Config = "Konfiguration" Contents = "Inhalt" -Created = "Datum" +Created = "Erstellungsdatum" Delete = "Löschen" Description = "Beschreibung" Draft = "Entwurf" Edit = "Bearbeiten" -Edit_profile = "Profil editieren" -Filename = "Datei Name" +Edit_profile = "Profil bearbeiten" +Filename = "Dateiname" Follow = "Folgen" Image_post = "Bild-Beitrag" -Image_post_comment = "Erstelle einen Beitrag mit hervorgehobenem Bild" +Image_post_comment = "Erstelle einen Beitrag zur Präsentation eines Bildes" Import = "Importieren" Link_post = "Link-Beitrag" -Link_post_comment = "Erstelle einen Beitrag mit hervorgehobenem Link" +Link_post_comment = "Erstelle einen Beitrag zur Präsentation eines Links" Login = "Anmelden" Login_page = "Anmeldeseite" Logout = "Abmelden" @@ -47,16 +47,16 @@ Older = "Ältere" Operations = "Operationen" Popular_posts = "Beliebte Beiträge" Popular_tags = "Beliebte Tags" -Posted_in = "Abgelegt in" +Posted_in = "Veröffentlicht unter" Posted_on = "Veröffentlicht am" Posts = "Beiträge" Prev = "Vorherige" -Prev_post = "Vorheriger Post" +Prev_post = "Vorheriger Beitrag" Publish = "Veröffentlichen" Publish_draft = "Veröffentlichen" -Published = "Datum" -Quote_post = "Quote-Beitrag" -Quote_post_comment = "Erstelle einen Beitrag mit hervorgehobenem Quote" +Published = "Veröffentlicht" +Quote_post = "Zitat-Beitrag" +Quote_post_comment = "Erstelle einen Beitrag zur Präsentation eines Zitates" Recent_posts = "Letzte Beiträge" Regular_post = "Normaler Beitrag" Regular_post_comment = "Erstelle einen normalen Beitrag" @@ -69,32 +69,32 @@ Search_for = "Suche nach" Static_page = "Statische Seite" Static_page_comment = "Erstelle eine statische Seite" Static_pages = "Statische Seiten" -Tag = "Etikett" +Tag = "Stichwort" Tags = "Stichworte" Title = "Titel" Uncategorized = "Sonstiges" -Uncategorized_comment = "Themen die keine Kategorie brauchen oder nicht in andere existierende Kategorien passen." +Uncategorized_comment = "Beiträge, die in keine Kategorie passen (sollen)." Update = "Aktualisieren" -Update_draft = "Draft aktualisieren" +Update_draft = "Entwurf aktualisieren" Update_post = "Beitrag aktualisieren" Video_post = "Video-Beitrag" -Video_post_comment = "Erstelle einen Beitrag mit hervorgehobenem Video" +Video_post_comment = "Erstelle einen Beitrag zur Präsentation eines Videos" View = "Ansicht" Views = "Ansichten" Your_recent_posts = "Deine letzten Beiträge" by = "von" read_more = "weiterlesen" -Dashboard="Instrumententafel" -Posts_list="Beitragsliste" -Posts_draft="Beiträge Entwurf" +Dashboard="Übersicht" +Posts_list="Beiträge" +Posts_draft="Entwürfe" Menus="Menü-Editor" -Settings="die Einstellungen" +Settings="Einstellungen" Tools="Werkzeuge" -Check_update="Aktualisierung überprüfen" +Check_update="Aktualisierung suchen" Import_RSS="RSS importieren" User="Benutzer" -Proudly_powered_by="Stolz angetrieben von" -Home="Zuhause" +Proudly_powered_by="Proudly powered by" +Home="Start" Type_to_search="Tippe um zu suchen" Admin_panel_style_based_on="Admin-Panel-Stil basierend auf" Sign_in_to_start_your_session="Melden Sie sich an, um Ihre Sitzung zu starten" @@ -105,28 +105,28 @@ Password="Passwort" Comma_separated_values="Komma-getrennte Werte" If_leave_empty_we_will_excerpt_it_from_the_content_below="Wenn Sie das Feld leer lassen, wird es aus dem folgenden Inhalt extrahiert" optional="optional" -If_the_url_leave_empty_we_will_use_the_post_title="Wenn die URL leer bleibt, verwenden wir den Post-Titel" -If_the_url_leave_empty_we_will_use_the_page_title="Wenn die URL leer bleibt, verwenden wir den Seitentitel" +If_the_url_leave_empty_we_will_use_the_post_title="Wenn die URL leer bleibt, wird der Beitragstitel verwendet" +If_the_url_leave_empty_we_will_use_the_page_title="Wenn die URL leer bleibt, wird der Seitentitel verwendet" Only="Nur" -Featured_Audio="Empfohlenes Audio" -Featured_Video="Empfohlenes Video" +Featured_Audio="Ausgewähltes Audio" +Featured_Video="Ausgewähltes Video" Featured_Image="Ausgewähltes Bild" Featured_Quote="Ausgewähltes Zitat" Featured_Link="Ausgewählter Link" Content="Inhalt" -Preview="Preview" -Enter_image_URL="Enter image URL" +Preview="Vorschau" +Enter_image_URL="Bild-URL eingeben" Upload="Upload" -Insert_Image="Insert Image" -This_page_doesnt_exist="This page doesn't exist !" -Would_you_like_to_try_our="Would you like to try our " -homepage="homepage" -instead="instead" +Insert_Image="Bild einfügen" +This_page_doesnt_exist="Diese Seite existiert nicht!" +Would_you_like_to_try_our="Besuchen Sie doch unsere " +homepage="Startseite" +instead="stattdessen" Your_backups="Ihre Backups" Create_backup="Ein Backup erstellen" All_cache_has_been_deleted="Der gesamte Cache wurde gelöscht!" Edit_category="Kategorie bearbeiten" -Date="Date" +Date="Datum" Time="Zeit" No_available_backup="Derzeit ist kein Backup verfügbar." You_dont_have_permission_to_access_this_page="Sie haben keine Berechtigung, auf diese Seite zuzugreifen." @@ -135,30 +135,30 @@ Import_RSS_Feed_2.0="RSS-Feed 2.0 importieren" By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it="Durch die Verwendung dieses Importeurs stimmen Sie zu, ob der Feed Ihnen gehört oder zumindest die Berechtigung hat, ihn zu veröffentlichen." Feed_Url="Feed URL" Add_source_link_optional="Quelllink hinzufügen (optional)" -Import_Feed="Importieren Feed starten" -At_the_moment_you_are_using_auto_generated_menu="Im Moment verwenden Sie ein automatisch generiertes Menü. " +Import_Feed="Feed importieren" +At_the_moment_you_are_using_auto_generated_menu="Im Moment verwenden Sie ein automatisch generiertes Menü." Add_menu="Menü hinzufügen" Name="Name" -Link_name="Linkname" +Link_name="Name des Links" Slug="Slug" -item_slug="Link URL einfügen" +item_slug="Link URL" CSS_Class_Optional="CSS-Klasse (optional) " -item_class="CSS Klasse einfügen" +item_class="CSS Klasse" Add_link="Link hinzufügen" -Save_Edit="Speichern Bearbeiten" +Save_Edit="Änderungen speichern" Save_Menu="Menü speichern" Add_new_post="Neuen Beitrag hinzufügen" Add_new_page="Neue Seite hinzufügen" Update_Available="Update verfügbar" Congrats_You_have_the_latest_version_of_HTMLy="Herzlichen Glückwunsch! Sie haben die neueste Version von HTMLy." -Update_to="Aktualisieren zu" +Update_to="Aktualisieren auf" now="jetzt" Performance_Settings="Leistungseinstellungen" General="Allgemeines" Reading="Lesen" Widget="Widget" Metatags="Metatags" -Performance="Performance" +Performance="Leistung" Custom="Benutzerdefiniert" General_Settings="Allgemeine Einstellungen" Reading_Settings="Leseeinstellungen" @@ -167,45 +167,45 @@ Metatags_Settings="Metatags Einstellungen" Custom_Settings="Benutzerdefinierte Einstellungen" Address_URL="Adresse (URL)" Blog_Title="Blog Titel" -Blog_Title_Placeholder="Mein HTMLy Blog " +Blog_Title_Placeholder="Mein HTMLy Blog" Tagline="Tagline" Tagline_Placeholder="Datenbanklose PHP Blogging Plattform" Tagline_description="Erklären Sie in wenigen Worten, worum es in diesem Blog geht." -Blog_Description="Erzählen Sie uns in einem Absatz mehr über Ihr Blog." +Blog_Description="Erzählen Sie uns in einem Absatz mehr über Ihren Blog." Language="Systemsprache" Timezone="Zeitzone" Date_Format="Datumsformat" -Blog_Theme="Blog Thema" -Copyright_Line="Copyright Zeile" +Blog_Theme="Blog-Theme (Design)" +Copyright_Line="Copyright-Zeile" Copyright_Line_Placeholder="(c) Dein Name." Save_Config="Konfiguration speichern" -Front_page_displays="Titelseite wird angezeigt" +Front_page_displays="Startseite wird angezeigt" Your_latest_blog_posts="Deine neuesten Blog-Beiträge" -Enable_blog_URL="URL aktivieren / bloggen" +Enable_blog_URL="URL /blog aktivieren" Enable="Aktivieren" Disable="Deaktivieren" -Posts_in_front_page_show_at_most="Beiträge auf der Titelseite werden höchstens angezeigt" +Posts_in_front_page_show_at_most="Maximale Anzahl von Beiträgen auf der Startseite" Blog_posts_displayed_as="Blog-Beiträge angezeigt als" Full_post="Vollständiger Beitrag" -Summary="Summary" -Summary_character="Summary character" -Read_more_text="Read more text" -Read_more_text_placeholder="Read more" -Posts_index_settings="Posts index settings" -Posts_in_category_page_at_most="Posts in category page at most" -Posts_in_archive_page_at_most="Posts in archive page at most" -Posts_in_tag_page_at_most="Posts in tag page at most" -Posts_in_search_result_at_most="Posts in search result at most" +Summary="Zusammenfassung" +Summary_character="Länge der Zusammenfassung (in Zeichen)" +Read_more_text="Read more Text" +Read_more_text_placeholder="Mehr ..." +Posts_index_settings="Einstellungen zur Anzahl von Beiträgen" +Posts_in_category_page_at_most="Maximale Anzahl von Beiträgen auf Kategorien-Seiten" +Posts_in_archive_page_at_most="Maximale Anzahl von Beiträgen auf Archiv-Seiten" +Posts_in_tag_page_at_most="Maximale Anzahl von Beiträgen auf tag-Seiten" +Posts_in_search_result_at_most="Maximale Anzahl von Beiträgen in Suchergebnissen" Posts_in_type_page_at_most="Posts in type page at most" -Posts_in_profile_page_at_most="Posts in profile page at most" -RSS_settings="RSS settings" -RSS_feeds_show_the_most_recent="RSS feeds show the most recent" -RSS_character="RSS character" +Posts_in_profile_page_at_most="Maximale Anzahl von Beiträgen auf Profil-Seiten" +RSS_settings="RSS Einstellungen" +RSS_feeds_show_the_most_recent="RSS feeds zeigen die folgende Anzahl der aktuellsten Beiträge" +RSS_character="Länge eines RSS-Beitrags (in Zeichen)" Permalink="Permalink" year_month_your_post_slug="/year/month/your-post-slug" post_your_post_slug="/post/your-post-slug" Meta_description_character="Meta description character" -Breadcrumb_home_text="Breadcrumb home text" +Breadcrumb_home_text="Bezeichnung für die Startseite im Breadcrumb-Menü" Sitemap="Sitemap" Valid_values_range_from_0_to_1.0._See="Valid values range from 0.0 to 1.0. See" hint_Use_CtrlCMDF_to_search_for_your_config_key_or_value="hint: Use Ctrl/CMD + F to search for your config key or value." @@ -213,14 +213,14 @@ pro_tips_You_can_creating_custom_config_key_and_print_out_your_config_key_value_ your_key="your.key" Your_New_Config_Key="Your New Config Key" Your_New_Value="Your New Value" -Related_widget_posts_at_most="Related widget posts at most" -Recent_posts_widget_at_most="Recent posts widget at most" -Popular_posts_widget="Popular posts widget" -Popular_posts_widget_at_most="Popular posts widget at most" -Comments="Comments" +Related_widget_posts_at_most="Maximale Anzahl von Beiträgen im Widget Ähnliche Beiträge" +Recent_posts_widget_at_most="Maximale Anzahl von Beiträgen im Widget Letzte Beiträge" +Popular_posts_widget="Widget Beliebte Beiträge" +Popular_posts_widget_at_most="Maximale Anzahl von Beiträgen im Widget Beliebte Beiträge" +Comments="Kommentare" To_using_Disqus_or_Facebook_comment_you_need_to_provide_Disqus_shortname_or_Facebook_App_ID="To using Disqus or Facebook comment you need to provide Disqus shortname or Facebook App ID." -Comment_system="Comment system" -Disabled="Disabled" +Comment_system="Kommentarsystem" +Disabled="Ausgeschaltet" Disqus_shortname="Disqus shortname" Disqus_shortname_placeholder="htmly" Facebook_App_ID="Facebook App ID" @@ -238,13 +238,13 @@ For_google_site_verification_meta="For google-site-verification meta" Social_Media="Social Media" Twitter_account="Twitter account" Facebook_page="Facebook page" -Cache_expiration="Cache expiration (in hours)" -Cache_off="Cache off" -Yes_not_recommended="Yes (not recommended)" -Not="No" +Cache_expiration="Cache Gültigkeitsdauer (in Stunden)" +Cache_off="Caching ausschalten" +Yes_not_recommended="Ja (nicht empfohlen)" +Not="Nein" Cache_timestamp="Cache timestamp" Page_generation_time="Page generation time" Github_pre_release="Github pre-release" Pre_release="Pre-release" -Yes_Im_in="Yes I'm in" -Nope="Nope" +Yes_Im_in="Ja, ich bin dabei!" +Nope="Nein, danke." From e66aa7ba603250f72702bdbac46dab139381c282 Mon Sep 17 00:00:00 2001 From: sb0001 <48289594+sb0001@users.noreply.github.com> Date: Mon, 1 Nov 2021 03:07:23 +0100 Subject: [PATCH 2/6] Pagination is now translatable i18n: Page x of y. typos. --- lang/ar_AR.ini | 4 +++- lang/de_DE.ini | 4 +++- lang/en_US.ini | 8 ++++--- lang/es_ES.ini | 4 +++- lang/fr_FR.ini | 2 ++ lang/hu_HU.ini | 4 +++- lang/id_ID.ini | 2 ++ lang/it_IT.ini | 4 +++- lang/ko_KO.ini | 2 ++ lang/ms_MY.ini | 2 ++ lang/nl_NL.ini | 6 +++-- lang/pl_PL.ini | 4 +++- lang/pt_BR.ini | 4 +++- lang/ru_RU.ini | 4 +++- lang/sv_SE.ini | 4 +++- lang/tr_TR.ini | 4 +++- lang/zh_TW.ini | 4 +++- system/includes/functions.php | 54 +++++++++++++++++++++---------------------- 18 files changed, 77 insertions(+), 43 deletions(-) diff --git a/lang/ar_AR.ini b/lang/ar_AR.ini index 2acae40..032e570 100644 --- a/lang/ar_AR.ini +++ b/lang/ar_AR.ini @@ -249,4 +249,6 @@ Page_generation_time = "وقت إنشاء الصفحة" Github_pre_release = "الإصدار التجريبي من Github" Pre_release = "الإصدار التجريبي" Yes_Im_in = "نعم أنا موجود" -Nope = "لا" \ No newline at end of file +Nope = "لا" +Page="Page" +of="of" diff --git a/lang/de_DE.ini b/lang/de_DE.ini index 5038da0..960d511 100644 --- a/lang/de_DE.ini +++ b/lang/de_DE.ini @@ -209,7 +209,7 @@ Breadcrumb_home_text="Bezeichnung für die Startseite im Breadcrumb-Menü" Sitemap="Sitemap" Valid_values_range_from_0_to_1.0._See="Valid values range from 0.0 to 1.0. See" hint_Use_CtrlCMDF_to_search_for_your_config_key_or_value="hint: Use Ctrl/CMD + F to search for your config key or value." -pro_tips_You_can_creating_custom_config_key_and_print_out_your_config_key_value_anywhere_in_your_template="pro tips: You can creating custom config key and print out your config key value anywhere in your template." +pro_tips_You_can_creating_custom_config_key_and_print_out_your_config_key_value_anywhere_in_your_template="pro tips: You can create custom config key and print out your config key value anywhere in your template." your_key="your.key" Your_New_Config_Key="Your New Config Key" Your_New_Value="Your New Value" @@ -248,3 +248,5 @@ Github_pre_release="Github pre-release" Pre_release="Pre-release" Yes_Im_in="Ja, ich bin dabei!" Nope="Nein, danke." +Page="Seite" +of="von" diff --git a/lang/en_US.ini b/lang/en_US.ini index e377334..252fb48 100644 --- a/lang/en_US.ini +++ b/lang/en_US.ini @@ -209,7 +209,7 @@ Breadcrumb_home_text="Breadcrumb home text" Sitemap="Sitemap" Valid_values_range_from_0_to_1.0._See="Valid values range from 0.0 to 1.0. See" hint_Use_CtrlCMDF_to_search_for_your_config_key_or_value="hint: Use Ctrl/CMD + F to search for your config key or value." -pro_tips_You_can_creating_custom_config_key_and_print_out_your_config_key_value_anywhere_in_your_template="pro tips: You can creating custom config key and print out your config key value anywhere in your template." +pro_tips_You_can_creating_custom_config_key_and_print_out_your_config_key_value_anywhere_in_your_template="pro tips: You can create custom config keys and print out your config key value anywhere in your template." your_key="your.key" Your_New_Config_Key="Your New Config Key" Your_New_Value="Your New Value" @@ -218,7 +218,7 @@ Recent_posts_widget_at_most="Recent posts widget at most" Popular_posts_widget="Popular posts widget" Popular_posts_widget_at_most="Popular posts widget at most" Comments="Comments" -To_using_Disqus_or_Facebook_comment_you_need_to_provide_Disqus_shortname_or_Facebook_App_ID="To using Disqus or Facebook comment you need to provide Disqus shortname or Facebook App ID." +To_using_Disqus_or_Facebook_comment_you_need_to_provide_Disqus_shortname_or_Facebook_App_ID="To use Disqus or Facebook comments you need to provide your Disqus shortname or your Facebook App ID." Comment_system="Comment system" Disabled="Disabled" Disqus_shortname="Disqus shortname" @@ -247,4 +247,6 @@ Page_generation_time="Page generation time" Github_pre_release="Github pre-release" Pre_release="Pre-release" Yes_Im_in="Yes I'm in" -Nope="Nope" \ No newline at end of file +Nope="Nope" +Page="Page" +of="of" diff --git a/lang/es_ES.ini b/lang/es_ES.ini index 77e7a7c..deb71df 100644 --- a/lang/es_ES.ini +++ b/lang/es_ES.ini @@ -246,4 +246,6 @@ Page_generation_time="Page generation time" Github_pre_release="Github pre-release" Pre_release="Pre-release" Yes_Im_in="Yes I'm in" -Nope="Nope" \ No newline at end of file +Nope="Nope" +Page="Page" +of="of" diff --git a/lang/fr_FR.ini b/lang/fr_FR.ini index 41a5c9e..a76815f 100644 --- a/lang/fr_FR.ini +++ b/lang/fr_FR.ini @@ -248,3 +248,5 @@ Github_pre_release="Pré-release Github" Pre_release="Pré-release" Yes_Im_in="Oui, je suis prêt" Nope="Non !" +Page="Page" +of="de" diff --git a/lang/hu_HU.ini b/lang/hu_HU.ini index af86782..9fd27a8 100644 --- a/lang/hu_HU.ini +++ b/lang/hu_HU.ini @@ -247,4 +247,6 @@ Page_generation_time="Page generation time" Github_pre_release="Github pre-release" Pre_release="Pre-release" Yes_Im_in="Yes I'm in" -Nope="Nope" \ No newline at end of file +Nope="Nope" +Page="Page" +of="of" diff --git a/lang/id_ID.ini b/lang/id_ID.ini index fed3640..8fa39ad 100644 --- a/lang/id_ID.ini +++ b/lang/id_ID.ini @@ -248,3 +248,5 @@ Github_pre_release="Pra-rilis Github" Pre_release="Pra-rilis" Yes_Im_in="Ya, saya ikut" Nope="Nggak" +Page="Page" +of="of" diff --git a/lang/it_IT.ini b/lang/it_IT.ini index 5e6275a..d0694da 100644 --- a/lang/it_IT.ini +++ b/lang/it_IT.ini @@ -247,4 +247,6 @@ Page_generation_time="Page generation time" Github_pre_release="Github pre-release" Pre_release="Pre-release" Yes_Im_in="Yes I'm in" -Nope="Nope" \ No newline at end of file +Nope="Nope" +Page="Page" +of="of" diff --git a/lang/ko_KO.ini b/lang/ko_KO.ini index feacf4c..82171e2 100644 --- a/lang/ko_KO.ini +++ b/lang/ko_KO.ini @@ -248,3 +248,5 @@ Github_pre_release = "Github에서의 시험판" Pre_release = "사전 출시" Yes_Im_in = "그래, 난에있어" Nope = "아니" +Page="Page" +of="of" diff --git a/lang/ms_MY.ini b/lang/ms_MY.ini index 5cc9f0d..bf42983 100644 --- a/lang/ms_MY.ini +++ b/lang/ms_MY.ini @@ -248,3 +248,5 @@ Github_pre_release = "Github pra keluaran" Pre_release = "Pra-release" Yes_Im_in = "Ya saya setuju" Nope = "Nope" +Page="Page" +of="of" diff --git a/lang/nl_NL.ini b/lang/nl_NL.ini index 996dbd1..24d4211 100644 --- a/lang/nl_NL.ini +++ b/lang/nl_NL.ini @@ -207,7 +207,7 @@ post_your_post_slug="/bericht/uw-bericht-slug" Meta_description_character="Meta beschrijving" Breadcrumb_home_text="Breadcrumb home tekst" Sitemap="Sitemap" -Valid_values_range_from_0_to_1.0._See="Geldige waarden variren van 0,0 tot 1,0. Zie" +Valid_values_range_from_0_to_1.0._See="Geldige waarden vari�ren van 0,0 tot 1,0. Zie" hint_Use_CtrlCMDF_to_search_for_your_config_key_or_value="hint: Use Ctrl/CMD + F to search for your config key or value." pro_tips_You_can_creating_custom_config_key_and_print_out_your_config_key_value_anywhere_in_your_template="pro tips: You can creating custom config key and print out your config key value anywhere in your template." your_key="your.key" @@ -247,4 +247,6 @@ Page_generation_time="Generatietijd pagina" Github_pre_release="Github pre-release" Pre_release="Pre-release" Yes_Im_in="Ja, ik doe mee" -Nope="Nietes" \ No newline at end of file +Nope="Nietes" +Page="Page" +of="of" diff --git a/lang/pl_PL.ini b/lang/pl_PL.ini index 1791c0a..f2d8413 100644 --- a/lang/pl_PL.ini +++ b/lang/pl_PL.ini @@ -248,4 +248,6 @@ Page_generation_time="Page generation time" Github_pre_release="Github pre-release" Pre_release="Pre-release" Yes_Im_in="Yes I'm in" -Nope="Nope" \ No newline at end of file +Nope="Nope" +Page="Page" +of="of" diff --git a/lang/pt_BR.ini b/lang/pt_BR.ini index 91d7a8d..41b14a0 100644 --- a/lang/pt_BR.ini +++ b/lang/pt_BR.ini @@ -247,4 +247,6 @@ Page_generation_time="Tempo de geração da página" Github_pre_release="Pré-lançamento do Github" Pre_release="Pré-lançamento" Yes_Im_in="Sim, estou dentro" -Nope="Não" \ No newline at end of file +Nope="Não" +Page="Page" +of="of" diff --git a/lang/ru_RU.ini b/lang/ru_RU.ini index 9569d35..3951f0c 100644 --- a/lang/ru_RU.ini +++ b/lang/ru_RU.ini @@ -248,4 +248,6 @@ Page_generation_time="Page generation time" Github_pre_release="Github pre-release" Pre_release="Pre-release" Yes_Im_in="Yes I'm in" -Nope="Nope" \ No newline at end of file +Nope="Nope" +Page="Page" +of="of" diff --git a/lang/sv_SE.ini b/lang/sv_SE.ini index b189b31..5bf3ba6 100644 --- a/lang/sv_SE.ini +++ b/lang/sv_SE.ini @@ -265,4 +265,6 @@ Page_generation_time="Page generation time" Github_pre_release="Github pre-release" Pre_release="Pre-release" Yes_Im_in="Yes I'm in" -Nope="Nope" \ No newline at end of file +Nope="Nope" +Page="Page" +of="of" diff --git a/lang/tr_TR.ini b/lang/tr_TR.ini index 618bca3..6616acf 100644 --- a/lang/tr_TR.ini +++ b/lang/tr_TR.ini @@ -247,4 +247,6 @@ Page_generation_time="Page generation time" Github_pre_release="Github pre-release" Pre_release="Pre-release" Yes_Im_in="Yes I'm in" -Nope="Nope" \ No newline at end of file +Nope="Nope" +Page="Page" +of="of" diff --git a/lang/zh_TW.ini b/lang/zh_TW.ini index 31705f7..2b14199 100644 --- a/lang/zh_TW.ini +++ b/lang/zh_TW.ini @@ -247,4 +247,6 @@ Page_generation_time="Page generation time" Github_pre_release="Github pre-release" Pre_release="Pre-release" Yes_Im_in="Yes I'm in" -Nope="Nope" \ No newline at end of file +Nope="Nope" +Page="Page" +of="of" diff --git a/system/includes/functions.php b/system/includes/functions.php index 26f3613..1beb14a 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -288,7 +288,7 @@ function get_posts($posts, $page = 1, $perpage = 0) // The post author + author url $post->author = $author; $post->authorUrl = site_url() . 'author/' . $author; - + $profile = get_author($author); if (isset($profile[0])) { $post->authorName = $profile[0]->name; @@ -384,7 +384,7 @@ function get_posts($posts, $page = 1, $perpage = 0) } $post->description = get_content_tag("d", $content, get_description($post->body)); - + $word_count = str_word_count(strip_tags($post->body)); $post->readTime = ceil($word_count / 200); @@ -866,7 +866,7 @@ function get_static_post($static) } $post->description = get_content_tag("d", $content, get_description($post->body)); - + $word_count = str_word_count(strip_tags($post->body)); $post->readTime = ceil($word_count / 200); @@ -913,7 +913,7 @@ function get_static_sub_post($static, $sub_static) $post->views = get_views($post->file); $post->description = get_content_tag("d", $content, get_description($post->body)); - + $word_count = str_word_count(strip_tags($post->body)); $post->readTime = ceil($word_count / 200); @@ -962,7 +962,7 @@ function get_keyword($keyword, $page, $perpage) foreach ($words as $word) { if (stripos($filter, $word) !== false) { if (!in_array($v, $tmp)) { - $tmp[] = $v; + $tmp[] = $v; } } } @@ -1500,7 +1500,7 @@ function tag_cloud($custom = null) foreach ($tag_collection as $tag => $count) { $size = $min_size + (($count - $min_qty) * $step); echo ' '.tag_i18n($tag).' '; - } + } } else { return $tag_collection; @@ -1583,7 +1583,7 @@ function has_pagination($total, $perpage, $page = 1) $total = count(get_post_unsorted()); } $totalPage = ceil($total / $perpage); - $number = 'Page '. $page . ' of ' . $totalPage; + $number = i18n('Page') . ' ' . $page . ' ' . i18n('of') . ' ' . $totalPage; $pager = get_pagination($page, $total, $perpage, 2); return array( 'prev' => $page > 1, @@ -1992,7 +1992,7 @@ function publisher() function analytics() { $analytics = config('google.analytics.id'); - $gtag = config('google.gtag.id'); + $gtag = config('google.gtag.id'); $script = << (function (i,s,o,g,r,a,m) {i['GoogleAnalyticsObject']=r;i[r]=i[r]||function () { @@ -2029,7 +2029,7 @@ function parseNodes($nodes, $child = null, $class = null) { if (empty($child)) { $ul = '