mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit 8fcd3092798f6941da9be9883b79eefb12c5e8ea
parent 80ca597e6cfe456512894f4226b609dd46af96cb
Author: markseu <mark2011@mayberg.se>
Date:   Fri,  4 Mar 2016 09:53:30 +0100

Language update

Diffstat:
Mcontent/1-home/page.txt | 4++--
Msystem/config/config.ini | 2+-
Dsystem/config/language-de.ini | 51---------------------------------------------------
Dsystem/config/language-en.ini | 51---------------------------------------------------
Dsystem/config/language-fr.ini | 51---------------------------------------------------
Msystem/plugins/commandline.php | 2+-
Msystem/plugins/core.php | 4++--
Asystem/plugins/language-de.txt | 51+++++++++++++++++++++++++++++++++++++++++++++++++++
Asystem/plugins/language-en.txt | 51+++++++++++++++++++++++++++++++++++++++++++++++++++
Asystem/plugins/language-fr.txt | 51+++++++++++++++++++++++++++++++++++++++++++++++++++
Asystem/plugins/language.php | 20++++++++++++++++++++
Msystem/themes/flatsite.css | 25+++++++++++++++----------
12 files changed, 194 insertions(+), 169 deletions(-)

diff --git a/content/1-home/page.txt b/content/1-home/page.txt @@ -4,4 +4,4 @@ Title: Home Your website works! You can now [edit this page] or use your text editor. -For more information see [Yellow documentation](https://github.com/datenstrom/yellow/wiki). -\ No newline at end of file +For more information see [Yellow help](http://developers.datenstrom.se/help/). +\ No newline at end of file diff --git a/system/config/config.ini b/system/config/config.ini @@ -31,7 +31,7 @@ ContentDefaultFile: page.txt ContentPagination: page ContentExtension: .txt ConfigExtension: .ini -TextFile: language-(.*).ini +TextFile: language-(.*).txt ErrorFile: page-error-(.*).txt RobotsFile: robots.txt IconFile: icon.png diff --git a/system/config/language-de.ini b/system/config/language-de.ini @@ -1,51 +0,0 @@ -# Yellow text strings - -Language: de -LanguageDescription: Deutsch -LanguageAuthor: David Fehrmann -LanguageVersion: 0.6.1 - -BlogBy: von -BlogFilter: Blog: -BlogTag: Tags: -BlogMore: Lies mehr… -ContactName: Name: -ContactEmail: E-Mail: -ContactMessage: Nachricht: -ContactButton: Absenden -ContactStatusNone: Sag Hallo! Feedback ist uns sehr willkommen. -ContactStatusIncomplete: Bitte alle Felder ausfüllen. -ContactStatusInvalid: Bitte eine gültige E-Mail angeben. -ContactStatusDone: Nachricht wurde versandt. Vielen Dank! -ContactStatusError: Nachricht konnte nicht versandt werden, versuche es später erneut! -DateMonths: Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember -DateWeekdays: Montag, Dienstag, Mittwoch, Donnerstag, Freitag, Samstag, Sonntag -DateFormatShort: F Y -DateFormatMedium: d.m.Y -DateFormatLong: d.m.Y H:i -PaginationPrevious: ← Zurück -PaginationNext: Vor → -SearchQuery: Suche: -SearchResultsNone: Bitte einen Suchbegriff eingeben. -SearchResultsEmpty: Keine Treffer für diese Suchanfrage. -SearchButton: Suchen -WebinterfaceLoginText: Yellow-Anmeldung -WebinterfaceLoginEmail: E-Mail: -WebinterfaceLoginPassword: Kennwort: -WebinterfaceLoginButton: Anmelden -WebinterfaceCreateButton: Erzeugen -WebinterfaceEditButton: Ändern -WebinterfaceDeleteButton: Löschen -WebinterfaceCancelButton: Abbruch -WebinterfaceEdit: Seite ändern -WebinterfaceCreate: + -WebinterfaceDelete: - -WebinterfaceCreateTitle: Neue Seite -WebinterfaceDeleteTitle: Seite löschen -WebinterfaceUserHelp: Hilfe -WebinterfaceUserHelpUrl: https://github.com/datenstrom/yellow/wiki/Home-de -WebinterfaceUserAccountUrl: https://github.com/datenstrom/yellow/wiki/How-to-add-a-user-account -WebinterfaceUserLogout: Abmelden -WikiFilter: Wiki: -WikiTag: Tags: -WikiSpecialChanges: Letzte Änderungen diff --git a/system/config/language-en.ini b/system/config/language-en.ini @@ -1,51 +0,0 @@ -# Yellow text strings - -Language: en -LanguageDescription: English -LanguageAuthor: Mark Seuffert -LanguageVersion: 0.6.1 - -BlogBy: by -BlogFilter: Blog: -BlogTag: Tags: -BlogMore: Read more… -ContactName: Name: -ContactEmail: Email: -ContactMessage: Message: -ContactButton: Send message -ContactStatusNone: Say hello. Your feedback is very welcome. -ContactStatusIncomplete: Please fill out all fields. -ContactStatusInvalid: Please enter a valid email. -ContactStatusDone: You have sucessfully sent an email. Thank you! -ContactStatusError: Email could not be sent, please try again later! -DateMonths: January, February, March, April, May, June, July, August, September, October, November, December -DateWeekdays: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday -DateFormatShort: F Y -DateFormatMedium: Y-m-d -DateFormatLong: Y-m-d H:i -PaginationPrevious: ← Previous -PaginationNext: Next → -SearchQuery: Search: -SearchResultsNone: Enter a search term. -SearchResultsEmpty: No results found. -SearchButton: Search -WebinterfaceLoginText: Yellow login -WebinterfaceLoginEmail: Email: -WebinterfaceLoginPassword: Password: -WebinterfaceLoginButton: Log in -WebinterfaceCreateButton: Create -WebinterfaceEditButton: Save -WebinterfaceDeleteButton: Delete -WebinterfaceCancelButton: Cancel -WebinterfaceEdit: Edit page -WebinterfaceCreate: + -WebinterfaceDelete: - -WebinterfaceCreateTitle: New page -WebinterfaceDeleteTitle: Delete page -WebinterfaceUserHelp: Help -WebinterfaceUserHelpUrl: https://github.com/datenstrom/yellow/wiki -WebinterfaceUserAccountUrl: https://github.com/datenstrom/yellow/wiki/How-to-add-a-user-account -WebinterfaceUserLogout: Logout -WikiFilter: Wiki: -WikiTag: Tags: -WikiSpecialChanges: Recent changes diff --git a/system/config/language-fr.ini b/system/config/language-fr.ini @@ -1,51 +0,0 @@ -# Yellow text strings - -Language: fr -LanguageDescription: Français -LanguageAuthor: Juh Nibreh -LanguageVersion: 0.6.1 - -BlogBy: par -BlogFilter: Blog: -BlogTag: Tags: -BlogMore: Lire la suite… -ContactName: Nom: -ContactEmail: Email: -ContactMessage: Message: -ContactButton: Envoyer -ContactStatusNone: Dites bonjour! Vos commentaires sont les bienvenus. -ContactStatusIncomplete: S'il vous plaît, veuillez remplir tous les champs. -ContactStatusInvalid: S'il vous plaît, veuillez entrer une adresse email valide. -ContactStatusDone: Votre message a bien été envoyé. Merci! -ContactStatusError: Votre message n'a pas pu être envoyé, réessayez plus tard s'il vous plaît! -DateMonths: janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre -DateWeekdays: lundi, mardi, mercredi, jeudi, vendredi, samedi, dimanche -DateFormatShort: F Y -DateFormatMedium: d/m/Y -DateFormatLong: d/m/Y H:i -PaginationPrevious: ← Précédent -PaginationNext: Suivant → -SearchQuery: Rechercher: -SearchResultsNone: Entrez un mot dans le champ de recherche. -SearchResultsEmpty: Pas de résultats. -SearchButton: Rechercher -WebinterfaceLoginText: Yellow connexion -WebinterfaceLoginEmail: Email: -WebinterfaceLoginPassword: Mot de passe: -WebinterfaceLoginButton: Se connecter -WebinterfaceCreateButton: Créer -WebinterfaceEditButton: Sauvegarder -WebinterfaceDeleteButton: Supprimer -WebinterfaceCancelButton: Annuler -WebinterfaceEdit: Éditer page -WebinterfaceCreate: + -WebinterfaceDelete: - -WebinterfaceCreateTitle: Nouvelle page -WebinterfaceDeleteTitle: Supprimer page -WebinterfaceUserHelp: Aide -WebinterfaceUserHelpUrl: https://github.com/datenstrom/yellow/wiki/Home-fr -WebinterfaceUserAccountUrl: https://github.com/datenstrom/yellow/wiki/How-to-add-a-user-account -WebinterfaceUserLogout: Déconnexion -WikiFilter: Wiki: -WikiTag: Tags: -WikiSpecialChanges: Changements récents diff --git a/system/plugins/commandline.php b/system/plugins/commandline.php @@ -16,7 +16,7 @@ class YellowCommandline function onLoad($yellow) { $this->yellow = $yellow; - $this->yellow->config->setDefault("commandlineVersionUrl", "https://github.com/datenstrom/yellow-extensions"); + $this->yellow->config->setDefault("commandlineVersionUrl", "https://github.com/datenstrom/yellow-plugins"); } // Handle command diff --git a/system/plugins/core.php b/system/plugins/core.php @@ -55,7 +55,7 @@ class YellowCore $this->config->setDefault("contentExtension", ".txt"); $this->config->setDefault("configExtension", ".ini"); $this->config->setDefault("configFile", "config.ini"); - $this->config->setDefault("textFile", "language-(.*).ini"); + $this->config->setDefault("textFile", "language-(.*).txt"); $this->config->setDefault("errorFile", "page-error-(.*).txt"); $this->config->setDefault("robotsFile", "robots.txt"); $this->config->setDefault("iconFile", "icon.png"); @@ -77,7 +77,7 @@ class YellowCore echo "Yellow ".YellowCore::Version.", PHP ".PHP_VERSION.", $serverSoftware<br>\n"; } $this->config->load($this->config->get("configDir").$this->config->get("configFile")); - $this->text->load($this->config->get("configDir").$this->config->get("textFile")); + $this->text->load($this->config->get("pluginDir").$this->config->get("textFile")); date_default_timezone_set($this->config->get("serverTime")); list($pathRoot, $pathHome) = $this->lookup->getContentInformation(); $this->config->set("contentRootDir", $pathRoot); diff --git a/system/plugins/language-de.txt b/system/plugins/language-de.txt @@ -0,0 +1,51 @@ +# Yellow text strings + +Language: de +LanguageDescription: Deutsch +LanguageAuthor: David Fehrmann +LanguageVersion: 0.6.2 + +BlogBy: von +BlogFilter: Blog: +BlogTag: Tags: +BlogMore: Lies mehr… +ContactName: Name: +ContactEmail: E-Mail: +ContactMessage: Nachricht: +ContactButton: Absenden +ContactStatusNone: Sag Hallo! Feedback ist uns sehr willkommen. +ContactStatusIncomplete: Bitte alle Felder ausfüllen. +ContactStatusInvalid: Bitte eine gültige E-Mail angeben. +ContactStatusDone: Nachricht wurde versandt. Vielen Dank! +ContactStatusError: Nachricht konnte nicht versandt werden, versuche es später erneut! +DateMonths: Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember +DateWeekdays: Montag, Dienstag, Mittwoch, Donnerstag, Freitag, Samstag, Sonntag +DateFormatShort: F Y +DateFormatMedium: d.m.Y +DateFormatLong: d.m.Y H:i +PaginationPrevious: ← Zurück +PaginationNext: Vor → +SearchQuery: Suche: +SearchResultsNone: Bitte einen Suchbegriff eingeben. +SearchResultsEmpty: Keine Treffer für diese Suchanfrage. +SearchButton: Suchen +WebinterfaceLoginText: Yellow-Anmeldung +WebinterfaceLoginEmail: E-Mail: +WebinterfaceLoginPassword: Kennwort: +WebinterfaceLoginButton: Anmelden +WebinterfaceCreateButton: Erzeugen +WebinterfaceEditButton: Ändern +WebinterfaceDeleteButton: Löschen +WebinterfaceCancelButton: Abbruch +WebinterfaceEdit: Seite ändern +WebinterfaceCreate: + +WebinterfaceDelete: - +WebinterfaceCreateTitle: Neue Seite +WebinterfaceDeleteTitle: Seite löschen +WebinterfaceUserHelp: Hilfe +WebinterfaceUserHelpUrl: http://developers.datenstrom.se/help/help-de +WebinterfaceUserAccountUrl: http://developers.datenstrom.se/help/how-to-add-a-user-account-de +WebinterfaceUserLogout: Abmelden +WikiFilter: Wiki: +WikiTag: Tags: +WikiSpecialChanges: Letzte Änderungen diff --git a/system/plugins/language-en.txt b/system/plugins/language-en.txt @@ -0,0 +1,51 @@ +# Yellow text strings + +Language: en +LanguageDescription: English +LanguageAuthor: Mark Seuffert +LanguageVersion: 0.6.2 + +BlogBy: by +BlogFilter: Blog: +BlogTag: Tags: +BlogMore: Read more… +ContactName: Name: +ContactEmail: Email: +ContactMessage: Message: +ContactButton: Send message +ContactStatusNone: Say hello. Your feedback is very welcome. +ContactStatusIncomplete: Please fill out all fields. +ContactStatusInvalid: Please enter a valid email. +ContactStatusDone: You have sucessfully sent an email. Thank you! +ContactStatusError: Email could not be sent, please try again later! +DateMonths: January, February, March, April, May, June, July, August, September, October, November, December +DateWeekdays: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday +DateFormatShort: F Y +DateFormatMedium: Y-m-d +DateFormatLong: Y-m-d H:i +PaginationPrevious: ← Previous +PaginationNext: Next → +SearchQuery: Search: +SearchResultsNone: Enter a search term. +SearchResultsEmpty: No results found. +SearchButton: Search +WebinterfaceLoginText: Yellow login +WebinterfaceLoginEmail: Email: +WebinterfaceLoginPassword: Password: +WebinterfaceLoginButton: Log in +WebinterfaceCreateButton: Create +WebinterfaceEditButton: Save +WebinterfaceDeleteButton: Delete +WebinterfaceCancelButton: Cancel +WebinterfaceEdit: Edit page +WebinterfaceCreate: + +WebinterfaceDelete: - +WebinterfaceCreateTitle: New page +WebinterfaceDeleteTitle: Delete page +WebinterfaceUserHelp: Help +WebinterfaceUserHelpUrl: http://developers.datenstrom.se/help/ +WebinterfaceUserAccountUrl: http://developers.datenstrom.se/help/how-to-add-a-user-account +WebinterfaceUserLogout: Logout +WikiFilter: Wiki: +WikiTag: Tags: +WikiSpecialChanges: Recent changes diff --git a/system/plugins/language-fr.txt b/system/plugins/language-fr.txt @@ -0,0 +1,51 @@ +# Yellow text strings + +Language: fr +LanguageDescription: Français +LanguageAuthor: Juh Nibreh +LanguageVersion: 0.6.2 + +BlogBy: par +BlogFilter: Blog: +BlogTag: Tags: +BlogMore: Lire la suite… +ContactName: Nom: +ContactEmail: Email: +ContactMessage: Message: +ContactButton: Envoyer +ContactStatusNone: Dites bonjour! Vos commentaires sont les bienvenus. +ContactStatusIncomplete: S'il vous plaît, veuillez remplir tous les champs. +ContactStatusInvalid: S'il vous plaît, veuillez entrer une adresse email valide. +ContactStatusDone: Votre message a bien été envoyé. Merci! +ContactStatusError: Votre message n'a pas pu être envoyé, réessayez plus tard s'il vous plaît! +DateMonths: janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre +DateWeekdays: lundi, mardi, mercredi, jeudi, vendredi, samedi, dimanche +DateFormatShort: F Y +DateFormatMedium: d/m/Y +DateFormatLong: d/m/Y H:i +PaginationPrevious: ← Précédent +PaginationNext: Suivant → +SearchQuery: Rechercher: +SearchResultsNone: Entrez un mot dans le champ de recherche. +SearchResultsEmpty: Pas de résultats. +SearchButton: Rechercher +WebinterfaceLoginText: Yellow connexion +WebinterfaceLoginEmail: Email: +WebinterfaceLoginPassword: Mot de passe: +WebinterfaceLoginButton: Se connecter +WebinterfaceCreateButton: Créer +WebinterfaceEditButton: Sauvegarder +WebinterfaceDeleteButton: Supprimer +WebinterfaceCancelButton: Annuler +WebinterfaceEdit: Éditer page +WebinterfaceCreate: + +WebinterfaceDelete: - +WebinterfaceCreateTitle: Nouvelle page +WebinterfaceDeleteTitle: Supprimer page +WebinterfaceUserHelp: Aide +WebinterfaceUserHelpUrl: http://developers.datenstrom.se/help/help-fr +WebinterfaceUserAccountUrl: http://developers.datenstrom.se/help/how-to-add-a-user-account-fr +WebinterfaceUserLogout: Déconnexion +WikiFilter: Wiki: +WikiTag: Tags: +WikiSpecialChanges: Changements récents diff --git a/system/plugins/language.php b/system/plugins/language.php @@ -0,0 +1,19 @@ +<?php +// Copyright (c) 2013-2016 Datenstrom, http://datenstrom.se +// This file may be used and distributed under the terms of the public license. + +// Language plugin +class YellowLanguage +{ + const Version = "0.6.2"; + var $yellow; //access to API + + // Handle initialisation + function onLoad($yellow) + { + $this->yellow = $yellow; + } +} + +$yellow->plugins->register("language", "YellowLanguage", YellowLanguage::Version); +?> +\ No newline at end of file diff --git a/system/themes/flatsite.css b/system/themes/flatsite.css @@ -1,4 +1,4 @@ -/* Flatsite theme 0.6.1 */ +/* Flatsite theme 0.6.3 */ /* Designer: Mark Mayberg */ @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700); @@ -22,8 +22,9 @@ a, img { border:none; text-decoration:none; } .sitename { display:block; float:left; } .sitename h1 { margin:0; } .sitename h1 a { color:#111; text-decoration:none; } -.with-sidebar .main { margin-right:13em; } -.with-sidebar .sidebar { float:right; width:12em; margin-top:4.3em; overflow:hidden; } +.with-sidebar .main { margin-right:17em; } +.with-sidebar .sidebar { float:right; width:14em; margin-top:4.3em; overflow:hidden; } +.with-sidebar .sidebar { float:right; width:16em; margin-top:5em; overflow:hidden; font-size:0.9em; } .content h1:first-child, .content>*:first-child { margin-top:0; } .content h1 a:hover { text-decoration:none; } .content img { max-width:100%; height:auto; } @@ -31,15 +32,19 @@ a, img { border:none; text-decoration:none; } .content table { border-spacing:0; border-collapse:collapse; } .content th { text-align:left; padding:0.3em; border-bottom:1px solid #ddd;} .content td { text-align:left; padding:0.3em; border-top:1px solid #ddd;} -.content .flexible { position:relative; padding-bottom:56.25%; padding-top:30px; } +.content .flexible { position:relative; padding-top:0; padding-bottom:56.25%; } .content .flexible iframe { position:absolute; top:0; left:0; width:100%; height:100%; } .content .toc { margin:0; padding:0; list-style:none; } .content .pagination { margin:1em 0; } -.content code { border:1px solid #ddd; border-radius:3px; padding:0 0.5em; } -.content pre>code { border:none; padding:0; } -.content pre { overflow:auto; } -.content .fourpages { margin:0; padding:0; list-style:none; width:100%; } -.content .fourpages li { padding-bottom:1em; text-align:center; vertical-align:top; display:inline-block; width:24%; } +.content blockquote { margin-left:0; padding-left:1em; border-left:.5em solid #0a0; } +.content blockquote blockquote { margin-left:-1.5em; border-left:.5em solid #fb0; } +.content blockquote blockquote blockquote { border-color:#d00; } +.content code, pre { font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace; font-size:90%;} +.content code { padding:0.15em 0.4em; margin:0; background-color:#f7f7f7; border-radius:3px; } +.content pre>code { padding:0; margin:0; white-space:pre; background:transparent; border:0; font-size:inherit; } +.content pre { padding:1em; overflow:auto; line-height:1.45; background-color:#f7f7f7; border-radius:3px; } +.content .threepages { margin:0; padding:0; list-style:none; width:100%; } +.content .threepages li { padding-bottom:1em; text-align:center; vertical-align:top; display:inline-block; width:32%; } .footer { margin-top:2em; clear:both; } .footer a { color:#07d; } .footer a:hover { color:#07d; text-decoration:underline; } @@ -122,7 +127,7 @@ a, img { border:none; text-decoration:none; } .sitename h1, h1, h2 { font-size:1.2em; } .sitename h1, .header, .navigation, .footer, .page { margin:0; padding:0; } .sitename, .navigation, .navigation-tree { float:none; } - .navigation-search { padding-top: 0.5em; } + .navigation-search { padding-top:0.5em; } .with-sidebar .main { margin-right:0em; } .with-sidebar .sidebar { display:none; } }