Browse Source

* add default config in config.ini.example

* add i18n resources
* add first draft of widget
pull/496/head
maenz.torsten 4 years ago
parent
commit
cf81e8f2aa
4 changed files with 127 additions and 91 deletions
  1. +5
    -0
      config/config.ini.example
  2. +94
    -90
      lang/de_DE.ini
  3. +5
    -1
      lang/en_US.ini
  4. +23
    -0
      system/admin/views/config-widget.html.php

+ 5
- 0
config/config.ini.example View File

@ -134,3 +134,8 @@ views.root = "themes/twentyfifteen"
; Framework config. No need to edit.
views.layout = "layout"
; Matomo Config
matomo.url = ""
matomo.token = ""
matomo.id = ""

+ 94
- 90
lang/de_DE.ini View File

@ -26,7 +26,7 @@ Filename = "Datei Name"
Follow = "Folgen"
Image_post = "Bild-Beitrag"
Image_post_comment = "Erstelle einen Beitrag mit hervorgehobenem Bild"
Import = "Importieren"
Import = "Import"
Link_post = "Link-Beitrag"
Link_post_comment = "Erstelle einen Beitrag mit hervorgehobenem Link"
Login = "Anmelden"
@ -69,12 +69,12 @@ Search_for = "Suche nach"
Static_page = "Statische Seite"
Static_page_comment = "Erstelle eine statische Seite"
Static_pages = "Statische Seiten"
Tag = "Etikett"
Tags = "Stichworte"
Tag = "Tag"
Tags = "Tags"
Title = "Titel"
Uncategorized = "Sonstiges"
Uncategorized_comment = "Themen die keine Kategorie brauchen oder nicht in andere existierende Kategorien passen."
Update = "Aktualisieren"
Update = "Update"
Update_draft = "Draft aktualisieren"
Update_post = "Beitrag aktualisieren"
Video_post = "Video-Beitrag"
@ -84,36 +84,36 @@ Views = "Ansichten"
Your_recent_posts = "Deine letzten Beiträge"
by = "von"
read_more = "weiterlesen"
Dashboard="Instrumententafel"
Posts_list="Beitragsliste"
Posts_draft="Beiträge Entwurf"
Menus="Menü-Editor"
Settings="die Einstellungen"
Tools="Werkzeuge"
Check_update="Aktualisierung überprüfen"
Import_RSS="RSS importieren"
User="Benutzer"
Proudly_powered_by="Stolz angetrieben von"
Home="Zuhause"
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"
Back_to="Zurück zu"
Login="Anmeldung"
User="Benutzer"
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"
Dashboard="Dashboard"
Posts_list="Posts list"
Posts_draft="Posts draft"
Menus="Menu Editor"
Settings="Settings"
Tools="Tools"
Check_update="Check update"
Import_RSS="Import RSS"
User="User"
Proudly_powered_by="Proudly powered by"
Home="Home"
Type_to_search="Type to search"
Admin_panel_style_based_on="Admin panel style based on"
Sign_in_to_start_your_session="Sign in to start your session"
Back_to="Back to"
Login="Login"
User="User"
Password="Password"
Comma_separated_values="Comma separated values"
If_leave_empty_we_will_excerpt_it_from_the_content_below="If leave empty we will excerpt it from the content below"
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"
Only="Nur"
Featured_Audio="Empfohlenes Audio"
Featured_Video="Empfohlenes Video"
Featured_Image="Ausgewähltes Bild"
Featured_Quote="Ausgewähltes Zitat"
Featured_Link="Ausgewählter Link"
Content="Inhalt"
If_the_url_leave_empty_we_will_use_the_post_title="If the url leave empty we will use the post title"
If_the_url_leave_empty_we_will_use_the_page_title="If the url leave empty we will use the page title"
Only="Only"
Featured_Audio="Featured Audio"
Featured_Video="Featured Video"
Featured_Image="Featured Image"
Featured_Quote="Featured Quote"
Featured_Link="Featured Link"
Content="Content"
Preview="Preview"
Enter_image_URL="Enter image URL"
Upload="Upload"
@ -122,71 +122,71 @@ 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"
Your_backups="Ihre Backups"
Create_backup="Ein Backup erstellen"
All_cache_has_been_deleted="Der gesamte Cache wurde gelöscht!"
Edit_category="Kategorie bearbeiten"
Your_backups="Your backups"
Create_backup="Create backup"
All_cache_has_been_deleted="All cache has been deleted !"
Edit_category="Edit category"
Date="Date"
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."
Save_category="Kategorie speichern"
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."
Time="Time"
No_available_backup="No available backup at this time."
You_dont_have_permission_to_access_this_page="You don't have permission to access this page"
Save_category="Save category"
Import_RSS_Feed_2.0="Import RSS Feed 2.0"
By_using_this_importer_you_are_agree_if_the_feed_is_yours_or_at_least_you_have_the_authority_to_publish_it="By using this importer you are agree if the feed is yours or at least you have the authority to publish it."
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ü. "
Add_menu="Menü hinzufügen"
Add_source_link_optional="Add source link (optional)"
Import_Feed="Start Import Feed"
At_the_moment_you_are_using_auto_generated_menu="At the moment you are using auto generated menu."
Add_menu="Add menu"
Name="Name"
Link_name="Linkname"
Link_name="Link name"
Slug="Slug"
item_slug="Link URL einfügen"
CSS_Class_Optional="CSS-Klasse (optional) "
item_class="CSS Klasse einfügen"
Add_link="Link hinzufügen"
Save_Edit="Speichern Bearbeiten"
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"
now="jetzt"
Performance_Settings="Leistungseinstellungen"
General="Allgemeines"
Reading="Lesen"
item_slug="Insert Link URL"
CSS_Class_Optional="CSS Class (optional)"
item_class="Insert CSS class"
Add_link="Add link"
Save_Edit="Save Edit"
Save_Menu="Save menu"
Add_new_post="Add new post"
Add_new_page="Add new page"
Update_Available="Update Available"
Congrats_You_have_the_latest_version_of_HTMLy="Congrats! You have the latest version of HTMLy."
Update_to="Update to"
now="now"
Performance_Settings="Performance Settings"
General="General"
Reading="Reading"
Widget="Widget"
Metatags="Metatags"
Performance="Performance"
Custom="Benutzerdefiniert"
General_Settings="Allgemeine Einstellungen"
Reading_Settings="Leseeinstellungen"
Widget_Settings="Widget Einstellungen"
Metatags_Settings="Metatags Einstellungen"
Custom_Settings="Benutzerdefinierte Einstellungen"
Address_URL="Adresse (URL)"
Blog_Title="Blog Titel"
Blog_Title_Placeholder="Mein HTMLy Blog "
Custom="Custom"
General_Settings="General Settings"
Reading_Settings="Reading Settings"
Widget_Settings="Widget Settings"
Metatags_Settings="Metatags Settings"
Custom_Settings="Custom Settings"
Address_URL="Address (URL)"
Blog_Title="Blog title"
Blog_Title_Placeholder="My 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."
Language="Systemsprache"
Timezone="Zeitzone"
Date_Format="Datumsformat"
Blog_Theme="Blog Thema"
Copyright_Line="Copyright Zeile"
Copyright_Line_Placeholder="(c) Dein Name."
Save_Config="Konfiguration speichern"
Front_page_displays="Titelseite wird angezeigt"
Your_latest_blog_posts="Deine neuesten Blog-Beiträge"
Enable_blog_URL="URL aktivieren / bloggen"
Enable="Aktivieren"
Disable="Deaktivieren"
Posts_in_front_page_show_at_most="Beiträge auf der Titelseite werden höchstens angezeigt"
Blog_posts_displayed_as="Blog-Beiträge angezeigt als"
Full_post="Vollständiger Beitrag"
Tagline_Placeholder="Databaseless PHP Blogging Platform"
Tagline_description="In a few words, explain what this blog is about."
Blog_Description="In one paragraph, tell us more about your blog."
Language="System Language"
Timezone="Timezone"
Date_Format="Date Format"
Blog_Theme="Blog Theme"
Copyright_Line="Copyright line"
Copyright_Line_Placeholder="(c) Your name."
Save_Config="Save config"
Front_page_displays="Front page displays"
Your_latest_blog_posts="Your latest blog posts"
Enable_blog_URL="Enable /blog URL"
Enable="Enable"
Disable="Disable"
Posts_in_front_page_show_at_most="Posts in front page show at most"
Blog_posts_displayed_as="Blog posts displayed as"
Full_post="Full post"
Summary="Summary"
Summary_character="Summary character"
Read_more_text="Read more text"
@ -248,3 +248,7 @@ Github_pre_release="Github pre-release"
Pre_release="Pre-release"
Yes_Im_in="Yes I'm in"
Nope="Nope"
Matomo="Matomo"
Matomo_URL="Server"
Matomo_Token="Token"
Matomo_ID="Page ID"

