Browse Source

Merge pull request #504 from sb0001/patch-1

Added more terms for translation. Update of German de_DE.ini by  @sb0001
pull/514/head
Dan 4 years ago
committed by GitHub
parent
commit
b106aeb38f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 258 additions and 130 deletions
  1. +9
    -1
      lang/ar_AR.ini
  2. +88
    -80
      lang/de_DE.ini
  3. +11
    -3
      lang/en_US.ini
  4. +9
    -1
      lang/es_ES.ini
  5. +8
    -0
      lang/fr_FR.ini
  6. +9
    -1
      lang/hu_HU.ini
  7. +8
    -0
      lang/id_ID.ini
  8. +9
    -1
      lang/it_IT.ini
  9. +8
    -0
      lang/ko_KO.ini
  10. +8
    -0
      lang/ms_MY.ini
  11. +10
    -2
      lang/nl_NL.ini
  12. +9
    -1
      lang/pl_PL.ini
  13. +9
    -1
      lang/pt_BR.ini
  14. +9
    -1
      lang/sv_SE.ini
  15. +9
    -1
      lang/tr_TR.ini
  16. +9
    -1
      lang/zh_TW.ini
  17. +30
    -30
      system/includes/functions.php
  18. +6
    -6
      themes/twentyfifteen/post.html.php

+ 9
- 1
lang/ar_AR.ini View File

@ -249,4 +249,12 @@ Page_generation_time = "وقت إنشاء الصفحة"
Github_pre_release = "الإصدار التجريبي من Github"
Pre_release = "الإصدار التجريبي"
Yes_Im_in = "نعم أنا موجود"
Nope = "لا"
Nope = "لا"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 88
- 80
lang/de_DE.ini View File

@ -7,7 +7,7 @@ All_blog_posts = "Alle Beiträge"
Archives = "Archiv"
Are_you_sure_you_want_to_delete_ = "Sind Sie sicher, daß Sie <strong>%s</strong> 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"
@ -38,7 +38,7 @@ More = "Mehr"
My_draft = "Meine Entwürfe"
My_posts = "Meine Beiträge"
Newer = "Neuere"
Next = "Frühere"
Next = "Nächster"
Next_post = "Nächster Beitrag"
No_draft_found = "Keine Entwürfe gefunden"
No_posts_found = "Keine Beiträge gefunden"
@ -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"
Posts = "Inhalte"
Prev = "Voriger"
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,60 +167,60 @@ 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="<u>hint:</u> Use <code>Ctrl</code>/<code>CMD</code> + <code>F</code> 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="<u>pro tips:</u> 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="<u>pro tips:</u> 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"
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="Zugriffszähler aktivieren und Widget Beliebte Beiträge einblenden"
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,21 @@ 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."
Page="Seite"
of="von"
Edit_post="Bearbeiten"
View_post="Ansicht"
Posts_by="Beiträge von"
Pages="Seiten"
Menu="Menüs"
Popular="Zugriffe"

+ 11
- 3
lang/en_US.ini View File

@ -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="<u>hint:</u> Use <code>Ctrl</code>/<code>CMD</code> + <code>F</code> 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="<u>pro tips:</u> 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="<u>pro tips:</u> 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,12 @@ 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"
Nope="Nope"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 9
- 1
lang/es_ES.ini View File

@ -246,4 +246,12 @@ 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"
Nope="Nope"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 8
- 0
lang/fr_FR.ini View File

@ -248,3 +248,11 @@ Github_pre_release="Pré-release Github"
Pre_release="Pré-release"
Yes_Im_in="Oui, je suis prêt"
Nope="Non !"
Page="Page"
of="de"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 9
- 1
lang/hu_HU.ini View File

@ -247,4 +247,12 @@ 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"
Nope="Nope"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 8
- 0
lang/id_ID.ini View File

@ -248,3 +248,11 @@ Github_pre_release="Pra-rilis Github"
Pre_release="Pra-rilis"
Yes_Im_in="Ya, saya ikut"
Nope="Nggak"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 9
- 1
lang/it_IT.ini View File

@ -247,4 +247,12 @@ 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"
Nope="Nope"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 8
- 0
lang/ko_KO.ini View File

@ -248,3 +248,11 @@ Github_pre_release = "Github에서의 시험판"
Pre_release = "사전 출시"
Yes_Im_in = "그래, 난에있어"
Nope = "아니"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 8
- 0
lang/ms_MY.ini View File

@ -248,3 +248,11 @@ Github_pre_release = "Github pra keluaran"
Pre_release = "Pra-release"
Yes_Im_in = "Ya saya setuju"
Nope = "Nope"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 10
- 2
lang/nl_NL.ini View File

