From d93105cb200ead3d180c2e8329efc26061c826e1 Mon Sep 17 00:00:00 2001 From: Themroc <7hemroc@gmail.com> Date: Wed, 9 Feb 2022 05:53:46 +0100 Subject: [PATCH] Code cleanup, german i18n --- messages/de/base.php | 19 +++++++++++++++++++ models/AdminForm.php | 6 +++--- module.json | 2 +- views/layouts/admin.php | 2 +- 4 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 messages/de/base.php diff --git a/messages/de/base.php b/messages/de/base.php new file mode 100644 index 0000000..e510ad2 --- /dev/null +++ b/messages/de/base.php @@ -0,0 +1,19 @@ + 'Titel', + 'Icon'=> 'Symbol', + 'Size'=> 'Grösse', + 'Box'=> 'Kasten', + 'Fullscreen'=> 'Vollbild', + 'This will show up under the icon'=> 'Dies wird unter dem Symbol angezeigt', + 'Sort order'=> 'Sortierreihenfolge', + 'Determines topbar menu position'=> 'Legt die topbar Menüposition fest', + 'Visible for guests'=> 'Sichtbar für Gäste', +// 'URL'=> '', + 'The webpage to be shown. @UID@, @USER@, @EMAIL@ and @COLOR@ will be replaced by the respective values.'=> + 'Die anzuzeigende Webseite. @UID@, @USER@, @EMAIL@ und @COLOR@ werden durch die jeweiligen Werte ersetzt.', + 'URL for registered users'=> 'URL für registrierte Benutzer', + 'If empty, the above will be used.'=> 'Wenn leer, wird der Wert von oben verwendet.', + 'HTML to add above the iframe'=> 'HTML oberhalb des iframes', + 'Delete'=> 'Löschen', +]; diff --git a/models/AdminForm.php b/models/AdminForm.php index 65f1c14..39300bc 100644 --- a/models/AdminForm.php +++ b/models/AdminForm.php @@ -51,11 +51,11 @@ class AdminForm extends \themroc\humhub\modules\modhelper\models\AdminForm ], ], 'url'=> [ - 'label'=> 'Page URL', - 'hints'=> 'The webpage to be shown. @UID@, @USER@ and @EMAIL@ will be replaced by the respective values.', + 'label'=> 'URL', + 'hints'=> 'The webpage to be shown. @UID@, @USER@, @EMAIL@ and @COLOR@ will be replaced by the respective values.', ], 'url_reg'=> [ - 'label'=> 'Page URL for registered users', + 'label'=> 'URL for registered users', 'hints'=> 'If empty, the above will be used.', ], 'top_data'=> [ diff --git a/module.json b/module.json index 5c9cf8a..72e1910 100644 --- a/module.json +++ b/module.json @@ -4,7 +4,7 @@ "description": "(Nearly) fullscreen iframes", "keywords": [ ], - "version": "0.4.2", + "version": "0.4.3", "humhub": { "minVersion": "1.2" }, diff --git a/views/layouts/admin.php b/views/layouts/admin.php index c7bd387..23dbe43 100644 --- a/views/layouts/admin.php +++ b/views/layouts/admin.php @@ -4,7 +4,7 @@ echo '