Skip to content

Commit

Permalink
Code cleanup, german i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
Themroc committed Feb 9, 2022
1 parent 5d0e008 commit d93105c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
19 changes: 19 additions & 0 deletions messages/de/base.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php
return [
'Label'=> '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',
];
6 changes: 3 additions & 3 deletions models/AdminForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'=> [
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "(Nearly) fullscreen iframes",
"keywords": [
],
"version": "0.4.2",
"version": "0.4.3",
"humhub": {
"minVersion": "1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion views/layouts/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

echo '<div class="panel panel-default">'."\n";
echo ' <div class="panel-heading">'."\n";
echo ' <strong>Iframe</strong> ' . Yii::t('IframeModule.base', 'module configuration') . "\n";
echo ' <strong>Iframe</strong> ' . Yii::t('ModHelperModule.base', 'module configuration') . "\n";
echo ' </div>'."\n";
echo \themroc\humhub\modules\iframe\widgets\AdminTabs::widget();
echo ' <div class="panel-body">'."\n";
Expand Down

0 comments on commit d93105c

Please sign in to comment.