Plugin Directory

Changeset 1191755


Ignore:
Timestamp:
07/03/2015 11:49:08 AM (11 years ago)
Author:
Shopello
Message:

New release 2.6.1

Location:
shopello/trunk
Files:
2 added
1 deleted
15 edited

Legend:

Unmodified
Added
Removed
  • shopello/trunk/assets/js/admin.js

    r1114643 r1191755  
    11(function($) {
    22    $(document).ready(function() {
    3     // Put some common elements into variables for easier access / readability
    4     var options_form     = $('#swp_options_form');
    5     var pagesize_select  = $('#preview_per_page');
    6     var sort_order       = $('#preview_sort_order');
    7     var sort             = $('#preview_sort');
    8     var price_roof       = $('#price-interval');
    9     var shortcode        = $('#shortcode');
    10     var shortcode_table  = $('#shortcode_table');
    11     var save_button      = '#save_button';
    12     var filter_box       = $('#shopello_filter_wrap');
    13     var preview_box      = $('#preview_box');
    14     var sc_remove_btns   = $('.form-table.lists .button.remove');
    15     var sc_name_fields   = $('.form-table.lists .swp_item_name');
    16     var color_radios     = $('.colors input[type=radio]');
    17     var keyword_input    = $('#keyword');
    18     var submit_button    = $('p.submit input[type="submit"]');
    19     var categories_wrap  = $('.leftcol .categories');
    20     var category_ids_cbs = categories_wrap.find('input[type="checkbox"]');
    21     var working_spinner  = $('.swp_modal.loader');
    22     var btn_test_settings= $('#test_settings');
    23     var inp_swp_key      = $("#swp_api_key");
    24     var inp_swp_endpoint = $("#swp_api_endpoint");
    25     var swp_status_field = $("#swp_settings_status");
    26     var sync_cat_btn     = $("#swp_cat_sync");
    27     var swp_status_indicator = $(".settings_status");
    28     var cat_list_triggers = ".filter-categories ul label";
    29 
    30     // Row counting and max-count of rows
    31     var total_shortcodes_max = parseInt($('#SAPI_SC_MAX').val(), 10) || 25;
    32     var total_shortcodes     = shortcode_table.find('tr').length;
    33 
    34     // Init a new shortcode generator
    35     var generator = new SWP_Api_Generator({
     3        // Put some common elements into variables for easier access / readability
     4        var options_form     = $('#swp_options_form');
     5        var pagesize_select  = $('#preview_per_page');
     6        var sort_order       = $('#preview_sort_order');
     7        var sort             = $('#preview_sort');
     8        var price_roof       = $('#price-interval');
     9        var shortcode        = $('#shortcode');
     10        var shortcode_table  = $('#shortcode_table');
     11        var save_button      = '#save_button';
     12        var filter_box       = $('#shopello_filter_wrap');
     13        var preview_box      = $('#preview_box');
     14        var sc_remove_btns   = $('.form-table.lists .button.remove');
     15        var sc_name_fields   = $('.form-table.lists .swp_item_name');
     16        var color_radios     = $('.colors input[type=radio]');
     17        var keyword_input    = $('#keyword');
     18        var submit_button    = $('p.submit input[type="submit"]');
     19        var categories_wrap  = $('.leftcol .categories');
     20        var category_ids_cbs = categories_wrap.find('input[type="checkbox"]');
     21        var working_spinner  = $('.swp_modal.loader');
     22        var btn_test_settings= $('#test_settings');
     23        var inp_swp_key      = $("#swp_api_key");
     24        var inp_swp_endpoint = $("#swp_api_endpoint");
     25        var swp_status_field = $("#swp_settings_status");
     26        var sync_cat_btn     = $("#swp_cat_sync");
     27        var swp_status_indicator = $(".settings_status");
     28        var cat_list_triggers = ".filter-categories ul label";
     29
     30        // Row counting and max-count of rows
     31        var total_shortcodes_max = parseInt($('#SAPI_SC_MAX').val(), 10) || 25;
     32        var total_shortcodes     = shortcode_table.find('tr').length;
     33
     34        // Init a new shortcode generator
     35        var generator = new SWP_Api_Generator({
    3636            is_admin : true,
    3737            auto_update_url : false
    3838        });
    3939
    40     // Bind category sync button
    41     sync_cat_btn.click(function(){
    42 
    43         var btn = $(this);
    44         var btn_label = btn.val();
    45         var label = $("#swp_cat_sync_status");
    46 
    47         btn.val(adminL10n.working_button);
    48         btn.attr('disabled', true);
    49 
    50         $.ajax({
    51         url : ajaxurl,
    52         type : 'post',
    53         dataType : 'html',
    54         data : {
    55             action : 'sync_categories'
    56         }
    57         })
    58         .done(function( r ){
    59             label.html( r );
    60             btn.val(btn_label);
    61             btn.attr('disabled', false);
    62         })
    63         .fail(function( e ){
    64             console.error(e);
    65             btn.val(btn_label);
    66             btn.attr('disabled', false);
    67         });
    68     });
    69 
    70     // Test account settings
    71     btn_test_settings.click(function(){
    72 
    73         if( inp_swp_key.length && inp_swp_endpoint.length ){
    74 
    75         var args = {
    76             action   : "test_api_settings",
    77             endpoint : inp_swp_endpoint.val(),
    78             key      : inp_swp_key.val()
    79         };
    80 
    81         $.ajax({
    82             url: ajaxurl,
    83             type: 'post',
    84             dataType: 'json',
    85             data: args
    86         })
    87             .done(function( r ) {
    88 
    89             swp_status_indicator.addClass('tested');
    90             swp_status_indicator.toggleClass('good', r.status);
    91 
    92             swp_status_field.val( r.status );
    93             })
    94             .fail(function( e ) {
    95             console.error(e);
    96             });
    97 
    98 
    99         }
    100     });
    101 
    102     // Make sure forms send with ajax
    103     options_form.submit(function() {
    104         ajax_store_options();
    105     });
    106 
    107     // Detect changes and store.. (is this still working?)
    108     /**
    109      * Listen for server args changes (filter changes)
    110      * and refresh results and filters dynamically
    111      */
    112     generator.listen( generator.EVENTS.CHANGE , function( server_args ){
    113         // Load new search results
    114         generator.load_api_result( $("#preview_box") );
    115 
    116     });
    117 
    118     generator.listen( generator.EVENTS.LOADED, function( response ){
    119         console.log(response);
    120     });
    121 
    122     // Initial bindings and event listeners
    123     bind_events_to_row();
    124     bind_save_button();
    125 
    126     function bind_save_button(){
    127         /*
    128           When user wants to save a generated shortcode
    129         */
    130         $(cat_list_triggers).off('click.swp').on('click.swp', function(){
    131         var l = $(this).next('ul');
    132         if(l.is(':visible'))
    133             l.slideUp();
    134         else
    135             l.slideDown();
    136         });
    137 
    138         $(save_button).off('click.swp').on('click.swp', function() {
    139 
    140         if( max_shortcodes_exceeded() ) {
     40        // Bind category sync button
     41        sync_cat_btn.click(function(){
     42
     43            var btn = $(this);
     44            var btn_label = btn.val();
     45            var label = $("#swp_cat_sync_status");
     46
     47            btn.val(adminL10n.working_button);
     48            btn.attr('disabled', true);
     49
     50            $.ajax({
     51                url : ajaxurl,
     52                type : 'post',
     53                dataType : 'html',
     54                data : {
     55                    action : 'sync_categories'
     56                }
     57            })
     58                .done(function( r ){
     59                    label.html( r );
     60                    btn.val(btn_label);
     61                    btn.attr('disabled', false);
     62                })
     63                .fail(function( e ){
     64                    console.error(e);
     65                    btn.val(btn_label);
     66                    btn.attr('disabled', false);
     67                });
     68        });
     69
     70        // Test account settings
     71        btn_test_settings.click(function() {
     72            if (inp_swp_key.length && inp_swp_endpoint.length) {
     73                var args = {
     74                    action:   'test_api_settings',
     75                    endpoint: inp_swp_endpoint.val(),
     76                    key:      inp_swp_key.val()
     77                };
     78
     79                $.ajax({
     80                    url:      ajaxurl,
     81                    type:     'post',
     82                    dataType: 'json',
     83                    data:     args
     84                }).done(function(response) {
     85                    if (true === response.status) {
     86                        swp_status_indicator.addClass('tested');
     87                        swp_status_indicator.addClass('good');
     88                        swp_status_indicator.removeClass('bad');
     89                    }
     90
     91                    swp_status_field.val(response.status);
     92
     93                }).fail(function(response) {
     94                    if (true !== response.status) {
     95                        swp_status_indicator.addClass('tested');
     96                        swp_status_indicator.addClass('bad');
     97                        swp_status_indicator.removeClass('good');
     98                    }
     99
     100                    swp_status_field.val(response.status);
     101                });
     102            }
     103        });
     104
     105        // Make sure forms send with ajax
     106        options_form.submit(function() {
     107            ajax_store_options();
     108        });
     109
     110        // Detect changes and store.. (is this still working?)
     111        /**
     112         * Listen for server args changes (filter changes)
     113         * and refresh results and filters dynamically
     114         */
     115        generator.listen( generator.EVENTS.CHANGE , function( server_args ){
     116            // Load new search results
     117            generator.load_api_result( $("#preview_box") );
     118
     119        });
     120
     121        generator.listen( generator.EVENTS.LOADED, function( response ){
     122            console.log(response);
     123        });
     124
     125        // Initial bindings and event listeners
     126        bind_events_to_row();
     127        bind_save_button();
     128
     129        function bind_save_button(){
     130            /*
     131              When user wants to save a generated shortcode
     132            */
     133            $(cat_list_triggers).off('click.swp').on('click.swp', function(){
     134                var l = $(this).next('ul');
     135                if(l.is(':visible'))
     136                    l.slideUp();
     137                else
     138                    l.slideDown();
     139            });
     140
     141            $(save_button).off('click.swp').on('click.swp', function() {
     142
     143                if( max_shortcodes_exceeded() ) {
    141144                    alert(adminL10n.max_listings.replace('%d', total_shortcodes_max));
    142             return;
    143         }
    144 
    145         // Save page!
    146         var args = generator.get_server_args('save_item');
    147         args.name = prompt(adminL10n.save_prompt);
    148 
    149         $.post(ajaxurl, args, function(response) {
    150             response = $.parseJSON( response );
    151 
    152             var $table = $('.form-table.lists');
    153             var $row = get_blank_row();
    154 
    155             $row.find('.swp_item_name').val(response.data.name);
    156             $row.find('.swp_item_desc').html(response.data.description);
    157             $row.find('.swp_item_id').val(response.data.id);
    158 
    159             $table.append($row);
    160             bind_events_to_row($row);
    161 
    162             $("#swp_list").val(response.serialized);
    163 
    164             // Store admin changes
    165             ajax_store_options_silent();
    166 
    167         });
    168         });
    169     }
    170 
    171     /*
    172       Method to store options via ajax.
    173     */
    174     function ajax_store_options( silent ) {
    175 
    176         working_spinner.fadeIn(250);
    177 
    178         options_form.ajaxSubmit({
    179 
    180         complete : function(e, status){
    181 
    182             if( status == "success" ) {
    183             if(! silent) {
    184 
    185                 var modal_wrap = $('#modal_wrap');
    186                 var modal      = $("<div id='saveMessage' class='swp_modal'></div>");
    187 
    188                 modal_wrap.html( modal );
    189                 modal.append("<p>Inställningarna sparades</p>").show();
    190             }
    191             }
    192 
    193             working_spinner.fadeOut(250);
    194         },
    195         timeout: 5000
    196         });
    197 
    198         if(! silent )
    199         setTimeout("jQuery('#saveMessage').fadeOut(300);", 2500);
    200 
    201         return false;
    202     }
    203     /*
    204       Alias method for silent save
    205     */
    206     function ajax_store_options_silent() {
    207         ajax_store_options( true );
    208     }
    209 
    210     /*
    211       Method to bind new list-rows eventhandling
    212     */
    213     function bind_events_to_row( $row ) {
    214 
    215         if(! $row ) $row = $('.form-table.lists tr');
    216 
    217         bind_item_namechange( $row.find('.swp_item_name'));
    218         bind_remove_btns( $row.find('.button.remove'));
    219     }
    220 
    221     /*
    222       Method to re-bind (or bind) remove-buttons in the shortcode table
    223     */
    224     function bind_remove_btns( b ) {
    225 
    226         // use passed button or all buttons?
    227         var btns = b ? b : sc_remove_btns;
    228 
    229         // assign listener
    230         btns.click(function(){
    231 
    232         var self = $(this);
    233 
    234         var args = {};
    235         args.id = $(this).siblings(".swp_item_id").val();
    236         args.action = "remove_item";
    237 
    238         $.post(ajaxurl, args, function(response) {
    239             response = $.parseJSON( response );
    240 
    241             if(response.success) {
    242             self.closest('tr').animate({opacity:0, height:0}, function(){
    243                 $(this).remove();
    244 
    245                 console.log(response.serialized);
    246                 $("#swp_list").val(response.serialized);
    247 
    248                 // Store admin changes
    249                 ajax_store_options_silent();
    250             });
    251             }
    252         });
    253         });
    254     }
    255 
    256     function bind_item_namechange( tf ) {
    257 
    258         // use passed button or all buttons?
    259         var tf = tf ? tf : sc_name_fields;
    260 
    261         tf.each( function( ix, item ){
    262         $field = $(item);
    263         $field.change(function(){
    264 
    265             $field = $(this);
    266 
    267             var args    = {};
    268             args.action = "edit_item";
    269             args.id     = $field.closest('tr').find(".swp_item_id").val();
    270             args.name   = $field.val();
    271 
    272             $.post(ajaxurl, args, function(response) {
    273 
    274             response = $.parseJSON( response );
    275 
    276             // Store admin changes
    277             if( response.success ) {
    278                 console.log(response.serialized);
    279                 $("#swp_list").val(response.serialized);
    280                 ajax_store_options_silent();
    281             }
    282             else
    283                 alert(adminL10n.save_error);
    284             });
    285         });
    286         });
    287     }
    288 
    289     function get_blank_row() {
    290         return $('<tr><td width="15%"><input type="text" name="swp_shortcodes_names[]" class="swp_item_name" value="" /></td><td width="40%"><span class="swp_item_desc"></span></td><td width="10%"><input type="hidden" name="swp_item_id" class="swp_item_id" value=""/><input type="button" class="button remove" value="Ta bort" /></td></tr>');
    291     }
    292 
    293     /*
    294       If we have a determined number of max rows, based on that - return if we've exceeded it or not
    295     */
    296     function max_shortcodes_exceeded() {
    297         return (total_shortcodes_max != -1 && shortcode_table.find('tr').length >= total_shortcodes_max);
    298     }
     145                    return;
     146                }
     147
     148                // Save page!
     149                var args = generator.get_server_args('save_item');
     150                args.name = prompt(adminL10n.save_prompt);
     151
     152                $.post(ajaxurl, args, function(response) {
     153                    response = $.parseJSON( response );
     154
     155                    var $table = $('.form-table.lists');
     156                    var $row = get_blank_row();
     157
     158                    $row.find('.swp_item_name').val(response.data.name);
     159                    $row.find('.swp_item_desc').html(response.data.description);
     160                    $row.find('.swp_item_id').val(response.data.id);
     161
     162                    $table.append($row);
     163                    bind_events_to_row($row);
     164
     165                    $("#swp_list").val(response.serialized);
     166
     167                    // Store admin changes
     168                    ajax_store_options_silent();
     169
     170                });
     171            });
     172        }
     173
     174        /*
     175          Method to store options via ajax.
     176        */
     177        function ajax_store_options( silent ) {
     178
     179            working_spinner.fadeIn(250);
     180
     181            options_form.ajaxSubmit({
     182
     183                complete : function(e, status){
     184
     185                    if( status == "success" ) {
     186                        if(! silent) {
     187
     188                            var modal_wrap = $('#modal_wrap');
     189                            var modal      = $("<div id='saveMessage' class='swp_modal'></div>");
     190
     191                            modal_wrap.html( modal );
     192                            modal.append("<p>Inställningarna sparades</p>").show();
     193                        }
     194                    }
     195
     196                    working_spinner.fadeOut(250);
     197                },
     198                timeout: 5000
     199            });
     200
     201            if(! silent )
     202                setTimeout("jQuery('#saveMessage').fadeOut(300);", 2500);
     203
     204            return false;
     205        }
     206        /*
     207          Alias method for silent save
     208        */
     209        function ajax_store_options_silent() {
     210            ajax_store_options( true );
     211        }
     212
     213        /*
     214          Method to bind new list-rows eventhandling
     215        */
     216        function bind_events_to_row( $row ) {
     217
     218            if(! $row ) $row = $('.form-table.lists tr');
     219
     220            bind_item_namechange( $row.find('.swp_item_name'));
     221            bind_remove_btns( $row.find('.button.remove'));
     222        }
     223
     224        /*
     225          Method to re-bind (or bind) remove-buttons in the shortcode table
     226        */
     227        function bind_remove_btns( b ) {
     228
     229            // use passed button or all buttons?
     230            var btns = b ? b : sc_remove_btns;
     231
     232            // assign listener
     233            btns.click(function(){
     234
     235                var self = $(this);
     236
     237                var args = {};
     238                args.id = $(this).siblings(".swp_item_id").val();
     239                args.action = "remove_item";
     240
     241                $.post(ajaxurl, args, function(response) {
     242                    response = $.parseJSON( response );
     243
     244                    if(response.success) {
     245                        self.closest('tr').animate({opacity:0, height:0}, function(){
     246                            $(this).remove();
     247
     248                            console.log(response.serialized);
     249                            $("#swp_list").val(response.serialized);
     250
     251                            // Store admin changes
     252                            ajax_store_options_silent();
     253                        });
     254                    }
     255                });
     256            });
     257        }
     258
     259        function bind_item_namechange( tf ) {
     260
     261            // use passed button or all buttons?
     262            var tf = tf ? tf : sc_name_fields;
     263
     264            tf.each( function( ix, item ){
     265                $field = $(item);
     266                $field.change(function(){
     267
     268                    $field = $(this);
     269
     270                    var args    = {};
     271                    args.action = "edit_item";
     272                    args.id     = $field.closest('tr').find(".swp_item_id").val();
     273                    args.name   = $field.val();
     274
     275                    $.post(ajaxurl, args, function(response) {
     276
     277                        response = $.parseJSON( response );
     278
     279                        // Store admin changes
     280                        if( response.success ) {
     281                            console.log(response.serialized);
     282                            $("#swp_list").val(response.serialized);
     283                            ajax_store_options_silent();
     284                        }
     285                        else
     286                            alert(adminL10n.save_error);
     287                    });
     288                });
     289            });
     290        }
     291
     292        function get_blank_row() {
     293            return $('<tr><td width="15%"><input type="text" name="swp_shortcodes_names[]" class="swp_item_name" value="" /></td><td width="40%"><span class="swp_item_desc"></span></td><td width="10%"><input type="hidden" name="swp_item_id" class="swp_item_id" value=""/><input type="button" class="button remove" value="Ta bort" /></td></tr>');
     294        }
     295
     296        /*
     297          If we have a determined number of max rows, based on that - return if we've exceeded it or not
     298        */
     299        function max_shortcodes_exceeded() {
     300            return (total_shortcodes_max != -1 && shortcode_table.find('tr').length >= total_shortcodes_max);
     301        }
    299302    });
    300303})(jQuery);
  • shopello/trunk/composer.json

    r1142978 r1191755  
    66    "require-dev": {
    77        "squizlabs/php_codesniffer": "@stable",
    8         "leafo/scssphp": "dev-master"
     8        "leafo/scssphp": "@stable"
    99    },
    1010    "autoload": {
  • shopello/trunk/composer.lock

    r1142978 r1191755  
    55        "This file is @generated automatically"
    66    ],
    7     "hash": "e85dd8c6de0bcc01480e48d5b90e2e6e",
     7    "hash": "54c69a045a98cf9ef2d696ccd7b9de2f",
    88    "packages": [
    99        {
     
    167167        {
    168168            "name": "leafo/scssphp",
    169             "version": "dev-master",
     169            "version": "v0.1.5",
    170170            "source": {
    171171                "type": "git",
    172172                "url": "https://github.com/leafo/scssphp.git",
    173                 "reference": "75db4524f22a19ca4ff36899c8d3be311d53f93d"
    174             },
    175             "dist": {
    176                 "type": "zip",
    177                 "url": "https://api.github.com/repos/leafo/scssphp/zipball/75db4524f22a19ca4ff36899c8d3be311d53f93d",
    178                 "reference": "75db4524f22a19ca4ff36899c8d3be311d53f93d",
     173                "reference": "7917e45591d2170031d91111fe9bf3aa64aed6d0"
     174            },
     175            "dist": {
     176                "type": "zip",
     177                "url": "https://api.github.com/repos/leafo/scssphp/zipball/7917e45591d2170031d91111fe9bf3aa64aed6d0",
     178                "reference": "7917e45591d2170031d91111fe9bf3aa64aed6d0",
    179179                "shasum": ""
    180180            },
     
    218218                "stylesheet"
    219219            ],
    220             "time": "2015-04-15 18:02:44"
     220            "time": "2015-06-02 14:16:57"
    221221        },
    222222        {
     
    301301        "twig/twig": 0,
    302302        "squizlabs/php_codesniffer": 0,
    303         "leafo/scssphp": 20
     303        "leafo/scssphp": 0
    304304    },
    305305    "prefer-stable": false,
  • shopello/trunk/readme.txt

    r1173430 r1191755  
    55Requires at least: 4.2.0
    66Tested up to: 4.2.2
    7 Stable tag: 2.6.0
     7Stable tag: 2.6.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5151
    5252== Changelog ==
     53= 2.6.1 =
     54* Replaced inputbox with selectbox when choosing API-Endpoint, should be less
     55issues to get the correct endpoint like this.
     56* Made the "Test API-Settings" script more reliable.
     57
    5358= 2.6.0 =
    5459* Added mediaquerys for the product grid to work better on cellphones.
  • shopello/trunk/shopello_api.php

    r1173401 r1191755  
    88 * Plugin URI: http://shopello.se/api/wordpress
    99 * Description: This plugin was created to allow wordpress blogs and websites to in a simple manner include listings of products from Shopello.se.
    10  * Version: 2.6.0
     10 * Version: 2.6.1
    1111 * Author: Shopello AB
    1212 */
  • shopello/trunk/src/classes/SWP/AdminPages.php

    r1163278 r1191755  
    158158        }
    159159
    160         include(SHOPELLO_PLUGIN_TEMPLATE_DIR.'admin/account.php');
     160        /**
     161         * Output Buffering hack to run settings_fields() and get data to use in the form
     162         */
     163        ob_start();
     164        settings_fields('default');
     165        $hiddenWpFields = ob_get_contents();
     166        ob_clean();
     167
     168        submit_button('Save', 'primary');
     169        $submitButton = ob_get_contents();
     170        ob_end_clean();
     171        /**
     172         * End hack
     173         */
     174
     175        $data = array(
     176            'hiddenWpFields' => $hiddenWpFields,
     177            'swpApiKey' => get_option('swp_api_key'),
     178            'swpApiEndpoint' => get_option('swp_api_endpoint'),
     179            'swpSettingsStatus' => get_option('swp_settings_status'),
     180            'swpResultTitle' => get_option('swp_result_title'),
     181            'swpKeywordTitle' => get_option('swp_keyword_title'),
     182            'submitButton' => $submitButton
     183        );
     184
     185        echo $this->view->render('admin/account', $data);
    161186    }
    162187
  • shopello/trunk/src/lang/shopello-da_DK.po

    r1165651 r1191755  
    55"Project-Id-Version: Shopello API 1.9.8\n"
    66"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/shopello\n"
    7 "POT-Creation-Date: 2015-05-21 12:52:48+00:00\n"
    8 "PO-Revision-Date: 2015-05-21 14:54+0100\n"
     7"POT-Creation-Date: 2015-07-03 13:46+0100\n"
     8"PO-Revision-Date: 2015-07-03 13:46+0100\n"
    99"Last-Translator: \n"
    1010"Language-Team: \n"
     
    1313"Content-Type: text/plain; charset=UTF-8\n"
    1414"Content-Transfer-Encoding: 8bit\n"
    15 "X-Generator: Poedit 1.7.5\n"
     15"X-Generator: Poedit 1.8.1\n"
    1616"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    1717
     
    2626
    2727#: src/classes/SWP/AdminPages.php:53 src/classes/SWP/AdminPages.php:54
    28 #: src/templates/admin/account.php:2
     28#: src/twig/admin/.account.php:3
    2929msgid "API-Settings"
    3030msgstr "API-Indstillinger"
     
    5656
    5757#: src/classes/SWP/AdminPages.php:142 src/classes/SWP/AdminPages.php:157
    58 #: src/classes/SWP/AdminPages.php:169
     58#: src/classes/SWP/AdminPages.php:194
    5959msgid "You do not have sufficient permissions to access this page."
    6060msgstr "Du har ikke de fornødne tilladelser for at få adgang til denne side."
    6161
    62 #: src/classes/SWP/Ajax.php:33
     62#: src/classes/SWP/Ajax.php:48
    6363msgid "The categories has been updated!"
    6464msgstr "Kategorierne er blevet opdateret!"
    6565
    66 #: src/classes/SWP/Ajax.php:35
     66#: src/classes/SWP/Ajax.php:50
    6767msgid "Could not update, try again later or contact the support."
    6868msgstr "Kunne opdatere, prøv igen senere eller kontakt supporten."
    6969
    70 #: src/classes/SWP/Ajax.php:38
     70#: src/classes/SWP/Ajax.php:53
    7171msgid "You have to configure the API-Settings first."
    7272msgstr "Du skal konfigurere API-Indstillingerne først."
    7373
    74 #: src/classes/SWP/Ajax.php:145
     74#: src/classes/SWP/Ajax.php:160
    7575msgid "Api Key or Api Endpoint are missing."
    7676msgstr "API nøgle eller API Endpoint mangler."
    7777
    78 #: src/classes/SWP/Ajax.php:204
     78#: src/classes/SWP/Ajax.php:219
    7979msgid "New item stored"
    8080msgstr "Ny varer er gemt"
    8181
    82 #: src/classes/SWP/Ajax.php:256
     82#: src/classes/SWP/Ajax.php:271
    8383msgid "Item %d removed"
    8484msgstr "Varer %d fjernet"
     
    218218"Indstillinger."
    219219
    220 #: src/templates/admin/account.php:13
    221 msgid "API-Key"
    222 msgstr "API-Nøgle"
    223 
    224 #: src/templates/admin/account.php:21
    225 msgid "API-Endpoint"
    226 msgstr "API-Endpoint"
    227 
    228 #: src/templates/admin/account.php:29
    229 msgid "Test API-Settings"
    230 msgstr "Test API-Indstillingerne"
    231 
    232 #: src/templates/admin/account.php:32
    233 msgid "Test now"
    234 msgstr "Test nu"
    235 
    236 #: src/templates/admin/account.php:38
    237 msgid "Settings are correct."
    238 msgstr "Indstillingerne er korrekte"
    239 
    240 #: src/templates/admin/account.php:39
    241 msgid ""
    242 "Please check your settings and check if ping works on the System Test page."
    243 msgstr ""
    244 "Tjek venligst dine indstillinger og tjek om ping virker på system test siden."
    245 
    246 #: src/templates/admin/account.php:45
    247 msgid "General Settings"
    248 msgstr "Generalle Indstillinger"
    249 
    250 #: src/templates/admin/account.php:50
    251 msgid "Total amount of hits-text"
    252 msgstr "Total antal hits-tekst"
    253 
    254 #: src/templates/admin/account.php:53
    255 msgid "Found %amount% products"
    256 msgstr "Fandt %amount% produkter"
    257 
    258 #: src/templates/admin/account.php:54
    259 msgid "Found 247 products"
    260 msgstr "Fandt 247 produkter"
    261 
    262 #: src/templates/admin/account.php:55
    263 msgid "Written: \"Found %amount% of products for phrase %phrase%\"."
    264 msgstr "Skrevet: \"Fandt %amount% produkter for frasen %phrase%\"."
    265 
    266 #: src/templates/admin/account.php:60
    267 msgid "Keyword-text"
    268 msgstr "Søgeord-tekst"
    269 
    270 #: src/templates/admin/account.php:63
    271 msgid "for phrase %phrase%."
    272 msgstr "for frasen %phrase%."
    273 
    274 #: src/templates/admin/account.php:64
    275 msgid "Completes previous \"Found 247 products\" with a keyword"
    276 msgstr "Fuldender forrige  \"Fandt 247 produkter\" med søgeordet"
    277 
    278 #: src/templates/admin/account.php:65
    279 msgid "For example: \"for phrase %phrase%\"."
    280 msgstr "For eksempel: \"for frase %phrase%\"."
    281 
    282 #: src/templates/admin/account.php:66
    283 msgid "Result: \"Found 247 products for phrase Shoes\""
    284 msgstr "Resultat: \"Fandt 247 produkter for frasen Sko\""
    285 
    286 #: src/templates/admin/account.php:71 src/templates/result/filters.php:56
    287 #: src/templates/result/filters.php:167 src/twig/result/.filters.php:12
    288 msgid "Categories"
    289 msgstr "Kategorier"
    290 
    291 #: src/templates/admin/account.php:74
    292 msgid "Synchronize categories"
    293 msgstr "Synkroniser kategorier"
    294 
    295 #: src/templates/admin/account.php:76
    296 msgid ""
    297 "Categories is automaticly updated daily. Use this button to manually update "
    298 "everything now."
    299 msgstr ""
    300 "Kategorier er automatisk opdateret dagligt. Brug denne knap til manuelt at "
    301 "opdatere alt nu."
    302 
    303 #: src/templates/admin/account.php:77
    304 msgid ""
    305 "If it is the first time you are using the plugin, you probably need to click "
    306 "this."
    307 msgstr ""
    308 "Hvis det er første gang du bruger dette plugin, skal du sandsynligvis klikke "
    309 "her."
    310 
    311220#: src/templates/admin/product-lists.php:6
    312221msgid "Settings is incorrect"
     
    355264msgstr "Brug dine egne søgeord for at begrænse resultatet."
    356265
     266#: src/templates/result/filters.php:56 src/templates/result/filters.php:167
     267#: src/twig/admin/.account.php:78 src/twig/result/.filters.php:12
     268msgid "Categories"
     269msgstr "Kategorier"
     270
    357271#: src/templates/result/filters.php:58 src/twig/result/.filters.php:15
    358272msgid ""
     
    414328msgid "We did not find any results for this search."
    415329msgstr "Vi fandt ikke nogen resultater for denne søgning"
     330
     331#: src/twig/admin/.account.php:13
     332msgid "API-Key"
     333msgstr "API-Nøgle"
     334
     335#: src/twig/admin/.account.php:21
     336msgid "API-Endpoint"
     337msgstr "API-Endpoint"
     338
     339#: src/twig/admin/.account.php:25
     340msgid "Select API Endpoint"
     341msgstr "Vælg API-Endpoint"
     342
     343#: src/twig/admin/.account.php:34
     344msgid "Test API-Settings"
     345msgstr "Test API-Indstillingerne"
     346
     347#: src/twig/admin/.account.php:45
     348msgid "Settings are correct."
     349msgstr "Indstillingerne er korrekte"
     350
     351#: src/twig/admin/.account.php:46
     352msgid ""
     353"Please check your settings and check if ping works on the System Test page."
     354msgstr ""
     355"Tjek venligst dine indstillinger og tjek om ping virker på system test siden."
     356
     357#: src/twig/admin/.account.php:52
     358msgid "General Settings"
     359msgstr "Generalle Indstillinger"
     360
     361#: src/twig/admin/.account.php:57
     362msgid "Total amount of hits-text"
     363msgstr "Total antal hits-tekst"
     364
     365#: src/twig/admin/.account.php:61
     366msgid "Found 247 products"
     367msgstr "Fandt 247 produkter"
     368
     369#: src/twig/admin/.account.php:62
     370msgid "Written: \"Found %amount% of products for phrase %phrase%\"."
     371msgstr "Skrevet: \"Fandt %amount% produkter for frasen %phrase%\"."
     372
     373#: src/twig/admin/.account.php:67
     374msgid "Keyword-text"
     375msgstr "Søgeord-tekst"
     376
     377#: src/twig/admin/.account.php:71
     378msgid "Completes previous \"Found 247 products\" with a keyword"
     379msgstr "Fuldender forrige  \"Fandt 247 produkter\" med søgeordet"
     380
     381#: src/twig/admin/.account.php:72
     382msgid "For example: \"for phrase %phrase%\"."
     383msgstr "For eksempel: \"for frase %phrase%\"."
     384
     385#: src/twig/admin/.account.php:73
     386msgid "Result: \"Found 247 products for phrase Shoes\""
     387msgstr "Resultat: \"Fandt 247 produkter for frasen Sko\""
     388
     389#: src/twig/admin/.account.php:83
     390msgid ""
     391"Categories is automaticly updated daily. Use this button to manually update "
     392"everything now."
     393msgstr ""
     394"Kategorier er automatisk opdateret dagligt. Brug denne knap til manuelt at "
     395"opdatere alt nu."
     396
     397#: src/twig/admin/.account.php:84
     398msgid ""
     399"If it is the first time you are using the plugin, you probably need to click "
     400"this."
     401msgstr ""
     402"Hvis det er første gang du bruger dette plugin, skal du sandsynligvis klikke "
     403"her."
    416404
    417405#: src/twig/admin/.metabox.php:3
     
    448436msgstr "Muligt at forbinde til Shopello med CURL"
    449437
    450 #: src/twig/result/.product_grid.php:30
     438#: src/twig/result/.product_grid.php:29
    451439msgid "Buy"
    452440msgstr "Køb"
    453441
    454 #: src/twig/result/.product_grid.php:36
     442#: src/twig/result/.product_grid.php:35
    455443msgid "No products found"
    456444msgstr "Ingen produkter fundet"
     
    475463msgid "Shopello AB"
    476464msgstr "Shopello AB"
     465
     466#~ msgid "Test now"
     467#~ msgstr "Test nu"
     468
     469#~ msgid "Found %amount% products"
     470#~ msgstr "Fandt %amount% produkter"
     471
     472#~ msgid "for phrase %phrase%."
     473#~ msgstr "for frasen %phrase%."
     474
     475#~ msgid "Synchronize categories"
     476#~ msgstr "Synkroniser kategorier"
    477477
    478478#~ msgid ""
  • shopello/trunk/src/lang/shopello-en_US.po

    r1165651 r1191755  
    55"Project-Id-Version: Shopello API 1.9.8\n"
    66"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/shopello\n"
    7 "POT-Creation-Date: 2015-05-21 12:52:48+00:00\n"
    8 "PO-Revision-Date: 2015-05-21 14:54+0100\n"
     7"POT-Creation-Date: 2015-07-03 13:45+0100\n"
     8"PO-Revision-Date: 2015-07-03 13:46+0100\n"
    99"Last-Translator: \n"
    1010"Language-Team: \n"
     
    1313"Content-Type: text/plain; charset=UTF-8\n"
    1414"Content-Transfer-Encoding: 8bit\n"
    15 "X-Generator: Poedit 1.7.5\n"
     15"X-Generator: Poedit 1.8.1\n"
    1616"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    1717
     
    2626
    2727#: src/classes/SWP/AdminPages.php:53 src/classes/SWP/AdminPages.php:54
    28 #: src/templates/admin/account.php:2
     28#: src/twig/admin/.account.php:3
    2929msgid "API-Settings"
    3030msgstr "API-Settings"
     
    5656
    5757#: src/classes/SWP/AdminPages.php:142 src/classes/SWP/AdminPages.php:157
    58 #: src/classes/SWP/AdminPages.php:169
     58#: src/classes/SWP/AdminPages.php:194
    5959msgid "You do not have sufficient permissions to access this page."
    6060msgstr "You do not have sufficient permissions to access this page."
    6161
    62 #: src/classes/SWP/Ajax.php:33
     62#: src/classes/SWP/Ajax.php:48
    6363msgid "The categories has been updated!"
    6464msgstr "The categories has been updated!"
    6565
    66 #: src/classes/SWP/Ajax.php:35
     66#: src/classes/SWP/Ajax.php:50
    6767msgid "Could not update, try again later or contact the support."
    6868msgstr "Could not update, try again later or contact the support."
    6969
    70 #: src/classes/SWP/Ajax.php:38
     70#: src/classes/SWP/Ajax.php:53
    7171msgid "You have to configure the API-Settings first."
    7272msgstr "You have to configure the API-Settings first."
    7373
    74 #: src/classes/SWP/Ajax.php:145
     74#: src/classes/SWP/Ajax.php:160
    7575msgid "Api Key or Api Endpoint are missing."
    7676msgstr "Api Key or Api Endpoint are missing."
    7777
    78 #: src/classes/SWP/Ajax.php:204
     78#: src/classes/SWP/Ajax.php:219
    7979msgid "New item stored"
    8080msgstr "New item stored"
    8181
    82 #: src/classes/SWP/Ajax.php:256
     82#: src/classes/SWP/Ajax.php:271
    8383msgid "Item %d removed"
    8484msgstr "Item %d removed"
     
    218218"API-Settings."
    219219
    220 #: src/templates/admin/account.php:13
    221 msgid "API-Key"
    222 msgstr "API-Key"
    223 
    224 #: src/templates/admin/account.php:21
    225 msgid "API-Endpoint"
    226 msgstr "API-Endpoint"
    227 
    228 #: src/templates/admin/account.php:29
    229 msgid "Test API-Settings"
    230 msgstr "Test API-Settings"
    231 
    232 #: src/templates/admin/account.php:32
    233 msgid "Test now"
    234 msgstr "Test now"
    235 
    236 #: src/templates/admin/account.php:38
    237 msgid "Settings are correct."
    238 msgstr "Settings are correct."
    239 
    240 #: src/templates/admin/account.php:39
    241 msgid ""
    242 "Please check your settings and check if ping works on the System Test page."
    243 msgstr ""
    244 "Please check your settings and check if ping works on the System Test page."
    245 
    246 #: src/templates/admin/account.php:45
    247 msgid "General Settings"
    248 msgstr "General Settings"
    249 
    250 #: src/templates/admin/account.php:50
    251 msgid "Total amount of hits-text"
    252 msgstr "Total amount of hits-text"
    253 
    254 #: src/templates/admin/account.php:53
    255 msgid "Found %amount% products"
    256 msgstr "Found %amount% products"
    257 
    258 #: src/templates/admin/account.php:54
    259 msgid "Found 247 products"
    260 msgstr "Found 247 products"
    261 
    262 #: src/templates/admin/account.php:55
    263 msgid "Written: \"Found %amount% of products for phrase %phrase%\"."
    264 msgstr "Written: \"Found %amount% of products for phrase %phrase%\"."
    265 
    266 #: src/templates/admin/account.php:60
    267 msgid "Keyword-text"
    268 msgstr "Keyword-text"
    269 
    270 #: src/templates/admin/account.php:63
    271 msgid "for phrase %phrase%."
    272 msgstr "for phrase %phrase%."
    273 
    274 #: src/templates/admin/account.php:64
    275 msgid "Completes previous \"Found 247 products\" with a keyword"
    276 msgstr "Completes previous \"Found 247 products\" with a keyword"
    277 
    278 #: src/templates/admin/account.php:65
    279 msgid "For example: \"for phrase %phrase%\"."
    280 msgstr "For example: \"for phrase %phrase%\"."
    281 
    282 #: src/templates/admin/account.php:66
    283 msgid "Result: \"Found 247 products for phrase Shoes\""
    284 msgstr "Result: \"Found 247 products for phrase Shoes\""
    285 
    286 #: src/templates/admin/account.php:71 src/templates/result/filters.php:56
    287 #: src/templates/result/filters.php:167 src/twig/result/.filters.php:12
    288 msgid "Categories"
    289 msgstr "Categories"
    290 
    291 #: src/templates/admin/account.php:74
    292 msgid "Synchronize categories"
    293 msgstr "Synchronize categories"
    294 
    295 #: src/templates/admin/account.php:76
    296 msgid ""
    297 "Categories is automaticly updated daily. Use this button to manually update "
    298 "everything now."
    299 msgstr ""
    300 "Categories is automaticly updated daily. Use this button to manually update "
    301 "everything now."
    302 
    303 #: src/templates/admin/account.php:77
    304 msgid ""
    305 "If it is the first time you are using the plugin, you probably need to click "
    306 "this."
    307 msgstr ""
    308 "If it is the first time you are using the plugin, you probably need to click "
    309 "this."
    310 
    311220#: src/templates/admin/product-lists.php:6
    312221msgid "Settings is incorrect"
     
    352261msgstr "Use your own keywords to limit the results."
    353262
     263#: src/templates/result/filters.php:56 src/templates/result/filters.php:167
     264#: src/twig/admin/.account.php:78 src/twig/result/.filters.php:12
     265msgid "Categories"
     266msgstr "Categories"
     267
    354268#: src/templates/result/filters.php:58 src/twig/result/.filters.php:15
    355269msgid ""
     
    411325msgid "We did not find any results for this search."
    412326msgstr "We did not find any results for this search."
     327
     328#: src/twig/admin/.account.php:13
     329msgid "API-Key"
     330msgstr "API-Key"
     331
     332#: src/twig/admin/.account.php:21
     333msgid "API-Endpoint"
     334msgstr "API-Endpoint"
     335
     336#: src/twig/admin/.account.php:25
     337msgid "Select API Endpoint"
     338msgstr "Select API Endpoint"
     339
     340#: src/twig/admin/.account.php:34
     341msgid "Test API-Settings"
     342msgstr "Test API-Settings"
     343
     344#: src/twig/admin/.account.php:45
     345msgid "Settings are correct."
     346msgstr "Settings are correct."
     347
     348#: src/twig/admin/.account.php:46
     349msgid ""
     350"Please check your settings and check if ping works on the System Test page."
     351msgstr ""
     352"Please check your settings and check if ping works on the System Test page."
     353
     354#: src/twig/admin/.account.php:52
     355msgid "General Settings"
     356msgstr "General Settings"
     357
     358#: src/twig/admin/.account.php:57
     359msgid "Total amount of hits-text"
     360msgstr "Total amount of hits-text"
     361
     362#: src/twig/admin/.account.php:61
     363msgid "Found 247 products"
     364msgstr "Found 247 products"
     365
     366#: src/twig/admin/.account.php:62
     367msgid "Written: \"Found %amount% of products for phrase %phrase%\"."
     368msgstr "Written: \"Found %amount% of products for phrase %phrase%\"."
     369
     370#: src/twig/admin/.account.php:67
     371msgid "Keyword-text"
     372msgstr "Keyword-text"
     373
     374#: src/twig/admin/.account.php:71
     375msgid "Completes previous \"Found 247 products\" with a keyword"
     376msgstr "Completes previous \"Found 247 products\" with a keyword"
     377
     378#: src/twig/admin/.account.php:72
     379msgid "For example: \"for phrase %phrase%\"."
     380msgstr "For example: \"for phrase %phrase%\"."
     381
     382#: src/twig/admin/.account.php:73
     383msgid "Result: \"Found 247 products for phrase Shoes\""
     384msgstr "Result: \"Found 247 products for phrase Shoes\""
     385
     386#: src/twig/admin/.account.php:83
     387msgid ""
     388"Categories is automaticly updated daily. Use this button to manually update "
     389"everything now."
     390msgstr ""
     391"Categories is automaticly updated daily. Use this button to manually update "
     392"everything now."
     393
     394#: src/twig/admin/.account.php:84
     395msgid ""
     396"If it is the first time you are using the plugin, you probably need to click "
     397"this."
     398msgstr ""
     399"If it is the first time you are using the plugin, you probably need to click "
     400"this."
    413401
    414402#: src/twig/admin/.metabox.php:3
     
    445433msgstr "Able to connect to Shopello with CURL"
    446434
    447 #: src/twig/result/.product_grid.php:30
     435#: src/twig/result/.product_grid.php:29
    448436msgid "Buy"
    449437msgstr "Buy"
    450438
    451 #: src/twig/result/.product_grid.php:36
     439#: src/twig/result/.product_grid.php:35
    452440msgid "No products found"
    453441msgstr "No products found"
     
    472460msgid "Shopello AB"
    473461msgstr "Shopello AB"
     462
     463#~ msgid "Test now"
     464#~ msgstr "Test now"
     465
     466#~ msgid "Found %amount% products"
     467#~ msgstr "Found %amount% products"
     468
     469#~ msgid "for phrase %phrase%."
     470#~ msgstr "for phrase %phrase%."
     471
     472#~ msgid "Synchronize categories"
     473#~ msgstr "Synchronize categories"
    474474
    475475#~ msgid ""
  • shopello/trunk/src/lang/shopello-sv_SE.po

    r1165651 r1191755  
    55"Project-Id-Version: Shopello API 1.9.8\n"
    66"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/shopello\n"
    7 "POT-Creation-Date: 2015-05-21 12:52:48+00:00\n"
    8 "PO-Revision-Date: 2015-05-21 14:54+0100\n"
     7"POT-Creation-Date: 2015-07-03 13:45+0100\n"
     8"PO-Revision-Date: 2015-07-03 13:45+0100\n"
    99"Last-Translator: \n"
    1010"Language-Team: \n"
     
    1313"Content-Type: text/plain; charset=UTF-8\n"
    1414"Content-Transfer-Encoding: 8bit\n"
    15 "X-Generator: Poedit 1.7.5\n"
     15"X-Generator: Poedit 1.8.1\n"
    1616"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    1717
     
    2626
    2727#: src/classes/SWP/AdminPages.php:53 src/classes/SWP/AdminPages.php:54
    28 #: src/templates/admin/account.php:2
     28#: src/twig/admin/.account.php:3
    2929msgid "API-Settings"
    3030msgstr "API-Inställningar"
     
    5656
    5757#: src/classes/SWP/AdminPages.php:142 src/classes/SWP/AdminPages.php:157
    58 #: src/classes/SWP/AdminPages.php:169
     58#: src/classes/SWP/AdminPages.php:194
    5959msgid "You do not have sufficient permissions to access this page."
    6060msgstr "Du har inte tillräckliga rättigheter för att besöka denna sida."
    6161
    62 #: src/classes/SWP/Ajax.php:33
     62#: src/classes/SWP/Ajax.php:48
    6363msgid "The categories has been updated!"
    6464msgstr "Kategorierna har uppdaterats!"
    6565
    66 #: src/classes/SWP/Ajax.php:35
     66#: src/classes/SWP/Ajax.php:50
    6767msgid "Could not update, try again later or contact the support."
    6868msgstr "Kunde inte uppdatera, försök igen senare eller kontakta supporten."
    6969
    70 #: src/classes/SWP/Ajax.php:38
     70#: src/classes/SWP/Ajax.php:53
    7171msgid "You have to configure the API-Settings first."
    7272msgstr "Du måste ställa in API-inställningarna först."
    7373
    74 #: src/classes/SWP/Ajax.php:145
     74#: src/classes/SWP/Ajax.php:160
    7575msgid "Api Key or Api Endpoint are missing."
    7676msgstr "API-Nyckel eller API-Adress saknas."
    7777
    78 #: src/classes/SWP/Ajax.php:204
     78#: src/classes/SWP/Ajax.php:219
    7979msgid "New item stored"
    8080msgstr "Nytt objekt sparat"
    8181
    82 #: src/classes/SWP/Ajax.php:256
     82#: src/classes/SWP/Ajax.php:271
    8383msgid "Item %d removed"
    8484msgstr "Listning %d har tagits bort"
     
    218218"inställninngar."
    219219
    220 #: src/templates/admin/account.php:13
    221 msgid "API-Key"
    222 msgstr "API-Nyckel"
    223 
    224 #: src/templates/admin/account.php:21
    225 msgid "API-Endpoint"
    226 msgstr "API-Adress"
    227 
    228 #: src/templates/admin/account.php:29
    229 msgid "Test API-Settings"
    230 msgstr "Testa API-Inställningarna"
    231 
    232 #: src/templates/admin/account.php:32
    233 msgid "Test now"
    234 msgstr "Testa nu"
    235 
    236 #: src/templates/admin/account.php:38
    237 msgid "Settings are correct."
    238 msgstr "Inställningarna är korrekta."
    239 
    240 #: src/templates/admin/account.php:39
    241 msgid ""
    242 "Please check your settings and check if ping works on the System Test page."
    243 msgstr ""
    244 "Vänligen kontrollera dina inställningar och kontrollera om ping fungerar på "
    245 "Systemtest-sidan."
    246 
    247 #: src/templates/admin/account.php:45
    248 msgid "General Settings"
    249 msgstr "Generella inställningar"
    250 
    251 #: src/templates/admin/account.php:50
    252 msgid "Total amount of hits-text"
    253 msgstr "Antal träffar-text"
    254 
    255 #: src/templates/admin/account.php:53
    256 msgid "Found %amount% products"
    257 msgstr "Hittade %amount% produkter"
    258 
    259 #: src/templates/admin/account.php:54
    260 msgid "Found 247 products"
    261 msgstr "Hittade 247 produkter"
    262 
    263 #: src/templates/admin/account.php:55
    264 msgid "Written: \"Found %amount% of products for phrase %phrase%\"."
    265 msgstr "Skrivs: \"Hittade %amount% produkter för sökordet %phrase%\"."
    266 
    267 #: src/templates/admin/account.php:60
    268 msgid "Keyword-text"
    269 msgstr "Sökords-text"
    270 
    271 #: src/templates/admin/account.php:63
    272 msgid "for phrase %phrase%."
    273 msgstr "för sökordet %phrase%."
    274 
    275 #: src/templates/admin/account.php:64
    276 msgid "Completes previous \"Found 247 products\" with a keyword"
    277 msgstr "Kompletterar föregående \"Hittade 247 produkter\" med ett sökord."
    278 
    279 #: src/templates/admin/account.php:65
    280 msgid "For example: \"for phrase %phrase%\"."
    281 msgstr "Till exempel: \"för sökordet %phrase%\"."
    282 
    283 #: src/templates/admin/account.php:66
    284 msgid "Result: \"Found 247 products for phrase Shoes\""
    285 msgstr "Resultat: \"Hittade 247 produkter för sökordet Skor\""
    286 
    287 #: src/templates/admin/account.php:71 src/templates/result/filters.php:56
    288 #: src/templates/result/filters.php:167 src/twig/result/.filters.php:12
    289 msgid "Categories"
    290 msgstr "Kategorier"
    291 
    292 #: src/templates/admin/account.php:74
    293 msgid "Synchronize categories"
    294 msgstr "Synkronisera kategorier"
    295 
    296 #: src/templates/admin/account.php:76
    297 msgid ""
    298 "Categories is automaticly updated daily. Use this button to manually update "
    299 "everything now."
    300 msgstr ""
    301 "Kategorierna uppdateras dagligen. Använd knappen för att manuellt uppdatera "
    302 "alla kategorier."
    303 
    304 #: src/templates/admin/account.php:77
    305 msgid ""
    306 "If it is the first time you are using the plugin, you probably need to click "
    307 "this."
    308 msgstr ""
    309 "Första gången du använder pluginet behöver du troligen forcera "
    310 "synkronisering för att ladda ned alla kategorier."
    311 
    312220#: src/templates/admin/product-lists.php:6
    313221msgid "Settings is incorrect"
     
    355263msgstr "Använd egna sökord för att begränsa produkturvalet."
    356264
     265#: src/templates/result/filters.php:56 src/templates/result/filters.php:167
     266#: src/twig/admin/.account.php:78 src/twig/result/.filters.php:12
     267msgid "Categories"
     268msgstr "Kategorier"
     269
    357270#: src/templates/result/filters.php:58 src/twig/result/.filters.php:15
    358271msgid ""
     
    413326msgid "We did not find any results for this search."
    414327msgstr "Vi hittade inga resultat för din sökning"
     328
     329#: src/twig/admin/.account.php:13
     330msgid "API-Key"
     331msgstr "API-Nyckel"
     332
     333#: src/twig/admin/.account.php:21
     334msgid "API-Endpoint"
     335msgstr "API-Adress"
     336
     337#: src/twig/admin/.account.php:25
     338msgid "Select API Endpoint"
     339msgstr "Välj API-Adress"
     340
     341#: src/twig/admin/.account.php:34
     342msgid "Test API-Settings"
     343msgstr "Testa API-Inställningarna"
     344
     345#: src/twig/admin/.account.php:45
     346msgid "Settings are correct."
     347msgstr "Inställningarna är korrekta."
     348
     349#: src/twig/admin/.account.php:46
     350msgid ""
     351"Please check your settings and check if ping works on the System Test page."
     352msgstr ""
     353"Vänligen kontrollera dina inställningar och kontrollera om ping fungerar på "
     354"Systemtest-sidan."
     355
     356#: src/twig/admin/.account.php:52
     357msgid "General Settings"
     358msgstr "Generella inställningar"
     359
     360#: src/twig/admin/.account.php:57
     361msgid "Total amount of hits-text"
     362msgstr "Antal träffar-text"
     363
     364#: src/twig/admin/.account.php:61
     365msgid "Found 247 products"
     366msgstr "Hittade 247 produkter"
     367
     368#: src/twig/admin/.account.php:62
     369msgid "Written: \"Found %amount% of products for phrase %phrase%\"."
     370msgstr "Skrivs: \"Hittade %amount% produkter för sökordet %phrase%\"."
     371
     372#: src/twig/admin/.account.php:67
     373msgid "Keyword-text"
     374msgstr "Sökords-text"
     375
     376#: src/twig/admin/.account.php:71
     377msgid "Completes previous \"Found 247 products\" with a keyword"
     378msgstr "Kompletterar föregående \"Hittade 247 produkter\" med ett sökord."
     379
     380#: src/twig/admin/.account.php:72
     381msgid "For example: \"for phrase %phrase%\"."
     382msgstr "Till exempel: \"för sökordet %phrase%\"."
     383
     384#: src/twig/admin/.account.php:73
     385msgid "Result: \"Found 247 products for phrase Shoes\""
     386msgstr "Resultat: \"Hittade 247 produkter för sökordet Skor\""
     387
     388#: src/twig/admin/.account.php:83
     389msgid ""
     390"Categories is automaticly updated daily. Use this button to manually update "
     391"everything now."
     392msgstr ""
     393"Kategorierna uppdateras dagligen. Använd knappen för att manuellt uppdatera "
     394"alla kategorier."
     395
     396#: src/twig/admin/.account.php:84
     397msgid ""
     398"If it is the first time you are using the plugin, you probably need to click "
     399"this."
     400msgstr ""
     401"Första gången du använder pluginet behöver du troligen forcera "
     402"synkronisering för att ladda ned alla kategorier."
    415403
    416404#: src/twig/admin/.metabox.php:3
     
    447435msgstr "Lyckas ansluta till Shopello med CURL"
    448436
    449 #: src/twig/result/.product_grid.php:30
     437#: src/twig/result/.product_grid.php:29
    450438msgid "Buy"
    451439msgstr "Köp"
    452440
    453 #: src/twig/result/.product_grid.php:36
     441#: src/twig/result/.product_grid.php:35
    454442msgid "No products found"
    455443msgstr "Inga produkter hittade"
     
    474462msgid "Shopello AB"
    475463msgstr "Shopello AB"
     464
     465#~ msgid "Test now"
     466#~ msgstr "Testa nu"
     467
     468#~ msgid "Found %amount% products"
     469#~ msgstr "Hittade %amount% produkter"
     470
     471#~ msgid "for phrase %phrase%."
     472#~ msgstr "för sökordet %phrase%."
     473
     474#~ msgid "Synchronize categories"
     475#~ msgstr "Synkronisera kategorier"
    476476
    477477#~ msgid ""
  • shopello/trunk/src/lang/shopello.pot

    r1165651 r1191755  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Shopello API 2.4.1\n"
     5"Project-Id-Version: Shopello API 2.6.1\n"
    66"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/shopello\n"
    7 "POT-Creation-Date: 2015-05-21 12:52:48+00:00\n"
     7"POT-Creation-Date: 2015-07-03 11:43:37+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=UTF-8\n"
     
    2323
    2424#: src/classes/SWP/AdminPages.php:53 src/classes/SWP/AdminPages.php:54
    25 #: src/templates/admin/account.php:2
     25#: src/twig/admin/.account.php:3
    2626msgid "API-Settings"
    2727msgstr ""
     
    5151
    5252#: src/classes/SWP/AdminPages.php:142 src/classes/SWP/AdminPages.php:157
    53 #: src/classes/SWP/AdminPages.php:169
     53#: src/classes/SWP/AdminPages.php:194
    5454msgid "You do not have sufficient permissions to access this page."
    5555msgstr ""
    5656
    57 #: src/classes/SWP/Ajax.php:33
     57#: src/classes/SWP/Ajax.php:48
    5858msgid "The categories has been updated!"
    5959msgstr ""
    6060
    61 #: src/classes/SWP/Ajax.php:35
     61#: src/classes/SWP/Ajax.php:50
    6262msgid "Could not update, try again later or contact the support."
    6363msgstr ""
    6464
    65 #: src/classes/SWP/Ajax.php:38
     65#: src/classes/SWP/Ajax.php:53
    6666msgid "You have to configure the API-Settings first."
    6767msgstr ""
    6868
    69 #: src/classes/SWP/Ajax.php:145
     69#: src/classes/SWP/Ajax.php:160
    7070msgid "Api Key or Api Endpoint are missing."
    7171msgstr ""
    7272
    73 #: src/classes/SWP/Ajax.php:204
     73#: src/classes/SWP/Ajax.php:219
    7474msgid "New item stored"
    7575msgstr ""
    7676
    77 #: src/classes/SWP/Ajax.php:256
     77#: src/classes/SWP/Ajax.php:271
    7878msgid "Item %d removed"
    7979msgstr ""
     
    211211msgstr ""
    212212
    213 #: src/templates/admin/account.php:13
    214 msgid "API-Key"
    215 msgstr ""
    216 
    217 #: src/templates/admin/account.php:21
    218 msgid "API-Endpoint"
    219 msgstr ""
    220 
    221 #: src/templates/admin/account.php:29
    222 msgid "Test API-Settings"
    223 msgstr ""
    224 
    225 #: src/templates/admin/account.php:32
    226 msgid "Test now"
    227 msgstr ""
    228 
    229 #: src/templates/admin/account.php:38
    230 msgid "Settings are correct."
    231 msgstr ""
    232 
    233 #: src/templates/admin/account.php:39
    234 msgid ""
    235 "Please check your settings and check if ping works on the System Test page."
    236 msgstr ""
    237 
    238 #: src/templates/admin/account.php:45
    239 msgid "General Settings"
    240 msgstr ""
    241 
    242 #: src/templates/admin/account.php:50
    243 msgid "Total amount of hits-text"
    244 msgstr ""
    245 
    246 #: src/templates/admin/account.php:53
    247 msgid "Found %amount% products"
    248 msgstr ""
    249 
    250 #: src/templates/admin/account.php:54
    251 msgid "Found 247 products"
    252 msgstr ""
    253 
    254 #: src/templates/admin/account.php:55
    255 msgid "Written: \"Found %amount% of products for phrase %phrase%\"."
    256 msgstr ""
    257 
    258 #: src/templates/admin/account.php:60
    259 msgid "Keyword-text"
    260 msgstr ""
    261 
    262 #: src/templates/admin/account.php:63
    263 msgid "for phrase %phrase%."
    264 msgstr ""
    265 
    266 #: src/templates/admin/account.php:64
    267 msgid "Completes previous \"Found 247 products\" with a keyword"
    268 msgstr ""
    269 
    270 #: src/templates/admin/account.php:65
    271 msgid "For example: \"for phrase %phrase%\"."
    272 msgstr ""
    273 
    274 #: src/templates/admin/account.php:66
    275 msgid "Result: \"Found 247 products for phrase Shoes\""
    276 msgstr ""
    277 
    278 #: src/templates/admin/account.php:71 src/templates/result/filters.php:56
    279 #: src/templates/result/filters.php:167 src/twig/result/.filters.php:12
    280 msgid "Categories"
    281 msgstr ""
    282 
    283 #: src/templates/admin/account.php:74
    284 msgid "Synchronize categories"
    285 msgstr ""
    286 
    287 #: src/templates/admin/account.php:76
    288 msgid ""
    289 "Categories is automaticly updated daily. Use this button to manually update "
    290 "everything now."
    291 msgstr ""
    292 
    293 #: src/templates/admin/account.php:77
    294 msgid ""
    295 "If it is the first time you are using the plugin, you probably need to click "
    296 "this."
    297 msgstr ""
    298 
    299213#: src/templates/admin/product-lists.php:6
    300214msgid "Settings is incorrect"
     
    335249msgstr ""
    336250
     251#: src/templates/result/filters.php:56 src/templates/result/filters.php:167
     252#: src/twig/admin/.account.php:78 src/twig/result/.filters.php:12
     253msgid "Categories"
     254msgstr ""
     255
    337256#: src/templates/result/filters.php:58 src/twig/result/.filters.php:15
    338257msgid ""
     
    389308#: src/templates/result/no_hits.php:1
    390309msgid "We did not find any results for this search."
     310msgstr ""
     311
     312#: src/twig/admin/.account.php:13
     313msgid "API-Key"
     314msgstr ""
     315
     316#: src/twig/admin/.account.php:21
     317msgid "API-Endpoint"
     318msgstr ""
     319
     320#: src/twig/admin/.account.php:25
     321msgid "Select API Endpoint"
     322msgstr ""
     323
     324#: src/twig/admin/.account.php:34
     325msgid "Test API-Settings"
     326msgstr ""
     327
     328#: src/twig/admin/.account.php:45
     329msgid "Settings are correct."
     330msgstr ""
     331
     332#: src/twig/admin/.account.php:46
     333msgid ""
     334"Please check your settings and check if ping works on the System Test page."
     335msgstr ""
     336
     337#: src/twig/admin/.account.php:52
     338msgid "General Settings"
     339msgstr ""
     340
     341#: src/twig/admin/.account.php:57
     342msgid "Total amount of hits-text"
     343msgstr ""
     344
     345#: src/twig/admin/.account.php:61
     346msgid "Found 247 products"
     347msgstr ""
     348
     349#: src/twig/admin/.account.php:62
     350msgid "Written: \"Found %amount% of products for phrase %phrase%\"."
     351msgstr ""
     352
     353#: src/twig/admin/.account.php:67
     354msgid "Keyword-text"
     355msgstr ""
     356
     357#: src/twig/admin/.account.php:71
     358msgid "Completes previous \"Found 247 products\" with a keyword"
     359msgstr ""
     360
     361#: src/twig/admin/.account.php:72
     362msgid "For example: \"for phrase %phrase%\"."
     363msgstr ""
     364
     365#: src/twig/admin/.account.php:73
     366msgid "Result: \"Found 247 products for phrase Shoes\""
     367msgstr ""
     368
     369#: src/twig/admin/.account.php:83
     370msgid ""
     371"Categories is automaticly updated daily. Use this button to manually update "
     372"everything now."
     373msgstr ""
     374
     375#: src/twig/admin/.account.php:84
     376msgid ""
     377"If it is the first time you are using the plugin, you probably need to click "
     378"this."
    391379msgstr ""
    392380
     
    420408msgstr ""
    421409
    422 #: src/twig/result/.product_grid.php:30
     410#: src/twig/result/.product_grid.php:29
    423411msgid "Buy"
    424412msgstr ""
    425413
    426 #: src/twig/result/.product_grid.php:36
     414#: src/twig/result/.product_grid.php:35
    427415msgid "No products found"
    428416msgstr ""
  • shopello/trunk/vendor/autoload.php

    r1173401 r1191755  
    55require_once __DIR__ . '/composer' . '/autoload_real.php';
    66
    7 return ComposerAutoloaderInit69cd138bd2eae338d7a5bcdff6dd812f::getLoader();
     7return ComposerAutoloaderInit45c38a952ce19ec8ae3fffd7154c776c::getLoader();
  • shopello/trunk/vendor/composer/autoload_real.php

    r1173401 r1191755  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit69cd138bd2eae338d7a5bcdff6dd812f
     5class ComposerAutoloaderInit45c38a952ce19ec8ae3fffd7154c776c
    66{
    77    private static $loader;
     
    2020        }
    2121
    22         spl_autoload_register(array('ComposerAutoloaderInit69cd138bd2eae338d7a5bcdff6dd812f', 'loadClassLoader'), true, true);
     22        spl_autoload_register(array('ComposerAutoloaderInit45c38a952ce19ec8ae3fffd7154c776c', 'loadClassLoader'), true, true);
    2323        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    24         spl_autoload_unregister(array('ComposerAutoloaderInit69cd138bd2eae338d7a5bcdff6dd812f', 'loadClassLoader'));
     24        spl_autoload_unregister(array('ComposerAutoloaderInit45c38a952ce19ec8ae3fffd7154c776c', 'loadClassLoader'));
    2525
    2626        $map = require __DIR__ . '/autoload_namespaces.php';
     
    4545}
    4646
    47 function composerRequire69cd138bd2eae338d7a5bcdff6dd812f($file)
     47function composerRequire45c38a952ce19ec8ae3fffd7154c776c($file)
    4848{
    4949    require $file;
Note: See TracChangeset for help on using the changeset viewer.