Plugin Directory

Changeset 1194906


Ignore:
Timestamp:
07/08/2015 06:14:16 PM (11 years ago)
Author:
awesome-ug
Message:

Switched to beta 17

Location:
questions
Files:
115 added
10 edited

Legend:

Unmodified
Added
Removed
  • questions/trunk/README.txt

    r1193394 r1194906  
    6868
    6969== Changelog ==
     70
     71= 1.0.0 beta 17 =
     72* Bettered up Chart view (Switched back to Dimple)
     73* Added result charts to admin
     74* Ordering charts like ordered in admin
     75* Added body class on Questions pages
     76* Added WP Nonce check to forms
    7077
    7178= 1.0.0 beta 16 =
  • questions/trunk/components/admin/component.php

    r1190800 r1194906  
    230230                'high'
    231231            );
    232             add_meta_box(
    233                 'survey-participiants',
    234                 esc_attr__( 'Participiants list', 'questions-locale' ),
    235                 array( $this, 'meta_box_survey_participiants' ),
    236                 'questions',
    237                 'normal',
    238                 'high'
    239             );
     232            add_meta_box(
     233                'survey-participiants',
     234                esc_attr__( 'Participiants list', 'questions-locale' ),
     235                array( $this, 'meta_box_survey_participiants' ),
     236                'questions',
     237                'normal',
     238                'high'
     239            );
     240            add_meta_box(
     241                'survey-results',
     242                esc_attr__( 'Results', 'questions-locale' ),
     243                array( $this, 'meta_box_survey_results' ),
     244                'questions',
     245                'normal',
     246                'high'
     247            );
    240248        endif;
    241249    }
     
    437445        echo $html;
    438446    }
     447
     448    /**
     449     * Showing survey results in admin
     450     * @since 1.0.0
     451     */
     452    public function meta_box_survey_results(){
     453        global $wpdb, $post, $questions_global;
     454
     455        $survey_id = $post->ID;
     456
     457        $html = do_shortcode( '[survey_results id="' . $survey_id . '"]' );
     458
     459        echo $html;
     460    }
    439461   
    440462    /**
    441463     * Survey options
    442      *
    443464     * @since 1.0.0
    444465     */
  • questions/trunk/components/charts/component.php

    r1190800 r1194906  
    5555
    5656        // Loading chart creators
    57         include( QUESTIONS_COMPONENTFOLDER . '/charts/charts.js/chart-creator.php' );
     57        include( QUESTIONS_COMPONENTFOLDER . '/charts/charts.js/chart-creator.php' );
     58        include( QUESTIONS_COMPONENTFOLDER . '/charts/dimple/chart-creator.php' );
    5859
    5960        do_action( 'questions_loading_chart_creators' );
  • questions/trunk/components/charts/shortcodes.php

    r1190800 r1194906  
    6060        $survey = new Questions_Survey( $atts[ 'id' ] );
    6161        $response = $survey->get_responses( FALSE, FALSE );
     62
    6263        $ordered_data = Questions_AbstractData::order_for_charting( $response );
    63        
     64
    6465        $html = '';
     66        $count_bars = 0;
    6567        foreach ( $ordered_data[ 'questions' ] as $question_id => $question ):
    66             $html.= Questions_ChartCreator_Chartsjs::show_bars( $question, $ordered_data['data'][ $question_id ] );
     68            if( !array_key_exists( $question_id, $ordered_data['data']  ) )
     69                continue;
     70
     71            $html.= Questions_ChartCreator_Dimple::show_bars( $question, $ordered_data['data'][ $question_id ] );
     72            $count_bars++;
    6773        endforeach;
     74
     75        if( 0 == $count_bars )
     76            _e( 'There are no results to show.', 'questions-locale' );
    6877       
    6978        return $html;
     
    95104        $html = '';
    96105        foreach ( $ordered_data[ 'questions' ] as $question_id => $question ):
    97             $html.= Questions_ChartCreator_Chartsjs::show_bars( $question, $ordered_data['data'][ $question_id ] );
     106            $html.= Questions_ChartCreator_Dimple::show_bars( $question, $ordered_data['data'][ $question_id ] );
    98107        endforeach;
    99108       
  • questions/trunk/components/core/component.php

    r1190800 r1194906  
    4444       
    4545        add_action( 'init', array( $this, 'custom_post_types' ), 11 );
     46        add_filter( 'body_class', array( $this, 'add_body_class' ) );
    4647       
    4748        parent::__construct();
     
    112113
    113114    /**
     115     * Adding CSS Classes to body
     116     * @param array $classes Classes for body
     117     * @return array $classes Classes for body
     118     */
     119    public function add_body_class( $classes ){
     120
     121        global $post;
     122
     123        // Check if we are on the right place
     124        if( !is_object( $post )  || !property_exists( $post, 'post_type' ) || 'questions' != $post->post_type )
     125            return $classes;
     126
     127        $classes[] = 'questions';
     128        $classes[] = 'question-' . $post->ID ;
     129
     130        return $classes;
     131    }
     132
     133    /**
    114134     * Including files of component
    115135     */
  • questions/trunk/components/core/data-abstraction.php

    r1190800 r1194906  
    4141       
    4242        global $wpdb, $questions_global;
    43        
     43
    4444        $ordered_data = array();
    45        
     45
    4646        $ordered_data[ 'questions' ] = array();
    4747        $ordered_data[ 'data' ] = array();
     
    5050        foreach( $response_array AS $key => $line ):
    5151            $merged_data = array();
    52            
     52
    5353            $sql = $wpdb->prepare( "SELECT type FROM {$questions_global->tables->questions} WHERE id = %s", $key );
    5454            $result = $wpdb->get_row( $sql );
     
    7676           
    7777            // Adding voted data
     78            if( !array_key_exists( 'responses', $response_array[ $key ] ) )
     79                continue;
     80
    7881            $responses = $response_array[ $key ][ 'responses' ];
    7982           
  • questions/trunk/components/core/process-response.php

    r1190800 r1194906  
    261261        $html = '<form name="questions" id="questions" action="' . $_SERVER[ 'REQUEST_URI' ] . '" method="POST">';
    262262
     263        $html.= '<input type="hidden" name="_wpnonce" value="' .  wp_create_nonce( 'questions-' . $survey_id ) . '" />';
     264
    263265        $step_count = $this->get_step_count( $survey_id );
    264266       
     
    388390
    389391        // Survey ID was posted or die
    390         if ( ! array_key_exists( 'questions_id', $_POST ) ) {
     392        if ( ! array_key_exists( 'questions_id', $_POST ) )
    391393            return;
    392         }
    393 
    394         $questions_survey_id = $_POST[ 'questions_id' ];
     394
     395        $questions_survey_id = $_POST[ 'questions_id' ];
     396
     397        // WP Nonce Check
     398        if( ! wp_verify_nonce( $_POST[ '_wpnonce' ], 'questions-' . $questions_survey_id ) )
     399            return;
    395400
    396401        // Survey exists or die
    397         if ( ! qu_survey_exists( $questions_survey_id ) ) {
     402        if ( ! qu_survey_exists( $questions_survey_id ) )
    398403            return;
    399         }
    400404
    401405        // Checking restrictions
  • questions/trunk/includes/css/display.css

    r1167167 r1194906  
    6262    border:none;
    6363}
    64 
     64/**
     65 * Dimple chart CSS
     66 */
     67.questions-dimplechart{
     68    margin-bottom: 20px;
     69    width:100%;
     70    display: block;
     71}
  • questions/trunk/languages/questions-locale-de_DE.po

    r1190800 r1194906  
    33"Project-Id-Version: SurveyVal v1.0\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2015-06-30 22:29+0100\n"
    6 "PO-Revision-Date: 2015-06-30 23:23+0100\n"
     5"POT-Creation-Date: 2015-07-08 15:46+0100\n"
     6"PO-Revision-Date: 2015-07-08 15:46+0100\n"
    77"Last-Translator: Sven Wagener <sven.wagener@rheinschmiede.de>\n"
    88"Language-Team: \n"
     
    2222
    2323# @ surveyval-locale
    24 #: ../components/admin/admin.php:46
     24#: ../components/admin/component.php:46
    2525msgid "Admin"
    2626msgstr "Admin"
    2727
    2828# @ surveyval-locale
    29 #: ../components/admin/admin.php:47
     29#: ../components/admin/component.php:47
    3030msgid "Setting up Questions in WordPress Admin."
    3131msgstr "Questions im WordPress Admin einstellen."
    3232
    3333# @ surveyval-locale
    34 #: ../components/admin/admin.php:96 ../components/admin/admin.php:97
    35 #: ../components/core/core.php:87
     34#: ../components/admin/component.php:96 ../components/admin/component.php:97
     35#: ../components/core/component.php:87
    3636msgid "Surveys"
    3737msgstr "Umfragen"
    3838
    39 #: ../components/admin/admin.php:106 ../components/admin/admin.php:107
     39#: ../components/admin/component.php:106 ../components/admin/component.php:107
    4040msgid "Create"
    4141msgstr "Erstellen"
    4242
    4343# @ surveyval-locale
    44 #: ../components/admin/admin.php:113 ../components/admin/admin.php:114
    45 #: ../components/core/core.php:73
     44#: ../components/admin/component.php:113 ../components/admin/component.php:114
     45#: ../components/core/component.php:73
    4646msgid "Categories"
    4747msgstr "Kategorien"
    4848
    4949# @ surveyval-locale
    50 #: ../components/admin/admin.php:120 ../components/admin/admin.php:121
    51 #: ../components/element.php:464
     50#: ../components/admin/component.php:120 ../components/admin/component.php:121
     51#: ../components/elements/class-element.php:492
    5252msgid "Settings"
    5353msgstr "Einstellungen"
    5454
    55 #: ../components/admin/admin.php:184
     55#: ../components/admin/component.php:184
    5656msgid "Attention!"
    5757msgstr "Achtung!"
    5858
    59 #: ../components/admin/admin.php:185
     59#: ../components/admin/component.php:185
    6060msgid ""
    6161"This will erase all Answers who people given to this survey. Do you really "
     
    6666
    6767# @ surveyval-locale
    68 #: ../components/admin/admin.php:188
     68#: ../components/admin/component.php:188
    6969msgid "Do you really want to delete this element?"
    7070msgstr "Soll dieses Element wirklich gel&ouml;scht werden?"
    7171
    7272# @ surveyval-locale
    73 #: ../components/admin/admin.php:191
     73#: ../components/admin/component.php:191
    7474msgid "Do you really want to delete this answer?"
    7575msgstr "Soll diese Antwort wirklich gel&ouml;scht werden?"
    7676
    77 #: ../components/admin/admin.php:212
     77#: ../components/admin/component.php:212
    7878msgid "Options"
    7979msgstr "Optionen"
    8080
    81 #: ../components/admin/admin.php:219
     81#: ../components/admin/component.php:219
    8282msgid "Survey Functions"
    8383msgstr "Umfrage-Funktionen"
    8484
    8585# @ surveyval-locale
    86 #: ../components/admin/admin.php:226 ../components/elements/elements.php:45
     86#: ../components/admin/component.php:226
     87#: ../components/elements/component.php:44
    8788msgid "Elements"
    8889msgstr "Elemente"
    8990
    9091# @ surveyval-locale
    91 #: ../components/admin/admin.php:234
     92#: ../components/admin/component.php:234
    9293msgid "Participiants list"
    9394msgstr "Teilnehmerliste"
    9495
    95 #: ../components/admin/admin.php:297
     96#: ../components/admin/component.php:242
     97msgid "Results"
     98msgstr "Ergebnisse"
     99
     100#: ../components/admin/component.php:305
    96101msgid "All visitors of the site can participate"
    97102msgstr "Alle Besucher der Seite können teilnehmen"
    98103
    99 #: ../components/admin/admin.php:301
     104#: ../components/admin/component.php:309
    100105msgid "All members of the site can participate"
    101106msgstr "Alle Mitglieder der Seite k&ouml;nnen an der Umfrage teilnehmen"
    102107
    103 #: ../components/admin/admin.php:305
     108#: ../components/admin/component.php:313
    104109msgid "Only selected members can participate"
    105110msgstr "Nur ausgew&auml;hlte Mitglieder k&ouml;nenn an der Umfrage teilnehmen"
    106111
    107112# @ surveyval-locale
    108 #: ../components/admin/admin.php:309
     113#: ../components/admin/component.php:317
    109114msgid "No restrictions"
    110115msgstr "Keine Einschränkungen"
    111116
    112117# @ surveyval-locale
    113 #: ../components/admin/admin.php:341
     118#: ../components/admin/component.php:349
    114119msgid "Add all actual Members"
    115120msgstr "Alle aktuellen Mitglieder hinzufügen"
    116121
    117122# @ surveyval-locale
    118 #: ../components/admin/admin.php:365
     123#: ../components/admin/component.php:373
    119124msgid "Add Participiants"
    120125msgstr "Teilnehmer hinzuf&uuml;gen"
    121126
    122127# @ surveyval-locale
    123 #: ../components/admin/admin.php:368
     128#: ../components/admin/component.php:376
    124129msgid "Remove all Participiants"
    125130msgstr "Alle Teilnehmer entfernen"
    126131
    127132# @ surveyval-locale
    128 #: ../components/admin/admin.php:377 ../components/admin/admin.php:1159
     133#: ../components/admin/component.php:385
     134#: ../components/admin/component.php:1180
    129135msgid "participiant/s"
    130136msgstr "Teilnehmer"
    131137
    132138# @ surveyval-locale
    133 #: ../components/admin/admin.php:384
     139#: ../components/admin/component.php:392
    134140msgid "ID"
    135141msgstr "ID"
    136142
    137143# @ surveyval-locale
    138 #: ../components/admin/admin.php:385
     144#: ../components/admin/component.php:393
    139145msgid "User nicename"
    140146msgstr "Spitzname"
    141147
    142148# @ surveyval-locale
    143 #: ../components/admin/admin.php:386
     149#: ../components/admin/component.php:394
    144150msgid "Display name"
    145151msgstr "Angezeigter Name"
    146152
    147153# @ surveyval-locale
    148 #: ../components/admin/admin.php:387
     154#: ../components/admin/component.php:395
    149155msgid "Email"
    150156msgstr "Email"
    151157
    152 #: ../components/admin/admin.php:388
     158#: ../components/admin/component.php:396
    153159msgid "Status"
    154160msgstr "Status"
    155161
    156 #: ../components/admin/admin.php:402
     162#: ../components/admin/component.php:410
    157163msgid "finished"
    158164msgstr "abgeschlossen"
    159165
    160 #: ../components/admin/admin.php:404
     166#: ../components/admin/component.php:412
    161167msgid "new"
    162168msgstr "neu"
    163169
    164170# @ surveyval-locale
    165 #: ../components/admin/admin.php:415 ../components/admin/admin.php:1140
    166 #: ../components/element.php:600 ../components/element.php:642
     171#: ../components/admin/component.php:423
     172#: ../components/admin/component.php:1161
     173#: ../components/elements/class-element.php:628
     174#: ../components/elements/class-element.php:670
    167175msgid "Delete"
    168176msgstr "L&ouml;schen"
    169177
    170178# @ surveyval-locale
    171 #: ../components/admin/admin.php:467
     179#: ../components/admin/component.php:488
    172180msgid "Show results after finishing survey"
    173181msgstr "Ergebnisse nach Teilnahme anzeigen"
    174182
    175183# @ surveyval-locale
    176 #: ../components/admin/admin.php:469 ../components/admin/admin.php:1141
    177 #: ../components/core/data-abstraction.php:85 ../components/element.php:859
     184#: ../components/admin/component.php:490
     185#: ../components/admin/component.php:1162
     186#: ../components/core/data-abstraction.php:88
     187#: ../components/elements/class-element.php:887
    178188msgid "Yes"
    179189msgstr "Ja"
    180190
    181191# @ surveyval-locale
    182 #: ../components/admin/admin.php:470 ../components/admin/admin.php:1142
    183 #: ../components/element.php:863
     192#: ../components/admin/component.php:491
     193#: ../components/admin/component.php:1163
     194#: ../components/elements/class-element.php:891
    184195msgid "No"
    185196msgstr "Nein"
    186197
    187198# @ surveyval-locale
    188 #: ../components/admin/admin.php:498
     199#: ../components/admin/component.php:519
    189200msgid "Dublicate Survey"
    190201msgstr "Umfrage dublizieren"
    191202
    192 #: ../components/admin/admin.php:505
     203#: ../components/admin/component.php:526
    193204msgid "Delete survey results"
    194205msgstr "Umfrageergebnisse löschen"
    195206
    196207# @ surveyval-locale
    197 #: ../components/admin/admin.php:514
     208#: ../components/admin/component.php:535
    198209msgid "Invite Participiants"
    199210msgstr "Teilnehmer einladen"
    200211
    201 #: ../components/admin/admin.php:517 ../components/admin/admin.php:528
     212#: ../components/admin/component.php:538 ../components/admin/component.php:549
    202213msgid "Cancel"
    203214msgstr "Abbrechen"
    204215
    205216# @ surveyval-locale
    206 #: ../components/admin/admin.php:525
     217#: ../components/admin/component.php:546
    207218msgid "Reinvite Participiants"
    208219msgstr "Erneut einladen"
    209220
    210 #: ../components/admin/admin.php:534
     221#: ../components/admin/component.php:555
    211222msgid ""
    212223"You can invite Participiants to this survey after the survey is published."
     
    214225"Sie k&ouml;nenn Teilnehmer einladen, sobald die Umfrage gespeichert ist."
    215226
    216 #: ../components/admin/admin.php:1143
     227#: ../components/admin/component.php:1164
    217228msgid "just added"
    218229msgstr "gerade hinzugef&uuml;gt"
    219230
    220 #: ../components/admin/admin.php:1144
     231#: ../components/admin/component.php:1165
    221232msgid "Invitations sent successfully!"
    222233msgstr "Einladungen erfolgreich versendet!"
    223234
    224 #: ../components/admin/admin.php:1145
     235#: ../components/admin/component.php:1166
    225236msgid "Invitations could not be sent!"
    226237msgstr "Einladungen konnten nicht versendet werden!"
    227238
    228 #: ../components/admin/admin.php:1147
     239#: ../components/admin/component.php:1168
    229240msgid "Renvitations sent successfully!"
    230241msgstr "Erneute Einladungen erfolgreich versendet!"
    231242
    232 #: ../components/admin/admin.php:1150
     243#: ../components/admin/component.php:1171
    233244msgid "Renvitations could not be sent!"
    234245msgstr "Erneute Einladungen konnten nicht versendet werden!"
    235246
    236 #: ../components/admin/admin.php:1153
     247#: ../components/admin/component.php:1174
    237248msgid "Survey results deleted successfully!"
    238249msgstr "Umfrageergebnisse erfolgreich gelöscht!"
    239250
    240 #: ../components/admin/admin.php:1156
     251#: ../components/admin/component.php:1177
    241252msgid "Survey duplicated successfully!"
    242253msgstr "Umfrage erfolgreich dupliziert!"
    243254
    244255# @ surveyval-locale
    245 #: ../components/admin/admin.php:1158 ../components/core/core.php:91
     256#: ../components/admin/component.php:1179 ../components/core/component.php:91
    246257msgid "Edit Survey"
    247258msgstr "Umfrage bearbeiten"
    248259
    249 #: ../components/admin/admin.php:1160
     260#: ../components/admin/component.php:1181
    250261msgid "You are under 50 form fields away from reaching PHP max_num_fields!"
    251262msgstr ""
     
    253264"entfernt!"
    254265
    255 #: ../components/admin/admin.php:1161
     266#: ../components/admin/component.php:1182
    256267msgid "You are over the limit of PHP max_num_fields!"
    257268msgstr "Sie sind über der Grenze von PHP max_num_fields!"
    258269
    259 #: ../components/admin/admin.php:1162
     270#: ../components/admin/component.php:1183
    260271msgid ""
    261272"Please increase the value by adding <code>php_value max_input_vars [NUMBER "
     
    268279"gespeichert."
    269280
    270 #: ../components/admin/admin.php:1163
     281#: ../components/admin/component.php:1184
    271282msgid "of"
    272283msgstr "von"
    273284
    274285# @ surveyval-locale
    275 #: ../components/charts/chart-creator-dimple.php:55
    276 msgid "Answer"
    277 msgstr "Antwort"
    278 
    279 #: ../components/charts/chart-creator-dimple.php:56
     286#: ../components/charts/class-chart-creator.php:101
     287#: ../components/elements/class-element.php:197
     288msgid "This is a Questions Survey Element."
     289msgstr "Dies ist ein Questions Umfrage-Element."
     290
     291#: ../components/charts/component.php:43
     292msgid "Charts"
     293msgstr "Diagramme"
     294
     295#: ../components/charts/component.php:44
     296msgid "Showing Charts in Questions."
     297msgstr "Anzeigen von Diagrammen in Questions"
     298
     299# @ surveyval-locale
     300#: ../components/charts/dimple/chart-creator.php:67
     301msgid "Answers"
     302msgstr "Antworten"
     303
     304#: ../components/charts/dimple/chart-creator.php:68
    280305msgid "Votes"
    281306msgstr "Bewertungen"
    282307
    283308# @ surveyval-locale
    284 #: ../components/charts/chart-creator.php:90
    285 msgid "Made with Questions"
    286 msgstr "Erstellt mit Questions"
    287 
    288 #: ../components/charts/charts.php:43
    289 msgid "Charts"
    290 msgstr "Diagramme"
    291 
    292 #: ../components/charts/charts.php:44
    293 msgid "Showing Charts in Questions."
    294 msgstr "Anzeigen von Diagrammen in Questions"
    295 
    296 # @ surveyval-locale
    297 #: ../components/charts/shortcodes.php:51
     309#: ../components/charts/shortcodes.php:56
    298310msgid "Please enter a survey id in the survey shortcode!"
    299311msgstr "Bitte geben Sie die ID der Umfrage im Sportcode an."
     
    301313# @ surveyval-locale
    302314#: ../components/charts/shortcodes.php:75
     315msgid "There are no results to show."
     316msgstr "Es gibt keine Ergebnisse zu zeigen."
     317
     318# @ surveyval-locale
     319#: ../components/charts/shortcodes.php:93
    303320msgid "Please enter a question id in the survey shortcode!"
    304321msgstr "Bitte geben Sie die ID der Frage im Sportcode an."
    305322
    306 #: ../components/charts/shortcodes.php:95
     323#: ../components/charts/shortcodes.php:118
    307324msgid "Results Shortcode:"
    308325msgstr "Ergebnis-Shortcode:"
    309326
    310 #: ../components/charts/shortcodes.php:104
     327#: ../components/charts/shortcodes.php:132
    311328msgid "(CTRL+C and paste into post to embed question results in post)"
    312329msgstr ""
     
    314331"anzuzeigen)"
    315332
    316 #: ../components/charts/shortcodes.php:105
     333#: ../components/charts/shortcodes.php:133
    317334msgid "Shortcode:"
    318335msgstr "Shortcode:"
    319336
    320337# @ surveyval-locale
    321 #: ../components/component.php:57
     338#: ../components/class-component.php:68
    322339msgid "This is a Questions component."
    323340msgstr "Das ist eine Questions Komponente."
    324341
    325342# @ surveyval-locale
    326 #: ../components/core/core.php:39
     343#: ../components/core/component.php:39
    327344msgid "Core"
    328345msgstr "Kern"
    329346
    330347# @ surveyval-locale
    331 #: ../components/core/core.php:40
     348#: ../components/core/component.php:40
    332349msgid "Core functions of the Questions Plugin"
    333350msgstr "Kernfunktionen des Question Plugins"
    334351
    335352# @ surveyval-locale
    336 #: ../components/core/core.php:63
     353#: ../components/core/component.php:63
    337354msgctxt "taxonomy general name"
    338355msgid "Categories"
     
    340357
    341358# @ surveyval-locale
    342 #: ../components/core/core.php:64
     359#: ../components/core/component.php:64
    343360msgctxt "taxonomy singular name"
    344361msgid "Category"
     
    346363
    347364# @ surveyval-locale
    348 #: ../components/core/core.php:65
     365#: ../components/core/component.php:65
    349366msgid "Search Categories"
    350367msgstr "Kategorien durchsuchen"
    351368
    352369# @ surveyval-locale
    353 #: ../components/core/core.php:66
     370#: ../components/core/component.php:66
    354371msgid "All Categories"
    355372msgstr "Alle Kategorien"
    356373
    357374# @ surveyval-locale
    358 #: ../components/core/core.php:67
     375#: ../components/core/component.php:67
    359376msgid "Parent Category"
    360377msgstr "Eltern-Kategorie"
    361378
    362379# @ surveyval-locale
    363 #: ../components/core/core.php:68
     380#: ../components/core/component.php:68
    364381msgid "Parent Category:"
    365382msgstr "Eltern-Kategorie:"
    366383
    367384# @ surveyval-locale
    368 #: ../components/core/core.php:69
     385#: ../components/core/component.php:69
    369386msgid "Edit Category"
    370387msgstr "Kategorie bearbeiten"
    371388
    372389# @ surveyval-locale
    373 #: ../components/core/core.php:70
     390#: ../components/core/component.php:70
    374391msgid "Update Category"
    375392msgstr "Kategorie speichern"
    376393
    377394# @ surveyval-locale
    378 #: ../components/core/core.php:71
     395#: ../components/core/component.php:71
    379396msgid "Add New Category"
    380397msgstr "Neue Kategorie hinzuf&uuml;gen"
    381398
    382399# @ surveyval-locale
    383 #: ../components/core/core.php:72
     400#: ../components/core/component.php:72
    384401msgid "New Category"
    385402msgstr "Neue Kategorie"
    386403
    387404# @ surveyval-locale
    388 #: ../components/core/core.php:88 ../components/core/shortcodes.php:47
     405#: ../components/core/component.php:88 ../components/core/shortcodes.php:47
    389406msgid "Survey"
    390407msgstr "Umfrage"
    391408
    392409# @ surveyval-locale
    393 #: ../components/core/core.php:89
     410#: ../components/core/component.php:89
    394411msgid "All Surveys"
    395412msgstr "Alle Umfragen"
    396413
    397414# @ surveyval-locale
    398 #: ../components/core/core.php:90 ../components/core/core.php:92
     415#: ../components/core/component.php:90 ../components/core/component.php:92
    399416msgid "Add new Survey"
    400417msgstr "Umfrage hinzuf&uuml;gen"
    401418
    402419# @ surveyval-locale
    403 #: ../components/core/core.php:93
     420#: ../components/core/component.php:93
    404421msgid "View Survey"
    405422msgstr "Umfrage ansehen"
    406423
    407424# @ surveyval-locale
    408 #: ../components/core/core.php:94
     425#: ../components/core/component.php:94
    409426msgid "Search Survey"
    410427msgstr "Umfrage suchen"
    411428
    412 #: ../components/core/core.php:95 ../components/core/core.php:96
     429#: ../components/core/component.php:95 ../components/core/component.php:96
    413430msgid "No Survey available"
    414431msgstr "Keine Umfrage vorhanden"
     
    487504msgstr "Umfrage-Shortcode:"
    488505
    489 # @ surveyval-locale
    490 #: ../components/element.php:173
    491 msgid "This is a Questions Survey Element."
    492 msgstr "Dies ist ein Questions Umfrage-Element."
    493 
    494 #: ../components/element.php:380
    495 msgid "No HTML for Element given. Please check element sourcecode."
    496 msgstr ""
    497 "Kein HTML f&uuml;r das Element angegeben. Bitte &uuml;berpr&uuml;fen Sie den "
    498 "Quellcode."
    499 
    500 # @ surveyval-locale
    501 #: ../components/element.php:457
    502 msgid "Question"
    503 msgstr "Frage"
    504 
    505 # @ surveyval-locale
    506 #: ../components/element.php:538
    507 msgid "Answer/s:"
    508 msgstr "Antwort/en:"
    509 
    510 # @ surveyval-locale
    511 #: ../components/element.php:658
    512 msgid "Add Answer"
    513 msgstr "Antwort hinzuf&uuml;gen"
    514 
    515 # @ surveyval-locale
    516 #: ../components/element.php:767
    517 msgid "Delete element"
    518 msgstr "Element l&ouml;schen"
    519 
    520 # @ surveyval-locale
    521 #: ../components/elements/description.php:21
    522 #: ../components/elements/dropdown.php:69
    523 #: ../components/elements/multiplechoice.php:64
    524 #: ../components/elements/onechoice.php:63 ../components/elements/text.php:39
    525 #: ../components/elements/textarea.php:40
     506#: ../components/core/survey.php:192
     507msgid "User ID"
     508msgstr "Nutzer ID"
     509
     510#: ../components/core/survey.php:224
     511msgid "Date/Time"
     512msgstr "Datum / Uhrzeit"
     513
     514# @ surveyval-locale
     515#: ../components/elements/base-elements/description.php:21
     516#: ../components/elements/base-elements/dropdown.php:63
     517#: ../components/elements/base-elements/multiplechoice.php:58
     518#: ../components/elements/base-elements/onechoice.php:56
     519#: ../components/elements/base-elements/text.php:39
     520#: ../components/elements/base-elements/textarea.php:40
    526521msgid "Description"
    527522msgstr "Beschreibung"
    528523
    529 #: ../components/elements/description.php:22
     524#: ../components/elements/base-elements/description.php:22
    530525msgid "Adds a text to the form."
    531526msgstr "F&uuml;gt einen Text hinzu."
    532527
    533 #: ../components/elements/description.php:37
     528#: ../components/elements/base-elements/description.php:37
    534529msgid "Text to show"
    535530msgstr "Angezeigter Text"
    536531
    537 #: ../components/elements/description.php:39
     532#: ../components/elements/base-elements/description.php:39
    538533msgid "The text which will be shown in the form."
    539534msgstr "Dieser Text wird im Formular angezeigt."
    540535
    541 #: ../components/elements/dropdown.php:21
     536#: ../components/elements/base-elements/dropdown.php:21
    542537msgid "Dropdown"
    543538msgstr "Dropdown"
    544539
    545540# @ surveyval-locale
    546 #: ../components/elements/dropdown.php:22
     541#: ../components/elements/base-elements/dropdown.php:22
    547542msgid "Add a question which can be answered within a dropdown field."
    548543msgstr ""
    549544"Eine Frage hinzufügen, die mittels eines Dropdown Feldes beantwortet wird."
    550545
    551 #: ../components/elements/dropdown.php:43
    552 #: ../components/elements/multiplechoice.php:41
    553 #: ../components/elements/onechoice.php:41
    554 msgid "You don´t entered any answers. Please add some to display answers here."
    555 msgstr ""
    556 "Es wurden keine Antwort vorgegeben. Bitte geben Sie Antworten an, welche "
    557 "hier ausgegeben werden."
    558 
    559 #: ../components/elements/dropdown.php:48
     546#: ../components/elements/base-elements/dropdown.php:42
    560547msgid "Please select"
    561548msgstr "Bitte w&auml;hlen"
    562549
    563 #: ../components/elements/dropdown.php:71
    564 #: ../components/elements/multiplechoice.php:66
    565 #: ../components/elements/onechoice.php:65 ../components/elements/text.php:41
    566 #: ../components/elements/textarea.php:42
     550#: ../components/elements/base-elements/dropdown.php:65
     551#: ../components/elements/base-elements/multiplechoice.php:60
     552#: ../components/elements/base-elements/onechoice.php:58
     553#: ../components/elements/base-elements/text.php:41
     554#: ../components/elements/base-elements/textarea.php:42
    567555msgid "The description will be shown after the question."
    568556msgstr "Die Beschreibung wird unter der Frage angezeigt."
    569557
    570 #: ../components/elements/dropdown.php:82
    571 #: ../components/elements/onechoice.php:76
     558#: ../components/elements/base-elements/dropdown.php:76
     559#: ../components/elements/base-elements/onechoice.php:69
    572560msgid "Please select a value."
    573561msgstr "Bitte w&auml;hlen Sie einen Wert"
    574562
    575 #: ../components/elements/elements.php:46
    576 msgid "Base Elements to put into surveys"
    577 msgstr "Basis Elemente, welche in einer Umfrage verwendet werden können"
    578 
    579 # @ surveyval-locale
    580 #: ../components/elements/multiplechoice.php:21
     563# @ surveyval-locale
     564#: ../components/elements/base-elements/multiplechoice.php:21
    581565msgid "Multiple Choice"
    582566msgstr "Mehrfach-Auswahl"
    583567
    584568# @ surveyval-locale
    585 #: ../components/elements/multiplechoice.php:23
     569#: ../components/elements/base-elements/multiplechoice.php:23
    586570msgid ""
    587571"Add a question which can be answered by selecting one ore more given answers."
     
    591575
    592576# @ surveyval-locale
    593 #: ../components/elements/multiplechoice.php:70
     577#: ../components/elements/base-elements/multiplechoice.php:64
    594578msgid "Minimum Answers"
    595579msgstr "Minimale Anzahl an Antworten"
    596580
    597581# @ surveyval-locale
    598 #: ../components/elements/multiplechoice.php:73
     582#: ../components/elements/base-elements/multiplechoice.php:67
    599583msgid "The minimum number of answers which have to be choosed."
    600584msgstr "Die minimale Anzahl an Antworten, welche gew&auml;hlt werden kann."
    601585
    602586# @ surveyval-locale
    603 #: ../components/elements/multiplechoice.php:78
     587#: ../components/elements/base-elements/multiplechoice.php:72
    604588msgid "Maximum Answers"
    605589msgstr "Maximale Anzahl an Antworten"
    606590
    607591# @ surveyval-locale
    608 #: ../components/elements/multiplechoice.php:81
     592#: ../components/elements/base-elements/multiplechoice.php:75
    609593msgid "The maximum number of answers which can be choosed."
    610594msgstr "Die maximale Anzahl an Antworten, welche eingegeben werden kann."
    611595
    612 #: ../components/elements/multiplechoice.php:97
     596#: ../components/elements/base-elements/multiplechoice.php:91
    613597msgid "Too less choices."
    614598msgstr "Zu wenig Angaben."
    615599
    616600# @ surveyval-locale
    617 #: ../components/elements/multiplechoice.php:98
    618 #: ../components/elements/multiplechoice.php:108
     601#: ../components/elements/base-elements/multiplechoice.php:92
     602#: ../components/elements/base-elements/multiplechoice.php:102
    619603#, php-format
    620604msgid "You have to choose between %d and %d answers."
    621605msgstr "Sie m&uuml;ssen zwischen %d und %d Antworten ausw&auml;hlen."
    622606
    623 #: ../components/elements/multiplechoice.php:107
     607#: ../components/elements/base-elements/multiplechoice.php:101
    624608msgid "Too many choices."
    625609msgstr "Zu viele Angaben."
    626610
    627611# @ surveyval-locale
    628 #: ../components/elements/onechoice.php:21
     612#: ../components/elements/base-elements/onechoice.php:21
    629613msgid "One Choice"
    630614msgstr "Einfach-Anwort"
    631615
    632616# @ surveyval-locale
    633 #: ../components/elements/onechoice.php:23
     617#: ../components/elements/base-elements/onechoice.php:23
    634618msgid ""
    635619"Add a question which can be answered by selecting one of the given answers."
     
    639623
    640624# @ surveyval-locale
    641 #: ../components/elements/separator.php:21
     625#: ../components/elements/base-elements/separator.php:21
    642626msgid "Separator"
    643627msgstr "Separator"
    644628
    645629# @ surveyval-locale
    646 #: ../components/elements/separator.php:22
     630#: ../components/elements/base-elements/separator.php:22
    647631msgid "Adds a optical separator (<hr>) between questions."
    648632msgstr "F&uuml;gt einen optischen Trennet (<hr>) zwischen die Fragen ein."
    649633
    650634# @ surveyval-locale
    651 #: ../components/elements/separator.php:47
     635#: ../components/elements/base-elements/separator.php:47
    652636msgid "Headline"
    653637msgstr "&Uuml;berschrift"
    654638
    655639# @ surveyval-locale
    656 #: ../components/elements/separator.php:49
     640#: ../components/elements/base-elements/separator.php:49
    657641msgid "Text which will be shown above the separator"
    658642msgstr "Text der &uuml;her dem Separator angezeigt werden soll"
    659643
    660644# @ surveyval-locale
    661 #: ../components/elements/splitter.php:21
     645#: ../components/elements/base-elements/splitter.php:21
    662646msgid "Split Form"
    663647msgstr "Formular teilen"
    664648
    665649# @ surveyval-locale
    666 #: ../components/elements/splitter.php:22
     650#: ../components/elements/base-elements/splitter.php:22
    667651msgid "Splits a form into several steps"
    668652msgstr "Teilt eine Umfrage in mehrere Schritte"
    669653
    670654# @ surveyval-locale
    671 #: ../components/elements/text.php:21
     655#: ../components/elements/base-elements/text.php:21
    672656msgid "Text"
    673657msgstr "Text"
    674658
    675659# @ surveyval-locale
    676 #: ../components/elements/text.php:23
     660#: ../components/elements/base-elements/text.php:23
    677661msgid "Add a question which can be answered within a text field."
    678662msgstr "Eine Frage hinzufügen, die mittels eines Textfeldes beantwortet wird."
    679663
    680664# @ surveyval-locale
    681 #: ../components/elements/text.php:45 ../components/elements/textarea.php:46
     665#: ../components/elements/base-elements/text.php:45
     666#: ../components/elements/base-elements/textarea.php:46
    682667msgid "Minimum length"
    683668msgstr "Minimale l&auml;nge"
    684669
    685670# @ surveyval-locale
    686 #: ../components/elements/text.php:47 ../components/elements/textarea.php:48
     671#: ../components/elements/base-elements/text.php:47
     672#: ../components/elements/base-elements/textarea.php:48
    687673msgid "The minimum number of chars which can be typed in."
    688674msgstr "Die minimale Anzahl an Zeichen, welche eingegeben werden kann."
    689675
    690676# @ surveyval-locale
    691 #: ../components/elements/text.php:51 ../components/elements/textarea.php:52
     677#: ../components/elements/base-elements/text.php:51
     678#: ../components/elements/base-elements/textarea.php:52
    692679msgid "Maximum length"
    693680msgstr "Maximale L&auml;nge"
    694681
    695682# @ surveyval-locale
    696 #: ../components/elements/text.php:53 ../components/elements/textarea.php:54
     683#: ../components/elements/base-elements/text.php:53
     684#: ../components/elements/base-elements/textarea.php:54
    697685msgid "The maximum number of chars which can be typed in."
    698686msgstr "Die maximale Anzahl an Zeichen, welche eingegeben werden kann."
    699687
    700 #: ../components/elements/text.php:57
     688#: ../components/elements/base-elements/text.php:57
    701689msgid "String Validation"
    702690msgstr "Zeichen Validierung"
    703691
    704 #: ../components/elements/text.php:60
     692#: ../components/elements/base-elements/text.php:60
    705693msgid "No validation"
    706694msgstr "Keine Validierung"
    707695
    708 #: ../components/elements/text.php:61
     696#: ../components/elements/base-elements/text.php:61
    709697msgid "Numbers"
    710698msgstr "Ganze Zahlen"
    711699
    712 #: ../components/elements/text.php:62
     700#: ../components/elements/base-elements/text.php:62
    713701msgid "Decimal Numbers"
    714702msgstr "Dezimalzahlen"
    715703
    716 #: ../components/elements/text.php:63
     704#: ../components/elements/base-elements/text.php:63
    717705msgid "Email-Address"
    718706msgstr "Email-Adresse"
    719707
    720 #: ../components/elements/text.php:65
     708#: ../components/elements/base-elements/text.php:65
    721709msgid "The will do a validation for the input."
    722710msgstr "F&uuml;rt eine Validierung f&uuml;r die Eingabe durch."
    723711
    724 #: ../components/elements/text.php:82 ../components/elements/textarea.php:86
     712#: ../components/elements/base-elements/text.php:82
     713#: ../components/elements/base-elements/textarea.php:86
    725714msgid "The input ist too short."
    726715msgstr "Der eingegebene Wert ist zu kurz."
    727716
    728717# @ surveyval-locale
    729 #: ../components/elements/text.php:84 ../components/elements/text.php:95
    730 #: ../components/elements/textarea.php:88
    731 #: ../components/elements/textarea.php:99
     718#: ../components/elements/base-elements/text.php:84
     719#: ../components/elements/base-elements/text.php:95
     720#: ../components/elements/base-elements/textarea.php:88
     721#: ../components/elements/base-elements/textarea.php:99
    732722#, php-format
    733723msgid "It have to be at minimum %d and maximum %d chars."
    734724msgstr "Bitte geben Sie zwischen %d und %d Zeichen ein."
    735725
    736 #: ../components/elements/text.php:94 ../components/elements/textarea.php:98
     726#: ../components/elements/base-elements/text.php:94
     727#: ../components/elements/base-elements/textarea.php:98
    737728msgid "The input is too long."
    738729msgstr "Der eingegebene Wert ist zu lang."
    739730
    740 #: ../components/elements/text.php:108
     731#: ../components/elements/base-elements/text.php:108
    741732msgid "Please input a number."
    742733msgstr "Bitte geben Sie eine ganze Zahl ein."
    743734
    744 #: ../components/elements/text.php:120
     735#: ../components/elements/base-elements/text.php:120
    745736msgid "Please input a decimal number."
    746737msgstr "Bitte geben Sie eine Dezimalzahl ein."
    747738
    748 #: ../components/elements/text.php:128
     739#: ../components/elements/base-elements/text.php:128
    749740msgid "Please input a valid Email-Address."
    750741msgstr "Bitte geben Sie eine g&uuml;ltige Email-Adresse an."
    751742
    752743# @ surveyval-locale
    753 #: ../components/elements/textarea.php:21
     744#: ../components/elements/base-elements/textarea.php:21
    754745msgid "Textarea"
    755746msgstr "Textfeld"
    756747
    757748# @ surveyval-locale
    758 #: ../components/elements/textarea.php:23
     749#: ../components/elements/base-elements/textarea.php:23
    759750msgid "Add a question which can be answered within a text area."
    760751msgstr ""
     
    762753"wird."
    763754
    764 #: ../components/elements/textarea.php:58
     755#: ../components/elements/base-elements/textarea.php:58
    765756msgid "Rows"
    766757msgstr "Reihen"
    767758
    768 #: ../components/elements/textarea.php:61
     759#: ../components/elements/base-elements/textarea.php:61
    769760msgid "Number of rows for typing in  (can be overwritten by CSS)."
    770761msgstr ""
    771762"Anzahl der Zeilen zur Eingabe (kann von CSS &uuml;berschrieben werden)."
    772763
    773 #: ../components/elements/textarea.php:66
     764#: ../components/elements/base-elements/textarea.php:66
    774765msgid "Columns"
    775766msgstr "Spalten"
    776767
    777 #: ../components/elements/textarea.php:69
     768#: ../components/elements/base-elements/textarea.php:69
    778769msgid "Number of columns for typing in (can be overwritten by CSS)."
    779770msgstr ""
    780771"Anzahl der Spalten zur Eingabe (kann von CSS &uuml;berschrieben werden)."
    781772
    782 #: ../components/survey.php:192
    783 msgid "User ID"
    784 msgstr "Nutzer ID"
    785 
    786 #: ../components/survey.php:224
    787 msgid "Date/Time"
    788 msgstr "Datum / Uhrzeit"
    789 
    790 #: ../functions.php:44
     773#: ../components/elements/class-element.php:380
     774msgid "You don´t entered any answers. Please add some to display answers here."
     775msgstr ""
     776"Es wurden keine Antwort vorgegeben. Bitte geben Sie Antworten an, welche "
     777"hier ausgegeben werden."
     778
     779#: ../components/elements/class-element.php:408
     780msgid "No HTML for Element given. Please check element sourcecode."
     781msgstr ""
     782"Kein HTML f&uuml;r das Element angegeben. Bitte &uuml;berpr&uuml;fen Sie den "
     783"Quellcode."
     784
     785# @ surveyval-locale
     786#: ../components/elements/class-element.php:485
     787msgid "Question"
     788msgstr "Frage"
     789
     790# @ surveyval-locale
     791#: ../components/elements/class-element.php:566
     792msgid "Answer/s:"
     793msgstr "Antwort/en:"
     794
     795# @ surveyval-locale
     796#: ../components/elements/class-element.php:686
     797msgid "Add Answer"
     798msgstr "Antwort hinzuf&uuml;gen"
     799
     800# @ surveyval-locale
     801#: ../components/elements/class-element.php:795
     802msgid "Delete element"
     803msgstr "Element l&ouml;schen"
     804
     805#: ../components/elements/component.php:45
     806msgid "Base Elements to put into surveys"
     807msgstr "Basis Elemente, welche in einer Umfrage verwendet werden können"
     808
     809#: ../functions.php:73
    791810msgid ""
    792811"Dear %username%,\n"
     
    808827"%site_name%"
    809828
    810 #: ../functions.php:60
     829#: ../functions.php:89
    811830msgid ""
    812831"Dear %username%,\n"
     
    832851"%site_name%"
    833852
    834 #: ../functions.php:78
     853#: ../functions.php:107
    835854msgid ""
    836855"Dear %username%,\n"
     
    857876
    858877# @ surveyval-locale
    859 #: ../functions.php:104
     878#: ../functions.php:138
    860879msgid "Thank you for participating!"
    861880msgstr "Danke f&uuml;r die Teilnahme an der Umfrage!"
    862881
    863 #: ../functions.php:112
     882#: ../functions.php:146
    864883msgid "You are invited to answer a survey"
    865884msgstr "Sie sind eingeladen an der Umbrage teilzunehmen"
    866885
    867 #: ../functions.php:120
     886#: ../functions.php:154
    868887msgid "Don´t forget to answer the Survey"
    869888msgstr "Vergessen Sie nicht, die Umfrage zu beantworten"
     889
     890# @ surveyval-locale
     891#~ msgid "Made with Questions"
     892#~ msgstr "Erstellt mit Questions"
    870893
    871894# @ surveyval-locale
     
    951974#~ msgstr "Ergebnis-Einstellungen"
    952975
    953 #~ msgid "Show Results"
    954 #~ msgstr "Ergebnisse anzeigen"
    955 
    956976#~ msgid "Size"
    957977#~ msgstr "Gr&ouml;&szlig;e"
     
    966986#~ msgid "You did´t answered this question."
    967987#~ msgstr "Sie haben diese Frage nicht beantwortet."
    968 
    969 # @ surveyval-locale
    970 #~ msgid "There are no elements to save in survey"
    971 #~ msgstr ""
    972 #~ "Es gibt keine Elemente in der Umfrage, die gespeichert werden k&ouml;nnen."
    973988
    974989# @ surveyval-locale
Note: See TracChangeset for help on using the changeset viewer.