@ -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 variëren 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="<u>hint:</u> Use <code>Ctrl</code>/<code>CMD</code> + <code>F</code> 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="<u>pro tips:</u> You can creating custom config key and print out your config key value anywhere in your template."
your_key="your.key"
@ -247,4 +247,12 @@ Page_generation_time="Generatietijd pagina"
Github_pre_release="Github pre-release"
Pre_release="Pre-release"
Yes_Im_in="Ja, ik doe mee"
Nope="Nietes"
Nope="Nietes"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 9
- 1
lang/pl_PL.ini View File

@ -248,4 +248,12 @@ 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"
Nope="Nope"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 9
- 1
lang/pt_BR.ini View File

@ -247,4 +247,12 @@ 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"
Nope="Não"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 9
- 1
lang/sv_SE.ini View File

@ -265,4 +265,12 @@ 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"
Nope="Nope"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 9
- 1
lang/tr_TR.ini View File

@ -247,4 +247,12 @@ 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"
Nope="Nope"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 9
- 1
lang/zh_TW.ini View File

@ -247,4 +247,12 @@ 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"
Nope="Nope"
Page="Page"
of="of"
Edit_post="Edit"
View_post="View"
Posts_by="Posts by"
Pages="Pages"
Menu="Menu"
Popular="Popular"

+ 30
- 30
system/includes/functions.php View File