+ 5
- 1
lang/en_US.ini View File

@ -247,4 +247,8 @@ 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"
Matomo="Matomo"
Matomo_URL="Server"
Matomo_Token="Token"
Matomo_ID="Page ID"

+ 23
- 0
system/admin/views/config-widget.html.php View File

@ -150,6 +150,28 @@
<small><em><?php echo i18n('For_google_site_verification_meta');?></em></small>
</div>
</div>
<br>
<h4><?php echo i18n('Matomo');?></h4>
<hr>
<div class="form-group row">
<label for="matamo.url" class="col-sm-2 col-form-label"><?php echo i18n('Matomo_URL');?></label>
<div class="col-sm-10">
<input type="text" name="-config-matomo.url" class="form-control" id="matomo.url" value="<?php echo valueMaker(config('matomo.url'));?>" placeholder="https://matomo.org/">
</div>
</div>
<div class="form-group row">
<label for="matomo.token" class="col-sm-2 col-form-label"><?php echo i18n('Matomo_Token');?></label>
<div class="col-sm-10">
<input type="text" name="-config-matomo.token" class="form-control" id="matomo.token" value="<?php echo valueMaker(config('matomo.token'));?>" placeholder="1234567890">
</div>
</div>
<div class="form-group row">
<label for="matomo.id" class="col-sm-2 col-form-label"><?php echo i18n('Matomo_ID');?></label>
<div class="col-sm-10">
<input type="text" name="-config-matomo.id" class="form-control" id="matomo.id" value="<?php echo valueMaker(config('matomo.id'));?>" placeholder="1">
</div>
</div>
<br>
<h4><?php echo i18n('Social_Media');?></h4>
<hr>
@ -170,4 +192,5 @@
<button type="submit" class="btn btn-primary"><?php echo i18n('Save_Config');?></button>
</div>
</div>
</form>

Loading…
Cancel
Save