Changeset 1191755
- Timestamp:
- 07/03/2015 11:49:08 AM (11 years ago)
- Location:
- shopello/trunk
- Files:
-
- 2 added
- 1 deleted
- 15 edited
-
assets/js/admin.js (modified) (1 diff)
-
composer.json (modified) (1 diff)
-
composer.lock (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
-
shopello_api.php (modified) (1 diff)
-
src/classes/SWP/AdminPages.php (modified) (1 diff)
-
src/lang/shopello-da_DK.mo (modified) (previous)
-
src/lang/shopello-da_DK.po (modified) (9 diffs)
-
src/lang/shopello-en_US.mo (modified) (previous)
-
src/lang/shopello-en_US.po (modified) (9 diffs)
-
src/lang/shopello-sv_SE.mo (modified) (previous)
-
src/lang/shopello-sv_SE.po (modified) (9 diffs)
-
src/lang/shopello.pot (modified) (7 diffs)
-
src/templates/admin/account.php (deleted)
-
src/twig/admin/.account.php (added)
-
src/twig/admin/account.twig (added)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shopello/trunk/assets/js/admin.js
r1114643 r1191755 1 1 (function($) { 2 2 $(document).ready(function() { 3 // Put some common elements into variables for easier access / readability4 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 rows31 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 generator35 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({ 36 36 is_admin : true, 37 37 auto_update_url : false 38 38 }); 39 39 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() ) { 141 144 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 changes165 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: 5000196 });197 198 if(! silent )199 setTimeout("jQuery('#saveMessage').fadeOut(300);", 2500);200 201 return false;202 }203 /*204 Alias method for silent save205 */206 function ajax_store_options_silent() {207 ajax_store_options( true );208 }209 210 /*211 Method to bind new list-rows eventhandling212 */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 table223 */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 listener230 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 changes249 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 changes277 if( response.success ) {278 console.log(response.serialized);279 $("#swp_list").val(response.serialized);280 ajax_store_options_silent();281 }282 else283 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 not295 */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 } 299 302 }); 300 303 })(jQuery); -
shopello/trunk/composer.json
r1142978 r1191755 6 6 "require-dev": { 7 7 "squizlabs/php_codesniffer": "@stable", 8 "leafo/scssphp": " dev-master"8 "leafo/scssphp": "@stable" 9 9 }, 10 10 "autoload": { -
shopello/trunk/composer.lock
r1142978 r1191755 5 5 "This file is @generated automatically" 6 6 ], 7 "hash": " e85dd8c6de0bcc01480e48d5b90e2e6e",7 "hash": "54c69a045a98cf9ef2d696ccd7b9de2f", 8 8 "packages": [ 9 9 { … … 167 167 { 168 168 "name": "leafo/scssphp", 169 "version": " dev-master",169 "version": "v0.1.5", 170 170 "source": { 171 171 "type": "git", 172 172 "url": "https://github.com/leafo/scssphp.git", 173 "reference": "7 5db4524f22a19ca4ff36899c8d3be311d53f93d"174 }, 175 "dist": { 176 "type": "zip", 177 "url": "https://api.github.com/repos/leafo/scssphp/zipball/7 5db4524f22a19ca4ff36899c8d3be311d53f93d",178 "reference": "7 5db4524f22a19ca4ff36899c8d3be311d53f93d",173 "reference": "7917e45591d2170031d91111fe9bf3aa64aed6d0" 174 }, 175 "dist": { 176 "type": "zip", 177 "url": "https://api.github.com/repos/leafo/scssphp/zipball/7917e45591d2170031d91111fe9bf3aa64aed6d0", 178 "reference": "7917e45591d2170031d91111fe9bf3aa64aed6d0", 179 179 "shasum": "" 180 180 }, … … 218 218 "stylesheet" 219 219 ], 220 "time": "2015-0 4-15 18:02:44"220 "time": "2015-06-02 14:16:57" 221 221 }, 222 222 { … … 301 301 "twig/twig": 0, 302 302 "squizlabs/php_codesniffer": 0, 303 "leafo/scssphp": 20303 "leafo/scssphp": 0 304 304 }, 305 305 "prefer-stable": false, -
shopello/trunk/readme.txt
r1173430 r1191755 5 5 Requires at least: 4.2.0 6 6 Tested up to: 4.2.2 7 Stable tag: 2.6. 07 Stable tag: 2.6.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 51 51 52 52 == Changelog == 53 = 2.6.1 = 54 * Replaced inputbox with selectbox when choosing API-Endpoint, should be less 55 issues to get the correct endpoint like this. 56 * Made the "Test API-Settings" script more reliable. 57 53 58 = 2.6.0 = 54 59 * Added mediaquerys for the product grid to work better on cellphones. -
shopello/trunk/shopello_api.php
r1173401 r1191755 8 8 * Plugin URI: http://shopello.se/api/wordpress 9 9 * 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. 010 * Version: 2.6.1 11 11 * Author: Shopello AB 12 12 */ -
shopello/trunk/src/classes/SWP/AdminPages.php
r1163278 r1191755 158 158 } 159 159 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); 161 186 } 162 187 -
shopello/trunk/src/lang/shopello-da_DK.po
r1165651 r1191755 5 5 "Project-Id-Version: Shopello API 1.9.8\n" 6 6 "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/shopello\n" 7 "POT-Creation-Date: 2015-0 5-21 12:52:48+00:00\n"8 "PO-Revision-Date: 2015-0 5-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" 9 9 "Last-Translator: \n" 10 10 "Language-Team: \n" … … 13 13 "Content-Type: text/plain; charset=UTF-8\n" 14 14 "Content-Transfer-Encoding: 8bit\n" 15 "X-Generator: Poedit 1. 7.5\n"15 "X-Generator: Poedit 1.8.1\n" 16 16 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 17 17 … … 26 26 27 27 #: src/classes/SWP/AdminPages.php:53 src/classes/SWP/AdminPages.php:54 28 #: src/t emplates/admin/account.php:228 #: src/twig/admin/.account.php:3 29 29 msgid "API-Settings" 30 30 msgstr "API-Indstillinger" … … 56 56 57 57 #: src/classes/SWP/AdminPages.php:142 src/classes/SWP/AdminPages.php:157 58 #: src/classes/SWP/AdminPages.php:1 6958 #: src/classes/SWP/AdminPages.php:194 59 59 msgid "You do not have sufficient permissions to access this page." 60 60 msgstr "Du har ikke de fornødne tilladelser for at få adgang til denne side." 61 61 62 #: src/classes/SWP/Ajax.php: 3362 #: src/classes/SWP/Ajax.php:48 63 63 msgid "The categories has been updated!" 64 64 msgstr "Kategorierne er blevet opdateret!" 65 65 66 #: src/classes/SWP/Ajax.php: 3566 #: src/classes/SWP/Ajax.php:50 67 67 msgid "Could not update, try again later or contact the support." 68 68 msgstr "Kunne opdatere, prøv igen senere eller kontakt supporten." 69 69 70 #: src/classes/SWP/Ajax.php: 3870 #: src/classes/SWP/Ajax.php:53 71 71 msgid "You have to configure the API-Settings first." 72 72 msgstr "Du skal konfigurere API-Indstillingerne først." 73 73 74 #: src/classes/SWP/Ajax.php:1 4574 #: src/classes/SWP/Ajax.php:160 75 75 msgid "Api Key or Api Endpoint are missing." 76 76 msgstr "API nøgle eller API Endpoint mangler." 77 77 78 #: src/classes/SWP/Ajax.php:2 0478 #: src/classes/SWP/Ajax.php:219 79 79 msgid "New item stored" 80 80 msgstr "Ny varer er gemt" 81 81 82 #: src/classes/SWP/Ajax.php:2 5682 #: src/classes/SWP/Ajax.php:271 83 83 msgid "Item %d removed" 84 84 msgstr "Varer %d fjernet" … … 218 218 "Indstillinger." 219 219 220 #: src/templates/admin/account.php:13221 msgid "API-Key"222 msgstr "API-Nøgle"223 224 #: src/templates/admin/account.php:21225 msgid "API-Endpoint"226 msgstr "API-Endpoint"227 228 #: src/templates/admin/account.php:29229 msgid "Test API-Settings"230 msgstr "Test API-Indstillingerne"231 232 #: src/templates/admin/account.php:32233 msgid "Test now"234 msgstr "Test nu"235 236 #: src/templates/admin/account.php:38237 msgid "Settings are correct."238 msgstr "Indstillingerne er korrekte"239 240 #: src/templates/admin/account.php:39241 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:45247 msgid "General Settings"248 msgstr "Generalle Indstillinger"249 250 #: src/templates/admin/account.php:50251 msgid "Total amount of hits-text"252 msgstr "Total antal hits-tekst"253 254 #: src/templates/admin/account.php:53255 msgid "Found %amount% products"256 msgstr "Fandt %amount% produkter"257 258 #: src/templates/admin/account.php:54259 msgid "Found 247 products"260 msgstr "Fandt 247 produkter"261 262 #: src/templates/admin/account.php:55263 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:60267 msgid "Keyword-text"268 msgstr "Søgeord-tekst"269 270 #: src/templates/admin/account.php:63271 msgid "for phrase %phrase%."272 msgstr "for frasen %phrase%."273 274 #: src/templates/admin/account.php:64275 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:65279 msgid "For example: \"for phrase %phrase%\"."280 msgstr "For eksempel: \"for frase %phrase%\"."281 282 #: src/templates/admin/account.php:66283 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:56287 #: src/templates/result/filters.php:167 src/twig/result/.filters.php:12288 msgid "Categories"289 msgstr "Kategorier"290 291 #: src/templates/admin/account.php:74292 msgid "Synchronize categories"293 msgstr "Synkroniser kategorier"294 295 #: src/templates/admin/account.php:76296 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:77304 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 311 220 #: src/templates/admin/product-lists.php:6 312 221 msgid "Settings is incorrect" … … 355 264 msgstr "Brug dine egne søgeord for at begrænse resultatet." 356 265 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 268 msgid "Categories" 269 msgstr "Kategorier" 270 357 271 #: src/templates/result/filters.php:58 src/twig/result/.filters.php:15 358 272 msgid "" … … 414 328 msgid "We did not find any results for this search." 415 329 msgstr "Vi fandt ikke nogen resultater for denne søgning" 330 331 #: src/twig/admin/.account.php:13 332 msgid "API-Key" 333 msgstr "API-Nøgle" 334 335 #: src/twig/admin/.account.php:21 336 msgid "API-Endpoint" 337 msgstr "API-Endpoint" 338 339 #: src/twig/admin/.account.php:25 340 msgid "Select API Endpoint" 341 msgstr "Vælg API-Endpoint" 342 343 #: src/twig/admin/.account.php:34 344 msgid "Test API-Settings" 345 msgstr "Test API-Indstillingerne" 346 347 #: src/twig/admin/.account.php:45 348 msgid "Settings are correct." 349 msgstr "Indstillingerne er korrekte" 350 351 #: src/twig/admin/.account.php:46 352 msgid "" 353 "Please check your settings and check if ping works on the System Test page." 354 msgstr "" 355 "Tjek venligst dine indstillinger og tjek om ping virker på system test siden." 356 357 #: src/twig/admin/.account.php:52 358 msgid "General Settings" 359 msgstr "Generalle Indstillinger" 360 361 #: src/twig/admin/.account.php:57 362 msgid "Total amount of hits-text" 363 msgstr "Total antal hits-tekst" 364 365 #: src/twig/admin/.account.php:61 366 msgid "Found 247 products" 367 msgstr "Fandt 247 produkter" 368 369 #: src/twig/admin/.account.php:62 370 msgid "Written: \"Found %amount% of products for phrase %phrase%\"." 371 msgstr "Skrevet: \"Fandt %amount% produkter for frasen %phrase%\"." 372 373 #: src/twig/admin/.account.php:67 374 msgid "Keyword-text" 375 msgstr "Søgeord-tekst" 376 377 #: src/twig/admin/.account.php:71 378 msgid "Completes previous \"Found 247 products\" with a keyword" 379 msgstr "Fuldender forrige \"Fandt 247 produkter\" med søgeordet" 380 381 #: src/twig/admin/.account.php:72 382 msgid "For example: \"for phrase %phrase%\"." 383 msgstr "For eksempel: \"for frase %phrase%\"." 384 385 #: src/twig/admin/.account.php:73 386 msgid "Result: \"Found 247 products for phrase Shoes\"" 387 msgstr "Resultat: \"Fandt 247 produkter for frasen Sko\"" 388 389 #: src/twig/admin/.account.php:83 390 msgid "" 391 "Categories is automaticly updated daily. Use this button to manually update " 392 "everything now." 393 msgstr "" 394 "Kategorier er automatisk opdateret dagligt. Brug denne knap til manuelt at " 395 "opdatere alt nu." 396 397 #: src/twig/admin/.account.php:84 398 msgid "" 399 "If it is the first time you are using the plugin, you probably need to click " 400 "this." 401 msgstr "" 402 "Hvis det er første gang du bruger dette plugin, skal du sandsynligvis klikke " 403 "her." 416 404 417 405 #: src/twig/admin/.metabox.php:3 … … 448 436 msgstr "Muligt at forbinde til Shopello med CURL" 449 437 450 #: src/twig/result/.product_grid.php: 30438 #: src/twig/result/.product_grid.php:29 451 439 msgid "Buy" 452 440 msgstr "Køb" 453 441 454 #: src/twig/result/.product_grid.php:3 6442 #: src/twig/result/.product_grid.php:35 455 443 msgid "No products found" 456 444 msgstr "Ingen produkter fundet" … … 475 463 msgid "Shopello AB" 476 464 msgstr "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" 477 477 478 478 #~ msgid "" -
shopello/trunk/src/lang/shopello-en_US.po
r1165651 r1191755 5 5 "Project-Id-Version: Shopello API 1.9.8\n" 6 6 "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/shopello\n" 7 "POT-Creation-Date: 2015-0 5-21 12:52:48+00:00\n"8 "PO-Revision-Date: 2015-0 5-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" 9 9 "Last-Translator: \n" 10 10 "Language-Team: \n" … … 13 13 "Content-Type: text/plain; charset=UTF-8\n" 14 14 "Content-Transfer-Encoding: 8bit\n" 15 "X-Generator: Poedit 1. 7.5\n"15 "X-Generator: Poedit 1.8.1\n" 16 16 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 17 17 … … 26 26 27 27 #: src/classes/SWP/AdminPages.php:53 src/classes/SWP/AdminPages.php:54 28 #: src/t emplates/admin/account.php:228 #: src/twig/admin/.account.php:3 29 29 msgid "API-Settings" 30 30 msgstr "API-Settings" … … 56 56 57 57 #: src/classes/SWP/AdminPages.php:142 src/classes/SWP/AdminPages.php:157 58 #: src/classes/SWP/AdminPages.php:1 6958 #: src/classes/SWP/AdminPages.php:194 59 59 msgid "You do not have sufficient permissions to access this page." 60 60 msgstr "You do not have sufficient permissions to access this page." 61 61 62 #: src/classes/SWP/Ajax.php: 3362 #: src/classes/SWP/Ajax.php:48 63 63 msgid "The categories has been updated!" 64 64 msgstr "The categories has been updated!" 65 65 66 #: src/classes/SWP/Ajax.php: 3566 #: src/classes/SWP/Ajax.php:50 67 67 msgid "Could not update, try again later or contact the support." 68 68 msgstr "Could not update, try again later or contact the support." 69 69 70 #: src/classes/SWP/Ajax.php: 3870 #: src/classes/SWP/Ajax.php:53 71 71 msgid "You have to configure the API-Settings first." 72 72 msgstr "You have to configure the API-Settings first." 73 73 74 #: src/classes/SWP/Ajax.php:1 4574 #: src/classes/SWP/Ajax.php:160 75 75 msgid "Api Key or Api Endpoint are missing." 76 76 msgstr "Api Key or Api Endpoint are missing." 77 77 78 #: src/classes/SWP/Ajax.php:2 0478 #: src/classes/SWP/Ajax.php:219 79 79 msgid "New item stored" 80 80 msgstr "New item stored" 81 81 82 #: src/classes/SWP/Ajax.php:2 5682 #: src/classes/SWP/Ajax.php:271 83 83 msgid "Item %d removed" 84 84 msgstr "Item %d removed" … … 218 218 "API-Settings." 219 219 220 #: src/templates/admin/account.php:13221 msgid "API-Key"222 msgstr "API-Key"223 224 #: src/templates/admin/account.php:21225 msgid "API-Endpoint"226 msgstr "API-Endpoint"227 228 #: src/templates/admin/account.php:29229 msgid "Test API-Settings"230 msgstr "Test API-Settings"231 232 #: src/templates/admin/account.php:32233 msgid "Test now"234 msgstr "Test now"235 236 #: src/templates/admin/account.php:38237 msgid "Settings are correct."238 msgstr "Settings are correct."239 240 #: src/templates/admin/account.php:39241 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:45247 msgid "General Settings"248 msgstr "General Settings"249 250 #: src/templates/admin/account.php:50251 msgid "Total amount of hits-text"252 msgstr "Total amount of hits-text"253 254 #: src/templates/admin/account.php:53255 msgid "Found %amount% products"256 msgstr "Found %amount% products"257 258 #: src/templates/admin/account.php:54259 msgid "Found 247 products"260 msgstr "Found 247 products"261 262 #: src/templates/admin/account.php:55263 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:60267 msgid "Keyword-text"268 msgstr "Keyword-text"269 270 #: src/templates/admin/account.php:63271 msgid "for phrase %phrase%."272 msgstr "for phrase %phrase%."273 274 #: src/templates/admin/account.php:64275 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:65279 msgid "For example: \"for phrase %phrase%\"."280 msgstr "For example: \"for phrase %phrase%\"."281 282 #: src/templates/admin/account.php:66283 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:56287 #: src/templates/result/filters.php:167 src/twig/result/.filters.php:12288 msgid "Categories"289 msgstr "Categories"290 291 #: src/templates/admin/account.php:74292 msgid "Synchronize categories"293 msgstr "Synchronize categories"294 295 #: src/templates/admin/account.php:76296 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:77304 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 311 220 #: src/templates/admin/product-lists.php:6 312 221 msgid "Settings is incorrect" … … 352 261 msgstr "Use your own keywords to limit the results." 353 262 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 265 msgid "Categories" 266 msgstr "Categories" 267 354 268 #: src/templates/result/filters.php:58 src/twig/result/.filters.php:15 355 269 msgid "" … … 411 325 msgid "We did not find any results for this search." 412 326 msgstr "We did not find any results for this search." 327 328 #: src/twig/admin/.account.php:13 329 msgid "API-Key" 330 msgstr "API-Key" 331 332 #: src/twig/admin/.account.php:21 333 msgid "API-Endpoint" 334 msgstr "API-Endpoint" 335 336 #: src/twig/admin/.account.php:25 337 msgid "Select API Endpoint" 338 msgstr "Select API Endpoint" 339 340 #: src/twig/admin/.account.php:34 341 msgid "Test API-Settings" 342 msgstr "Test API-Settings" 343 344 #: src/twig/admin/.account.php:45 345 msgid "Settings are correct." 346 msgstr "Settings are correct." 347 348 #: src/twig/admin/.account.php:46 349 msgid "" 350 "Please check your settings and check if ping works on the System Test page." 351 msgstr "" 352 "Please check your settings and check if ping works on the System Test page." 353 354 #: src/twig/admin/.account.php:52 355 msgid "General Settings" 356 msgstr "General Settings" 357 358 #: src/twig/admin/.account.php:57 359 msgid "Total amount of hits-text" 360 msgstr "Total amount of hits-text" 361 362 #: src/twig/admin/.account.php:61 363 msgid "Found 247 products" 364 msgstr "Found 247 products" 365 366 #: src/twig/admin/.account.php:62 367 msgid "Written: \"Found %amount% of products for phrase %phrase%\"." 368 msgstr "Written: \"Found %amount% of products for phrase %phrase%\"." 369 370 #: src/twig/admin/.account.php:67 371 msgid "Keyword-text" 372 msgstr "Keyword-text" 373 374 #: src/twig/admin/.account.php:71 375 msgid "Completes previous \"Found 247 products\" with a keyword" 376 msgstr "Completes previous \"Found 247 products\" with a keyword" 377 378 #: src/twig/admin/.account.php:72 379 msgid "For example: \"for phrase %phrase%\"." 380 msgstr "For example: \"for phrase %phrase%\"." 381 382 #: src/twig/admin/.account.php:73 383 msgid "Result: \"Found 247 products for phrase Shoes\"" 384 msgstr "Result: \"Found 247 products for phrase Shoes\"" 385 386 #: src/twig/admin/.account.php:83 387 msgid "" 388 "Categories is automaticly updated daily. Use this button to manually update " 389 "everything now." 390 msgstr "" 391 "Categories is automaticly updated daily. Use this button to manually update " 392 "everything now." 393 394 #: src/twig/admin/.account.php:84 395 msgid "" 396 "If it is the first time you are using the plugin, you probably need to click " 397 "this." 398 msgstr "" 399 "If it is the first time you are using the plugin, you probably need to click " 400 "this." 413 401 414 402 #: src/twig/admin/.metabox.php:3 … … 445 433 msgstr "Able to connect to Shopello with CURL" 446 434 447 #: src/twig/result/.product_grid.php: 30435 #: src/twig/result/.product_grid.php:29 448 436 msgid "Buy" 449 437 msgstr "Buy" 450 438 451 #: src/twig/result/.product_grid.php:3 6439 #: src/twig/result/.product_grid.php:35 452 440 msgid "No products found" 453 441 msgstr "No products found" … … 472 460 msgid "Shopello AB" 473 461 msgstr "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" 474 474 475 475 #~ msgid "" -
shopello/trunk/src/lang/shopello-sv_SE.po
r1165651 r1191755 5 5 "Project-Id-Version: Shopello API 1.9.8\n" 6 6 "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/shopello\n" 7 "POT-Creation-Date: 2015-0 5-21 12:52:48+00:00\n"8 "PO-Revision-Date: 2015-0 5-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" 9 9 "Last-Translator: \n" 10 10 "Language-Team: \n" … … 13 13 "Content-Type: text/plain; charset=UTF-8\n" 14 14 "Content-Transfer-Encoding: 8bit\n" 15 "X-Generator: Poedit 1. 7.5\n"15 "X-Generator: Poedit 1.8.1\n" 16 16 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 17 17 … … 26 26 27 27 #: src/classes/SWP/AdminPages.php:53 src/classes/SWP/AdminPages.php:54 28 #: src/t emplates/admin/account.php:228 #: src/twig/admin/.account.php:3 29 29 msgid "API-Settings" 30 30 msgstr "API-Inställningar" … … 56 56 57 57 #: src/classes/SWP/AdminPages.php:142 src/classes/SWP/AdminPages.php:157 58 #: src/classes/SWP/AdminPages.php:1 6958 #: src/classes/SWP/AdminPages.php:194 59 59 msgid "You do not have sufficient permissions to access this page." 60 60 msgstr "Du har inte tillräckliga rättigheter för att besöka denna sida." 61 61 62 #: src/classes/SWP/Ajax.php: 3362 #: src/classes/SWP/Ajax.php:48 63 63 msgid "The categories has been updated!" 64 64 msgstr "Kategorierna har uppdaterats!" 65 65 66 #: src/classes/SWP/Ajax.php: 3566 #: src/classes/SWP/Ajax.php:50 67 67 msgid "Could not update, try again later or contact the support." 68 68 msgstr "Kunde inte uppdatera, försök igen senare eller kontakta supporten." 69 69 70 #: src/classes/SWP/Ajax.php: 3870 #: src/classes/SWP/Ajax.php:53 71 71 msgid "You have to configure the API-Settings first." 72 72 msgstr "Du måste ställa in API-inställningarna först." 73 73 74 #: src/classes/SWP/Ajax.php:1 4574 #: src/classes/SWP/Ajax.php:160 75 75 msgid "Api Key or Api Endpoint are missing." 76 76 msgstr "API-Nyckel eller API-Adress saknas." 77 77 78 #: src/classes/SWP/Ajax.php:2 0478 #: src/classes/SWP/Ajax.php:219 79 79 msgid "New item stored" 80 80 msgstr "Nytt objekt sparat" 81 81 82 #: src/classes/SWP/Ajax.php:2 5682 #: src/classes/SWP/Ajax.php:271 83 83 msgid "Item %d removed" 84 84 msgstr "Listning %d har tagits bort" … … 218 218 "inställninngar." 219 219 220 #: src/templates/admin/account.php:13221 msgid "API-Key"222 msgstr "API-Nyckel"223 224 #: src/templates/admin/account.php:21225 msgid "API-Endpoint"226 msgstr "API-Adress"227 228 #: src/templates/admin/account.php:29229 msgid "Test API-Settings"230 msgstr "Testa API-Inställningarna"231 232 #: src/templates/admin/account.php:32233 msgid "Test now"234 msgstr "Testa nu"235 236 #: src/templates/admin/account.php:38237 msgid "Settings are correct."238 msgstr "Inställningarna är korrekta."239 240 #: src/templates/admin/account.php:39241 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:45248 msgid "General Settings"249 msgstr "Generella inställningar"250 251 #: src/templates/admin/account.php:50252 msgid "Total amount of hits-text"253 msgstr "Antal träffar-text"254 255 #: src/templates/admin/account.php:53256 msgid "Found %amount% products"257 msgstr "Hittade %amount% produkter"258 259 #: src/templates/admin/account.php:54260 msgid "Found 247 products"261 msgstr "Hittade 247 produkter"262 263 #: src/templates/admin/account.php:55264 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:60268 msgid "Keyword-text"269 msgstr "Sökords-text"270 271 #: src/templates/admin/account.php:63272 msgid "for phrase %phrase%."273 msgstr "för sökordet %phrase%."274 275 #: src/templates/admin/account.php:64276 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:65280 msgid "For example: \"for phrase %phrase%\"."281 msgstr "Till exempel: \"för sökordet %phrase%\"."282 283 #: src/templates/admin/account.php:66284 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:56288 #: src/templates/result/filters.php:167 src/twig/result/.filters.php:12289 msgid "Categories"290 msgstr "Kategorier"291 292 #: src/templates/admin/account.php:74293 msgid "Synchronize categories"294 msgstr "Synkronisera kategorier"295 296 #: src/templates/admin/account.php:76297 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:77305 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 312 220 #: src/templates/admin/product-lists.php:6 313 221 msgid "Settings is incorrect" … … 355 263 msgstr "Använd egna sökord för att begränsa produkturvalet." 356 264 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 267 msgid "Categories" 268 msgstr "Kategorier" 269 357 270 #: src/templates/result/filters.php:58 src/twig/result/.filters.php:15 358 271 msgid "" … … 413 326 msgid "We did not find any results for this search." 414 327 msgstr "Vi hittade inga resultat för din sökning" 328 329 #: src/twig/admin/.account.php:13 330 msgid "API-Key" 331 msgstr "API-Nyckel" 332 333 #: src/twig/admin/.account.php:21 334 msgid "API-Endpoint" 335 msgstr "API-Adress" 336 337 #: src/twig/admin/.account.php:25 338 msgid "Select API Endpoint" 339 msgstr "Välj API-Adress" 340 341 #: src/twig/admin/.account.php:34 342 msgid "Test API-Settings" 343 msgstr "Testa API-Inställningarna" 344 345 #: src/twig/admin/.account.php:45 346 msgid "Settings are correct." 347 msgstr "Inställningarna är korrekta." 348 349 #: src/twig/admin/.account.php:46 350 msgid "" 351 "Please check your settings and check if ping works on the System Test page." 352 msgstr "" 353 "Vänligen kontrollera dina inställningar och kontrollera om ping fungerar på " 354 "Systemtest-sidan." 355 356 #: src/twig/admin/.account.php:52 357 msgid "General Settings" 358 msgstr "Generella inställningar" 359 360 #: src/twig/admin/.account.php:57 361 msgid "Total amount of hits-text" 362 msgstr "Antal träffar-text" 363 364 #: src/twig/admin/.account.php:61 365 msgid "Found 247 products" 366 msgstr "Hittade 247 produkter" 367 368 #: src/twig/admin/.account.php:62 369 msgid "Written: \"Found %amount% of products for phrase %phrase%\"." 370 msgstr "Skrivs: \"Hittade %amount% produkter för sökordet %phrase%\"." 371 372 #: src/twig/admin/.account.php:67 373 msgid "Keyword-text" 374 msgstr "Sökords-text" 375 376 #: src/twig/admin/.account.php:71 377 msgid "Completes previous \"Found 247 products\" with a keyword" 378 msgstr "Kompletterar föregående \"Hittade 247 produkter\" med ett sökord." 379 380 #: src/twig/admin/.account.php:72 381 msgid "For example: \"for phrase %phrase%\"." 382 msgstr "Till exempel: \"för sökordet %phrase%\"." 383 384 #: src/twig/admin/.account.php:73 385 msgid "Result: \"Found 247 products for phrase Shoes\"" 386 msgstr "Resultat: \"Hittade 247 produkter för sökordet Skor\"" 387 388 #: src/twig/admin/.account.php:83 389 msgid "" 390 "Categories is automaticly updated daily. Use this button to manually update " 391 "everything now." 392 msgstr "" 393 "Kategorierna uppdateras dagligen. Använd knappen för att manuellt uppdatera " 394 "alla kategorier." 395 396 #: src/twig/admin/.account.php:84 397 msgid "" 398 "If it is the first time you are using the plugin, you probably need to click " 399 "this." 400 msgstr "" 401 "Första gången du använder pluginet behöver du troligen forcera " 402 "synkronisering för att ladda ned alla kategorier." 415 403 416 404 #: src/twig/admin/.metabox.php:3 … … 447 435 msgstr "Lyckas ansluta till Shopello med CURL" 448 436 449 #: src/twig/result/.product_grid.php: 30437 #: src/twig/result/.product_grid.php:29 450 438 msgid "Buy" 451 439 msgstr "Köp" 452 440 453 #: src/twig/result/.product_grid.php:3 6441 #: src/twig/result/.product_grid.php:35 454 442 msgid "No products found" 455 443 msgstr "Inga produkter hittade" … … 474 462 msgid "Shopello AB" 475 463 msgstr "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" 476 476 477 477 #~ msgid "" -
shopello/trunk/src/lang/shopello.pot
r1165651 r1191755 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Shopello API 2. 4.1\n"5 "Project-Id-Version: Shopello API 2.6.1\n" 6 6 "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/shopello\n" 7 "POT-Creation-Date: 2015-0 5-21 12:52:48+00:00\n"7 "POT-Creation-Date: 2015-07-03 11:43:37+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=UTF-8\n" … … 23 23 24 24 #: src/classes/SWP/AdminPages.php:53 src/classes/SWP/AdminPages.php:54 25 #: src/t emplates/admin/account.php:225 #: src/twig/admin/.account.php:3 26 26 msgid "API-Settings" 27 27 msgstr "" … … 51 51 52 52 #: src/classes/SWP/AdminPages.php:142 src/classes/SWP/AdminPages.php:157 53 #: src/classes/SWP/AdminPages.php:1 6953 #: src/classes/SWP/AdminPages.php:194 54 54 msgid "You do not have sufficient permissions to access this page." 55 55 msgstr "" 56 56 57 #: src/classes/SWP/Ajax.php: 3357 #: src/classes/SWP/Ajax.php:48 58 58 msgid "The categories has been updated!" 59 59 msgstr "" 60 60 61 #: src/classes/SWP/Ajax.php: 3561 #: src/classes/SWP/Ajax.php:50 62 62 msgid "Could not update, try again later or contact the support." 63 63 msgstr "" 64 64 65 #: src/classes/SWP/Ajax.php: 3865 #: src/classes/SWP/Ajax.php:53 66 66 msgid "You have to configure the API-Settings first." 67 67 msgstr "" 68 68 69 #: src/classes/SWP/Ajax.php:1 4569 #: src/classes/SWP/Ajax.php:160 70 70 msgid "Api Key or Api Endpoint are missing." 71 71 msgstr "" 72 72 73 #: src/classes/SWP/Ajax.php:2 0473 #: src/classes/SWP/Ajax.php:219 74 74 msgid "New item stored" 75 75 msgstr "" 76 76 77 #: src/classes/SWP/Ajax.php:2 5677 #: src/classes/SWP/Ajax.php:271 78 78 msgid "Item %d removed" 79 79 msgstr "" … … 211 211 msgstr "" 212 212 213 #: src/templates/admin/account.php:13214 msgid "API-Key"215 msgstr ""216 217 #: src/templates/admin/account.php:21218 msgid "API-Endpoint"219 msgstr ""220 221 #: src/templates/admin/account.php:29222 msgid "Test API-Settings"223 msgstr ""224 225 #: src/templates/admin/account.php:32226 msgid "Test now"227 msgstr ""228 229 #: src/templates/admin/account.php:38230 msgid "Settings are correct."231 msgstr ""232 233 #: src/templates/admin/account.php:39234 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:45239 msgid "General Settings"240 msgstr ""241 242 #: src/templates/admin/account.php:50243 msgid "Total amount of hits-text"244 msgstr ""245 246 #: src/templates/admin/account.php:53247 msgid "Found %amount% products"248 msgstr ""249 250 #: src/templates/admin/account.php:54251 msgid "Found 247 products"252 msgstr ""253 254 #: src/templates/admin/account.php:55255 msgid "Written: \"Found %amount% of products for phrase %phrase%\"."256 msgstr ""257 258 #: src/templates/admin/account.php:60259 msgid "Keyword-text"260 msgstr ""261 262 #: src/templates/admin/account.php:63263 msgid "for phrase %phrase%."264 msgstr ""265 266 #: src/templates/admin/account.php:64267 msgid "Completes previous \"Found 247 products\" with a keyword"268 msgstr ""269 270 #: src/templates/admin/account.php:65271 msgid "For example: \"for phrase %phrase%\"."272 msgstr ""273 274 #: src/templates/admin/account.php:66275 msgid "Result: \"Found 247 products for phrase Shoes\""276 msgstr ""277 278 #: src/templates/admin/account.php:71 src/templates/result/filters.php:56279 #: src/templates/result/filters.php:167 src/twig/result/.filters.php:12280 msgid "Categories"281 msgstr ""282 283 #: src/templates/admin/account.php:74284 msgid "Synchronize categories"285 msgstr ""286 287 #: src/templates/admin/account.php:76288 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:77294 msgid ""295 "If it is the first time you are using the plugin, you probably need to click "296 "this."297 msgstr ""298 299 213 #: src/templates/admin/product-lists.php:6 300 214 msgid "Settings is incorrect" … … 335 249 msgstr "" 336 250 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 253 msgid "Categories" 254 msgstr "" 255 337 256 #: src/templates/result/filters.php:58 src/twig/result/.filters.php:15 338 257 msgid "" … … 389 308 #: src/templates/result/no_hits.php:1 390 309 msgid "We did not find any results for this search." 310 msgstr "" 311 312 #: src/twig/admin/.account.php:13 313 msgid "API-Key" 314 msgstr "" 315 316 #: src/twig/admin/.account.php:21 317 msgid "API-Endpoint" 318 msgstr "" 319 320 #: src/twig/admin/.account.php:25 321 msgid "Select API Endpoint" 322 msgstr "" 323 324 #: src/twig/admin/.account.php:34 325 msgid "Test API-Settings" 326 msgstr "" 327 328 #: src/twig/admin/.account.php:45 329 msgid "Settings are correct." 330 msgstr "" 331 332 #: src/twig/admin/.account.php:46 333 msgid "" 334 "Please check your settings and check if ping works on the System Test page." 335 msgstr "" 336 337 #: src/twig/admin/.account.php:52 338 msgid "General Settings" 339 msgstr "" 340 341 #: src/twig/admin/.account.php:57 342 msgid "Total amount of hits-text" 343 msgstr "" 344 345 #: src/twig/admin/.account.php:61 346 msgid "Found 247 products" 347 msgstr "" 348 349 #: src/twig/admin/.account.php:62 350 msgid "Written: \"Found %amount% of products for phrase %phrase%\"." 351 msgstr "" 352 353 #: src/twig/admin/.account.php:67 354 msgid "Keyword-text" 355 msgstr "" 356 357 #: src/twig/admin/.account.php:71 358 msgid "Completes previous \"Found 247 products\" with a keyword" 359 msgstr "" 360 361 #: src/twig/admin/.account.php:72 362 msgid "For example: \"for phrase %phrase%\"." 363 msgstr "" 364 365 #: src/twig/admin/.account.php:73 366 msgid "Result: \"Found 247 products for phrase Shoes\"" 367 msgstr "" 368 369 #: src/twig/admin/.account.php:83 370 msgid "" 371 "Categories is automaticly updated daily. Use this button to manually update " 372 "everything now." 373 msgstr "" 374 375 #: src/twig/admin/.account.php:84 376 msgid "" 377 "If it is the first time you are using the plugin, you probably need to click " 378 "this." 391 379 msgstr "" 392 380 … … 420 408 msgstr "" 421 409 422 #: src/twig/result/.product_grid.php: 30410 #: src/twig/result/.product_grid.php:29 423 411 msgid "Buy" 424 412 msgstr "" 425 413 426 #: src/twig/result/.product_grid.php:3 6414 #: src/twig/result/.product_grid.php:35 427 415 msgid "No products found" 428 416 msgstr "" -
shopello/trunk/vendor/autoload.php
r1173401 r1191755 5 5 require_once __DIR__ . '/composer' . '/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 69cd138bd2eae338d7a5bcdff6dd812f::getLoader();7 return ComposerAutoloaderInit45c38a952ce19ec8ae3fffd7154c776c::getLoader(); -
shopello/trunk/vendor/composer/autoload_real.php
r1173401 r1191755 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 69cd138bd2eae338d7a5bcdff6dd812f5 class ComposerAutoloaderInit45c38a952ce19ec8ae3fffd7154c776c 6 6 { 7 7 private static $loader; … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit 69cd138bd2eae338d7a5bcdff6dd812f', 'loadClassLoader'), true, true);22 spl_autoload_register(array('ComposerAutoloaderInit45c38a952ce19ec8ae3fffd7154c776c', 'loadClassLoader'), true, true); 23 23 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit 69cd138bd2eae338d7a5bcdff6dd812f', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInit45c38a952ce19ec8ae3fffd7154c776c', 'loadClassLoader')); 25 25 26 26 $map = require __DIR__ . '/autoload_namespaces.php'; … … 45 45 } 46 46 47 function composerRequire 69cd138bd2eae338d7a5bcdff6dd812f($file)47 function composerRequire45c38a952ce19ec8ae3fffd7154c776c($file) 48 48 { 49 49 require $file;
Note: See TracChangeset
for help on using the changeset viewer.