@ -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 ' <a class="tag-cloud-link" href="'. site_url(). 'tag/'. $tag .'" style="font-size:'. $size .'pt;">'.tag_i18n($tag).'</a> ';
}
}
} 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 = <<<EOF
<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 = '<ul class="nav navbar-nav '.$class.'">';
foreach ($nodes as $node) {
if (isset($node->children)) {
if (isset($node->children)) {
$ul .= parseNode($node, true);
} else {
$ul .= parseNode($node);
@ -2040,7 +2040,7 @@ function parseNodes($nodes, $child = null, $class = null) {
} else {
$ul = '<ul class="subnav dropdown-menu" role="menu">';
foreach ($nodes as $node) {
if (isset($node->children)) {
if (isset($node->children)) {
$ul .= parseNode($node, true);
} else {
$ul .= parseNode($node);
@ -2061,7 +2061,7 @@ function parseNode($node, $child = null) {
if ($url['host'] == $su['host']) {
if (slashUrl($url['path']) == slashUrl($req)) {
$li = '<li class="item nav-item active '.$node->class.'">';
} else {
} else {
$li = '<li class="item nav-item '.$node->class.'">';
}
} else {
@ -2074,20 +2074,20 @@ function parseNode($node, $child = null) {
$li = '<li class="item nav-item '.$node->class.'">';
}
}
$li .= '<a class="nav-link" href="'.htmlspecialchars(slashUrl($node->slug), FILTER_SANITIZE_URL).'">'.$node->name.'</a>';
if (isset($node->children)) {
if (isset($node->children)) {
$li .= parseNodes($node->children, true, null);
}
$li .= '</li>';
return $li;
} else {
if (isset($url['host']) && isset($su['host'])) {
if ($url['host'] == $su['host']) {
if (slashUrl($url['path']) == slashUrl($req)) {
$li = '<li class="item nav-item dropdown active '.$node->class.'">';
} else {
} else {
$li = '<li class="item nav-item dropdown '.$node->class.'">';
}
} else {
@ -2100,13 +2100,13 @@ function parseNode($node, $child = null) {
$li = '<li class="item nav-item dropdown '.$node->class.'">';
}
}
$li .= '<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="'.htmlspecialchars(slashUrl($node->slug), FILTER_SANITIZE_URL).'">'.$node->name.'<b class="caret"></b></a>';
if (isset($node->children)) {
if (isset($node->children)) {
$li .= parseNodes($node->children, true, null);
}
$li .= '</li>';
return $li;
return $li;
}
}
@ -2136,15 +2136,15 @@ function menu($class = null)
if (stripos($class, 'active')) {
$parentClass = $element->parentNode->getAttribute('class') . ' active';
$element->parentNode->setAttribute('class', $parentClass);
}
}
}
}
return preg_replace('~<(?:!DOCTYPE|/?(?:html|head|body))[^>]*>\s*~i', '', utf8_decode($doc->saveHTML($doc->documentElement)));
}
} else {
get_menu($class);
get_menu($class);
}
}
@ -2295,13 +2295,13 @@ EOF;
function not_found()
{
$vroot = rtrim(config('views.root'), '/');
$lt = $vroot . '/layout--404.html.php';
$lt = $vroot . '/layout--404.html.php';
if (file_exists($lt)) {
$layout = 'layout--404';
} else {
$layout = '';
}
header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found");
render('404', array(
'title' => 'This page doesn\'t exist! - ' . blog_title(),
@ -2897,15 +2897,15 @@ EOF;
if ($role === 'admin') {
echo '<li class="tb-posts"><a href="' . $base . 'admin/posts">' . i18n('Posts') . '</a></li>';
if (config('views.counter') == 'true') {
echo '<li class="tb-popular"><a href="' . $base . 'admin/popular">Popular</a></li>';
echo '<li class="tb-popular"><a href="' . $base . 'admin/popular">' . i18n('Popular') . '</a></li>';
}
}
echo '<li class="tb-mine"><a href="' . $base . 'admin/pages">Pages</a></li>';
echo '<li class="tb-mine"><a href="' . $base . 'admin/pages">' . i18n('Pages') . '</a></li>';
echo '<li class="tb-draft"><a href="' . $base . 'admin/draft">' . i18n('Draft') . '</a></li>';
if ($role === 'admin') {
echo '<li class="tb-categories"><a href="' . $base . 'admin/categories">' . i18n('Categories') . '</a></li>';
}
echo '<li class="tb-import"><a href="' . $base . 'admin/menu">Menu</a></li>';
echo '<li class="tb-import"><a href="' . $base . 'admin/menu">' . i18n('Menu') . '</a></li>';
if ($role === 'admin') {
echo '<li class="tb-config"><a href="' . $base . 'admin/config">' . i18n('Config') . '</a></li>';
}
@ -3055,12 +3055,12 @@ function get_video_id($url)
}
$link = parse_url($url);
if(!isset($link['host'])) {
return $url;
}
if (stripos($link['host'], 'youtube.com') !== false || stripos($link['host'], 'youtu.be') !== false) {
if (stripos($link['host'], 'youtube.com') !== false || stripos($link['host'], 'youtu.be') !== false) {
preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/ ]{11})%i', $url, $match);
return $match[1];
} elseif (stripos($link['host'], 'vimeo.com') !== false) {
@ -3265,4 +3265,4 @@ function valueMaker($value)
if ($value == false)
return "0";
return (string)$value;
}
}

+ 6
- 6
themes/twentyfifteen/post.html.php View File

@ -34,13 +34,13 @@
<style>.related {padding-bottom:2em;}.related p {margin-top:0;margin-bottom:0.5em;} .related ul {margin-left:1em;}</style>
<div class="related entry-content">
<hr>
<p><strong>Related Posts</strong></p>
<p><strong><?php echo i18n('Related_posts');?></strong></p>
<?php echo get_related($p->related);?>
</div>
<div class="author-info">
<h2 class="author-heading">Published by</h2>
<h2 class="author-heading"><?php echo i18n('Published').' '.i18n('by');?></h2>
<div class="author-avatar">
<img width="56" height="56" class="avatar avatar-56" src="<?php echo site_url();?>themes/twentyfifteen/images/avatar.png" alt="<?php echo $author->name; ?>">
<img width="56" height="56" class="avatar avatar-56" src="<?php echo site_url();?>themes/twentyfifteen/images/avatar.png" alt="<?php echo $author->name; ?>">
</div><!-- .author-avatar -->
<div class="author-description">
<h3 class="author-title"><?php echo $author->name; ?></h3>
@ -63,9 +63,9 @@
<?php echo $p->tag; ?>
</span>
<?php if (disqus_count()) { ?>
<span class="comments-link"><a href="<?php echo $p->url ?>#disqus_thread"> comments</a></span>
<span class="comments-link"><a href="<?php echo $p->url ?>#disqus_thread"> <?php echo i18n('comments');?></a></span>
<?php } elseif (facebook()) { ?>
<span class="comments-link"><a href="<?php echo $p->url ?>#comments"><span><fb:comments-count href=<?php echo $p->url ?>></fb:comments-count> comments</span></a></span>
<span class="comments-link"><a href="<?php echo $p->url ?>#comments"><span><fb:comments-count href=<?php echo $p->url ?>></fb:comments-count> <?php echo i18n('comments');?></span></a></span>
<?php } ?>
</footer>
</article>
@ -95,4 +95,4 @@
<div class="nav-next"><a style="background-image: url(<?php echo($next['image']); ?>);<?php if (!empty($next['image'])):?>color:#fff;<?php endif;?>" rel="next" href="<?php echo($next['url']); ?>"><span style="<?php if (!empty($next['image'])):?>color:#fff;<?php endif;?>" aria-hidden="true" class="meta-nav">Next</span> <span class="screen-reader-text">Next post:</span> <span class="post-title"><?php echo($next['title']); ?></span></a></div>
<?php endif; ?>
</div>
</nav>
</nav>

Loading…
Cancel
Save