Plugin Directory

Changeset 2428225


Ignore:
Timestamp:
11/29/2020 07:39:50 PM (5 years ago)
Author:
mibuthu
Message:

Version 0.8.0

Location:
link-view/trunk
Files:
19 added
16 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • link-view/trunk/admin/admin.php

    r2286812 r2428225  
    77
    88// declare( strict_types=1 ); Remove for now due to warnings in php <7.0!
     9
     10namespace WordPress\Plugins\mibuthu\LinkView\Admin;
     11
     12use WordPress\Plugins\mibuthu\LinkView\Config;
     13
    914if ( ! defined( 'WP_ADMIN' ) ) {
    1015    exit();
    1116}
    1217
    13 require_once LV_PATH . 'includes/options.php';
     18require_once PLUGIN_PATH . 'includes/config.php';
    1419
    1520
     
    1924 * This class handles all LinkView admin pages.
    2025 */
    21 class LV_Admin {
     26class Admin {
    2227
    2328    /**
    24      * Class singleton instance reference
     29     * Config class instance reference
    2530     *
    26      * @var self
     31     * @var Config
    2732     */
    28     private static $instance;
    29 
    30     /**
    31      * Options class instance reference
    32      *
    33      * @var LV_Options
    34      */
    35     private $options;
    36 
    37 
    38     /**
    39      * Singleton provider and setup
    40      *
    41      * @return self
    42      */
    43     public static function &get_instance() {
    44         if ( ! isset( self::$instance ) ) {
    45             self::$instance = new self();
    46         }
    47         return self::$instance;
    48     }
     33    private $config;
    4934
    5035
    5136    /**
    5237     * Class constructor which initializes required variables
     38     *
     39     * @param Config $config_instance The Config instance as a reference.
    5340     */
    54     private function __construct() {
    55         $this->options = LV_Options::get_instance();
     41    public function __construct( &$config_instance ) {
     42        $this->config = $config_instance;
    5643    }
    5744
     
    6249     * @return void
    6350     */
    64     public function init_admin_page() {
    65         add_action( 'admin_menu', array( &$this, 'register_pages' ) );
     51    public function init() {
     52        add_action( 'admin_menu', [ $this, 'register_pages' ] );
     53        add_action( 'plugins_loaded', [ $this->config, 'version_upgrade' ] );
    6654    }
    6755
     
    7765            sprintf( __( 'About %1$s', 'link-view' ), 'LinkView' ),
    7866            sprintf( __( 'About %1$s', 'link-view' ), 'LinkView' ),
    79             $this->options->get( 'lv_req_cap' ),
    80             'lv_admin_about',
    81             array( &$this, 'show_about_page' )
     67            $this->config->req_capabilities,
     68            'lvw_admin_about',
     69            [ $this, 'show_about_page' ]
    8270        );
    83         add_action( 'admin_print_scripts-' . $page, array( &$this, 'embed_about_styles' ) );
     71        add_action( 'admin_print_scripts-' . $page, [ $this, 'embed_about_styles' ] );
    8472        $page = add_submenu_page(
    8573            'options-general.php',
     
    8775            'LinkView',
    8876            'manage_options',
    89             'lv_admin_options',
    90             array( &$this, 'show_settings_page' )
     77            'lvw_admin_settings',
     78            [ &$this, 'show_settings_page' ]
    9179        );
    92         add_action( 'admin_print_scripts-' . $page, array( &$this, 'embed_settings_styles' ) );
     80        add_action( 'admin_print_scripts-' . $page, [ &$this, 'embed_settings_styles' ] );
    9381    }
    9482
     
    10088     */
    10189    public function show_about_page() {
    102         require_once LV_PATH . 'admin/includes/admin-about.php';
    103         LV_Admin_About::get_instance()->show_page();
     90        require_once PLUGIN_PATH . 'admin/about.php';
     91        $about = new About( $this->config );
     92        $about->show_page();
    10493    }
    10594
     
    111100     */
    112101    public function show_settings_page() {
    113         require_once LV_PATH . 'admin/includes/admin-settings.php';
    114         LV_Admin_Settings::get_instance()->show_page();
     102        require_once PLUGIN_PATH . 'admin/settings.php';
     103        $settings = new Settings( $this->config );
     104        $settings->show_page();
    115105    }
    116106
     
    123113     */
    124114    public function embed_about_styles() {
    125         wp_enqueue_style( 'lv_admin_about', LV_URL . 'admin/css/admin_about.css', array(), '1.0' );
     115        wp_enqueue_style( 'lvw_admin_about', PLUGIN_URL . 'admin/css/about.css', [], '1.0' );
    126116    }
    127117
     
    134124     */
    135125    public function embed_settings_styles() {
    136         wp_enqueue_style( 'lv_admin_settings', LV_URL . 'admin/css/admin_settings.css', array(), '1.0' );
     126        wp_enqueue_style( 'lvw_admin_settings', PLUGIN_URL . 'admin/css/settings.css', [], '1.0' );
    137127    }
    138128
  • link-view/trunk/languages/link-view-de_DE.po

    r2286812 r2428225  
    1010msgstr ""
    1111"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/link-view/\n"
    12 "POT-Creation-Date: 2020-04-19 16:29+0200\n"
     12"POT-Creation-Date: 2020-11-29 20:23+0100\n"
    1313"Last-Translator: mibuthu, 2020\n"
    1414"Language-Team: German (Germany) (https://www.transifex.com/mibuthu/teams/70724/de_DE/)\n"
     
    1919"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    2020
    21 #: admin/admin.php:77 admin/admin.php:78 admin/includes/admin-about.php:76
     21#: admin/about.php:64 admin/admin.php:65 admin/admin.php:66
    2222#, php-format
    2323msgid "About %1$s"
    2424msgstr "Über %1$s"
    2525
    26 #: admin/admin.php:86 admin/includes/admin-about.php:156
    27 #: admin/includes/admin-settings.php:75
    28 #, php-format
    29 msgid "%1$s Settings"
    30 msgstr "%1$s Einstellungen"
    31 
    32 #: admin/includes/admin-about.php:99 admin/includes/admin-about.php:223
     26#: admin/about.php:87 admin/about.php:207
    3327msgid "General"
    3428msgstr "Allgemein"
    3529
    36 #: admin/includes/admin-about.php:100 admin/includes/admin-about.php:219
     30#: admin/about.php:88 admin/about.php:203
    3731msgid "Shortcode Attributes"
    3832msgstr "Shortcode Attribute"
    3933
    40 #: admin/includes/admin-about.php:119
     34#: admin/about.php:107
    4135msgid "Help and Instructions"
    4236msgstr "Hilfe und Anleitungen"
    4337
    44 #: admin/includes/admin-about.php:120
     38#: admin/about.php:108
    4539msgid "Show links in posts or pages"
    4640msgstr "Anzeigen von Links in Beiträgen oder Seiten"
    4741
    48 #: admin/includes/admin-about.php:122
     42#: admin/about.php:110
    4943#, php-format
    5044msgid ""
     
    5549"im Beitrags- bzw. Seitentext eingefügt werden."
    5650
    57 #: admin/includes/admin-about.php:123
     51#: admin/about.php:111
    5852msgid ""
    5953"The listed links and their styles can be modified with the available "
     
    6357"Shortcode-Attribute angepasst werden."
    6458
    65 #: admin/includes/admin-about.php:124
     59#: admin/about.php:112
    6660msgid "You can combine as much attributes as you want."
    6761msgstr ""
     
    6963"verwendet werden."
    7064
    71 #: admin/includes/admin-about.php:125
     65#: admin/about.php:113
    7266#, php-format
    7367msgid ""
     
    7872"folgendermaßen aussehen"
    7973
    80 #: admin/includes/admin-about.php:127
     74#: admin/about.php:115
    8175msgid ""
    8276"Below you can find tables with all supported attributes, their descriptions "
     
    8680"mit deren Beschreibung und verfügbaren Optionen aufgelistet."
    8781
    88 #: admin/includes/admin-about.php:129
     82#: admin/about.php:117
    8983msgid "Show links in sidebars and widget areas"
    9084msgstr "Anzeigen von Links in Seitenleisten und Widget-Bereichen"
    9185
    92 #: admin/includes/admin-about.php:131
     86#: admin/about.php:119
    9387#, php-format
    9488msgid "With the %1$s Widget you can add links in sidebars and widget areas."
     
    9791"hinzugefügt werden."
    9892
    99 #: admin/includes/admin-about.php:134
     93#: admin/about.php:122
    10094#, php-format
    10195msgid ""
     
    10599"Bereich."
    106100
    107 #: admin/includes/admin-about.php:145
     101#: admin/about.php:131
    108102#, php-format
    109103msgid ""
     
    116110"Attribute können auch im Widget verwendet werden."
    117111
    118 #: admin/includes/admin-about.php:148
     112#: admin/about.php:134
    119113#, php-format
    120114msgid "Press %1$s to confirm the changes."
    121115msgstr "Drücke %1$s um die Änderungen zu bestätigen."
    122116
    123 #: admin/includes/admin-about.php:160
     117#: admin/about.php:141 admin/admin.php:74 admin/settings.php:62
     118#, php-format
     119msgid "%1$s Settings"
     120msgstr "%1$s Einstellungen"
     121
     122#: admin/about.php:145
    124123#, php-format
    125124msgid ""
     
    130129"zur Anpassung des Plugins zu finden."
    131130
    132 #: admin/includes/admin-about.php:180
     131#: admin/about.php:164
    133132msgid "About the plugin author"
    134133msgstr "Über den Autor des Plugins"
    135134
    136 #: admin/includes/admin-about.php:182
     135#: admin/about.php:166
    137136#, php-format
    138137msgid ""
     
    143142"sind unter der %2$s zu finden."
    144143
    145 #: admin/includes/admin-about.php:182
     144#: admin/about.php:166
    146145msgid "WordPress plugin site"
    147146msgstr "WordPress Plugin Seite"
    148147
    149 #: admin/includes/admin-about.php:183
     148#: admin/about.php:167
    150149#, php-format
    151150msgid "If you like the plugin please rate it on the %1$s."
    152151msgstr "Wenn dir das Plugin gefällt bewerte es bitte unter der %1$s."
    153152
    154 #: admin/includes/admin-about.php:183
     153#: admin/about.php:167
    155154msgid "WordPress plugin review site"
    156155msgstr "WordPress Plugin-Bewertungsseite"
    157156
    158 #: admin/includes/admin-about.php:184
     157#: admin/about.php:168
    159158msgid ""
    160159"If you want to support the plugin I would be happy to get a small donation"
     
    163162"Spende freuen"
    164163
    165 #: admin/includes/admin-about.php:185 admin/includes/admin-about.php:186
    166 #: admin/includes/admin-about.php:187
     164#: admin/about.php:169 admin/about.php:170 admin/about.php:171
    167165#, php-format
    168166msgid "Donate with %1$s"
    169167msgstr "Spende über %1$s"
    170168
    171 #: admin/includes/admin-about.php:201
     169#: admin/about.php:185
    172170msgid "Translations"
    173171msgstr "Übersetzungen"
    174172
    175 #: admin/includes/admin-about.php:203
     173#: admin/about.php:187
    176174msgid "Please help translating this plugin into your language."
    177175msgstr "Bitte unterstütze die Übersetzung dieses Plugins in deine Sprache."
    178176
    179 #: admin/includes/admin-about.php:204
     177#: admin/about.php:188
    180178#, php-format
    181179msgid "You can submit your translations at %1$s."
    182180msgstr "Du kannst deine Übersetzungen über %1$s einreichen."
    183181
    184 #: admin/includes/admin-about.php:205
     182#: admin/about.php:189
    185183msgid ""
    186184"There the source strings will be kept in sync with the actual development "
     
    192190"Übersetzungen aktualisiert."
    193191
    194 #: admin/includes/admin-about.php:221
     192#: admin/about.php:205
    195193#, php-format
    196194msgid ""
     
    201199" aufgelistet"
    202200
    203 #: admin/includes/admin-about.php:225
     201#: admin/about.php:209
    204202msgid "Link List"
    205203msgstr "Link Liste"
    206204
    207 #: admin/includes/admin-about.php:227
     205#: admin/about.php:211
    208206msgid "Link Slider"
    209207msgstr "Link Slider"
    210208
    211 #: admin/includes/admin-about.php:231
    212 #: includes/shortcode-atts-helptexts.php:163
    213 #: includes/shortcode-atts-helptexts.php:174
     209#: admin/about.php:215 shortcode/config-admin-data.php:238
     210#: shortcode/config-admin-data.php:250
    214211msgid "Multi-column layout types and options"
    215212msgstr "Mehr-Spalten-Layout Typen und Optionen"
    216213
    217 #: admin/includes/admin-about.php:232
     214#: admin/about.php:216
    218215msgid ""
    219216"There are 3 different types of multiple column layouts for category or link-"
     
    225222"einige Vorteile aber auch Nachteile."
    226223
    227 #: admin/includes/admin-about.php:233
     224#: admin/about.php:217
    228225msgid "Additionally the available layouts can be modified with their options"
    229226msgstr ""
     
    231228"werden"
    232229
    233 #: admin/includes/admin-about.php:235
     230#: admin/about.php:219
    234231msgid "layout type"
    235232msgstr "Layout Typ"
    236233
    237 #: admin/includes/admin-about.php:235
     234#: admin/about.php:219
    238235msgid "type description"
    239236msgstr "Beschreibung des Typs"
    240237
    241 #: admin/includes/admin-about.php:236 includes/shortcode-atts-helptexts.php:76
     238#: admin/about.php:220 shortcode/config-admin-data.php:136
    242239msgid "Number"
    243240msgstr "Zahl"
    244241
    245 #: admin/includes/admin-about.php:236
     242#: admin/about.php:220
    246243msgid "Use a single number to specify a static number of columns."
    247244msgstr ""
     
    249246"definieren."
    250247
    251 #: admin/includes/admin-about.php:237
     248#: admin/about.php:221
    252249msgid "This is a short form of the static layout type (see below)."
    253250msgstr "Dies ist die Kurzform für den statischen Layout-Typ (siehe unten)."
    254251
    255 #: admin/includes/admin-about.php:238
     252#: admin/about.php:222
    256253msgid ""
    257254"Set a static number of columns. The categories or links will be arranged in "
     
    261258"Spalten angeordnet."
    262259
    263 #: admin/includes/admin-about.php:239 admin/includes/admin-about.php:242
    264 #: admin/includes/admin-about.php:246
     260#: admin/about.php:223 admin/about.php:226 admin/about.php:230
    265261msgid "available options"
    266262msgstr "verfügbare Optionen"
    267263
    268 #: admin/includes/admin-about.php:240
     264#: admin/about.php:224
    269265msgid ""
    270266"Provide a single number which specifys the number of columns. If no value is"
     
    274270"angegeben wird, werden standardmäßig 3 Spalten angezeigt."
    275271
    276 #: admin/includes/admin-about.php:241 admin/includes/admin-about.php:245
     272#: admin/about.php:225 admin/about.php:229
    277273#, php-format
    278274msgid "This type uses the %1$s to arrange the columns."
    279275msgstr "Dieser Typ verwendet die %1$s für die Anordnung der Spalten."
    280276
    281 #: admin/includes/admin-about.php:241
     277#: admin/about.php:225
    282278msgid "multi-column feature of CSS"
    283279msgstr "Mehrspalten-Feature von CSS"
    284280
    285 #: admin/includes/admin-about.php:243
     281#: admin/about.php:227
    286282#, php-format
    287283msgid ""
     
    292288"Feature verfügbar sind (siehe %1$s für weitere Informationen)."
    293289
    294 #: admin/includes/admin-about.php:243 admin/includes/admin-about.php:247
     290#: admin/about.php:227 admin/about.php:231
    295291msgid "this link"
    296292msgstr "diesem Link"
    297293
    298 #: admin/includes/admin-about.php:244
     294#: admin/about.php:228
    299295msgid ""
    300296"The given attributes will be added to the wrapper div element. Also the "
     
    304300" Zusätzlich werden die Browser-spezifischen Attribute ergänzt."
    305301
    306 #: admin/includes/admin-about.php:245
     302#: admin/about.php:229
    307303#, php-format
    308304msgid "%1$s grid layout javascript library"
    309305msgstr "%1$s Raster Layout Javascript Bibliothek"
    310306
    311 #: admin/includes/admin-about.php:247
    312 #, php-format
    313 msgid ""
    314 "You can use all Options which are available for the Masonry library (see "
     307#: admin/about.php:231
     308#, php-format
     309msgid ""
     310"You can use all options which are available for the Masonry library (see "
    315311"%1$s for detailed information)."
    316312msgstr ""
     
    318314"Bibliothek verfügbar sind (siehe %1$s für weitere Informationen)."
    319315
    320 #: admin/includes/admin-about.php:248
     316#: admin/about.php:232
    321317msgid "The given options will be forwarded to the javascript library."
    322318msgstr ""
     
    324320"weitergeleitet."
    325321
    326 #: admin/includes/admin-about.php:251
     322#: admin/about.php:235
    327323msgid "Usage"
    328324msgstr "Verwendung"
    329325
    330 #: admin/includes/admin-about.php:252
     326#: admin/about.php:236
    331327msgid ""
    332328"For the most types and options it is recommended to define a fixed width for"
     
    338334"gesetzt werden, z.B. über die entsprechenden CSS-Einträge:"
    339335
    340 #: admin/includes/admin-about.php:253
     336#: admin/about.php:237
    341337msgid ""
    342338"Depending on the type and options there are probably more css modifications "
     
    346342"erforderlich, um das Mehrspalten-Layout korrekt darzustellen."
    347343
    348 #: admin/includes/admin-about.php:256
     344#: admin/about.php:240
    349345#, php-format
    350346msgid ""
     
    356352"zu finden sind."
    357353
    358 #: admin/includes/admin-about.php:259 includes/options-helptexts.php:47
     354#: admin/about.php:243
    359355#, php-format
    360356msgid "CSS-code for %1$s"
    361357msgstr "CSS-Code für %1$s"
    362358
    363 #: admin/includes/admin-about.php:265
     359#: admin/about.php:249
    364360#, php-format
    365361msgid ""
     
    372368"getrennt durch eine Pipe %1$s angegeben werden."
    373369
    374 #: admin/includes/admin-about.php:266 includes/options-helptexts.php:53
    375 #: includes/shortcode-atts-helptexts.php:27
     370#: admin/about.php:250 includes/config-admin-data.php:91
     371#: shortcode/config-admin-data.php:78
    376372msgid "Examples"
    377373msgstr "Beispiele"
    378374
    379 #: admin/includes/admin-about.php:267
     375#: admin/about.php:251
    380376msgid "show the categories in 3 static columns"
    381377msgstr "zeigt die Kategorien in 3 statischen Spalten"
    382378
    383 #: admin/includes/admin-about.php:268
     379#: admin/about.php:252
    384380msgid "show the link-lists in 2 static columns"
    385381msgstr "zeigt die Link-Liste in 2 statischen Spalten"
    386382
    387 #: admin/includes/admin-about.php:269
     383#: admin/about.php:253
    388384msgid ""
    389385"show the categories in columns with the css column properties with a fixed "
     
    393389"fixen Spaltenbreite pro Kategorie"
    394390
    395 #: admin/includes/admin-about.php:270
     391#: admin/about.php:254
    396392msgid ""
    397393"show the link-lists in 4 columns by using the CSS multi column properties"
     
    400396"Features"
    401397
    402 #: admin/includes/admin-about.php:271
     398#: admin/about.php:255
    403399msgid ""
    404400"show the categories in columns by using the masonry script (with some "
     
    408404"einigen spezifischen Masonry Einstellungen)"
    409405
    410 #: admin/includes/admin-about.php:289
     406#: admin/about.php:273
    411407msgid "Attribute name"
    412408msgstr "Name"
    413409
    414 #: admin/includes/admin-about.php:290
    415 #: includes/shortcode-atts-helptexts.php:102
     410#: admin/about.php:274 shortcode/config-admin-data.php:164
    416411msgid "Value options"
    417412msgstr "zulässige Werte"
    418413
    419 #: admin/includes/admin-about.php:291
     414#: admin/about.php:275
    420415msgid "Default value"
    421416msgstr "Standard-Wert"
    422417
    423 #: admin/includes/admin-about.php:292
     418#: admin/about.php:276
    424419msgid "Description"
    425420msgstr "Beschreibung"
    426421
    427 #: includes/options-helptexts.php:16
     422#: includes/config-admin-data.php:46
    428423#, php-format
    429424msgid "Required capabilities to show the %1$s page"
    430425msgstr "Erforderliche Rechte zur Anzeige der %1$s Seite"
    431426
    432 #: includes/options-helptexts.php:16 includes/options-helptexts.php:22
    433 #: includes/options-helptexts.php:42
     427#: includes/config-admin-data.php:46 includes/config-admin-data.php:53
     428#: includes/config-admin-data.php:71
    434429msgid "About"
    435430msgstr "Über"
    436431
    437 #: includes/options-helptexts.php:18 includes/options-helptexts.php:32
     432#: includes/config-admin-data.php:48 includes/config-admin-data.php:62
    438433msgid "Default"
    439434msgstr "Standard"
    440435
    441 #: includes/options-helptexts.php:22
     436#: includes/config-admin-data.php:53
    442437#, php-format
    443438msgid ""
     
    448443"Seite festgelegt werden."
    449444
    450 #: includes/options-helptexts.php:23 includes/options-helptexts.php:41
     445#: includes/config-admin-data.php:54 includes/config-admin-data.php:70
    451446#, php-format
    452447msgid "More information can be found in the %1$s."
    453448msgstr "Weitere Informationen sind im %1$s zu finden."
    454449
    455 #: includes/options-helptexts.php:28
     450#: includes/config-admin-data.php:59
    456451msgid "Required role to manage links"
    457452msgstr "Erforderliche Rolle für das Link-Management"
    458453
    459 #: includes/options-helptexts.php:40
     454#: includes/config-admin-data.php:69
    460455msgid "With this option minimum required role to manage links can be set"
    461456msgstr ""
     
    463458"für das Link-Management erforderlich ist"
    464459
    465 #: includes/options-helptexts.php:40
     460#: includes/config-admin-data.php:69
    466461msgid "Capability"
    467462msgstr "Capability"
    468463
    469 #: includes/options-helptexts.php:42
     464#: includes/config-admin-data.php:71
    470465#, php-format
    471466msgid ""
     
    476471"Seite hat, wenn die Rechte auf %2$s gesetzt sind."
    477472
    478 #: includes/options-helptexts.php:48
    479 #, php-format
    480 msgid ""
    481 "With this option you can specify CSS-code for the links displayed by the "
     473#: includes/config-admin-data.php:76
     474#, php-format
     475msgid "Custom CSS classes for %1$s"
     476msgstr "Benutzerdefinierte CSS-Klassen für %1$s"
     477
     478#: includes/config-admin-data.php:78
     479#, php-format
     480msgid ""
     481"With this option you can specify custom CSS classes which will be added to "
     482"the wrapper div of the %1$s shortcode."
     483msgstr ""
     484"Mit dieser Option können spezifische CSS-Klassen definiert werden, die im "
     485"Wrapper div des %1$s Shortcodes ergänzt werden."
     486
     487#: includes/config-admin-data.php:79 shortcode/config-admin-data.php:205
     488#, php-format
     489msgid "Use the %1$s to seperate multiple classes."
     490msgstr "Verwende %1$s um mehrere Klassen voneinander zu trennen."
     491
     492#: includes/config-admin-data.php:84
     493#, php-format
     494msgid "Custom CSS for %1$s"
     495msgstr "Benutzerdefiniertes CSS für %1$s"
     496
     497#: includes/config-admin-data.php:86
     498#, php-format
     499msgid ""
     500"With this option you can specify custom CSS for the links displayed by the "
    482501"%1$s shortcode."
    483502msgstr ""
     
    485504"angezeigten Links definiert werden."
    486505
    487 #: includes/options-helptexts.php:49
     506#: includes/config-admin-data.php:87
    488507#, php-format
    489508msgid ""
     
    494513"Shortcode hinzugefügt werden"
    495514
    496 #: includes/options-helptexts.php:49 includes/options-helptexts.php:52
     515#: includes/config-admin-data.php:87 includes/config-admin-data.php:90
    497516msgid "e.g."
    498517msgstr "z.B."
    499518
    500 #: includes/options-helptexts.php:50
     519#: includes/config-admin-data.php:88
    501520msgid ""
    502521"All available classes can be found in the sourcecode of a post or page where"
     
    506525"Seite ersichtlich, in dem der Shortcode oder das Widget eingebunden ist."
    507526
    508 #: includes/options-helptexts.php:51
     527#: includes/config-admin-data.php:89
    509528#, php-format
    510529msgid ""
     
    516535"werden."
    517536
    518 #: includes/shortcode-atts-helptexts.php:16
     537#: shortcode/config-admin-data.php:66
    519538msgid "This attribute specifies how the links are displayed."
    520539msgstr "Dieses Attribute definiert, wie die Links angezeigt werden."
    521540
    522 #: includes/shortcode-atts-helptexts.php:17
     541#: shortcode/config-admin-data.php:67
    523542msgid ""
    524543"Showing the links in a list is the default, alternatively the links can be "
     
    528547"die Links als Slider angezeigt werden."
    529548
    530 #: includes/shortcode-atts-helptexts.php:22
     549#: shortcode/config-admin-data.php:72
    531550msgid "category slugs"
    532551msgstr "Kategorie Titelform"
    533552
    534 #: includes/shortcode-atts-helptexts.php:23
     553#: shortcode/config-admin-data.php:74
    535554msgid ""
    536555"This attribute specifies the displayed link categories. Default is an empty "
     
    540559"ein leerer Text um alle Kategorien anzuzeigen."
    541560
    542 #: includes/shortcode-atts-helptexts.php:24
     561#: shortcode/config-admin-data.php:75
    543562msgid ""
    544563"Links with categories that doesn´t match the filter will not be displayed."
     
    547566"angezeigt."
    548567
    549 #: includes/shortcode-atts-helptexts.php:25
     568#: shortcode/config-admin-data.php:76
    550569msgid ""
    551570"The filter is specified via the given category slug. The simplest version is"
     
    555574"ist ein einzelner Slug, um nur die Links dieser einen Kategorie anzuzeigen."
    556575
    557 #: includes/shortcode-atts-helptexts.php:26
     576#: shortcode/config-admin-data.php:77
    558577#, php-format
    559578msgid ""
     
    564583"%1$s oder %2$s getrennt sind, angegeben werden."
    565584
    566 #: includes/shortcode-atts-helptexts.php:28
     585#: shortcode/config-admin-data.php:79
    567586#, php-format
    568587msgid "Show all links with category %1$s."
    569588msgstr "Zeige alle Links der Kategorie %1$s."
    570589
    571 #: includes/shortcode-atts-helptexts.php:29
     590#: shortcode/config-admin-data.php:80
    572591#, php-format
    573592msgid "Show all links with category %1$s or %2$s."
    574593msgstr "Zeige alle Links mit Kategorie %1$s oder %2$s."
    575594
    576 #: includes/shortcode-atts-helptexts.php:35
     595#: shortcode/config-admin-data.php:87
    577596msgid "This attribute specifies which categories should be excluded."
    578597msgstr ""
    579598"Dieses Attribut definiert welche Kategorien ausgeschlossen werden sollen."
    580599
    581 #: includes/shortcode-atts-helptexts.php:36
     600#: shortcode/config-admin-data.php:88
    582601#, php-format
    583602msgid "This attribute is only considered if the attribute %1$s is not set."
     
    586605"gesetzt ist."
    587606
    588 #: includes/shortcode-atts-helptexts.php:37
     607#: shortcode/config-admin-data.php:89
    589608msgid ""
    590609"If the category name has spaces, the name must be surrounded by quotes."
     
    593612"Anführungszeichen gesetzt werden."
    594613
    595 #: includes/shortcode-atts-helptexts.php:38
     614#: shortcode/config-admin-data.php:90
    596615#, php-format
    597616msgid ""
     
    602621"durch %1$s getrennt sind, angegeben werden."
    603622
    604 #: includes/shortcode-atts-helptexts.php:39
     623#: shortcode/config-admin-data.php:91
    605624msgid "Example"
    606625msgstr "Beispiel"
    607626
    608 #: includes/shortcode-atts-helptexts.php:45
    609 msgid "This attribute specifies if the category name is shown as a headline."
     627#: shortcode/config-admin-data.php:97
     628msgid "By default the links are grouped by category."
     629msgstr "Standardmäßig werden die Links nach Kategorie gruppiert."
     630
     631#: shortcode/config-admin-data.php:98
     632msgid "To show all links in one list this option can be disabled."
     633msgstr ""
     634"Um alle Links in einer Liste anzuzeigen kann diese Einstellung deaktiviert "
     635"werden."
     636
     637#: shortcode/config-admin-data.php:103
     638msgid ""
     639"This attribute specifies if the category name is shown as a headline if "
     640"category grouping is enabled."
    610641msgstr ""
    611642"Dieses Attribut definiert ob der Kategorie-Name als Überschrift angezeigt "
    612 "wird."
    613 
    614 #: includes/shortcode-atts-helptexts.php:51
    615 msgid ""
    616 "This attribute specifies if the number of links shall be displayed in "
    617 "brackets next to the category name in the headline."
    618 msgstr ""
    619 "Dieses Attribute definiert ob die Anzahl der Links in Klammern neben dem "
    620 "Kategorie-Namen in der Überschrift angezeigt werden sollen."
    621 
    622 #: includes/shortcode-atts-helptexts.php:52
    623 #, php-format
    624 msgid ""
    625 "The headline with the category name must be displayed (%1$s) to show the "
    626 "number of links."
    627 msgstr ""
    628 "Die Überschrift mit dem Kategorie-Namen muss angezeigt werden (%1$s), um die"
    629 " Anzahl der Links anzeigen zu können."
    630 
    631 #: includes/shortcode-atts-helptexts.php:57
     643"wird, wenn die Kategorie-Gruppierung aktiviert ist."
     644
     645#: shortcode/config-admin-data.php:109
     646msgid ""
     647"If enabled the number of links is displayed in brackets next to the category"
     648" name in the headline."
     649msgstr ""
     650"Wenn aktiviert, wird die Anzahl der Links in Klammern neben dem Kategorie-"
     651"Namen in der Überschrift angezeigt."
     652
     653#: shortcode/config-admin-data.php:110
     654#, php-format
     655msgid ""
     656"The shortcode options %1$s and %2$s must be enabled to display the number."
     657msgstr ""
     658"Die Shortcode-Einstellungen %1$s und %2$s müssen für die Anzeige der Anzahl "
     659"aktiviert sein."
     660
     661#: shortcode/config-admin-data.php:116
    632662msgid ""
    633663"This attribute specifies the sort parameter of the links for each category."
     
    636666"Kategorie."
    637667
    638 #: includes/shortcode-atts-helptexts.php:58
     668#: shortcode/config-admin-data.php:117
    639669msgid "By default the links are sorted according the link name."
    640670msgstr "Standardmäßig werden die Links an dem Link-Name sortiert."
    641671
    642 #: includes/shortcode-atts-helptexts.php:59
     672#: shortcode/config-admin-data.php:118
    643673#, php-format
    644674msgid "A random order can be specify by %1$s."
    645675msgstr "Eine zufällige Anordnung kann durch %1$s erreicht werden."
    646676
    647 #: includes/shortcode-atts-helptexts.php:61
     677#: shortcode/config-admin-data.php:120
    648678#, php-format
    649679msgid ""
     
    654684"WordPress Codex %2$s zu finden."
    655685
    656 #: includes/shortcode-atts-helptexts.php:65
     686#: shortcode/config-admin-data.php:124
    657687#, php-format
    658688msgid "See also the attribute %1$s to specify the order direction."
    659689msgstr "Siehe auch das Attribut %1$s, um die Sortierrichtung zu definieren."
    660690
    661 #: includes/shortcode-atts-helptexts.php:70
     691#: shortcode/config-admin-data.php:130
    662692#, php-format
    663693msgid "This attribute sets the order direction for the %1$s attribute."
    664694msgstr "Dieses Attribut definiert die Sortierrichtung des Attributs %1$s."
    665695
    666 #: includes/shortcode-atts-helptexts.php:71
     696#: shortcode/config-admin-data.php:131
    667697#, php-format
    668698msgid "The available options are %1$s (default) and %2$s."
    669699msgstr "Die verfügbaren Optionen sind %1$s (Standard) und %2$s."
    670700
    671 #: includes/shortcode-atts-helptexts.php:77
     701#: shortcode/config-admin-data.php:138
    672702msgid "This attribute sets the number of displayed links for each category."
    673703msgstr ""
    674704"Dieses Attribute definiert die Anzahl der angezeigten Links pro Kategorie."
    675705
    676 #: includes/shortcode-atts-helptexts.php:78
     706#: shortcode/config-admin-data.php:139
    677707msgid "A number smaller than 0 displays all links."
    678708msgstr "Eine Nummer kleiner als 0 zeigt alle Links."
    679709
    680 #: includes/shortcode-atts-helptexts.php:84
     710#: shortcode/config-admin-data.php:145
    681711msgid ""
    682712"This attribute specifies if the image shall be displayed instead of the "
     
    685715"Dieses Attribut definiert, ob das Bild anstelle des Namens angezeigt wird."
    686716
    687 #: includes/shortcode-atts-helptexts.php:85
     717#: shortcode/config-admin-data.php:146
    688718msgid "This attribute is only considered for links where an image is set."
    689719msgstr ""
     
    691721"haben."
    692722
    693 #: includes/shortcode-atts-helptexts.php:91
     723#: shortcode/config-admin-data.php:153
    694724msgid "With this attribute more complex display options can be defined."
    695725msgstr ""
     
    697727"werden."
    698728
    699 #: includes/shortcode-atts-helptexts.php:92
     729#: shortcode/config-admin-data.php:154
    700730#, php-format
    701731msgid ""
     
    706736"Attribut %1$s) angezeigt."
    707737
    708 #: includes/shortcode-atts-helptexts.php:93
     738#: shortcode/config-admin-data.php:155
    709739msgid ""
    710740"By specifying the below described JSON structure complex display options can"
     
    714744"Optionen definiert werden."
    715745
    716 #: includes/shortcode-atts-helptexts.php:94
     746#: shortcode/config-admin-data.php:156
    717747msgid ""
    718748"Please use single quotes for defining this attribute because the double "
     
    723753"erforderlich sind."
    724754
    725 #: includes/shortcode-atts-helptexts.php:96
     755#: shortcode/config-admin-data.php:158
    726756#, php-format
    727757msgid ""
     
    731761"Dieses Attribute kann auch als Shortcode-Inhalt definiert werden, z.B. %1$s."
    732762
    733 #: includes/shortcode-atts-helptexts.php:97
     763#: shortcode/config-admin-data.php:159
    734764msgid "JSON data"
    735765msgstr "JSON-Daten"
    736766
    737 #: includes/shortcode-atts-helptexts.php:99
     767#: shortcode/config-admin-data.php:161
    738768msgid "Examples with all possible options"
    739769msgstr "Beispiele mit allen möglichen Optionen"
    740770
    741 #: includes/shortcode-atts-helptexts.php:101
     771#: shortcode/config-admin-data.php:163
    742772#, php-format
    743773msgid ""
     
    748778"Variante."
    749779
    750 #: includes/shortcode-atts-helptexts.php:102
     780#: shortcode/config-admin-data.php:164
    751781#, php-format
    752782msgid ""
     
    757787"\"%1$s\"), der Wert definiert eine optionale Überschrift für den Eintrag."
    758788
    759 #: includes/shortcode-atts-helptexts.php:103
     789#: shortcode/config-admin-data.php:165
    760790#, php-format
    761791msgid "If no heading is required leave the value empty (%1$s)."
     
    764794"(%1$s)."
    765795
    766 #: includes/shortcode-atts-helptexts.php:104
     796#: shortcode/config-admin-data.php:166
    767797#, php-format
    768798msgid ""
     
    774804"Anführungszeichen eingefasst werden."
    775805
    776 #: includes/shortcode-atts-helptexts.php:105
     806#: shortcode/config-admin-data.php:167
    777807#, php-format
    778808msgid ""
     
    783813"durch ein Komma (%2$s) getrennt."
    784814
    785 #: includes/shortcode-atts-helptexts.php:107
     815#: shortcode/config-admin-data.php:169
    786816#, php-format
    787817msgid ""
     
    791821"ergänzen."
    792822
    793 #: includes/shortcode-atts-helptexts.php:110
     823#: shortcode/config-admin-data.php:172
    794824#, php-format
    795825msgid ""
     
    802832"Klasse ergänzt wird (z.B. %1$s)."
    803833
    804 #: includes/shortcode-atts-helptexts.php:117
     834#: shortcode/config-admin-data.php:180
    805835msgid ""
    806836"With this attribute the display option for link images can be set, if no "
     
    810840"werden, die kein Bild enthalten."
    811841
    812 #: includes/shortcode-atts-helptexts.php:118
     842#: shortcode/config-admin-data.php:181
    813843#, php-format
    814844msgid "This option is only considered if the %1$s item is used in %2$s."
     
    817847"verwendet wird."
    818848
    819 #: includes/shortcode-atts-helptexts.php:119
     849#: shortcode/config-admin-data.php:182
    820850#, php-format
    821851msgid "With %1$s an %2$s tag is still added."
    822852msgstr "Mit %1$s wir trotzdem ein %2$s Tag eingefügt."
    823853
    824 #: includes/shortcode-atts-helptexts.php:120
     854#: shortcode/config-admin-data.php:183
    825855#, php-format
    826856msgid ""
     
    831861"angezeigt."
    832862
    833 #: includes/shortcode-atts-helptexts.php:121
     863#: shortcode/config-admin-data.php:184
    834864#, php-format
    835865msgid "With %1$s the complete link item will be removed."
    836866msgstr "Mit %1$s wird der gesamte Link-Eintrag entfernt."
    837867
    838 #: includes/shortcode-atts-helptexts.php:122
     868#: shortcode/config-admin-data.php:185
    839869#, php-format
    840870msgid ""
     
    845875" Text (Name oder Beschreibung des Links) angezeigt."
    846876
    847 #: includes/shortcode-atts-helptexts.php:127
     877#: shortcode/config-admin-data.php:190
    848878msgid ""
    849879"Set one of the available options to override the default value defined for "
     
    853883"überschreiben."
    854884
    855 #: includes/shortcode-atts-helptexts.php:132
     885#: shortcode/config-admin-data.php:196
    856886#, php-format
    857887msgid "With this attribute the %1$s attribute for the HTML-links can be set."
     
    860890"werden."
    861891
    862 #: includes/shortcode-atts-helptexts.php:133
     892#: shortcode/config-admin-data.php:197
    863893#, php-format
    864894msgid "see %1$sthis link%2$s for details"
    865895msgstr "siehe %1$sdiesen Link%2$s für Details"
    866896
    867 #: includes/shortcode-atts-helptexts.php:138
     897#: shortcode/config-admin-data.php:202 shortcode/config-admin-data.php:210
    868898msgid "String"
    869899msgstr "String"
    870900
    871 #: includes/shortcode-atts-helptexts.php:139
     901#: shortcode/config-admin-data.php:204
     902msgid ""
     903"With this attribute additional CSS classes can be specified. The classes are"
     904" added to the link-view wrapper div."
     905msgstr ""
     906"Mit diesem Attribut können zusätzliche CSS-Klassen definiert werden. Diese "
     907"Klassen werden zum link-view Wrapper-div hinzugefügt."
     908
     909#: shortcode/config-admin-data.php:211
    872910msgid ""
    873911"With this attribute a css class suffix can be specified. This allows using "
     
    878916"Link-Listen oder Slider auf der selben Seite."
    879917
    880 #: includes/shortcode-atts-helptexts.php:144
     918#: shortcode/config-admin-data.php:217
    881919msgid ""
    882920"This attribute specifies the vertical alignment of the links. Changing this "
     
    887925"werden."
    888926
    889 #: includes/shortcode-atts-helptexts.php:145
     927#: shortcode/config-admin-data.php:218
    890928msgid ""
    891929"With this option e.g. the vertical alignment of the list symbol relativ to "
     
    897935"Bildern mit unterschiedlicher Höhe in einem Slider geändert werden."
    898936
    899 #: includes/shortcode-atts-helptexts.php:150
     937#: shortcode/config-admin-data.php:224
    900938msgid "This attribute sets the style type of the list symbol."
    901939msgstr "Dieses Attribut definiert den CSS-Typ für das Auflistungs-Symbol."
    902940
    903 #: includes/shortcode-atts-helptexts.php:151
     941#: shortcode/config-admin-data.php:225
    904942#, php-format
    905943msgid ""
     
    910948"verwendet."
    911949
    912 #: includes/shortcode-atts-helptexts.php:152
     950#: shortcode/config-admin-data.php:226
    913951msgid "All other available options overide this standard."
    914952msgstr "Alle anderen verfügbaren Optionen überschreiben diesen Standard."
    915953
    916 #: includes/shortcode-atts-helptexts.php:153
     954#: shortcode/config-admin-data.php:227
    917955#, php-format
    918956msgid "For example setting the value to %1$s will hide the list symbols."
     
    921959"ausgeblendet."
    922960
    923 #: includes/shortcode-atts-helptexts.php:159
     961#: shortcode/config-admin-data.php:234
    924962msgid ""
    925963"This attribute specifies column layout for the categories in list view."
     
    928966"Listenansicht."
    929967
    930 #: includes/shortcode-atts-helptexts.php:160
    931 #: includes/shortcode-atts-helptexts.php:171
     968#: shortcode/config-admin-data.php:235 shortcode/config-admin-data.php:247
    932969msgid "There are 3 different types of multiple column layouts available."
    933970msgstr "Es stehen 3 verschiedene Spalten-Layouts zur Verfügung."
    934971
    935 #: includes/shortcode-atts-helptexts.php:162
    936 #: includes/shortcode-atts-helptexts.php:173
     972#: shortcode/config-admin-data.php:237 shortcode/config-admin-data.php:249
    937973#, php-format
    938974msgid ""
     
    942978"zu finden."
    943979
    944 #: includes/shortcode-atts-helptexts.php:170
     980#: shortcode/config-admin-data.php:246
    945981msgid "This attribute specifies column layout for the links in list view."
    946982msgstr ""
     
    948984"Listenansicht."
    949985
    950 #: includes/shortcode-atts-helptexts.php:181
     986#: shortcode/config-admin-data.php:258
    951987msgid "This attribute sets the fix width of the slider."
    952988msgstr "Dieses Attribut definiert die fixe Breite des Sliders."
    953989
    954 #: includes/shortcode-atts-helptexts.php:182
     990#: shortcode/config-admin-data.php:259
    955991#, php-format
    956992msgid ""
     
    961997"über die gegebene Bildergröße gesetzt."
    962998
    963 #: includes/shortcode-atts-helptexts.php:183
    964 #: includes/shortcode-atts-helptexts.php:191
    965 #: includes/shortcode-atts-helptexts.php:199
    966 #: includes/shortcode-atts-helptexts.php:206
     999#: shortcode/config-admin-data.php:260 shortcode/config-admin-data.php:269
     1000#: shortcode/config-admin-data.php:278 shortcode/config-admin-data.php:286
    9671001#, php-format
    9681002msgid "This attribute is only considered if the view type %1$s is selected."
     
    9711005" ist."
    9721006
    973 #: includes/shortcode-atts-helptexts.php:189
     1007#: shortcode/config-admin-data.php:267
    9741008msgid "This attribute sets the fix height of the slider."
    9751009msgstr "Dieses Attribut definiert die fixe Höhe des Sliders."
    9761010
    977 #: includes/shortcode-atts-helptexts.php:190
     1011#: shortcode/config-admin-data.php:268
    9781012#, php-format
    9791013msgid ""
     
    9841018" die gegebene Bildergröße gesetzt."
    9851019
    986 #: includes/shortcode-atts-helptexts.php:197
     1020#: shortcode/config-admin-data.php:276
    9871021msgid ""
    9881022"This attribute sets the duration between the the slides in milliseconds."
     
    9901024"Dieses Attribut definiert die Dauer zwischen den Slides in Millisekunden."
    9911025
    992 #: includes/shortcode-atts-helptexts.php:198
     1026#: shortcode/config-admin-data.php:277
    9931027msgid ""
    9941028"The link stands still for this time and afterwards the sliding animation to "
     
    9981032"zum nächsten Link gestartet."
    9991033
    1000 #: includes/shortcode-atts-helptexts.php:205
     1034#: shortcode/config-admin-data.php:285
    10011035msgid ""
    10021036"This attribute sets the duration of the animation for switching from one "
     
    10061040"Link zum nächsten in Millisekunden."
    10071041
    1008 #: includes/widget-helptexts.php:16
     1042#: widget/config-admin-data.php:44
    10091043msgid "Title"
    10101044msgstr "Titel"
    10111045
    1012 #: includes/widget-helptexts.php:17
     1046#: widget/config-admin-data.php:45
    10131047msgid "This option defines the displayed title for the widget."
    10141048msgstr "Diese Option legt den anzuzeugenden Titel für das Widget fest."
    10151049
    1016 #: includes/widget-helptexts.php:22
     1050#: widget/config-admin-data.php:50
    10171051msgid "Shortcode attributes"
    10181052msgstr "Shortcode Attribute"
    10191053
    1020 #: includes/widget-helptexts.php:23
     1054#: widget/config-admin-data.php:51
    10211055#, php-format
    10221056msgid "All attributes which are available for the %1$s shortcode can be used."
     
    10251059"werden."
    10261060
    1027 #: includes/widget.php:37
     1061#: widget/config.php:42
     1062msgid "Links"
     1063msgstr "Links"
     1064
     1065#: widget/widget.php:41
    10281066#, php-format
    10291067msgid ""
     
    10321070"Mit diesem Widget kann ein %1$s Shortcode zu einem Sidebar- oder Widget-"
    10331071"Bereich hinzugefügt werden."
    1034 
    1035 #: includes/widget.php:42
    1036 msgid "Links"
    1037 msgstr "Links"
  • link-view/trunk/languages/link-view.pot

    r2286812 r2428225  
    77msgstr ""
    88"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/link-view/\n"
    9 "POT-Creation-Date: 2020-04-19 16:29+0200\n"
     9"POT-Creation-Date: 2020-11-29 20:23+0100\n"
    1010"Language: en\n"
    1111"MIME-Version: 1.0\n"
     
    1313"Content-Transfer-Encoding: 8bit\n"
    1414
    15 #: admin/admin.php:77 admin/admin.php:78 admin/includes/admin-about.php:76
     15#: admin/about.php:64 admin/admin.php:65 admin/admin.php:66
    1616#, php-format
    1717msgid "About %1$s"
    1818msgstr ""
    1919
    20 #: admin/admin.php:86 admin/includes/admin-about.php:156
    21 #: admin/includes/admin-settings.php:75
     20#: admin/about.php:87 admin/about.php:207
     21msgid "General"
     22msgstr ""
     23
     24#: admin/about.php:88 admin/about.php:203
     25msgid "Shortcode Attributes"
     26msgstr ""
     27
     28#: admin/about.php:107
     29msgid "Help and Instructions"
     30msgstr ""
     31
     32#: admin/about.php:108
     33msgid "Show links in posts or pages"
     34msgstr ""
     35
     36#: admin/about.php:110
     37#, php-format
     38msgid "To show links in a post or page the shortcode %1$s must be added in the post or page content text."
     39msgstr ""
     40
     41#: admin/about.php:111
     42msgid "The listed links and their styles can be modified with the available attributes for the shortcode."
     43msgstr ""
     44
     45#: admin/about.php:112
     46msgid "You can combine as much attributes as you want."
     47msgstr ""
     48
     49#: admin/about.php:113
     50#, php-format
     51msgid "E.g. the shortcode including the attributes %1$s and %2$s would look like this"
     52msgstr ""
     53
     54#: admin/about.php:115
     55msgid "Below you can find tables with all supported attributes, their descriptions and available options."
     56msgstr ""
     57
     58#: admin/about.php:117
     59msgid "Show links in sidebars and widget areas"
     60msgstr ""
     61
     62#: admin/about.php:119
     63#, php-format
     64msgid "With the %1$s Widget you can add links in sidebars and widget areas."
     65msgstr ""
     66
     67#: admin/about.php:122
     68#, php-format
     69msgid "Goto %1$s and drag the %2$s-Widget into one of the sidebar or widget areas."
     70msgstr ""
     71
     72#: admin/about.php:131
     73#, php-format
     74msgid "Enter a title for the widget and add the required shortcode attributes in the appropriate field. All available shortcode attributes for the %1$s-shortcode can be used in the widget too."
     75msgstr ""
     76
     77#: admin/about.php:134
     78#, php-format
     79msgid "Press %1$s to confirm the changes."
     80msgstr ""
     81
     82#: admin/about.php:141 admin/admin.php:74 admin/settings.php:62
    2283#, php-format
    2384msgid "%1$s Settings"
    2485msgstr ""
    2586
    26 #: admin/includes/admin-about.php:99 admin/includes/admin-about.php:223
    27 msgid "General"
    28 msgstr ""
    29 
    30 #: admin/includes/admin-about.php:100 admin/includes/admin-about.php:219
    31 msgid "Shortcode Attributes"
    32 msgstr ""
    33 
    34 #: admin/includes/admin-about.php:119
    35 msgid "Help and Instructions"
    36 msgstr ""
    37 
    38 #: admin/includes/admin-about.php:120
    39 msgid "Show links in posts or pages"
    40 msgstr ""
    41 
    42 #: admin/includes/admin-about.php:122
    43 #, php-format
    44 msgid "To show links in a post or page the shortcode %1$s must be added in the post or page content text."
    45 msgstr ""
    46 
    47 #: admin/includes/admin-about.php:123
    48 msgid "The listed links and their styles can be modified with the available attributes for the shortcode."
    49 msgstr ""
    50 
    51 #: admin/includes/admin-about.php:124
    52 msgid "You can combine as much attributes as you want."
    53 msgstr ""
    54 
    55 #: admin/includes/admin-about.php:125
    56 #, php-format
    57 msgid "E.g. the shortcode including the attributes %1$s and %2$s would look like this"
    58 msgstr ""
    59 
    60 #: admin/includes/admin-about.php:127
    61 msgid "Below you can find tables with all supported attributes, their descriptions and available options."
    62 msgstr ""
    63 
    64 #: admin/includes/admin-about.php:129
    65 msgid "Show links in sidebars and widget areas"
    66 msgstr ""
    67 
    68 #: admin/includes/admin-about.php:131
    69 #, php-format
    70 msgid "With the %1$s Widget you can add links in sidebars and widget areas."
    71 msgstr ""
    72 
    73 #: admin/includes/admin-about.php:134
    74 #, php-format
    75 msgid "Goto %1$s and drag the %2$s-Widget into one of the sidebar or widget areas."
    76 msgstr ""
    77 
    78 #: admin/includes/admin-about.php:145
    79 #, php-format
    80 msgid "Enter a title for the widget and add the required shortcode attributes in the appropriate field. All available shortcode attributes for the %1$s-shortcode can be used in the widget too."
    81 msgstr ""
    82 
    83 #: admin/includes/admin-about.php:148
    84 #, php-format
    85 msgid "Press %1$s to confirm the changes."
    86 msgstr ""
    87 
    88 #: admin/includes/admin-about.php:160
     87#: admin/about.php:145
    8988#, php-format
    9089msgid "In the %1$s settings page, available under %2$s, you can find some options to modify the plugin."
    9190msgstr ""
    9291
    93 #: admin/includes/admin-about.php:180
     92#: admin/about.php:164
    9493msgid "About the plugin author"
    9594msgstr ""
    9695
    97 #: admin/includes/admin-about.php:182
     96#: admin/about.php:166
    9897#, php-format
    9998msgid "This plugin is developed by %1$s, you can find more information about the plugin on the %2$s."
    10099msgstr ""
    101100
    102 #: admin/includes/admin-about.php:182
     101#: admin/about.php:166
    103102msgid "WordPress plugin site"
    104103msgstr ""
    105104
    106 #: admin/includes/admin-about.php:183
     105#: admin/about.php:167
    107106#, php-format
    108107msgid "If you like the plugin please rate it on the %1$s."
    109108msgstr ""
    110109
    111 #: admin/includes/admin-about.php:183
     110#: admin/about.php:167
    112111msgid "WordPress plugin review site"
    113112msgstr ""
    114113
    115 #: admin/includes/admin-about.php:184
     114#: admin/about.php:168
    116115msgid "If you want to support the plugin I would be happy to get a small donation"
    117116msgstr ""
    118117
    119 #: admin/includes/admin-about.php:185 admin/includes/admin-about.php:186
    120 #: admin/includes/admin-about.php:187
     118#: admin/about.php:169 admin/about.php:170 admin/about.php:171
    121119#, php-format
    122120msgid "Donate with %1$s"
    123121msgstr ""
    124122
    125 #: admin/includes/admin-about.php:201
     123#: admin/about.php:185
    126124msgid "Translations"
    127125msgstr ""
    128126
    129 #: admin/includes/admin-about.php:203
     127#: admin/about.php:187
    130128msgid "Please help translating this plugin into your language."
    131129msgstr ""
    132130
    133 #: admin/includes/admin-about.php:204
     131#: admin/about.php:188
    134132#, php-format
    135133msgid "You can submit your translations at %1$s."
    136134msgstr ""
    137135
    138 #: admin/includes/admin-about.php:205
     136#: admin/about.php:189
    139137msgid "There the source strings will be kept in sync with the actual development version. And in each plugin release the available translation files will be updated."
    140138msgstr ""
    141139
    142 #: admin/includes/admin-about.php:221
     140#: admin/about.php:205
    143141#, php-format
    144142msgid "In the following tables you can find all available shortcode attributes for %1$s"
    145143msgstr ""
    146144
    147 #: admin/includes/admin-about.php:225
     145#: admin/about.php:209
    148146msgid "Link List"
    149147msgstr ""
    150148
    151 #: admin/includes/admin-about.php:227
     149#: admin/about.php:211
    152150msgid "Link Slider"
    153151msgstr ""
    154152
    155 #: admin/includes/admin-about.php:231 includes/shortcode-atts-helptexts.php:163
    156 #: includes/shortcode-atts-helptexts.php:174
     153#: admin/about.php:215 shortcode/config-admin-data.php:238
     154#: shortcode/config-admin-data.php:250
    157155msgid "Multi-column layout types and options"
    158156msgstr ""
    159157
    160 #: admin/includes/admin-about.php:232
     158#: admin/about.php:216
    161159msgid "There are 3 different types of multiple column layouts for category or link-lists available. Each type has some advantages but also some disadvantages compared to the others."
    162160msgstr ""
    163161
    164 #: admin/includes/admin-about.php:233
     162#: admin/about.php:217
    165163msgid "Additionally the available layouts can be modified with their options"
    166164msgstr ""
    167165
    168 #: admin/includes/admin-about.php:235
     166#: admin/about.php:219
    169167msgid "layout type"
    170168msgstr ""
    171169
    172 #: admin/includes/admin-about.php:235
     170#: admin/about.php:219
    173171msgid "type description"
    174172msgstr ""
    175173
    176 #: admin/includes/admin-about.php:236 includes/shortcode-atts-helptexts.php:76
     174#: admin/about.php:220 shortcode/config-admin-data.php:136
    177175msgid "Number"
    178176msgstr ""
    179177
    180 #: admin/includes/admin-about.php:236
     178#: admin/about.php:220
    181179msgid "Use a single number to specify a static number of columns."
    182180msgstr ""
    183181
    184 #: admin/includes/admin-about.php:237
     182#: admin/about.php:221
    185183msgid "This is a short form of the static layout type (see below)."
    186184msgstr ""
    187185
    188 #: admin/includes/admin-about.php:238
     186#: admin/about.php:222
    189187msgid "Set a static number of columns. The categories or links will be arranged in rows."
    190188msgstr ""
    191189
    192 #: admin/includes/admin-about.php:239 admin/includes/admin-about.php:242
    193 #: admin/includes/admin-about.php:246
     190#: admin/about.php:223 admin/about.php:226 admin/about.php:230
    194191msgid "available options"
    195192msgstr ""
    196193
    197 #: admin/includes/admin-about.php:240
     194#: admin/about.php:224
    198195msgid "Provide a single number which specifys the number of columns. If no value is given 3 columns will be displayed by default."
    199196msgstr ""
    200197
    201 #: admin/includes/admin-about.php:241 admin/includes/admin-about.php:245
     198#: admin/about.php:225 admin/about.php:229
    202199#, php-format
    203200msgid "This type uses the %1$s to arrange the columns."
    204201msgstr ""
    205202
    206 #: admin/includes/admin-about.php:241
     203#: admin/about.php:225
    207204msgid "multi-column feature of CSS"
    208205msgstr ""
    209206
    210 #: admin/includes/admin-about.php:243
     207#: admin/about.php:227
    211208#, php-format
    212209msgid "You can use all available properties for CSS3 Multi-column Layout (see %1$s for detailed information)."
    213210msgstr ""
    214211
    215 #: admin/includes/admin-about.php:243 admin/includes/admin-about.php:247
     212#: admin/about.php:227 admin/about.php:231
    216213msgid "this link"
    217214msgstr ""
    218215
    219 #: admin/includes/admin-about.php:244
     216#: admin/about.php:228
    220217msgid "The given attributes will be added to the wrapper div element. Also the prefixed browser specific attributes will be added."
    221218msgstr ""
    222219
    223 #: admin/includes/admin-about.php:245
     220#: admin/about.php:229
    224221#, php-format
    225222msgid "%1$s grid layout javascript library"
    226223msgstr ""
    227224
    228 #: admin/includes/admin-about.php:247
    229 #, php-format
    230 msgid "You can use all Options which are available for the Masonry library (see %1$s for detailed information)."
    231 msgstr ""
    232 
    233 #: admin/includes/admin-about.php:248
     225#: admin/about.php:231
     226#, php-format
     227msgid "You can use all options which are available for the Masonry library (see %1$s for detailed information)."
     228msgstr ""
     229
     230#: admin/about.php:232
    234231msgid "The given options will be forwarded to the javascript library."
    235232msgstr ""
    236233
    237 #: admin/includes/admin-about.php:251
     234#: admin/about.php:235
    238235msgid "Usage"
    239236msgstr ""
    240237
    241 #: admin/includes/admin-about.php:252
     238#: admin/about.php:236
    242239msgid "For the most types and options it is recommended to define a fixed width for the categories and/or links. This width must be set manually e.g. via the css entry:"
    243240msgstr ""
    244241
    245 #: admin/includes/admin-about.php:253
     242#: admin/about.php:237
    246243msgid "Depending on the type and options there are probably more css modifications required for a correct multi-column layout."
    247244msgstr ""
    248245
    249 #: admin/includes/admin-about.php:256
     246#: admin/about.php:240
    250247#, php-format
    251248msgid "There are several ways to add the required css code. One method is the %1$s setting %2$s which can be found in %3$s."
    252249msgstr ""
    253250
    254 #: admin/includes/admin-about.php:259 includes/options-helptexts.php:47
     251#: admin/about.php:243
    255252#, php-format
    256253msgid "CSS-code for %1$s"
    257254msgstr ""
    258255
    259 #: admin/includes/admin-about.php:265
     256#: admin/about.php:249
    260257#, php-format
    261258msgid "The optional type options must be added in brackets in the format \"option_name=value\", multiple options can be added seperated by a pipe %1$s."
    262259msgstr ""
    263260
    264 #: admin/includes/admin-about.php:266 includes/options-helptexts.php:53
    265 #: includes/shortcode-atts-helptexts.php:27
     261#: admin/about.php:250 includes/config-admin-data.php:91
     262#: shortcode/config-admin-data.php:78
    266263msgid "Examples"
    267264msgstr ""
    268265
    269 #: admin/includes/admin-about.php:267
     266#: admin/about.php:251
    270267msgid "show the categories in 3 static columns"
    271268msgstr ""
    272269
    273 #: admin/includes/admin-about.php:268
     270#: admin/about.php:252
    274271msgid "show the link-lists in 2 static columns"
    275272msgstr ""
    276273
    277 #: admin/includes/admin-about.php:269
     274#: admin/about.php:253
    278275msgid "show the categories in columns with the css column properties with a fixed width per category"
    279276msgstr ""
    280277
    281 #: admin/includes/admin-about.php:270
     278#: admin/about.php:254
    282279msgid "show the link-lists in 4 columns by using the CSS multi column properties"
    283280msgstr ""
    284281
    285 #: admin/includes/admin-about.php:271
     282#: admin/about.php:255
    286283msgid "show the categories in columns by using the masonry script (with some specific masonry options)"
    287284msgstr ""
    288285
    289 #: admin/includes/admin-about.php:289
     286#: admin/about.php:273
    290287msgid "Attribute name"
    291288msgstr ""
    292289
    293 #: admin/includes/admin-about.php:290 includes/shortcode-atts-helptexts.php:102
     290#: admin/about.php:274 shortcode/config-admin-data.php:164
    294291msgid "Value options"
    295292msgstr ""
    296293
    297 #: admin/includes/admin-about.php:291
     294#: admin/about.php:275
    298295msgid "Default value"
    299296msgstr ""
    300297
    301 #: admin/includes/admin-about.php:292
     298#: admin/about.php:276
    302299msgid "Description"
    303300msgstr ""
    304301
    305 #: includes/options-helptexts.php:16
     302#: includes/config-admin-data.php:46
    306303#, php-format
    307304msgid "Required capabilities to show the %1$s page"
    308305msgstr ""
    309306
    310 #: includes/options-helptexts.php:16 includes/options-helptexts.php:22
    311 #: includes/options-helptexts.php:42
     307#: includes/config-admin-data.php:46 includes/config-admin-data.php:53
     308#: includes/config-admin-data.php:71
    312309msgid "About"
    313310msgstr ""
    314311
    315 #: includes/options-helptexts.php:18 includes/options-helptexts.php:32
     312#: includes/config-admin-data.php:48 includes/config-admin-data.php:62
    316313msgid "Default"
    317314msgstr ""
    318315
    319 #: includes/options-helptexts.php:22
     316#: includes/config-admin-data.php:53
    320317#, php-format
    321318msgid "With this option you can specify the required capabilities to show the %1$s page."
    322319msgstr ""
    323320
    324 #: includes/options-helptexts.php:23 includes/options-helptexts.php:41
     321#: includes/config-admin-data.php:54 includes/config-admin-data.php:70
    325322#, php-format
    326323msgid "More information can be found in the %1$s."
    327324msgstr ""
    328325
    329 #: includes/options-helptexts.php:28
     326#: includes/config-admin-data.php:59
    330327msgid "Required role to manage links"
    331328msgstr ""
    332329
    333 #: includes/options-helptexts.php:40
     330#: includes/config-admin-data.php:69
    334331msgid "With this option minimum required role to manage links can be set"
    335332msgstr ""
    336333
    337 #: includes/options-helptexts.php:40
     334#: includes/config-admin-data.php:69
    338335msgid "Capability"
    339336msgstr ""
    340337
    341 #: includes/options-helptexts.php:42
     338#: includes/config-admin-data.php:71
    342339#, php-format
    343340msgid "Please note that this option also affects the access to the %1$s page if the required capabilities are set to %2$s."
    344341msgstr ""
    345342
    346 #: includes/options-helptexts.php:48
    347 #, php-format
    348 msgid "With this option you can specify CSS-code for the links displayed by the %1$s shortcode."
    349 msgstr ""
    350 
    351 #: includes/options-helptexts.php:49
     343#: includes/config-admin-data.php:76
     344#, php-format
     345msgid "Custom CSS classes for %1$s"
     346msgstr ""
     347
     348#: includes/config-admin-data.php:78
     349#, php-format
     350msgid "With this option you can specify custom CSS classes which will be added to the wrapper div of the %1$s shortcode."
     351msgstr ""
     352
     353#: includes/config-admin-data.php:79 shortcode/config-admin-data.php:205
     354#, php-format
     355msgid "Use the %1$s to seperate multiple classes."
     356msgstr ""
     357
     358#: includes/config-admin-data.php:84
     359#, php-format
     360msgid "Custom CSS for %1$s"
     361msgstr ""
     362
     363#: includes/config-admin-data.php:86
     364#, php-format
     365msgid "With this option you can specify custom CSS for the links displayed by the %1$s shortcode."
     366msgstr ""
     367
     368#: includes/config-admin-data.php:87
    352369#, php-format
    353370msgid "There are a lot of CSS classes available which are automatically added by the %1$s shortcode"
    354371msgstr ""
    355372
    356 #: includes/options-helptexts.php:49 includes/options-helptexts.php:52
     373#: includes/config-admin-data.php:87 includes/config-admin-data.php:90
    357374msgid "e.g."
    358375msgstr ""
    359376
    360 #: includes/options-helptexts.php:50
     377#: includes/config-admin-data.php:88
    361378msgid "All available classes can be found in the sourcecode of a post or page where the shortcode is included."
    362379msgstr ""
    363380
    364 #: includes/options-helptexts.php:51
     381#: includes/config-admin-data.php:89
    365382#, php-format
    366383msgid "To differ between different shortcodes you can set the attribute %1$s and add CSS-code for these special classes"
    367384msgstr ""
    368385
    369 #: includes/shortcode-atts-helptexts.php:16
     386#: shortcode/config-admin-data.php:66
    370387msgid "This attribute specifies how the links are displayed."
    371388msgstr ""
    372389
    373 #: includes/shortcode-atts-helptexts.php:17
     390#: shortcode/config-admin-data.php:67
    374391msgid "Showing the links in a list is the default, alternatively the links can be displayed in a slider."
    375392msgstr ""
    376393
    377 #: includes/shortcode-atts-helptexts.php:22
     394#: shortcode/config-admin-data.php:72
    378395msgid "category slugs"
    379396msgstr ""
    380397
    381 #: includes/shortcode-atts-helptexts.php:23
     398#: shortcode/config-admin-data.php:74
    382399msgid "This attribute specifies the displayed link categories. Default is an empty string to show all categories."
    383400msgstr ""
    384401
    385 #: includes/shortcode-atts-helptexts.php:24
     402#: shortcode/config-admin-data.php:75
    386403msgid "Links with categories that doesn´t match the filter will not be displayed."
    387404msgstr ""
    388405
    389 #: includes/shortcode-atts-helptexts.php:25
     406#: shortcode/config-admin-data.php:76
    390407msgid "The filter is specified via the given category slug. The simplest version is a single slug to only show links from this category."
    391408msgstr ""
    392409
    393 #: includes/shortcode-atts-helptexts.php:26
     410#: shortcode/config-admin-data.php:77
    394411#, php-format
    395412msgid "To show multiple categories, multiple slugs can be provided seperated by %1$s or %2$s."
    396413msgstr ""
    397414
    398 #: includes/shortcode-atts-helptexts.php:28
     415#: shortcode/config-admin-data.php:79
    399416#, php-format
    400417msgid "Show all links with category %1$s."
    401418msgstr ""
    402419
    403 #: includes/shortcode-atts-helptexts.php:29
     420#: shortcode/config-admin-data.php:80
    404421#, php-format
    405422msgid "Show all links with category %1$s or %2$s."
    406423msgstr ""
    407424
    408 #: includes/shortcode-atts-helptexts.php:35
     425#: shortcode/config-admin-data.php:87
    409426msgid "This attribute specifies which categories should be excluded."
    410427msgstr ""
    411428
    412 #: includes/shortcode-atts-helptexts.php:36
     429#: shortcode/config-admin-data.php:88
    413430#, php-format
    414431msgid "This attribute is only considered if the attribute %1$s is not set."
    415432msgstr ""
    416433
    417 #: includes/shortcode-atts-helptexts.php:37
     434#: shortcode/config-admin-data.php:89
    418435msgid "If the category name has spaces, the name must be surrounded by quotes."
    419436msgstr ""
    420437
    421 #: includes/shortcode-atts-helptexts.php:38
     438#: shortcode/config-admin-data.php:90
    422439#, php-format
    423440msgid "To exclude multiple categories, multiple names can be provided seperated by %1$s."
    424441msgstr ""
    425442
    426 #: includes/shortcode-atts-helptexts.php:39
     443#: shortcode/config-admin-data.php:91
    427444msgid "Example"
    428445msgstr ""
    429446
    430 #: includes/shortcode-atts-helptexts.php:45
    431 msgid "This attribute specifies if the category name is shown as a headline."
    432 msgstr ""
    433 
    434 #: includes/shortcode-atts-helptexts.php:51
    435 msgid "This attribute specifies if the number of links shall be displayed in brackets next to the category name in the headline."
    436 msgstr ""
    437 
    438 #: includes/shortcode-atts-helptexts.php:52
    439 #, php-format
    440 msgid "The headline with the category name must be displayed (%1$s) to show the number of links."
    441 msgstr ""
    442 
    443 #: includes/shortcode-atts-helptexts.php:57
     447#: shortcode/config-admin-data.php:97
     448msgid "By default the links are grouped by category."
     449msgstr ""
     450
     451#: shortcode/config-admin-data.php:98
     452msgid "To show all links in one list this option can be disabled."
     453msgstr ""
     454
     455#: shortcode/config-admin-data.php:103
     456msgid "This attribute specifies if the category name is shown as a headline if category grouping is enabled."
     457msgstr ""
     458
     459#: shortcode/config-admin-data.php:109
     460msgid "If enabled the number of links is displayed in brackets next to the category name in the headline."
     461msgstr ""
     462
     463#: shortcode/config-admin-data.php:110
     464#, php-format
     465msgid "The shortcode options %1$s and %2$s must be enabled to display the number."
     466msgstr ""
     467
     468#: shortcode/config-admin-data.php:116
    444469msgid "This attribute specifies the sort parameter of the links for each category."
    445470msgstr ""
    446471
    447 #: includes/shortcode-atts-helptexts.php:58
     472#: shortcode/config-admin-data.php:117
    448473msgid "By default the links are sorted according the link name."
    449474msgstr ""
    450475
    451 #: includes/shortcode-atts-helptexts.php:59
     476#: shortcode/config-admin-data.php:118
    452477#, php-format
    453478msgid "A random order can be specify by %1$s."
    454479msgstr ""
    455480
    456 #: includes/shortcode-atts-helptexts.php:61
     481#: shortcode/config-admin-data.php:120
    457482#, php-format
    458483msgid "A detailed description of all available options is available in the %1$sWordPress codex%2$s."
    459484msgstr ""
    460485
    461 #: includes/shortcode-atts-helptexts.php:65
     486#: shortcode/config-admin-data.php:124
    462487#, php-format
    463488msgid "See also the attribute %1$s to specify the order direction."
    464489msgstr ""
    465490
    466 #: includes/shortcode-atts-helptexts.php:70
     491#: shortcode/config-admin-data.php:130
    467492#, php-format
    468493msgid "This attribute sets the order direction for the %1$s attribute."
    469494msgstr ""
    470495
    471 #: includes/shortcode-atts-helptexts.php:71
     496#: shortcode/config-admin-data.php:131
    472497#, php-format
    473498msgid "The available options are %1$s (default) and %2$s."
    474499msgstr ""
    475500
    476 #: includes/shortcode-atts-helptexts.php:77
     501#: shortcode/config-admin-data.php:138
    477502msgid "This attribute sets the number of displayed links for each category."
    478503msgstr ""
    479504
    480 #: includes/shortcode-atts-helptexts.php:78
     505#: shortcode/config-admin-data.php:139
    481506msgid "A number smaller than 0 displays all links."
    482507msgstr ""
    483508
    484 #: includes/shortcode-atts-helptexts.php:84
     509#: shortcode/config-admin-data.php:145
    485510msgid "This attribute specifies if the image shall be displayed instead of the name."
    486511msgstr ""
    487512
    488 #: includes/shortcode-atts-helptexts.php:85
     513#: shortcode/config-admin-data.php:146
    489514msgid "This attribute is only considered for links where an image is set."
    490515msgstr ""
    491516
    492 #: includes/shortcode-atts-helptexts.php:91
     517#: shortcode/config-admin-data.php:153
    493518msgid "With this attribute more complex display options can be defined."
    494519msgstr ""
    495520
    496 #: includes/shortcode-atts-helptexts.php:92
     521#: shortcode/config-admin-data.php:154
    497522#, php-format
    498523msgid "By default (empty string) only the link name or the link image (see attribute %1$s) is shown."
    499524msgstr ""
    500525
    501 #: includes/shortcode-atts-helptexts.php:93
     526#: shortcode/config-admin-data.php:155
    502527msgid "By specifying the below described JSON structure complex display options can be defined."
    503528msgstr ""
    504529
    505 #: includes/shortcode-atts-helptexts.php:94
     530#: shortcode/config-admin-data.php:156
    506531msgid "Please use single quotes for defining this attribute because the double quotes are required to define the JSON code."
    507532msgstr ""
    508533
    509 #: includes/shortcode-atts-helptexts.php:96
     534#: shortcode/config-admin-data.php:158
    510535#, php-format
    511536msgid "This attribute can also be defined as the content of an enclosed shortcode e.g. %1$s."
    512537msgstr ""
    513538
    514 #: includes/shortcode-atts-helptexts.php:97
     539#: shortcode/config-admin-data.php:159
    515540msgid "JSON data"
    516541msgstr ""
    517542
    518 #: includes/shortcode-atts-helptexts.php:99
     543#: shortcode/config-admin-data.php:161
    519544msgid "Examples with all possible options"
    520545msgstr ""
    521546
    522 #: includes/shortcode-atts-helptexts.php:101
     547#: shortcode/config-admin-data.php:163
    523548#, php-format
    524549msgid "Defining a list of JSON Objects (%1$s pairs) is the simplest version of usage."
    525550msgstr ""
    526551
    527 #: includes/shortcode-atts-helptexts.php:102
     552#: shortcode/config-admin-data.php:164
    528553#, php-format
    529554msgid "The key defines one of the available items (see \"%1$s\"), the value defines an optional heading for the item."
    530555msgstr ""
    531556
    532 #: includes/shortcode-atts-helptexts.php:103
     557#: shortcode/config-admin-data.php:165
    533558#, php-format
    534559msgid "If no heading is required leave the value empty (%1$s)."
    535560msgstr ""
    536561
    537 #: includes/shortcode-atts-helptexts.php:104
     562#: shortcode/config-admin-data.php:166
    538563#, php-format
    539564msgid "The list must be enclosed in curly braces (%1$s) to have valid JSON data. Double quotes must be added around the key and the value."
    540565msgstr ""
    541566
    542 #: includes/shortcode-atts-helptexts.php:105
     567#: shortcode/config-admin-data.php:167
    543568#, php-format
    544569msgid "The %1$s character separats the key and the value, multiple objects are separated via comma (%2$s)."
    545570msgstr ""
    546571
    547 #: includes/shortcode-atts-helptexts.php:107
     572#: shortcode/config-admin-data.php:169
    548573#, php-format
    549574msgid "Add a %1$s at the end of the item name to include a link to the link target."
    550575msgstr ""
    551576
    552 #: includes/shortcode-atts-helptexts.php:110
     577#: shortcode/config-admin-data.php:172
    553578#, php-format
    554579msgid "Multiple items can be grouped by using sub-object. The key of the sub-object defines the name of the group which also will be added as a css-class (e.g. %1$s)."
    555580msgstr ""
    556581
    557 #: includes/shortcode-atts-helptexts.php:117
     582#: shortcode/config-admin-data.php:180
    558583msgid "With this attribute the display option for link images can be set, if no link image is available."
    559584msgstr ""
    560585
    561 #: includes/shortcode-atts-helptexts.php:118
     586#: shortcode/config-admin-data.php:181
    562587#, php-format
    563588msgid "This option is only considered if the %1$s item is used in %2$s."
    564589msgstr ""
    565590
    566 #: includes/shortcode-atts-helptexts.php:119
     591#: shortcode/config-admin-data.php:182
    567592#, php-format
    568593msgid "With %1$s an %2$s tag is still added."
    569594msgstr ""
    570595
    571 #: includes/shortcode-atts-helptexts.php:120
     596#: shortcode/config-admin-data.php:183
    572597#, php-format
    573598msgid "Due to the empty link address of the image the %1$s attribute will be displayed."
    574599msgstr ""
    575600
    576 #: includes/shortcode-atts-helptexts.php:121
     601#: shortcode/config-admin-data.php:184
    577602#, php-format
    578603msgid "With %1$s the complete link item will be removed."
    579604msgstr ""
    580605
    581 #: includes/shortcode-atts-helptexts.php:122
     606#: shortcode/config-admin-data.php:185
    582607#, php-format
    583608msgid "With the other options only the %1$s tag will be removed and an alternative text (link name or description) will be displayed."
    584609msgstr ""
    585610
    586 #: includes/shortcode-atts-helptexts.php:127
     611#: shortcode/config-admin-data.php:190
    587612msgid "Set one of the available options to override the default value defined for the link."
    588613msgstr ""
    589614
    590 #: includes/shortcode-atts-helptexts.php:132
     615#: shortcode/config-admin-data.php:196
    591616#, php-format
    592617msgid "With this attribute the %1$s attribute for the HTML-links can be set."
    593618msgstr ""
    594619
    595 #: includes/shortcode-atts-helptexts.php:133
     620#: shortcode/config-admin-data.php:197
    596621#, php-format
    597622msgid "see %1$sthis link%2$s for details"
    598623msgstr ""
    599624
    600 #: includes/shortcode-atts-helptexts.php:138
     625#: shortcode/config-admin-data.php:202 shortcode/config-admin-data.php:210
    601626msgid "String"
    602627msgstr ""
    603628
    604 #: includes/shortcode-atts-helptexts.php:139
     629#: shortcode/config-admin-data.php:204
     630msgid "With this attribute additional CSS classes can be specified. The classes are added to the link-view wrapper div."
     631msgstr ""
     632
     633#: shortcode/config-admin-data.php:211
    605634msgid "With this attribute a css class suffix can be specified. This allows using different css styles for different link lists or sliders on the same site."
    606635msgstr ""
    607636
    608 #: includes/shortcode-atts-helptexts.php:144
     637#: shortcode/config-admin-data.php:217
    609638msgid "This attribute specifies the vertical alignment of the links. Changing this attribute normally only make sense if the link-images are displayed."
    610639msgstr ""
    611640
    612 #: includes/shortcode-atts-helptexts.php:145
     641#: shortcode/config-admin-data.php:218
    613642msgid "With this option e.g. the vertical alignment of the list symbol relativ to the image or the vertical alignment of images with different height in a slider can be changed."
    614643msgstr ""
    615644
    616 #: includes/shortcode-atts-helptexts.php:150
     645#: shortcode/config-admin-data.php:224
    617646msgid "This attribute sets the style type of the list symbol."
    618647msgstr ""
    619648
    620 #: includes/shortcode-atts-helptexts.php:151
     649#: shortcode/config-admin-data.php:225
    621650#, php-format
    622651msgid "With the default value %1$s the standard type which is set in your theme will be used."
    623652msgstr ""
    624653
    625 #: includes/shortcode-atts-helptexts.php:152
     654#: shortcode/config-admin-data.php:226
    626655msgid "All other available options overide this standard."
    627656msgstr ""
    628657
    629 #: includes/shortcode-atts-helptexts.php:153
     658#: shortcode/config-admin-data.php:227
    630659#, php-format
    631660msgid "For example setting the value to %1$s will hide the list symbols."
    632661msgstr ""
    633662
    634 #: includes/shortcode-atts-helptexts.php:159
     663#: shortcode/config-admin-data.php:234
    635664msgid "This attribute specifies column layout for the categories in list view."
    636665msgstr ""
    637666
    638 #: includes/shortcode-atts-helptexts.php:160
    639 #: includes/shortcode-atts-helptexts.php:171
     667#: shortcode/config-admin-data.php:235 shortcode/config-admin-data.php:247
    640668msgid "There are 3 different types of multiple column layouts available."
    641669msgstr ""
    642670
    643 #: includes/shortcode-atts-helptexts.php:162
    644 #: includes/shortcode-atts-helptexts.php:173
     671#: shortcode/config-admin-data.php:237 shortcode/config-admin-data.php:249
    645672#, php-format
    646673msgid "Find more information regarding the types and options in the chapter %1$s."
    647674msgstr ""
    648675
    649 #: includes/shortcode-atts-helptexts.php:170
     676#: shortcode/config-admin-data.php:246
    650677msgid "This attribute specifies column layout for the links in list view."
    651678msgstr ""
    652679
    653 #: includes/shortcode-atts-helptexts.php:181
     680#: shortcode/config-admin-data.php:258
    654681msgid "This attribute sets the fix width of the slider."
    655682msgstr ""
    656683
    657 #: includes/shortcode-atts-helptexts.php:182
     684#: shortcode/config-admin-data.php:259
    658685#, php-format
    659686msgid "If the attribute is set to %1$s the width will be calculated automatically due to the given image sizes."
    660687msgstr ""
    661688
    662 #: includes/shortcode-atts-helptexts.php:183
    663 #: includes/shortcode-atts-helptexts.php:191
    664 #: includes/shortcode-atts-helptexts.php:199
    665 #: includes/shortcode-atts-helptexts.php:206
     689#: shortcode/config-admin-data.php:260 shortcode/config-admin-data.php:269
     690#: shortcode/config-admin-data.php:278 shortcode/config-admin-data.php:286
    666691#, php-format
    667692msgid "This attribute is only considered if the view type %1$s is selected."
    668693msgstr ""
    669694
    670 #: includes/shortcode-atts-helptexts.php:189
     695#: shortcode/config-admin-data.php:267
    671696msgid "This attribute sets the fix height of the slider."
    672697msgstr ""
    673698
    674 #: includes/shortcode-atts-helptexts.php:190
     699#: shortcode/config-admin-data.php:268
    675700#, php-format
    676701msgid "If the attribute is set to %1$s the height will be calculated automatically due to the given image sizes."
    677702msgstr ""
    678703
    679 #: includes/shortcode-atts-helptexts.php:197
     704#: shortcode/config-admin-data.php:276
    680705msgid "This attribute sets the duration between the the slides in milliseconds."
    681706msgstr ""
    682707
    683 #: includes/shortcode-atts-helptexts.php:198
     708#: shortcode/config-admin-data.php:277
    684709msgid "The link stands still for this time and afterwards the sliding animation to the next link starts."
    685710msgstr ""
    686711
    687 #: includes/shortcode-atts-helptexts.php:205
     712#: shortcode/config-admin-data.php:285
    688713msgid "This attribute sets the duration of the animation for switching from one link to the next in milliseconds."
    689714msgstr ""
    690715
    691 #: includes/widget-helptexts.php:16
     716#: widget/config-admin-data.php:44
    692717msgid "Title"
    693718msgstr ""
    694719
    695 #: includes/widget-helptexts.php:17
     720#: widget/config-admin-data.php:45
    696721msgid "This option defines the displayed title for the widget."
    697722msgstr ""
    698723
    699 #: includes/widget-helptexts.php:22
     724#: widget/config-admin-data.php:50
    700725msgid "Shortcode attributes"
    701726msgstr ""
    702727
    703 #: includes/widget-helptexts.php:23
     728#: widget/config-admin-data.php:51
    704729#, php-format
    705730msgid "All attributes which are available for the %1$s shortcode can be used."
    706731msgstr ""
    707732
    708 #: includes/widget.php:37
     733#: widget/config.php:42
     734msgid "Links"
     735msgstr ""
     736
     737#: widget/widget.php:41
    709738#, php-format
    710739msgid "With this widget a %1$s shortcode can be added to a sidebar or widget area."
    711740msgstr ""
    712 
    713 #: includes/widget.php:42
    714 msgid "Links"
    715 msgstr ""
  • link-view/trunk/link-view.php

    r2286812 r2428225  
    44 * Plugin URI: https://wordpress.org/plugins/link-view/
    55 * Description: Display a link-list or link-slider in a post or page by using a shortcode.
    6  * Version: 0.7.3
     6 * Version: 0.8.0
    77 * Author: mibuthu
    88 * Author URI: https://wordpress.org/plugins/link-view/
     
    3030
    3131// declare( strict_types=1 ); Remove for now due to warnings in php <7.0!
     32
     33namespace WordPress\Plugins\mibuthu\LinkView;
     34
    3235if ( ! defined( 'WPINC' ) ) {
    3336    exit();
     
    3538
    3639// General definitions.
    37 define( 'LV_URL', plugin_dir_url( __FILE__ ) );
    38 define( 'LV_PATH', plugin_dir_path( __FILE__ ) );
     40define( 'PLUGIN_URL', plugin_dir_url( __FILE__ ) );
     41define( 'PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
    3942
     43
     44require_once PLUGIN_PATH . 'includes/config.php';
    4045
    4146/**
     
    4449 * This is the initial class for loading the plugin.
    4550 */
    46 class LV_LinkView {
     51class LinkView {
     52
     53    /**
     54     * Config instance used for the whole plugin
     55     *
     56     * @var Config
     57     */
     58    private $config;
     59
     60    /**
     61     * ShortcodeFactory instance used for the whole plugin
     62     *
     63     * @var Shortcode\Factory
     64     */
     65    private $shortcode_factory;
    4766
    4867
     
    5574    public function __construct() {
    5675        // Always!
    57         add_action( 'plugins_loaded', array( &$this, 'load_textdomain' ) );
    58         add_shortcode( 'linkview', array( &$this, 'shortcode_linkview' ) );
    59         add_action( 'widgets_init', array( &$this, 'widget_init' ) );
     76        // Create Config instance which is used for the whole plugin.
     77        $this->config = new Config();
     78        // Shortcodes, actions and filters.
     79        add_action( 'plugins_loaded', [ &$this, 'load_textdomain' ] );
     80        add_shortcode( 'linkview', [ &$this, 'shortcode_linkview' ] );
     81        add_action( 'widgets_init', [ &$this, 'widget_init' ] );
    6082        // Enable WordPress link manager (disabled by default since version 3.5).
    6183        if ( false !== get_option( 'link_manager_enabled' ) ) {
     
    6587        // Depending on Page Type!
    6688        if ( is_admin() ) { // Admin page.
    67             require_once LV_PATH . 'admin/admin.php';
    68             LV_Admin::get_instance()->init_admin_page();
     89            require_once PLUGIN_PATH . 'admin/admin.php';
     90            $admin = new Admin\Admin( $this->config );
     91            $admin->init();
    6992        } else { // Front page.
    70             add_action( 'wp_enqueue_scripts', array( &$this, 'register_scripts' ) );
     93            add_action( 'wp_enqueue_scripts', [ &$this, 'register_scripts' ] );
    7194        }
    7295    }
     
    79102     */
    80103    public function load_textdomain() {
    81         load_plugin_textdomain( 'link-view', false, basename( LV_PATH ) . '/languages' );
     104        load_plugin_textdomain( 'link-view', false, basename( PLUGIN_PATH ) . '/languages' );
    82105    }
    83106
     
    91114     */
    92115    public function shortcode_linkview( $atts, $content = '' ) {
    93         static $shortcodes;
    94         if ( ! $shortcodes instanceof LV_Shortcodes ) {
    95             require_once LV_PATH . 'includes/shortcodes.php';
    96             $shortcodes = LV_Shortcodes::get_instance();
     116        if ( ! $this->shortcode_factory instanceof Shortcode\Factory ) {
     117            require_once PLUGIN_PATH . 'shortcode/factory.php';
     118            $this->shortcode_factory = new Shortcode\Factory( $this->config );
    97119        }
    98         return $shortcodes->add( $atts, $content );
     120        return $this->shortcode_factory->add( $atts, $content );
    99121    }
    100122
     
    106128     */
    107129    public function widget_init() {
    108         require_once LV_PATH . 'includes/widget.php';
    109         register_widget( 'LV_Widget' );
     130        require_once PLUGIN_PATH . 'widget/widget.php';
     131        register_widget( __NAMESPACE__ . '\Widget\Widget' );
    110132    }
    111133
     
    117139     */
    118140    public function register_scripts() {
    119         wp_register_script( 'lv_easySlider', LV_URL . 'includes/js/easySlider.min.js', array( 'jquery' ), '1.7', true );
    120         wp_register_script( 'lv_masonry', LV_URL . 'includes/js/masonry.pkgd.min.js', array( 'jquery' ), '4.2.2', true );
     141        wp_register_script( 'lvw_easySlider', PLUGIN_URL . 'includes/js/easySlider.min.js', [ 'jquery' ], '1.7', true );
     142        wp_register_script( 'lvw_masonry', PLUGIN_URL . 'includes/js/masonry.pkgd.min.js', [ 'jquery' ], '4.2.2', true );
    121143    }
    122144
     
    127149 * LinkView Class instance
    128150 *
    129  * @var LV_LinkView
     151 * @var LinkView
    130152 */
    131 $lv_linkview = new LV_LinkView();
     153$linkview = new LinkView();
  • link-view/trunk/readme.txt

    r2286812 r2428225  
    33Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4ZHXUPHG9SANY
    44Tags: link, links, blogroll, view, linkview, list, slider, slideshow, images, pictures, banner, integrated, page, category, categories, admin, setting, option, attribute, widget, sidebar, css, multi-column
    5 Requires at least: 4.5
    6 Tested up to: 5.4
    7 Requires PHP: 5.2
    8 Stable tag: 0.7.3
     5Requires at least: 4.9
     6Tested up to: 5.6
     7Requires PHP: 5.6
     8Stable tag: 0.8.0
    99Plugin URI: https://wordpress.org/extend/plugins/link-view
    1010Licence: GPLv2
     
    6868== Changelog ==
    6969
     70= 0.8.0 (2020-11-29) =
     71* raise minimum required PHP version to 5.6
     72* some internal code refactoring (namespaces, file structure, ...)
     73* added setting to add custom css classes
     74* added a shortcode attribute to add custom css classes
     75* added category css classes for each link
     76* change shortcode boolean attributes from '1' and '0' to 'true' and 'false' (numbers are still working)
     77* changed css class prefix from 'lv' to 'lvw'. Attention: If you use these class names in your CSS or the custom CSS option you have to update the CSS there!
     78
    7079= 0.7.3 (2020-04-19) =
    7180* fixed warnings for PHP-versions < 7.0
Note: See TracChangeset for help on using the changeset viewer.