Version Description
Download this release
Release Info
Developer | johnclause |
Plugin | ![]() |
Version | 3.2.7 |
Comparing to | |
See all releases |
Code changes from version 3.2.2 to 3.2.7
- admin/admin_utils.php +32 -8
- admin/import_export.php +4 -0
- admin/js/common.js +258 -64
- admin/js/common.min.js +1 -1
- admin/js/edit-nav-menus.js +3 -2
- admin/js/edit-nav-menus.min.js +1 -1
- admin/js/edit-post.js +7 -0
- admin/js/edit-post.min.js +1 -1
- lang/qtranslate-az_AZ.po +251 -170
- lang/qtranslate-bg_BG.po +251 -170
- lang/qtranslate-cs_CZ.po +247 -169
- lang/qtranslate-da_DK.po +251 -170
- lang/qtranslate-de_DE.mo +0 -0
- lang/qtranslate-de_DE.po +298 -218
- lang/qtranslate-eo.po +245 -169
- lang/qtranslate-es_CA.po +251 -170
- lang/qtranslate-es_ES.po +251 -170
- lang/qtranslate-fr_FR.po +256 -189
- lang/qtranslate-hr_HR.po +247 -169
- lang/qtranslate-hu_HU.po +252 -170
- lang/qtranslate-id_ID.po +251 -170
- lang/qtranslate-it_IT.po +251 -170
- lang/qtranslate-ja_JP.po +251 -170
- lang/qtranslate-mk_MK.po +251 -170
- lang/qtranslate-ms_MY.po +251 -170
- lang/qtranslate-nl_NL.mo +0 -0
- lang/qtranslate-nl_NL.po +388 -822
- lang/qtranslate-pl_PL.po +251 -170
- lang/qtranslate-pt_BR.po +246 -169
- lang/qtranslate-pt_PT.mo +0 -0
- lang/qtranslate-pt_PT.po +262 -179
- lang/qtranslate-ro_RO.po +251 -170
- lang/qtranslate-ru_RU.po +252 -170
- lang/qtranslate-sr_RS.po +251 -170
- lang/qtranslate-sv_SE.po +247 -169
- lang/qtranslate-tr_TR.po +251 -170
- lang/qtranslate-zh_CN.po +251 -170
- lang/qtranslate.pot +246 -170
- qtranslate.css +0 -43
- qtranslate.php +26 -18
- qtranslate_compatibility.php +5 -0
- qtranslate_configuration.css +27 -0
- qtranslate_configuration.php +119 -40
- qtranslate_core.php +122 -33
- qtranslate_frontend.php +130 -26
- qtranslate_hooks.php +0 -9
- qtranslate_utils.php +8 -0
- qtranslate_widget.php +12 -7
- readme.txt +100 -81
admin/admin_utils.php
CHANGED
@@ -156,7 +156,8 @@ function qtranxf_convert_database_options($action){
|
|
156 |
switch($action){
|
157 |
case 'b_only':
|
158 |
foreach($result as $row) {
|
159 |
-
if(!
|
|
|
160 |
$value = maybe_unserialize($row->option_value);
|
161 |
$value_converted=qtranxf_convert_to_b_deep($value);
|
162 |
$value_serialized = maybe_serialize($value_converted);
|
@@ -170,7 +171,8 @@ function qtranxf_convert_database_options($action){
|
|
170 |
break;
|
171 |
case 'c_dual':
|
172 |
foreach($result as $row) {
|
173 |
-
if(!
|
|
|
174 |
$value = maybe_unserialize($row->option_value);
|
175 |
$value_converted=qtranxf_convert_to_b_no_closing_deep($value);
|
176 |
$value_serialized = maybe_serialize($value_converted);
|
@@ -224,7 +226,8 @@ function qtranxf_convert_database_postmeta($action){
|
|
224 |
switch($action){
|
225 |
case 'b_only':
|
226 |
foreach($result as $row) {
|
227 |
-
if(!
|
|
|
228 |
$value = maybe_unserialize($row->meta_value);
|
229 |
$value_converted=qtranxf_convert_to_b_deep($value);
|
230 |
$value_serialized = maybe_serialize($value_converted);
|
@@ -235,7 +238,8 @@ function qtranxf_convert_database_postmeta($action){
|
|
235 |
break;
|
236 |
case 'c_dual':
|
237 |
foreach($result as $row) {
|
238 |
-
if(!
|
|
|
239 |
$value = maybe_unserialize($row->meta_value);
|
240 |
$value_converted=qtranxf_convert_to_b_no_closing_deep($value);
|
241 |
$value_serialized = maybe_serialize($value_converted);
|
@@ -263,6 +267,14 @@ function qtranxf_mark_default($text) {
|
|
263 |
return qtranxf_join_b($content);
|
264 |
}
|
265 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
function qtranxf_get_term_joined($obj,$taxonomy=null) {
|
267 |
global $q_config;
|
268 |
if(is_object($obj)) {
|
@@ -307,8 +319,8 @@ function qtranxf_useAdminTermLibJoin($obj, $taxonomies=null, $args=null) {
|
|
307 |
default: return qtranxf_useTermLib($obj);
|
308 |
}
|
309 |
}
|
310 |
-
add_filter('get_term', 'qtranxf_useAdminTermLibJoin',
|
311 |
-
add_filter('get_terms', 'qtranxf_useAdminTermLibJoin',
|
312 |
|
313 |
//does someone use it?
|
314 |
function qtranxf_useAdminTermLib($obj) {
|
@@ -517,8 +529,6 @@ function qtranxf_the_editor($editor_div)
|
|
517 |
}
|
518 |
return $editor_div;
|
519 |
}
|
520 |
-
//applied in /wp-includes/class-wp-editor.php
|
521 |
-
add_filter('the_editor', 'qtranxf_the_editor');
|
522 |
|
523 |
function qtranxf_filter_options_general($value)
|
524 |
{
|
@@ -552,6 +562,20 @@ function qtranxf_disable_blog_title_filters($name)
|
|
552 |
add_action( 'wp_head', 'qtranxf_disable_blog_title_filters' );
|
553 |
*/
|
554 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
555 |
add_filter('manage_language_columns', 'qtranxf_language_columns');
|
556 |
add_filter('manage_posts_columns', 'qtranxf_languageColumnHeader');
|
557 |
add_filter('manage_posts_custom_column', 'qtranxf_languageColumn');
|
156 |
switch($action){
|
157 |
case 'b_only':
|
158 |
foreach($result as $row) {
|
159 |
+
if(!qtranxf_isMultilingual($row->option_value)) continue;
|
160 |
+
//if(!preg_match('/(<!--:[a-z]{2}-->|\[:[a-z]{2}\])/im',$row->option_value)) continue;
|
161 |
$value = maybe_unserialize($row->option_value);
|
162 |
$value_converted=qtranxf_convert_to_b_deep($value);
|
163 |
$value_serialized = maybe_serialize($value_converted);
|
171 |
break;
|
172 |
case 'c_dual':
|
173 |
foreach($result as $row) {
|
174 |
+
if(!qtranxf_isMultilingual($row->option_value)) continue;
|
175 |
+
//if(!preg_match('/(<!--:[a-z]{2}-->|\[:[a-z]{2}\])/im',$row->option_value)) continue;
|
176 |
$value = maybe_unserialize($row->option_value);
|
177 |
$value_converted=qtranxf_convert_to_b_no_closing_deep($value);
|
178 |
$value_serialized = maybe_serialize($value_converted);
|
226 |
switch($action){
|
227 |
case 'b_only':
|
228 |
foreach($result as $row) {
|
229 |
+
if(!qtranxf_isMultilingual($row->meta_value)) continue;
|
230 |
+
//if(!preg_match('/(<!--:[a-z]{2}-->|\[:[a-z]{2}\])/im',$row->meta_value)) continue;
|
231 |
$value = maybe_unserialize($row->meta_value);
|
232 |
$value_converted=qtranxf_convert_to_b_deep($value);
|
233 |
$value_serialized = maybe_serialize($value_converted);
|
238 |
break;
|
239 |
case 'c_dual':
|
240 |
foreach($result as $row) {
|
241 |
+
if(!qtranxf_isMultilingual($row->meta_value)) continue;
|
242 |
+
//if(!preg_match('/(<!--:[a-z]{2}-->|\[:[a-z]{2}\])/im',$row->meta_value)) continue;
|
243 |
$value = maybe_unserialize($row->meta_value);
|
244 |
$value_converted=qtranxf_convert_to_b_no_closing_deep($value);
|
245 |
$value_serialized = maybe_serialize($value_converted);
|
267 |
return qtranxf_join_b($content);
|
268 |
}
|
269 |
|
270 |
+
function qtranxf_term_name_encoded($name) {
|
271 |
+
global $q_config;
|
272 |
+
if(isset($q_config['term_name'][$name])) {
|
273 |
+
$name = qtranxf_join_b($q_config['term_name'][$name]);
|
274 |
+
}
|
275 |
+
return $name;
|
276 |
+
}
|
277 |
+
|
278 |
function qtranxf_get_term_joined($obj,$taxonomy=null) {
|
279 |
global $q_config;
|
280 |
if(is_object($obj)) {
|
319 |
default: return qtranxf_useTermLib($obj);
|
320 |
}
|
321 |
}
|
322 |
+
add_filter('get_term', 'qtranxf_useAdminTermLibJoin', 5, 2);
|
323 |
+
add_filter('get_terms', 'qtranxf_useAdminTermLibJoin', 5, 3);
|
324 |
|
325 |
//does someone use it?
|
326 |
function qtranxf_useAdminTermLib($obj) {
|
529 |
}
|
530 |
return $editor_div;
|
531 |
}
|
|
|
|
|
532 |
|
533 |
function qtranxf_filter_options_general($value)
|
534 |
{
|
562 |
add_action( 'wp_head', 'qtranxf_disable_blog_title_filters' );
|
563 |
*/
|
564 |
|
565 |
+
function qtranxf_add_admin_filters(){
|
566 |
+
global $q_config;
|
567 |
+
switch($q_config['editor_mode']){
|
568 |
+
case QTX_EDITOR_MODE_RAW:
|
569 |
+
break;
|
570 |
+
case QTX_EDITOR_MODE_LSB:
|
571 |
+
default:
|
572 |
+
//applied in /wp-includes/class-wp-editor.php
|
573 |
+
add_filter('the_editor', 'qtranxf_the_editor');
|
574 |
+
break;
|
575 |
+
}
|
576 |
+
}
|
577 |
+
qtranxf_add_admin_filters();
|
578 |
+
|
579 |
add_filter('manage_language_columns', 'qtranxf_language_columns');
|
580 |
add_filter('manage_posts_columns', 'qtranxf_languageColumnHeader');
|
581 |
add_filter('manage_posts_custom_column', 'qtranxf_languageColumn');
|
admin/import_export.php
CHANGED
@@ -61,6 +61,10 @@ function qtranxf_migrate_options_copy($nm_to,$nm_from)
|
|
61 |
case 'qtranslate_custom_field_classes':
|
62 |
case 'qtranslate_text_field_filters':
|
63 |
case 'qtranslate_qtrans_compatibility':
|
|
|
|
|
|
|
|
|
64 |
continue;
|
65 |
default: break;
|
66 |
}
|
61 |
case 'qtranslate_custom_field_classes':
|
62 |
case 'qtranslate_text_field_filters':
|
63 |
case 'qtranslate_qtrans_compatibility':
|
64 |
+
case 'qtranslate_header_css_on':
|
65 |
+
case 'qtranslate_header_css':
|
66 |
+
case 'qtranslate_filter_options_mode':
|
67 |
+
case 'qtranslate_filter_options':
|
68 |
continue;
|
69 |
default: break;
|
70 |
}
|
admin/js/common.js
CHANGED
@@ -7,9 +7,28 @@ function co(t,o){ ++cc; console.log('== '+cc+': '+t+'%o',o); }
|
|
7 |
*/
|
8 |
|
9 |
/**
|
10 |
-
* since 3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
*/
|
12 |
qtranxj_split = function(text)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
{
|
14 |
var result = new Object;
|
15 |
for(var i=0; i<qTranslateConfig.enabled_languages.length; ++i)
|
@@ -17,9 +36,8 @@ qtranxj_split = function(text)
|
|
17 |
var lang=qTranslateConfig.enabled_languages[i];
|
18 |
result[lang] = '';
|
19 |
}
|
20 |
-
|
21 |
-
|
22 |
-
if(!qtranxj_isArray(blocks))
|
23 |
return result;
|
24 |
if(blocks.length==1){//no language separator found, enter it to all languages
|
25 |
var b=blocks[0];
|
@@ -30,9 +48,10 @@ qtranxj_split = function(text)
|
|
30 |
return result;
|
31 |
}
|
32 |
var clang_regex=/<!--:([a-z]{2})-->/gi;
|
33 |
-
//var c_end_regex=/<!--:-->/g;
|
34 |
var blang_regex=/\[:([a-z]{2})\]/gi;
|
35 |
-
|
|
|
|
|
36 |
for(var i = 0;i<blocks.length;++i){
|
37 |
var b=blocks[i];
|
38 |
//c('blocks['+i+']='+b);
|
@@ -42,17 +61,20 @@ qtranxj_split = function(text)
|
|
42 |
lang = matches[1];
|
43 |
continue;
|
44 |
}
|
45 |
-
//matches = c_end_regex.exec(b); c_end_regex.lastIndex=0;
|
46 |
-
//if(matches!=null){
|
47 |
-
if( b == '<!--:-->' || b == '[:]' ){
|
48 |
-
lang = false;
|
49 |
-
continue;
|
50 |
-
}
|
51 |
matches = blang_regex.exec(b); blang_regex.lastIndex=0;
|
52 |
if(matches!=null){
|
53 |
lang = matches[1];
|
54 |
continue;
|
55 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
if(lang){
|
57 |
result[lang] += b;
|
58 |
lang = false;
|
@@ -132,6 +154,30 @@ qtranxj_join_b = function(texts)
|
|
132 |
return text;
|
133 |
}
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
/**
|
136 |
* since 3.1-b1
|
137 |
*/
|
@@ -194,7 +240,7 @@ String.prototype.xsplit = function(_regEx){
|
|
194 |
return arr;
|
195 |
};
|
196 |
|
197 |
-
function qtranxj_isArray(obj){ return obj.constructor.toString().indexOf('Array') >= 0; }
|
198 |
|
199 |
function qtranxj_ce(tagName, props, pNode, isFirst)
|
200 |
{
|
@@ -245,7 +291,6 @@ var qTranslateX=function(pg)
|
|
245 |
|
246 |
this.getActiveLanguage=function() { return qTranslateConfig.activeLanguage; }
|
247 |
|
248 |
-
var displayHooks=[];
|
249 |
var contentHooks={};
|
250 |
|
251 |
updateFusedValueHooked=function(h)
|
@@ -298,7 +343,7 @@ var qTranslateX=function(pg)
|
|
298 |
//c('addContentHook: inpField.value='+inpField.value);
|
299 |
h.contents=qtranxj_split(inpField.value);//keep neutral text from older times, just in case.
|
300 |
//inpField.tagName
|
301 |
-
h.mlContentField=qtranxj_ce('input', {name: inpField.name, type: 'hidden', className: 'hidden', value: inpField.value}, form
|
302 |
if(!separator){
|
303 |
if(inpField.tagName==='TEXTAREA')
|
304 |
separator='<';
|
@@ -346,27 +391,125 @@ var qTranslateX=function(pg)
|
|
346 |
this.addContentHookByIdC=function(id,form) { return this.addContentHookById(id,form,'<'); }
|
347 |
this.addContentHookByIdB=function(id,form) { return this.addContentHookById(id,form,'['); }
|
348 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
349 |
addDisplayHook=function(elem)
|
350 |
{
|
351 |
//co('addDisplayHook: elem=',elem);
|
352 |
-
if(!elem) return
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
elem.
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
365 |
}
|
366 |
}
|
367 |
-
|
368 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
369 |
}
|
|
|
370 |
this.addDisplayHookById=function(id) { return addDisplayHook(this.ge(id)); }
|
371 |
|
372 |
setLangCookie=function(lang) { document.cookie='qtrans_edit_language='+lang; }
|
@@ -385,11 +528,16 @@ var qTranslateX=function(pg)
|
|
385 |
onTabSwitch=function()
|
386 |
{
|
387 |
setLangCookie(this.lang);
|
|
|
388 |
for(var i=0; i<displayHooks.length; ++i){
|
389 |
var h=displayHooks[i];
|
390 |
h.elem.innerHTML=h.contents[this.lang];
|
391 |
if(h.values)
|
392 |
h.elem.value=h.values[this.lang];
|
|
|
|
|
|
|
|
|
393 |
}
|
394 |
for(var key in contentHooks){
|
395 |
var h=contentHooks[key];
|
@@ -400,7 +548,11 @@ var qTranslateX=function(pg)
|
|
400 |
h.contents[h.lang] = h.contentField.value;
|
401 |
}
|
402 |
h.lang = this.lang;
|
403 |
-
|
|
|
|
|
|
|
|
|
404 |
//c('onTabSwitch: h['+key+'].contentField.value:'+h.contentField.value);
|
405 |
if(mce){
|
406 |
updateTinyMCE(h.mce,h.contentField.value);
|
@@ -423,11 +575,7 @@ var qTranslateX=function(pg)
|
|
423 |
var e=elems[i];
|
424 |
//co('addDisplayHooks: e=',e);
|
425 |
//co('addDisplayHooks: e.tagName=',e.tagName);
|
426 |
-
|
427 |
-
case 'TEXTAREA':
|
428 |
-
case 'INPUT': break;
|
429 |
-
default: addDisplayHook(e); break;
|
430 |
-
}
|
431 |
}
|
432 |
}
|
433 |
|
@@ -503,10 +651,10 @@ var qTranslateX=function(pg)
|
|
503 |
* Parses custom page configuration, loaded in qtranxf_load_admin_page_config.
|
504 |
* Since 3.1-b2
|
505 |
*/
|
506 |
-
this.addPageHooks=function(
|
507 |
{
|
508 |
-
for(var p=0; p <
|
509 |
-
var frm =
|
510 |
var form;
|
511 |
if(frm.form){
|
512 |
form = document.getElementById(frm.form.id);
|
@@ -535,10 +683,18 @@ var qTranslateX=function(pg)
|
|
535 |
case 'display':
|
536 |
if(fld.id) addDisplayHook(document.getElementById(fld.id));
|
537 |
else if(fld.class){
|
|
|
538 |
//c('class='+fld.class+'; containers.length='+containers.length);
|
539 |
for(var i=0; i < containers.length; ++i){
|
540 |
var container = containers[i];
|
541 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
542 |
}
|
543 |
}else if(fld.tag){
|
544 |
//c('tag='+fld.tag+'; containers.length='+containers.length);
|
@@ -562,7 +718,14 @@ var qTranslateX=function(pg)
|
|
562 |
else if(fld.class){
|
563 |
for(var i=0; i < containers.length; ++i){
|
564 |
var container = containers[i];
|
565 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
566 |
}
|
567 |
}else if(fld.tag){
|
568 |
for(var i=0; i < containers.length; ++i){
|
@@ -581,7 +744,6 @@ var qTranslateX=function(pg)
|
|
581 |
}
|
582 |
}
|
583 |
}
|
584 |
-
return true;
|
585 |
}
|
586 |
|
587 |
this.addContentHooksTinyMCE=function()
|
@@ -674,11 +836,19 @@ var qTranslateX=function(pg)
|
|
674 |
return null;
|
675 |
}
|
676 |
|
677 |
-
if( typeof(pg.addContentHooks) == "function
|
678 |
-
|
679 |
|
680 |
-
if( qTranslateConfig.page_config &&
|
681 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
682 |
|
683 |
{
|
684 |
var anchors=[];
|
@@ -708,18 +878,29 @@ var qTranslateX=function(pg)
|
|
708 |
//header.parentNode.insertBefore(langSwitchWrap, header.nextElementSibling);
|
709 |
anchor.parentNode.insertBefore( langSwitchWrap, anchor );
|
710 |
var languageSwitch = new qtranxj_LanguageSwitch(langSwitchWrap);
|
711 |
-
languageSwitch.onSwitch(onTabSwitch);
|
712 |
-
if(pg.onTabSwitch)
|
713 |
-
|
714 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
715 |
}
|
716 |
}
|
717 |
|
718 |
-
|
|
|
|
|
|
|
719 |
{
|
720 |
var langs=qTranslateConfig.enabled_languages, langNames=qTranslateConfig.language_name;
|
721 |
-
var tabSwitches={};
|
722 |
-
|
|
|
723 |
function switchTab()
|
724 |
{
|
725 |
var tabSwitch=this;
|
@@ -732,10 +913,21 @@ function qtranxj_LanguageSwitch(target)
|
|
732 |
}
|
733 |
if (qTranslateConfig.activeLanguage)
|
734 |
{
|
735 |
-
tabSwitches[qTranslateConfig.activeLanguage
|
|
|
|
|
|
|
|
|
736 |
}
|
737 |
qTranslateConfig.activeLanguage=tabSwitch.lang;
|
738 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
739 |
for(var i=0; i<onTabSwitchFunctions.length; ++i)
|
740 |
{
|
741 |
onTabSwitchFunctions[i].call(this);
|
@@ -747,20 +939,22 @@ function qtranxj_LanguageSwitch(target)
|
|
747 |
//var flags_location=qTranslateConfig.WP_CONTENT_URL+qTranslateConfig.flag_location;
|
748 |
var flag_location=qTranslateConfig.flag_location;
|
749 |
var lang=langs[i];
|
750 |
-
var tabSwitch=qtranxj_ce ('li', {lang: lang, className: 'qtranxs-lang-switch', onclick: switchTab },
|
751 |
qtranxj_ce('img', {src: flag_location+qTranslateConfig.flag[lang]}, tabSwitch);
|
752 |
qtranxj_ce('span', {innerHTML: langNames[lang]}, tabSwitch);
|
753 |
-
tabSwitches[lang]=tabSwitch;
|
754 |
if ( qTranslateConfig.activeLanguage == lang )
|
755 |
tabSwitch.classList.add('active');
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
|
|
|
|
|
|
764 |
}
|
765 |
|
766 |
/**
|
7 |
*/
|
8 |
|
9 |
/**
|
10 |
+
* since 3.2.7
|
11 |
+
*/
|
12 |
+
qtranxj_get_split_blocks = function(text)
|
13 |
+
{
|
14 |
+
//var split_regex = /(<!--:[a-z]{2}-->|<!--:-->|\[:[a-z]{2}\]|\[:\]|\{:[a-z]{2}\}|\{:\})/gi;
|
15 |
+
var split_regex = /(<!--:[a-z]{2}-->|<!--:-->|\[:[a-z]{2}\]|\[:\])/gi;
|
16 |
+
return text.xsplit(split_regex);
|
17 |
+
}
|
18 |
+
|
19 |
+
/**
|
20 |
+
* since 3.2.7
|
21 |
*/
|
22 |
qtranxj_split = function(text)
|
23 |
+
{
|
24 |
+
var blocks = qtranxj_get_split_blocks(text);
|
25 |
+
return qtranxj_split_blocks(blocks);
|
26 |
+
}
|
27 |
+
|
28 |
+
/**
|
29 |
+
* since 3.1-b1 - closing tag [:]
|
30 |
+
*/
|
31 |
+
qtranxj_split_blocks = function(blocks)
|
32 |
{
|
33 |
var result = new Object;
|
34 |
for(var i=0; i<qTranslateConfig.enabled_languages.length; ++i)
|
36 |
var lang=qTranslateConfig.enabled_languages[i];
|
37 |
result[lang] = '';
|
38 |
}
|
39 |
+
//if(!qtranxj_isArray(blocks))//since 3.2.7
|
40 |
+
if(!blocks || !blocks.length)
|
|
|
41 |
return result;
|
42 |
if(blocks.length==1){//no language separator found, enter it to all languages
|
43 |
var b=blocks[0];
|
48 |
return result;
|
49 |
}
|
50 |
var clang_regex=/<!--:([a-z]{2})-->/gi;
|
|
|
51 |
var blang_regex=/\[:([a-z]{2})\]/gi;
|
52 |
+
//var slang_regex=/\{:([a-z]{2})\}/gi; //maybe later we will need it?
|
53 |
+
var lang = false;
|
54 |
+
var matches;
|
55 |
for(var i = 0;i<blocks.length;++i){
|
56 |
var b=blocks[i];
|
57 |
//c('blocks['+i+']='+b);
|
61 |
lang = matches[1];
|
62 |
continue;
|
63 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
matches = blang_regex.exec(b); blang_regex.lastIndex=0;
|
65 |
if(matches!=null){
|
66 |
lang = matches[1];
|
67 |
continue;
|
68 |
}
|
69 |
+
//matches = slang_regex.exec(b); slang_regex.lastIndex=0;
|
70 |
+
//if(matches!=null){
|
71 |
+
// lang = matches[1];
|
72 |
+
// continue;
|
73 |
+
//}
|
74 |
+
if( b == '<!--:-->' || b == '[:]' ){// || b == '{:}' ){
|
75 |
+
lang = false;
|
76 |
+
continue;
|
77 |
+
}
|
78 |
if(lang){
|
79 |
result[lang] += b;
|
80 |
lang = false;
|
154 |
return text;
|
155 |
}
|
156 |
|
157 |
+
/*
|
158 |
+
* "s" stands for 'squiggly bracket'
|
159 |
+
* Introduced, because some plugins, like [WordPress SEO](https://wordpress.org/plugins/wordpress-seo/),
|
160 |
+
* remove '[:]' treating them as shortcodes.
|
161 |
+
* since 3.2.7
|
162 |
+
*
|
163 |
+
qtranxj_join_s = function(texts)
|
164 |
+
{
|
165 |
+
var text = qtranxj_allthesame(texts);
|
166 |
+
if(text!=null) return text;
|
167 |
+
var text = '';
|
168 |
+
for(var i=0; i<qTranslateConfig.enabled_languages.length; ++i)
|
169 |
+
{
|
170 |
+
var lang=qTranslateConfig.enabled_languages[i];
|
171 |
+
var t = texts[lang];
|
172 |
+
if ( !t || t=='' ) continue;
|
173 |
+
text += '{:'+lang+'}';
|
174 |
+
text += t;
|
175 |
+
}
|
176 |
+
if( text != '' ) text += '{:}';
|
177 |
+
return text;
|
178 |
+
}
|
179 |
+
*/
|
180 |
+
|
181 |
/**
|
182 |
* since 3.1-b1
|
183 |
*/
|
240 |
return arr;
|
241 |
};
|
242 |
|
243 |
+
//Since 3.2.7 removed: function qtranxj_isArray(obj){ return obj.constructor.toString().indexOf('Array') >= 0; }
|
244 |
|
245 |
function qtranxj_ce(tagName, props, pNode, isFirst)
|
246 |
{
|
291 |
|
292 |
this.getActiveLanguage=function() { return qTranslateConfig.activeLanguage; }
|
293 |
|
|
|
294 |
var contentHooks={};
|
295 |
|
296 |
updateFusedValueHooked=function(h)
|
343 |
//c('addContentHook: inpField.value='+inpField.value);
|
344 |
h.contents=qtranxj_split(inpField.value);//keep neutral text from older times, just in case.
|
345 |
//inpField.tagName
|
346 |
+
h.mlContentField=qtranxj_ce('input', {name: inpField.name, type: 'hidden', className: 'hidden', value: inpField.value}, form);
|
347 |
if(!separator){
|
348 |
if(inpField.tagName==='TEXTAREA')
|
349 |
separator='<';
|
391 |
this.addContentHookByIdC=function(id,form) { return this.addContentHookById(id,form,'<'); }
|
392 |
this.addContentHookByIdB=function(id,form) { return this.addContentHookById(id,form,'['); }
|
393 |
|
394 |
+
this.removeContentHook=function(inpField)
|
395 |
+
{
|
396 |
+
if( !inpField ) return false;
|
397 |
+
if( !inpField.id ) return false;
|
398 |
+
if( !contentHooks[inpField.id] ) return false;
|
399 |
+
var h=contentHooks[inpField.id];
|
400 |
+
inpField.onblur = function(){};
|
401 |
+
inpField.name=inpField.name.replace(/^edit-/,'');
|
402 |
+
inpField.value=h.mlContentField.value;
|
403 |
+
jQuery(inpField).removeClass('qtranxs-translatable');
|
404 |
+
jQuery(h.mlContentField).remove();
|
405 |
+
delete contentHooks[inpField.id];
|
406 |
+
return true;
|
407 |
+
};
|
408 |
+
|
409 |
+
/**
|
410 |
+
* Since 3.2.7
|
411 |
+
*/
|
412 |
+
var displayHookNodes=[];
|
413 |
+
addDisplayHookNode=function(nd)
|
414 |
+
{
|
415 |
+
if(!nd.nodeValue) return 0;
|
416 |
+
var blocks = qtranxj_get_split_blocks(nd.nodeValue);
|
417 |
+
if( !blocks || !blocks.length || blocks.length == 1 ) return 0;
|
418 |
+
var h={};
|
419 |
+
h.nd=nd;
|
420 |
+
//co('addDisplayHookNode: nd=',nd);
|
421 |
+
//c('addDisplayHookNode: nodeValue: "'+nd.nodeValue+'"');
|
422 |
+
//c('addDisplayHookNode: content='+content);
|
423 |
+
h.contents = qtranxj_split_blocks(blocks);
|
424 |
+
nd.nodeValue=h.contents[qTranslateConfig.activeLanguage];
|
425 |
+
displayHookNodes.push(h);
|
426 |
+
return 1;
|
427 |
+
}
|
428 |
+
|
429 |
+
/**
|
430 |
+
* Since 3.2.7 switched to use of nodeValue instead of innerHTML.
|
431 |
+
*/
|
432 |
addDisplayHook=function(elem)
|
433 |
{
|
434 |
//co('addDisplayHook: elem=',elem);
|
435 |
+
if(!elem || !elem.tagName) return 0;
|
436 |
+
switch(elem.tagName){
|
437 |
+
case 'TEXTAREA':
|
438 |
+
case 'INPUT': return 0;
|
439 |
+
default: break;
|
440 |
+
}
|
441 |
+
var cnt = 0;
|
442 |
+
if(elem.childNodes && elem.childNodes.length){
|
443 |
+
for(var i = 0; i < elem.childNodes.length; ++i){
|
444 |
+
var nd = elem.childNodes[i];
|
445 |
+
switch(nd.nodeType){//http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-1950641247
|
446 |
+
case 1://ELEMENT_NODE
|
447 |
+
cnt += addDisplayHook(nd);//recursive call
|
448 |
+
break;
|
449 |
+
case 2://ATTRIBUTE_NODE
|
450 |
+
//co('addDisplayHook: ATTRIBUTE_NODE: ',nd);
|
451 |
+
case 3://TEXT_NODE
|
452 |
+
cnt += addDisplayHookNode(nd);
|
453 |
+
break;
|
454 |
+
default: break;
|
455 |
+
}
|
456 |
}
|
457 |
}
|
458 |
+
return cnt;
|
459 |
+
}
|
460 |
+
|
461 |
+
/*
|
462 |
+
var displayHooks=[];
|
463 |
+
addDisplayHook=function(elem)
|
464 |
+
{
|
465 |
+
//co('addDisplayHook: elem=',elem);
|
466 |
+
if(!elem || !elem.tagName) return 0;
|
467 |
+
switch(elem.tagName){
|
468 |
+
case 'TEXTAREA':
|
469 |
+
case 'INPUT': return 0;
|
470 |
+
default: break;
|
471 |
+
}
|
472 |
+
var cnt = 0;
|
473 |
+
if(elem.innerHTML){
|
474 |
+
var h={};
|
475 |
+
h.elem=elem;
|
476 |
+
var content = elem.innerHTML.replace(/<!--:([a-z]{2}|)-->/gi,'<!--:$1-->');//un-escape language HTML
|
477 |
+
var blocks = qtranxj_get_split_blocks(content);
|
478 |
+
if( blocks && blocks.length && blocks.length > 1 ){
|
479 |
+
//co('addDisplayHook: elem=',elem);
|
480 |
+
//c('addDisplayHook: innerHTML='+elem.innerHTML);
|
481 |
+
//c('addDisplayHook: outterHTML='+elem.outerHTML);
|
482 |
+
//c('addDisplayHook: textContent='+elem.textContent);
|
483 |
+
//c('addDisplayHook: nodeValue='+elem.nodeValue);
|
484 |
+
//c('addDisplayHook: content='+content);
|
485 |
+
h.contents = qtranxj_split_blocks(blocks);
|
486 |
+
//h.contents = qtranxj_split(content);
|
487 |
+
elem.innerHTML=h.contents[qTranslateConfig.activeLanguage];
|
488 |
+
if(elem.value){
|
489 |
+
var value = elem.value.replace(/<!--:([a-z]{2}|)-->/gi,'<!--:$1-->');//un-escape language HTML
|
490 |
+
if(value != ''){
|
491 |
+
//h.values=qtranxj_split(value);
|
492 |
+
var blocks = qtranxj_get_split_blocks(value);
|
493 |
+
if( blocks && blocks.length && blocks.length > 1){
|
494 |
+
h.values = qtranxj_split_blocks(blocks);
|
495 |
+
elem.value = h.values[qTranslateConfig.activeLanguage];
|
496 |
+
}
|
497 |
+
}
|
498 |
+
}
|
499 |
+
displayHooks.push(h);
|
500 |
+
cnt = 1;
|
501 |
+
}
|
502 |
+
}
|
503 |
+
if(elem.children && elem.children.length){
|
504 |
+
for(var i = 0; i < elem.children.length; ++i){
|
505 |
+
var nd = elem.children[i];
|
506 |
+
//c('addDisplayHook: nodeType='+nd.nodeType+'; nodeName='+nd.nodeName+'; nodeValue='+nd.nodeValue);
|
507 |
+
cnt += addDisplayHook(nd);//recursive call
|
508 |
+
}
|
509 |
+
}
|
510 |
+
return cnt;
|
511 |
}
|
512 |
+
*/
|
513 |
this.addDisplayHookById=function(id) { return addDisplayHook(this.ge(id)); }
|
514 |
|
515 |
setLangCookie=function(lang) { document.cookie='qtrans_edit_language='+lang; }
|
528 |
onTabSwitch=function()
|
529 |
{
|
530 |
setLangCookie(this.lang);
|
531 |
+
/*
|
532 |
for(var i=0; i<displayHooks.length; ++i){
|
533 |
var h=displayHooks[i];
|
534 |
h.elem.innerHTML=h.contents[this.lang];
|
535 |
if(h.values)
|
536 |
h.elem.value=h.values[this.lang];
|
537 |
+
}*/
|
538 |
+
for(var i=0; i<displayHookNodes.length; ++i){
|
539 |
+
var h=displayHookNodes[i];
|
540 |
+
h.nd.nodeValue = h.contents[this.lang];
|
541 |
}
|
542 |
for(var key in contentHooks){
|
543 |
var h=contentHooks[key];
|
548 |
h.contents[h.lang] = h.contentField.value;
|
549 |
}
|
550 |
h.lang = this.lang;
|
551 |
+
var value = h.contents[this.lang];
|
552 |
+
if(h.contentField.placeholder && value != ''){//since 3.2.7
|
553 |
+
h.contentField.placeholder='';
|
554 |
+
}
|
555 |
+
h.contentField.value = value;
|
556 |
//c('onTabSwitch: h['+key+'].contentField.value:'+h.contentField.value);
|
557 |
if(mce){
|
558 |
updateTinyMCE(h.mce,h.contentField.value);
|
575 |
var e=elems[i];
|
576 |
//co('addDisplayHooks: e=',e);
|
577 |
//co('addDisplayHooks: e.tagName=',e.tagName);
|
578 |
+
addDisplayHook(e);
|
|
|
|
|
|
|
|
|
579 |
}
|
580 |
}
|
581 |
|
651 |
* Parses custom page configuration, loaded in qtranxf_load_admin_page_config.
|
652 |
* Since 3.1-b2
|
653 |
*/
|
654 |
+
this.addPageHooks=function(page_config_forms)
|
655 |
{
|
656 |
+
for(var p=0; p < page_config_forms.length; ++p){
|
657 |
+
var frm = page_config_forms[p];
|
658 |
var form;
|
659 |
if(frm.form){
|
660 |
form = document.getElementById(frm.form.id);
|
683 |
case 'display':
|
684 |
if(fld.id) addDisplayHook(document.getElementById(fld.id));
|
685 |
else if(fld.class){
|
686 |
+
//c('addPageHooks: display: class='+fld.class+'; fld.tag='+fld.tag);
|
687 |
//c('class='+fld.class+'; containers.length='+containers.length);
|
688 |
for(var i=0; i < containers.length; ++i){
|
689 |
var container = containers[i];
|
690 |
+
var fields=container.getElementsByClassName(fld.class);
|
691 |
+
for(var j=0; j<fields.length; ++j){
|
692 |
+
var field=fields[j];
|
693 |
+
//c('field.tagName='+field.tagName);
|
694 |
+
if(fld.tag && fld.tag != field.tagName) continue;
|
695 |
+
addDisplayHook(field);
|
696 |
+
}
|
697 |
+
//this.addDisplayHooksByClass(fld.class,container);
|
698 |
}
|
699 |
}else if(fld.tag){
|
700 |
//c('tag='+fld.tag+'; containers.length='+containers.length);
|
718 |
else if(fld.class){
|
719 |
for(var i=0; i < containers.length; ++i){
|
720 |
var container = containers[i];
|
721 |
+
var fields=container.getElementsByClassName(fld.class);
|
722 |
+
for(var j=0; j<fields.length; ++j){
|
723 |
+
var field=fields[j];
|
724 |
+
if(fld.tag && fld.tag != field.tagName) continue;
|
725 |
+
if(fld.name && (!field.name || fld.name != field.name)) continue;
|
726 |
+
addContentHook(field,form,sep);
|
727 |
+
}
|
728 |
+
//addContentHooksByClassName(fld.class,form,container,sep);
|
729 |
}
|
730 |
}else if(fld.tag){
|
731 |
for(var i=0; i < containers.length; ++i){
|
744 |
}
|
745 |
}
|
746 |
}
|
|
|
747 |
}
|
748 |
|
749 |
this.addContentHooksTinyMCE=function()
|
836 |
return null;
|
837 |
}
|
838 |
|
839 |
+
if( typeof(pg.addContentHooks) == "function")
|
840 |
+
pg.addContentHooks(this);
|
841 |
|
842 |
+
if( qTranslateConfig.page_config && qTranslateConfig.page_config.forms)
|
843 |
+
this.addPageHooks(qTranslateConfig.page_config.forms);
|
844 |
+
|
845 |
+
//if(!displayHooks.length){
|
846 |
+
if(!displayHookNodes.length){
|
847 |
+
var ok = false;
|
848 |
+
for(var key in contentHooks){ ok = true; break; }
|
849 |
+
if(!ok)
|
850 |
+
return;
|
851 |
+
}
|
852 |
|
853 |
{
|
854 |
var anchors=[];
|
878 |
//header.parentNode.insertBefore(langSwitchWrap, header.nextElementSibling);
|
879 |
anchor.parentNode.insertBefore( langSwitchWrap, anchor );
|
880 |
var languageSwitch = new qtranxj_LanguageSwitch(langSwitchWrap);
|
881 |
+
//languageSwitch.onSwitch(onTabSwitch);
|
882 |
+
//if(pg.onTabSwitch)
|
883 |
+
// languageSwitch.onSwitch(onTabSwitchCustom);
|
884 |
}
|
885 |
+
/**
|
886 |
+
* Since 3.2.4 Synchronization of multiple sets of Language Switching Buttons
|
887 |
+
*/
|
888 |
+
qTranslateConfig.onTabSwitchFunctions=[];
|
889 |
+
qTranslateConfig.onTabSwitchFunctions.push(onTabSwitch);
|
890 |
+
if(pg.onTabSwitch)
|
891 |
+
qTranslateConfig.onTabSwitchFunctions.push(onTabSwitchCustom);
|
892 |
}
|
893 |
}
|
894 |
|
895 |
+
/**
|
896 |
+
* Since 3.2.4 Multiple sets of Language Switching Buttons
|
897 |
+
*/
|
898 |
+
function qtranxj_LanguageSwitch(langSwitchWrap)
|
899 |
{
|
900 |
var langs=qTranslateConfig.enabled_languages, langNames=qTranslateConfig.language_name;
|
901 |
+
//var tabSwitches={};
|
902 |
+
if(!qTranslateConfig.tabSwitches) qTranslateConfig.tabSwitches={};
|
903 |
+
//var onTabSwitchFunctions=[];
|
904 |
function switchTab()
|
905 |
{
|
906 |
var tabSwitch=this;
|
913 |
}
|
914 |
if (qTranslateConfig.activeLanguage)
|
915 |
{
|
916 |
+
var tabSwitches = qTranslateConfig.tabSwitches[qTranslateConfig.activeLanguage];
|
917 |
+
for(var i=0; i < tabSwitches.length; ++i){
|
918 |
+
tabSwitches[i].classList.remove('active');
|
919 |
+
}
|
920 |
+
//tabSwitches[qTranslateConfig.activeLanguage].classList.remove('active');
|
921 |
}
|
922 |
qTranslateConfig.activeLanguage=tabSwitch.lang;
|
923 |
+
{
|
924 |
+
var tabSwitches = qTranslateConfig.tabSwitches[qTranslateConfig.activeLanguage];
|
925 |
+
for(var i=0; i < tabSwitches.length; ++i){
|
926 |
+
tabSwitches[i].classList.add('active');
|
927 |
+
}
|
928 |
+
//tabSwitch.classList.add('active');
|
929 |
+
}
|
930 |
+
var onTabSwitchFunctions = qTranslateConfig.onTabSwitchFunctions;
|
931 |
for(var i=0; i<onTabSwitchFunctions.length; ++i)
|
932 |
{
|
933 |
onTabSwitchFunctions[i].call(this);
|
939 |
//var flags_location=qTranslateConfig.WP_CONTENT_URL+qTranslateConfig.flag_location;
|
940 |
var flag_location=qTranslateConfig.flag_location;
|
941 |
var lang=langs[i];
|
942 |
+
var tabSwitch=qtranxj_ce ('li', {lang: lang, className: 'qtranxs-lang-switch', onclick: switchTab }, langSwitchWrap );
|
943 |
qtranxj_ce('img', {src: flag_location+qTranslateConfig.flag[lang]}, tabSwitch);
|
944 |
qtranxj_ce('span', {innerHTML: langNames[lang]}, tabSwitch);
|
|
|
945 |
if ( qTranslateConfig.activeLanguage == lang )
|
946 |
tabSwitch.classList.add('active');
|
947 |
+
if(!qTranslateConfig.tabSwitches[lang]) qTranslateConfig.tabSwitches[lang] = [];
|
948 |
+
qTranslateConfig.tabSwitches[lang].push(tabSwitch);
|
949 |
+
//tabSwitches[lang]=tabSwitch;
|
950 |
+
}
|
951 |
+
//this.onSwitch=function(callback)
|
952 |
+
//{
|
953 |
+
// if (typeof callback==='function')
|
954 |
+
// {
|
955 |
+
// onTabSwitchFunctions.push(callback);
|
956 |
+
// }
|
957 |
+
//}
|
958 |
}
|
959 |
|
960 |
/**
|
admin/js/common.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function qtranxj_get_cookie(n){for(var e=document.cookie.split(";"),a=0;a<e.length;++a){var t=e[a],i=t.split("=");if(i[0].trim()==n&&!(e.length<2))return i[1].trim()}return""}function qtranxj_isArray(n){return n.constructor.toString().indexOf("Array")>=0}function qtranxj_ce(n,e,a,t){var i=document.createElement(n);if(e)for(prop in e)i[prop]=e[prop];return a&&(t&&a.firstChild?a.insertBefore(i,a.firstChild):a.appendChild(i)),i}function qtranxj_LanguageSwitch(n){function e(){var n=this;if(!n.lang)return void alert("qTranslate-X: This should not have happened: Please, report this incident to the developers: !tabSwitch.lang");if(qTranslateConfig.activeLanguage!==n.lang){qTranslateConfig.activeLanguage&&i[qTranslateConfig.activeLanguage].classList.remove("active"),qTranslateConfig.activeLanguage=n.lang,n.classList.add("active");for(var e=0;e<r.length;++e)r[e].call(this)}}for(var a=qTranslateConfig.enabled_languages,t=qTranslateConfig.language_name,i={},r=[],o=0;o<a.length;++o){var s=qTranslateConfig.flag_location,l=a[o],g=qtranxj_ce("li",{lang:l,className:"qtranxs-lang-switch",onclick:e},n);qtranxj_ce("img",{src:s+qTranslateConfig.flag[l]},g),qtranxj_ce("span",{innerHTML:t[l]},g),i[l]=g,qTranslateConfig.activeLanguage==l&&g.classList.add("active")}this.onSwitch=function(n){"function"==typeof n&&r.push(n)}}qtranxj_split=function(n){for(var e=new Object,a=0;a<qTranslateConfig.enabled_languages.length;++a){var t=qTranslateConfig.enabled_languages[a];e[t]=""}var i=/(<!--:[a-z]{2}-->|<!--:-->|\[:[a-z]{2}\]|\[:\])/gi,r=n.xsplit(i);if(!qtranxj_isArray(r))return e;if(1==r.length){for(var o=r[0],s=0;s<qTranslateConfig.enabled_languages.length;++s){var t=qTranslateConfig.enabled_languages[s];e[t]+=o}return e}var l=/<!--:([a-z]{2})-->/gi,g=/\[:([a-z]{2})\]/gi;t=!1;for(var a=0;a<r.length;++a){var o=r[a];if(o.length)if(matches=l.exec(o),l.lastIndex=0,null==matches)if("<!--:-->"!=o&&"[:]"!=o)if(matches=g.exec(o),g.lastIndex=0,null==matches)if(t)e[t]+=o,t=!1;else for(var d in e)e[d]+=o;else t=matches[1];else t=!1;else t=matches[1]}return e},qtranxj_allthesame=function(n){if(0==qTranslateConfig.enabled_languages.length)return"";for(var e="",a=0;a<qTranslateConfig.enabled_languages.length;++a){var t=qTranslateConfig.enabled_languages[a],i=n[t];if(i&&""!=i){e=i;break}}if(""==e)return e;for(var a=0;a<qTranslateConfig.enabled_languages.length;++a){var t=qTranslateConfig.enabled_languages[a],i=n[t];if(i!=e)return null}return e},qtranxj_join_c=function(n){return qtranxj_join_b(n)},qtranxj_join_b=function(n){var e=qtranxj_allthesame(n);if(null!=e)return e;for(var e="",a=0;a<qTranslateConfig.enabled_languages.length;++a){var t=qTranslateConfig.enabled_languages[a],i=n[t];i&&""!=i&&(e+="[:"+t+"]",e+=i)}return""!=e&&(e+="[:]"),e},qtranxj_join_byline=function(n){var e=qtranxj_allthesame(n);if(null!=e)return e;for(var a in n)n[a]=n[a].split("\n");for(var e="",t=0;!0;++t){var i;for(var a in n)if(!(n[a].length()<=t)){var r=n[a][t];r&&""!=r&&(i[a]=r)}if(!i)break;e+=qtranxj_join_b(i)}return e},String.prototype.xsplit=function(n){if(3==="a~b".split(/(~)/).length)return this.split(n);n.global||(n=new RegExp(n.source,"g"+(n.ignoreCase?"i":"")));for(var e,a=0,t=[];null!=(e=n.exec(this));)t.push(this.slice(a,e.index)),e.length>1&&t.push(e[1]),a=n.lastIndex;return a<this.length&&t.push(this.slice(a)),a==this.length&&t.push(""),t};var qTranslateX=function(n){this.ge=function(n){return document.getElementById(n)},isLanguageEnabled=function(n){for(var e=0;e<qTranslateConfig.enabled_languages.length;++e)if(qTranslateConfig.enabled_languages[e]==n)return!0;return!1},qTranslateConfig.activeLanguage=qtranxj_get_cookie("qtrans_edit_language"),qTranslateConfig.activeLanguage&&isLanguageEnabled(qTranslateConfig.activeLanguage)||(qTranslateConfig.activeLanguage=qTranslateConfig.language),this.getActiveLanguage=function(){return qTranslateConfig.activeLanguage};var e=[],a={};if(updateFusedValueHooked=function(n){switch(n.separator){case"<":n.mlContentField.value=qtranxj_join_c(n.contents);break;case"byline":n.mlContentField.value=qtranxj_join_byline(n.contents);break;case"[":default:n.mlContentField.value=qtranxj_join_b(n.contents)}},updateFusedValueH=function(n,e){var t=a[n],i=e.trim();t.contents[t.lang]=i,updateFusedValueHooked(t)},addContentHook=function(n,e,t){if(!n)return!1;if(!n.name)return!1;switch(n.tagName){case"TEXTAREA":case"INPUT":break;default:return!1}if(n.id||(n.id=n.tagName,e.id&&(n.id+=e.id),n.name&&(n.id+=n.name)),a[n.id])return!0;var i=a[n.id]={};i.contentField=n,i.contents=qtranxj_split(n.value),i.mlContentField=qtranxj_ce("input",{name:n.name,type:"hidden",className:"hidden",value:n.value},e,!0),t||(t="TEXTAREA"===n.tagName?"<":"["),i.separator=t,n.name="edit-"+n.name,i.lang=qTranslateConfig.activeLanguage;var r=i.contents[i.lang];if(n.value=r,n.onblur=function(){updateFusedValueH(this.id,this.value)},n.className+=" qtranxs-translatable",window.tinyMCE)for(var o=0;o<tinyMCE.editors.length;++o){var s=tinyMCE.editors[o];s.id==n.id&&(i.mce=s,updateTinyMCE(s,r))}return i},this.addContentHookC=function(n,e){return addContentHook(n,e,"<")},this.addContentHookB=function(n,e){return addContentHook(n,e,"[")},this.addContentHookById=function(n,e,a){return addContentHook(this.ge(n),e,a)},this.addContentHookByIdName=function(n,e){var a;return(0==n.indexOf("<")||0==n.indexOf("["))&&(a=n.substring(0,1),n=n.substring(1)),this.addContentHookById(n,e,a)},this.addContentHookByIdC=function(n,e){return this.addContentHookById(n,e,"<")},this.addContentHookByIdB=function(n,e){return this.addContentHookById(n,e,"[")},addDisplayHook=function(n){if(!n)return!1;var a={};a.elem=n;var t=n.innerHTML.replace(/<!--:([a-z]{2}|)-->/gi,"<!--:$1-->");if(a.contents=qtranxj_split(t),n.innerHTML=a.contents[qTranslateConfig.activeLanguage],n.value){var i=n.value.replace(/<!--:([a-z]{2}|)-->/gi,"<!--:$1-->");""!=i&&(a.values=qtranxj_split(i),n.value=a.values[qTranslateConfig.activeLanguage])}return e.push(a),!0},this.addDisplayHookById=function(n){return addDisplayHook(this.ge(n))},setLangCookie=function(n){document.cookie="qtrans_edit_language="+n},updateTinyMCE=function(n,e){window.switchEditors&&(e=window.switchEditors.wpautop(e)),n.setContent(e,{format:"html"})},onTabSwitch=function(){setLangCookie(this.lang);for(var n=0;n<e.length;++n){var t=e[n];t.elem.innerHTML=t.contents[this.lang],t.values&&(t.elem.value=t.values[this.lang])}for(var i in a){var t=a[i],r=t.mce&&!t.mce.hidden;r&&(t.mce.save({format:"html"}),t.contents[t.lang]=t.contentField.value),t.lang=this.lang,t.contentField.value=t.contents[this.lang],r&&updateTinyMCE(t.mce,t.contentField.value)}},qTranslateConfig.qtx=this,onTabSwitchCustom=function(){n.onTabSwitch(this.lang,qTranslateConfig.qtx)},addDisplayHooks=function(n){for(var e=0;e<n.length;++e){var a=n[e];switch(a.tagName){case"TEXTAREA":case"INPUT":break;default:addDisplayHook(a)}}},this.addDisplayHooksByClass=function(n,e){var a=e.getElementsByClassName(n);addDisplayHooks(a)},this.addDisplayHooksByTagInClass=function(n,e,a){for(var t=a.getElementsByClassName(n),i=0;i<t.length;++i){var r=t[i],o=r.getElementsByTagName(e);addDisplayHooks(o)}},addContentFieldHooks=function(n,e,a){for(var t=0;t<n.length;++t){var i=n[t];addContentHook(i,e,a)}},addContentHooksByClassName=function(n,e,a,t){a||(a=e);var i=a.getElementsByClassName(n);addContentFieldHooks(i,e,t)},this.addContentHooksByClass=function(n,e,a){var t;(0==n.indexOf("<")||0==n.indexOf("["))&&(t=n.substring(0,1),n=n.substring(1)),addContentHooksByClassName(n,e,a,t)},this.addCustomContentHooks=function(n){for(var e=0;e<qTranslateConfig.custom_fields.length;++e){var a=qTranslateConfig.custom_fields[e];this.addContentHookByIdName(a,n)}for(var e=0;e<qTranslateConfig.custom_field_classes.length;++e){var a=qTranslateConfig.custom_field_classes[e];this.addContentHooksByClass(a,n)}},this.addPageHooks=function(n){for(var e=0;e<n.forms.length;++e){var a,t=n.forms[e];a=t.form?document.getElementById(t.form.id):this.getWrapForm();for(var i=0;i<t.fields.length;++i){var r=t.fields[i],o=[];if(r.container_id){var s=document.getElementById(r.container_id);s&&o.push(s)}else r.container_class?o=document.getElementsByClassName(r.container_class):a&&o.push(a);var l=r.encode;switch(l){case"display":if(r.id)addDisplayHook(document.getElementById(r.id));else if(r.class)for(var g=0;g<o.length;++g){var s=o[g];this.addDisplayHooksByClass(r.class,s)}else{if(!r.tag)continue;for(var g=0;g<o.length;++g){var s=o[g],d=s.getElementsByTagName(r.tag);addDisplayHooks(d)}}break;case"[":case"<":case"byline":default:if(!a)continue;if(r.id)this.addContentHookById(r.id,a,l);else if(r.class)for(var g=0;g<o.length;++g){var s=o[g];addContentHooksByClassName(r.class,a,s,l)}else{if(!r.tag)continue;for(var g=0;g<o.length;++g)for(var s=o[g],u=s.getElementsByTagName(r.tag),c=0;c<u.length;++c){var f=u[c];(!r.name||f.name&&r.name==f.name)&&addContentHook(f,a,l)}}}}}return!0},this.addContentHooksTinyMCE=function(){function n(n){var e=n.id;if(e){var t=a[e];if(t&&!t.mce)return t.mce=n,n.getBody().addEventListener("blur",function(){var e=a[n.id];n.save(),e.contents[e.lang]=e.contentField.value,updateFusedValueHooked(e)}),n.getContainer().className+=" qtranxs-translatable",n.getElement().className+=" qtranxs-translatable",t}}window.addEventListener("load",function(){if(window.tinyMCE){for(var e=0;e<tinyMCE.editors.length;++e){var t=tinyMCE.editors[e],i=n(t);i&&updateTinyMCE(t,i.contentField.value)}for(var r in a){var i=a[r];i.mce||"TEXTAREA"===i.contentField.tagName&&tinyMCEPreInit.mceInit[r]&&(tinyMCEPreInit.mceInit[r].init_instance_callback=function(e){n(e)})}}})},this.getWrapForm=function(){for(var n=document.getElementsByClassName("wrap"),e=0;e<n.length;++e){var a=n[e],t=a.getElementsByTagName("form");if(t.length)return t[0]}var t=document.getElementsByTagName("form");if(1===t.length)return t[0];for(var e=0;e<t.length;++e){var i=t[e];if(n=i.getElementsByClassName("wrap"),n.length)return i}return null},this.getFormWrap=function(){for(var n=document.getElementsByTagName("form"),e=0;e<n.length;++e){var a=n[e],t=a.getElementsByClassName("wrap");if(t.length)return t[0]}for(var t=document.getElementsByClassName("wrap"),e=0;e<t.length;++e){var i=t[e];if(n=i.getElementsByTagName("form"),n.length)return i}return null},("function"!=typeof n.addContentHooks||n.addContentHooks(this))&&(!qTranslateConfig.page_config||this.addPageHooks(qTranslateConfig.page_config))){var t=[];if(qTranslateConfig.page_config&&qTranslateConfig.page_config.anchors)for(var i=0;i<qTranslateConfig.page_config.anchors.length;++i){var r=qTranslateConfig.page_config.anchors[i],o=document.getElementById(r);o&&t.push(o)}if(!t.length){var o=n.langSwitchWrapAnchor;o||(o=this.getWrapForm()),o||(o=this.getWrapForm()),o&&t.push(o)}for(var i=0;i<t.length;++i){var r=t[i],s=qtranxj_ce("ul",{className:"qtranxs-lang-switch-wrap"});r.parentNode.insertBefore(s,r);var l=new qtranxj_LanguageSwitch(s);l.onSwitch(onTabSwitch),n.onTabSwitch&&l.onSwitch(onTabSwitchCustom)}}};jQuery(document).ready(function(){new qTranslateX(qTranslateConfig.js)});
|
1 |
+
function qtranxj_get_cookie(n){for(var e=document.cookie.split(";"),a=0;a<e.length;++a){var t=e[a],i=t.split("=");if(i[0].trim()==n&&!(e.length<2))return i[1].trim()}return""}function qtranxj_ce(n,e,a,t){var i=document.createElement(n);if(e)for(prop in e)i[prop]=e[prop];return a&&(t&&a.firstChild?a.insertBefore(i,a.firstChild):a.appendChild(i)),i}function qtranxj_LanguageSwitch(n){function e(){var n=this;if(!n.lang)return void alert("qTranslate-X: This should not have happened: Please, report this incident to the developers: !tabSwitch.lang");if(qTranslateConfig.activeLanguage!==n.lang){if(qTranslateConfig.activeLanguage)for(var e=qTranslateConfig.tabSwitches[qTranslateConfig.activeLanguage],a=0;a<e.length;++a)e[a].classList.remove("active");qTranslateConfig.activeLanguage=n.lang;for(var e=qTranslateConfig.tabSwitches[qTranslateConfig.activeLanguage],a=0;a<e.length;++a)e[a].classList.add("active");for(var t=qTranslateConfig.onTabSwitchFunctions,a=0;a<t.length;++a)t[a].call(this)}}var a=qTranslateConfig.enabled_languages,t=qTranslateConfig.language_name;qTranslateConfig.tabSwitches||(qTranslateConfig.tabSwitches={});for(var i=0;i<a.length;++i){var r=qTranslateConfig.flag_location,o=a[i],s=qtranxj_ce("li",{lang:o,className:"qtranxs-lang-switch",onclick:e},n);qtranxj_ce("img",{src:r+qTranslateConfig.flag[o]},s),qtranxj_ce("span",{innerHTML:t[o]},s),qTranslateConfig.activeLanguage==o&&s.classList.add("active"),qTranslateConfig.tabSwitches[o]||(qTranslateConfig.tabSwitches[o]=[]),qTranslateConfig.tabSwitches[o].push(s)}}qtranxj_get_split_blocks=function(n){var e=/(<!--:[a-z]{2}-->|<!--:-->|\[:[a-z]{2}\]|\[:\])/gi;return n.xsplit(e)},qtranxj_split=function(n){var e=qtranxj_get_split_blocks(n);return qtranxj_split_blocks(e)},qtranxj_split_blocks=function(n){for(var e=new Object,a=0;a<qTranslateConfig.enabled_languages.length;++a){var t=qTranslateConfig.enabled_languages[a];e[t]=""}if(!n||!n.length)return e;if(1==n.length){for(var i=n[0],r=0;r<qTranslateConfig.enabled_languages.length;++r){var t=qTranslateConfig.enabled_languages[r];e[t]+=i}return e}for(var o,s=/<!--:([a-z]{2})-->/gi,l=/\[:([a-z]{2})\]/gi,t=!1,a=0;a<n.length;++a){var i=n[a];if(i.length)if(o=s.exec(i),s.lastIndex=0,null==o)if(o=l.exec(i),l.lastIndex=0,null==o)if("<!--:-->"!=i&&"[:]"!=i)if(t)e[t]+=i,t=!1;else for(var g in e)e[g]+=i;else t=!1;else t=o[1];else t=o[1]}return e},qtranxj_allthesame=function(n){if(0==qTranslateConfig.enabled_languages.length)return"";for(var e="",a=0;a<qTranslateConfig.enabled_languages.length;++a){var t=qTranslateConfig.enabled_languages[a],i=n[t];if(i&&""!=i){e=i;break}}if(""==e)return e;for(var a=0;a<qTranslateConfig.enabled_languages.length;++a){var t=qTranslateConfig.enabled_languages[a],i=n[t];if(i!=e)return null}return e},qtranxj_join_c=function(n){return qtranxj_join_b(n)},qtranxj_join_b=function(n){var e=qtranxj_allthesame(n);if(null!=e)return e;for(var e="",a=0;a<qTranslateConfig.enabled_languages.length;++a){var t=qTranslateConfig.enabled_languages[a],i=n[t];i&&""!=i&&(e+="[:"+t+"]",e+=i)}return""!=e&&(e+="[:]"),e},qtranxj_join_byline=function(n){var e=qtranxj_allthesame(n);if(null!=e)return e;for(var a in n)n[a]=n[a].split("\n");for(var e="",t=0;!0;++t){var i;for(var a in n)if(!(n[a].length()<=t)){var r=n[a][t];r&&""!=r&&(i[a]=r)}if(!i)break;e+=qtranxj_join_b(i)}return e},String.prototype.xsplit=function(n){if(3==="a~b".split(/(~)/).length)return this.split(n);n.global||(n=new RegExp(n.source,"g"+(n.ignoreCase?"i":"")));for(var e,a=0,t=[];null!=(e=n.exec(this));)t.push(this.slice(a,e.index)),e.length>1&&t.push(e[1]),a=n.lastIndex;return a<this.length&&t.push(this.slice(a)),a==this.length&&t.push(""),t};var qTranslateX=function(n){this.ge=function(n){return document.getElementById(n)},isLanguageEnabled=function(n){for(var e=0;e<qTranslateConfig.enabled_languages.length;++e)if(qTranslateConfig.enabled_languages[e]==n)return!0;return!1},qTranslateConfig.activeLanguage=qtranxj_get_cookie("qtrans_edit_language"),qTranslateConfig.activeLanguage&&isLanguageEnabled(qTranslateConfig.activeLanguage)||(qTranslateConfig.activeLanguage=qTranslateConfig.language),this.getActiveLanguage=function(){return qTranslateConfig.activeLanguage};var e={};updateFusedValueHooked=function(n){switch(n.separator){case"<":n.mlContentField.value=qtranxj_join_c(n.contents);break;case"byline":n.mlContentField.value=qtranxj_join_byline(n.contents);break;case"[":default:n.mlContentField.value=qtranxj_join_b(n.contents)}},updateFusedValueH=function(n,a){var t=e[n],i=a.trim();t.contents[t.lang]=i,updateFusedValueHooked(t)},addContentHook=function(n,a,t){if(!n)return!1;if(!n.name)return!1;switch(n.tagName){case"TEXTAREA":case"INPUT":break;default:return!1}if(n.id||(n.id=n.tagName,a.id&&(n.id+=a.id),n.name&&(n.id+=n.name)),e[n.id])return!0;var i=e[n.id]={};i.contentField=n,i.contents=qtranxj_split(n.value),i.mlContentField=qtranxj_ce("input",{name:n.name,type:"hidden",className:"hidden",value:n.value},a),t||(t="TEXTAREA"===n.tagName?"<":"["),i.separator=t,n.name="edit-"+n.name,i.lang=qTranslateConfig.activeLanguage;var r=i.contents[i.lang];if(n.value=r,n.onblur=function(){updateFusedValueH(this.id,this.value)},n.className+=" qtranxs-translatable",window.tinyMCE)for(var o=0;o<tinyMCE.editors.length;++o){var s=tinyMCE.editors[o];s.id==n.id&&(i.mce=s,updateTinyMCE(s,r))}return i},this.addContentHookC=function(n,e){return addContentHook(n,e,"<")},this.addContentHookB=function(n,e){return addContentHook(n,e,"[")},this.addContentHookById=function(n,e,a){return addContentHook(this.ge(n),e,a)},this.addContentHookByIdName=function(n,e){var a;return(0==n.indexOf("<")||0==n.indexOf("["))&&(a=n.substring(0,1),n=n.substring(1)),this.addContentHookById(n,e,a)},this.addContentHookByIdC=function(n,e){return this.addContentHookById(n,e,"<")},this.addContentHookByIdB=function(n,e){return this.addContentHookById(n,e,"[")},this.removeContentHook=function(n){if(!n)return!1;if(!n.id)return!1;if(!e[n.id])return!1;var a=e[n.id];return n.onblur=function(){},n.name=n.name.replace(/^edit-/,""),n.value=a.mlContentField.value,jQuery(n).removeClass("qtranxs-translatable"),jQuery(a.mlContentField).remove(),delete e[n.id],!0};var a=[];if(addDisplayHookNode=function(n){if(!n.nodeValue)return 0;var e=qtranxj_get_split_blocks(n.nodeValue);if(!e||!e.length||1==e.length)return 0;var t={};return t.nd=n,t.contents=qtranxj_split_blocks(e),n.nodeValue=t.contents[qTranslateConfig.activeLanguage],a.push(t),1},addDisplayHook=function(n){if(!n||!n.tagName)return 0;switch(n.tagName){case"TEXTAREA":case"INPUT":return 0}var e=0;if(n.childNodes&&n.childNodes.length)for(var a=0;a<n.childNodes.length;++a){var t=n.childNodes[a];switch(t.nodeType){case 1:e+=addDisplayHook(t);break;case 2:case 3:e+=addDisplayHookNode(t)}}return e},this.addDisplayHookById=function(n){return addDisplayHook(this.ge(n))},setLangCookie=function(n){document.cookie="qtrans_edit_language="+n},updateTinyMCE=function(n,e){window.switchEditors&&(e=window.switchEditors.wpautop(e)),n.setContent(e,{format:"html"})},onTabSwitch=function(){setLangCookie(this.lang);for(var n=0;n<a.length;++n){var t=a[n];t.nd.nodeValue=t.contents[this.lang]}for(var i in e){var t=e[i],r=t.mce&&!t.mce.hidden;r&&(t.mce.save({format:"html"}),t.contents[t.lang]=t.contentField.value),t.lang=this.lang;var o=t.contents[this.lang];t.contentField.placeholder&&""!=o&&(t.contentField.placeholder=""),t.contentField.value=o,r&&updateTinyMCE(t.mce,t.contentField.value)}},qTranslateConfig.qtx=this,onTabSwitchCustom=function(){n.onTabSwitch(this.lang,qTranslateConfig.qtx)},addDisplayHooks=function(n){for(var e=0;e<n.length;++e){var a=n[e];addDisplayHook(a)}},this.addDisplayHooksByClass=function(n,e){var a=e.getElementsByClassName(n);addDisplayHooks(a)},this.addDisplayHooksByTagInClass=function(n,e,a){for(var t=a.getElementsByClassName(n),i=0;i<t.length;++i){var r=t[i],o=r.getElementsByTagName(e);addDisplayHooks(o)}},addContentFieldHooks=function(n,e,a){for(var t=0;t<n.length;++t){var i=n[t];addContentHook(i,e,a)}},addContentHooksByClassName=function(n,e,a,t){a||(a=e);var i=a.getElementsByClassName(n);addContentFieldHooks(i,e,t)},this.addContentHooksByClass=function(n,e,a){var t;(0==n.indexOf("<")||0==n.indexOf("["))&&(t=n.substring(0,1),n=n.substring(1)),addContentHooksByClassName(n,e,a,t)},this.addCustomContentHooks=function(n){for(var e=0;e<qTranslateConfig.custom_fields.length;++e){var a=qTranslateConfig.custom_fields[e];this.addContentHookByIdName(a,n)}for(var e=0;e<qTranslateConfig.custom_field_classes.length;++e){var a=qTranslateConfig.custom_field_classes[e];this.addContentHooksByClass(a,n)}},this.addPageHooks=function(n){for(var e=0;e<n.length;++e){var a,t=n[e];a=t.form?document.getElementById(t.form.id):this.getWrapForm();for(var i=0;i<t.fields.length;++i){var r=t.fields[i],o=[];if(r.container_id){var s=document.getElementById(r.container_id);s&&o.push(s)}else r.container_class?o=document.getElementsByClassName(r.container_class):a&&o.push(a);var l=r.encode;switch(l){case"display":if(r.id)addDisplayHook(document.getElementById(r.id));else if(r.class)for(var g=0;g<o.length;++g)for(var s=o[g],d=s.getElementsByClassName(r.class),u=0;u<d.length;++u){var c=d[u];r.tag&&r.tag!=c.tagName||addDisplayHook(c)}else{if(!r.tag)continue;for(var g=0;g<o.length;++g){var s=o[g],f=s.getElementsByTagName(r.tag);addDisplayHooks(f)}}break;case"[":case"<":case"byline":default:if(!a)continue;if(r.id)this.addContentHookById(r.id,a,l);else if(r.class)for(var g=0;g<o.length;++g)for(var s=o[g],d=s.getElementsByClassName(r.class),u=0;u<d.length;++u){var c=d[u];r.tag&&r.tag!=c.tagName||(!r.name||c.name&&r.name==c.name)&&addContentHook(c,a,l)}else{if(!r.tag)continue;for(var g=0;g<o.length;++g)for(var s=o[g],d=s.getElementsByTagName(r.tag),u=0;u<d.length;++u){var c=d[u];(!r.name||c.name&&r.name==c.name)&&addContentHook(c,a,l)}}}}}},this.addContentHooksTinyMCE=function(){function n(n){var a=n.id;if(a){var t=e[a];if(t&&!t.mce)return t.mce=n,n.getBody().addEventListener("blur",function(){var a=e[n.id];n.save(),a.contents[a.lang]=a.contentField.value,updateFusedValueHooked(a)}),n.getContainer().className+=" qtranxs-translatable",n.getElement().className+=" qtranxs-translatable",t}}window.addEventListener("load",function(){if(window.tinyMCE){for(var a=0;a<tinyMCE.editors.length;++a){var t=tinyMCE.editors[a],i=n(t);i&&updateTinyMCE(t,i.contentField.value)}for(var r in e){var i=e[r];i.mce||"TEXTAREA"===i.contentField.tagName&&tinyMCEPreInit.mceInit[r]&&(tinyMCEPreInit.mceInit[r].init_instance_callback=function(e){n(e)})}}})},this.getWrapForm=function(){for(var n=document.getElementsByClassName("wrap"),e=0;e<n.length;++e){var a=n[e],t=a.getElementsByTagName("form");if(t.length)return t[0]}var t=document.getElementsByTagName("form");if(1===t.length)return t[0];for(var e=0;e<t.length;++e){var i=t[e];if(n=i.getElementsByClassName("wrap"),n.length)return i}return null},this.getFormWrap=function(){for(var n=document.getElementsByTagName("form"),e=0;e<n.length;++e){var a=n[e],t=a.getElementsByClassName("wrap");if(t.length)return t[0]}for(var t=document.getElementsByClassName("wrap"),e=0;e<t.length;++e){var i=t[e];if(n=i.getElementsByTagName("form"),n.length)return i}return null},"function"==typeof n.addContentHooks&&n.addContentHooks(this),qTranslateConfig.page_config&&qTranslateConfig.page_config.forms&&this.addPageHooks(qTranslateConfig.page_config.forms),!a.length){var t=!1;for(var i in e){t=!0;break}if(!t)return}var r=[];if(qTranslateConfig.page_config&&qTranslateConfig.page_config.anchors)for(var o=0;o<qTranslateConfig.page_config.anchors.length;++o){var s=qTranslateConfig.page_config.anchors[o],l=document.getElementById(s);l&&r.push(l)}if(!r.length){var l=n.langSwitchWrapAnchor;l||(l=this.getWrapForm()),l||(l=this.getWrapForm()),l&&r.push(l)}for(var o=0;o<r.length;++o){var s=r[o],g=qtranxj_ce("ul",{className:"qtranxs-lang-switch-wrap"});s.parentNode.insertBefore(g,s);{new qtranxj_LanguageSwitch(g)}}qTranslateConfig.onTabSwitchFunctions=[],qTranslateConfig.onTabSwitchFunctions.push(onTabSwitch),n.onTabSwitch&&qTranslateConfig.onTabSwitchFunctions.push(onTabSwitchCustom)};jQuery(document).ready(function(){new qTranslateX(qTranslateConfig.js)});
|
admin/js/edit-nav-menus.js
CHANGED
@@ -14,10 +14,11 @@ qTranslateConfig.js={
|
|
14 |
qtx.addContentHooksByClass('[edit-menu-item-description',form,li);//must use '[:]' separator style
|
15 |
|
16 |
qtx.addDisplayHooksByClass('menu-item-title',li);
|
|
|
17 |
qtx.addDisplayHooksByTagInClass('link-to-original','A',li);
|
18 |
}
|
19 |
|
20 |
-
function
|
21 |
{
|
22 |
var items=document.getElementsByClassName('menu-item');
|
23 |
for(var i=0; i<items.length; ++i)
|
@@ -28,7 +29,7 @@ qTranslateConfig.js={
|
|
28 |
var sst = document.getElementById('side-sortables');
|
29 |
if(sst) qtx.addDisplayHooksByClass('menu-item-title',sst);
|
30 |
}
|
31 |
-
|
32 |
|
33 |
if(wpNavMenu){
|
34 |
var wp_addMenuItemToBottom = wpNavMenu.addMenuItemToBottom;
|
14 |
qtx.addContentHooksByClass('[edit-menu-item-description',form,li);//must use '[:]' separator style
|
15 |
|
16 |
qtx.addDisplayHooksByClass('menu-item-title',li);
|
17 |
+
qtx.addDisplayHooksByClass('item-title',li);
|
18 |
qtx.addDisplayHooksByTagInClass('link-to-original','A',li);
|
19 |
}
|
20 |
|
21 |
+
function addMenuPageHooks(qtx,form)
|
22 |
{
|
23 |
var items=document.getElementsByClassName('menu-item');
|
24 |
for(var i=0; i<items.length; ++i)
|
29 |
var sst = document.getElementById('side-sortables');
|
30 |
if(sst) qtx.addDisplayHooksByClass('menu-item-title',sst);
|
31 |
}
|
32 |
+
addMenuPageHooks(qtx,form);
|
33 |
|
34 |
if(wpNavMenu){
|
35 |
var wp_addMenuItemToBottom = wpNavMenu.addMenuItemToBottom;
|
admin/js/edit-nav-menus.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
qTranslateConfig.js={addContentHooks:function(e){function t(e,t){for(var n=document.getElementsByClassName("menu-item"),a=0;a<n.length;++a){var o=n[a];addMenuItemHooks(o,t)}var i=document.getElementById("side-sortables");i&&e.addDisplayHooksByClass("menu-item-title",i)}var n=document.getElementById("update-nav-menu");if(!n)return!1;if(addMenuItemHooks=function(t,n){e.addContentHooksByClass("edit-menu-item-title",n,t),e.addContentHooksByClass("edit-menu-item-attr-title",n,t),e.addContentHooksByClass("[edit-menu-item-description",n,t),e.addDisplayHooksByClass("menu-item-title",t),e.addDisplayHooksByTagInClass("link-to-original","A",t)},t(e,n),wpNavMenu){var a=wpNavMenu.addMenuItemToBottom;"function"==typeof a&&(wpNavMenu.addMenuItemToBottom=function(e,t){a(e,t);for(var o=/id="menu-item-(\d+)"/gi;matches=o.exec(e);){var i="menu-item-"+matches[1],s=document.getElementById(i);s&&addMenuItemHooks(s,n)}})}return this.onTabSwitch(e.getActiveLanguage(),e),this.langSwitchWrapAnchor=n,!0},onTabSwitch:function(){wpNavMenu&&("function"==typeof wpNavMenu.refreshKeyboardAccessibility&&wpNavMenu.refreshKeyboardAccessibility(),"function"==typeof wpNavMenu.refreshAdvancedAccessibility&&wpNavMenu.refreshAdvancedAccessibility())}};
|
1 |
+
qTranslateConfig.js={addContentHooks:function(e){function t(e,t){for(var n=document.getElementsByClassName("menu-item"),a=0;a<n.length;++a){var o=n[a];addMenuItemHooks(o,t)}var i=document.getElementById("side-sortables");i&&e.addDisplayHooksByClass("menu-item-title",i)}var n=document.getElementById("update-nav-menu");if(!n)return!1;if(addMenuItemHooks=function(t,n){e.addContentHooksByClass("edit-menu-item-title",n,t),e.addContentHooksByClass("edit-menu-item-attr-title",n,t),e.addContentHooksByClass("[edit-menu-item-description",n,t),e.addDisplayHooksByClass("menu-item-title",t),e.addDisplayHooksByClass("item-title",t),e.addDisplayHooksByTagInClass("link-to-original","A",t)},t(e,n),wpNavMenu){var a=wpNavMenu.addMenuItemToBottom;"function"==typeof a&&(wpNavMenu.addMenuItemToBottom=function(e,t){a(e,t);for(var o=/id="menu-item-(\d+)"/gi;matches=o.exec(e);){var i="menu-item-"+matches[1],s=document.getElementById(i);s&&addMenuItemHooks(s,n)}})}return this.onTabSwitch(e.getActiveLanguage(),e),this.langSwitchWrapAnchor=n,!0},onTabSwitch:function(){wpNavMenu&&("function"==typeof wpNavMenu.refreshKeyboardAccessibility&&wpNavMenu.refreshKeyboardAccessibility(),"function"==typeof wpNavMenu.refreshAdvancedAccessibility&&wpNavMenu.refreshAdvancedAccessibility())}};
|
admin/js/edit-post.js
CHANGED
@@ -94,6 +94,13 @@ qTranslateConfig.js={
|
|
94 |
|
95 |
qtx.addContentHooksTinyMCE();
|
96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
return true;
|
98 |
}
|
99 |
,
|
94 |
|
95 |
qtx.addContentHooksTinyMCE();
|
96 |
|
97 |
+
/**
|
98 |
+
* Since 3.2.4 Multiple sets of Language Switching Buttons
|
99 |
+
*/
|
100 |
+
if( !qTranslateConfig.page_config ) qTranslateConfig.page_config={};
|
101 |
+
if( !qTranslateConfig.page_config.anchors)
|
102 |
+
qTranslateConfig.page_config.anchors = ['post','postexcerpt'];//,'slugdiv'
|
103 |
+
|
104 |
return true;
|
105 |
}
|
106 |
,
|
admin/js/edit-post.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
qTranslateConfig.js={addContentHooks:function(e){function
|
1 |
+
qTranslateConfig.js={addContentHooks:function(e){function n(e,n){switch(qTranslateConfig.url_mode.toString()){case"1":e.search?e.search+="&lang="+n:e.search="?lang="+n;break;case"2":var t=qTranslateConfig.url_info_home,a=e.pathname.indexOf(t);e.pathname=t+n+e.pathname.substring(a+t.length-1);break;case"3":e.host=n+"."+e.host;break;case"4":e.host=qTranslateConfig.domains[n]}}var t=document.getElementById("post");if(!t)return!1;e.addContentHookByIdC("title",t),e.addContentHookByIdC("excerpt",t);for(var a=t.getElementsByClassName("wp-editor-area"),o=0;o<a.length;++o){var r=a[o];e.addContentHookC(r,t)}e.addContentHookByIdC("attachment_caption",t),e.addContentHookByIdB("attachment_alt",t),e.addCustomContentHooks(t);var i,s,g,d,l;return this.setSlugLanguage=function(e){if(!i){var t=document.getElementById("view-post-btn");if(!t||!t.children.length)return;if(i=t.children[0],"A"!=i.tagName)return;s=i.href,g=qtranxj_ce("a",{})}g.href=s,n(g,e),i.href=g.href;var a=document.getElementById("preview-action");if(a&&a.children.length&&(a.children[0].href=g.href),1!=qTranslateConfig.url_mode){if(!d){var o=document.getElementById("sample-permalink");o&&o.childNodes.length&&(d=o.childNodes[0],l=d.nodeValue)}d&&(g.href=l,n(g,e),d.nodeValue=g.href)}},this.setSlugLanguage(e.getActiveLanguage()),e.addContentHooksTinyMCE(),qTranslateConfig.page_config||(qTranslateConfig.page_config={}),qTranslateConfig.page_config.anchors||(qTranslateConfig.page_config.anchors=["post","postexcerpt"]),!0},onTabSwitch:function(e){this.setSlugLanguage(e)}};
|
lang/qtranslate-az_AZ.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: qTranslate-X 3.0\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2015-03-
|
6 |
"PO-Revision-Date: 2009-09-10 12:00+0400\n"
|
7 |
"Last-Translator: Rashad Aliyev <rashadaliyev@gmail.com>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -11,7 +11,7 @@ msgstr ""
|
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
|
13 |
#: admin/activation_hook.php:37 admin/activation_hook.php:137
|
14 |
-
#: qtranslate_configuration.php:
|
15 |
#, php-format
|
16 |
msgid "It might be a good idea to review %smigration instructions%s, if you have not yet done so."
|
17 |
msgstr ""
|
@@ -78,607 +78,683 @@ msgstr ""
|
|
78 |
msgid "Database has been converted to legacy dual-tag format."
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: admin/admin_utils.php:
|
82 |
-
#:
|
|
|
83 |
msgid "Flag"
|
84 |
msgstr "Bayraq"
|
85 |
|
86 |
-
#: admin/admin_utils.php:
|
87 |
msgid "Name"
|
88 |
msgstr "İsim"
|
89 |
|
90 |
-
#: admin/admin_utils.php:
|
91 |
msgid "Action"
|
92 |
msgstr "Fəaliyyət"
|
93 |
|
94 |
-
#: admin/admin_utils.php:
|
95 |
-
#: qtranslate_configuration.php:
|
96 |
msgid "Languages"
|
97 |
msgstr "Dillər"
|
98 |
|
99 |
-
#: admin/import_export.php:
|
100 |
msgid "Plugin"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: admin/import_export.php:
|
104 |
msgid "There is no need to migrate any setting, the database schema is compatible with this plugin."
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: admin/import_export.php:
|
108 |
msgid "Do not migrate any setting"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: admin/import_export.php:
|
112 |
#, fuzzy
|
113 |
msgid "Import settings from "
|
114 |
msgstr "qTranslate-i Sıfırla"
|
115 |
|
116 |
-
#: admin/import_export.php:
|
117 |
#, fuzzy
|
118 |
msgid "Export settings to "
|
119 |
msgstr "qTranslate-i Sıfırla"
|
120 |
|
121 |
-
#: admin/import_export.php:
|
122 |
msgid "Export"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: admin/import_export.php:
|
126 |
msgid "Import"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: admin/import_export.php:
|
130 |
-
#: qtranslate_configuration.php:
|
131 |
msgid "Convert Database"
|
132 |
msgstr "Məlumat Bazasını Çevir"
|
133 |
|
134 |
-
#: admin/import_export.php:
|
135 |
#, php-format
|
136 |
msgid "If you are updating from qTranslate 1.x or Polyglot, <a href=\"%s\">click here</a> to convert posts to the new language tag format."
|
137 |
msgstr "Əyər qTranslate 1.x ya da Polyglot'dan yeniləşdirmə aparırsanız, məzmunları yeni dil etiket formasına çevirmək üçün <a href=\"%s\">buraya tıqlayın</a>."
|
138 |
|
139 |
-
#: admin/import_export.php:
|
140 |
#, php-format
|
141 |
msgid "If you have installed qTranslate for the first time on a Wordpress with existing posts, you can either go through all your posts manually and save them in the correct language or <a href=\"%s\">click here</a> to mark all existing posts as written in the default language."
|
142 |
msgstr "Əyər qTranslate-i məzmunları olan bir Wordpress-e yükləmişsəniz, mövcud məzmunları tək-tək tənzimləyib doğru dildə yaddaşda saxlaya bilər, ya da <a href=\"%s\">buraya tıqlayaraq</a> mövcud bütün məzmunları Ana Dil-də yazılmış olaraq işarətləyə bilərsiniz."
|
143 |
|
144 |
-
#: admin/import_export.php:
|
145 |
msgid "Both processes are <b>irreversible</b>! Be sure to make a full database backup before clicking one of the links."
|
146 |
msgstr "Hər iki proses də <strong>geri qaytarıla bilməz</strong>! Bu prosesin hər hansı birini aktivləşdirməzdən əvvəl məlumat bazanızın kopya nüsxəsini götürməyi unudmayın."
|
147 |
|
148 |
-
#: admin/import_export.php:
|
149 |
#, fuzzy
|
150 |
msgid "Do not convert database"
|
151 |
msgstr "Məlumat Bazasını Çevir"
|
152 |
|
153 |
-
#: admin/import_export.php:
|
154 |
msgid "Convert database to the \"square bracket only\" style."
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: admin/import_export.php:
|
158 |
#, php-format
|
159 |
msgid "The square bracket language tag %s only will be used as opposite to dual-tag (%s and %s) %s legacy database format. All string options and standard post and page fields will be uniformly encoded like %s."
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: admin/import_export.php:
|
163 |
msgid "Convert database back to the legacy \"dual language tag\" style."
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: admin/import_export.php:
|
167 |
msgid "Note, that only string options and standard post and page fields are affected."
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: admin/import_export.php:
|
171 |
msgid "Reset qTranslate"
|
172 |
msgstr "qTranslate-i Sıfırla"
|
173 |
|
174 |
-
#: admin/import_export.php:
|
175 |
msgid "Check this box and click Save Changes to reset all qTranslate settings."
|
176 |
msgstr "qTranslate tənzimləmələrini sıfırlamaq üçün bu qutunu işarətləyin və Dəyişilmişləri Yadda Saxla düyməsinə klikləyin."
|
177 |
|
178 |
-
#: admin/import_export.php:
|
179 |
msgid "Yes, I really want to reset qTranslate."
|
180 |
msgstr "Bəli, həqiqətən qTranslate tənzimləmələrini sıfırlamaq istəyirəm."
|
181 |
|
182 |
-
#: admin/import_export.php:
|
183 |
msgid "Also delete Translations for Categories/Tags/Link Categories."
|
184 |
msgstr "Kateqoriyalar, Etiketlər və Link Kateqoriyaları üçün edilən tərcümələri sil."
|
185 |
|
186 |
-
#: admin/import_export.php:
|
187 |
msgid "If something isn't working correctly, you can always try to reset all qTranslate settings. A Reset won't delete any posts but will remove all settings (including all languages added)."
|
188 |
msgstr "Eyər hər hansı bir şey düzgün işləmirsə, qTranslate tənzimləmələrinizi istədiyiniz vaxt sıfırlaya bilərsiniz. Sıfırlama prosesi məzmunları yox ancaq (əlavə etdiyiniz dillər də daxil olmaqla) bütün tənzimləmələri silər."
|
189 |
|
190 |
-
#: qtranslate_configuration.php:
|
191 |
msgid "Language Management"
|
192 |
msgstr "Dil İdarəetmə"
|
193 |
|
194 |
-
#: qtranslate_configuration.php:
|
195 |
msgid "Language Code"
|
196 |
msgstr "Dil Kodu"
|
197 |
|
198 |
-
#: qtranslate_configuration.php:
|
199 |
msgid "2-Letter <a href=\"http://www.w3.org/WAI/ER/IG/ert/iso639.htm#2letter\">ISO Language Code</a> for the Language you want to insert. (Example: en)"
|
200 |
msgstr "Əlavə etmək istədiyiniz dil üçün 2 hərf uzunluğundakı <a href=\"http://www.w3.org/WAI/ER/IG/ert/iso639.htm#2letter\">ISO Dil Kodu</a>. (Nümunə: az)"
|
201 |
|
202 |
-
#: qtranslate_configuration.php:
|
203 |
msgid "Incorrect Flag Image Path! Please correct it!"
|
204 |
msgstr "Bayraq Şəkil Ünvanı Səhfdir! Xahiş olunur düzəldin!"
|
205 |
|
206 |
-
#: qtranslate_configuration.php:
|
207 |
msgid "Choose the corresponding country flag for language. (Example: gb.png)"
|
208 |
msgstr "Dil üçün uyğun bayrağı seçin. (Nümunə: az.png)"
|
209 |
|
210 |
-
#: qtranslate_configuration.php:
|
211 |
msgid "The Name of the language, which will be displayed on the site. (Example: English)"
|
212 |
msgstr "Dilin saytda göstəriləcək adı. (Nümunə: Azərbaycan)"
|
213 |
|
214 |
-
#: qtranslate_configuration.php:
|
215 |
msgid "Locale"
|
216 |
msgstr "Bölgə Kodu"
|
217 |
|
218 |
-
#: qtranslate_configuration.php:
|
219 |
msgid "PHP and Wordpress Locale for the language. (Example: en_US)"
|
220 |
msgstr "Dil üçün PHP və Wordpress Bölgə Kodu. (Nümunə: az_AZ)"
|
221 |
|
222 |
-
#: qtranslate_configuration.php:
|
223 |
#, fuzzy
|
224 |
msgid "You will need to install the .mo file for this language."
|
225 |
msgstr "Bu dil üçün .mo faylını yükləməniz lazımdır."
|
226 |
|
227 |
-
#: qtranslate_configuration.php:
|
228 |
msgid "Date Format"
|
229 |
msgstr "Tarix Növü"
|
230 |
|
231 |
-
#: qtranslate_configuration.php:
|
232 |
msgid "Depending on your Date / Time Conversion Mode, you can either enter a <a href=\"http://www.php.net/manual/function.strftime.php\">strftime</a> (use %q for day suffix (st,nd,rd,th)) or <a href=\"http://www.php.net/manual/function.date.php\">date</a> format. This field is optional. (Example: %A %B %e%q, %Y)"
|
233 |
msgstr "Tarix / Saat növündən asılı olaraq, <a href=\"http://www.php.net/manual/function.strftime.php\">strftime</a> (gün üçün %q istifadə edin (st,nd,rd,th)) ya da <a href=\"http://www.php.net/manual/function.date.php\">date</a> növündən istifadə edin. Bu bölməni istəyinizə görə tənzimləyə bilərsiniz. (Nümunə: %A %B %e%q, %Y)"
|
234 |
|
235 |
-
#: qtranslate_configuration.php:
|
236 |
msgid "Time Format"
|
237 |
msgstr "Saat Növü"
|
238 |
|
239 |
-
#: qtranslate_configuration.php:
|
240 |
msgid "Depending on your Date / Time Conversion Mode, you can either enter a <a href=\"http://www.php.net/manual/function.strftime.php\">strftime</a> or <a href=\"http://www.php.net/manual/function.date.php\">date</a> format. This field is optional. (Example: %I:%M %p)"
|
241 |
msgstr "Tarix / Saat növündən asılı olaraq, <a href=\"http://www.php.net/manual/function.strftime.php\">strftime</a> ya da <a href=\"http://www.php.net/manual/function.date.php\">date</a> növündən istifadə edin. Bu bölməni istəyinizə görə tənzimləyə bilərsiniz. (Nümunə: %I:%M %p)"
|
242 |
|
243 |
-
#: qtranslate_configuration.php:
|
244 |
msgid "Not Available Message"
|
245 |
msgstr "Mövcud Deyil Mesajı"
|
246 |
|
247 |
-
#: qtranslate_configuration.php:
|
248 |
msgid "Message to display if post is not available in the requested language. (Example: Sorry, this entry is only available in %LANG:, : and %.)"
|
249 |
msgstr "Seçilən bölməyə aid tərcümə yox isə görünən mesaj. (Nümunə: Bağışlayın, bu bölmə sadəcə %LANG:, :% dillərində mövcuddur.)"
|
250 |
|
251 |
-
#: qtranslate_configuration.php:
|
252 |
msgid "%LANG:<normal_separator>:<last_separator>% generates a list of languages separated by <normal_separator> except for the last one, where <last_separator> will be used instead."
|
253 |
msgstr "%LANG:<normal_separator>:<last_separator>% ilə ayrılmış dil siyahısı yaradır. Normalda ayıran olaraq <normal_separator> istifadə edilir. Son ayıran olaraq <last_separator> istifadə edilir."
|
254 |
|
255 |
-
#: qtranslate_configuration.php:
|
256 |
msgid "Hide"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: qtranslate_configuration.php:
|
260 |
msgid "Show"
|
261 |
msgstr "Göstər"
|
262 |
|
263 |
-
#: qtranslate_configuration.php:
|
264 |
msgid "Save Changes"
|
265 |
msgstr "Yadda Saxla"
|
266 |
|
267 |
-
#: qtranslate_configuration.php:
|
268 |
#, fuzzy
|
269 |
msgid "Switching Language"
|
270 |
msgstr "Dili Düzəld"
|
271 |
|
272 |
-
#: qtranslate_configuration.php:
|
273 |
#, php-format
|
274 |
msgid "Switching language to %1$s... If the Dashboard isn't loading, use this <a href=\"%2$s\" title=\"Dashboard\">link</a>."
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: qtranslate_configuration.php:
|
278 |
msgid "qTranslate has been reset."
|
279 |
msgstr "qTranslate sıfırlandı."
|
280 |
|
281 |
-
#: qtranslate_configuration.php:
|
282 |
msgid "Gettext databases updated."
|
283 |
msgstr "Gettext məlumat bazaları yeniləndi."
|
284 |
|
285 |
-
#: qtranslate_configuration.php:
|
286 |
#, php-format
|
287 |
msgid "Applicable options and taxonomy names from plugin %s have been imported. Note that the multilingual content of posts, pages and other objects has not been altered during this operation. There is no additional operation needed to import content, since its format is compatible with %s."
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: qtranslate_configuration.php:
|
291 |
#, php-format
|
292 |
msgid "%sImportant%s: Before you start making edits to post and pages, please, make sure that both, your front site and admin back-end, work under this configuration. It may help to review \"%s\" and see if any of conflicting plugins mentioned there are used here. While the current content, coming from %s, is compatible with this plugin, the newly modified posts and pages will be saved with a new square-bracket-only encoding, which has a number of advantages comparing to former %s encoding. However, the new encoding is not straightforwardly compatible with %s and you will need an additional step available under \"%s\" option if you ever decide to go back to %s. Even with this additional conversion step, the 3rd-party plugins custom-stored data will not be auto-converted, but manual editing will still work. That is why it is advisable to create a test-copy of your site before making any further changes. In case you encounter a problem, please give us a chance to improve %s, send the login information to the test-copy of your site to %s along with a detailed step-by-step description of what is not working, and continue using your main site with %s meanwhile. It would also help, if you share a success story as well, either on %sthe forum%s, or via the same e-mail as mentioned above. Thank you very much for trying %s."
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: qtranslate_configuration.php:
|
296 |
msgid "This is a one-time message, which you will not see again, unless the same import is repeated."
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: qtranslate_configuration.php:
|
300 |
msgid "Compatibility Functions"
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: qtranslate_configuration.php:
|
304 |
#, php-format
|
305 |
msgid "Option \"%s\" has also been turned on, as the most common case for importing configuration from %s. You may turn it off manually if your setup does not require it. Refer to %sFAQ%s for more information."
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: qtranslate_configuration.php:
|
309 |
#, php-format
|
310 |
msgid "Applicable options have been exported to plugin %s. If you have done some post or page updates after migrating from %s, then \"%s\" operation is also required to convert the content to \"dual language tag\" style in order for plugin %s to function."
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: qtranslate_configuration.php:
|
314 |
msgid "The Language must have a Not-Available Message!"
|
315 |
msgstr "Dil üçün 'Mövcud Deyil Mesajı' olmalıdır!"
|
316 |
|
317 |
-
#: qtranslate_configuration.php:
|
318 |
msgid "The Language must have a Locale!"
|
319 |
msgstr "Dil üçün, 'Bölgə Kodu' olmalıdır!"
|
320 |
|
321 |
-
#: qtranslate_configuration.php:
|
322 |
msgid "The Language must have a name!"
|
323 |
msgstr "Dil üçün, 'İsim' olmalıdır!"
|
324 |
|
325 |
-
#: qtranslate_configuration.php:
|
326 |
msgid "Language Code has to be 2 characters long!"
|
327 |
msgstr "Dil Kodu 2 hərf uzunluğunda olmalıdır!"
|
328 |
|
329 |
-
#: qtranslate_configuration.php:
|
330 |
msgid "There is already a language with the same Language Code!"
|
331 |
msgstr "Eyni Dil Kodu-na sahib bir dil mövcuddur."
|
332 |
|
333 |
-
#: qtranslate_configuration.php:
|
|
|
|
|
|
|
|
|
|
|
334 |
msgid "Language is already enabled or invalid!"
|
335 |
msgstr "Bu dil səhfdir ya da aktivdir."
|
336 |
|
337 |
-
#: qtranslate_configuration.php:
|
338 |
msgid "Cannot disable Default Language!"
|
339 |
msgstr "Ana Dil Ləğv Passivləşdirilə Bilməz!"
|
340 |
|
341 |
-
#: qtranslate_configuration.php:
|
342 |
-
#: qtranslate_configuration.php:890
|
343 |
-
msgid "No such language!"
|
344 |
-
msgstr "Dil mövcud deyil!"
|
345 |
-
|
346 |
-
#: qtranslate_configuration.php:870
|
347 |
msgid "Language is already disabled!"
|
348 |
msgstr "Dil passivləşdirilmişdir!"
|
349 |
|
350 |
-
#: qtranslate_configuration.php:
|
351 |
#, fuzzy
|
352 |
msgid "Language is already first!"
|
353 |
msgstr "Dil passivləşdirilmişdir!"
|
354 |
|
355 |
-
#: qtranslate_configuration.php:
|
356 |
msgid "New order saved."
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: qtranslate_configuration.php:
|
360 |
#, fuzzy
|
361 |
msgid "Language is already last!"
|
362 |
msgstr "Dil passivləşdirilmişdir!"
|
363 |
|
364 |
-
#: qtranslate_configuration.php:
|
365 |
msgid "Options saved."
|
366 |
msgstr "Seçimlər qeyd edildi."
|
367 |
|
368 |
-
#: qtranslate_configuration.php:
|
369 |
#, php-format
|
370 |
msgid "Could not write to \"%s\", Gettext Databases could not be downloaded!"
|
371 |
msgstr "\"%s\" adrəsinə yazma səlahiyyəti yoxdur, Gettext Məlumat bazası qey edilə bilməz!"
|
372 |
|
373 |
-
#: qtranslate_configuration.php:
|
374 |
msgid "Edit Language"
|
375 |
msgstr "Dili Düzəld"
|
376 |
|
377 |
-
#: qtranslate_configuration.php:
|
378 |
msgid "Save Changes »"
|
379 |
msgstr "Dəyişilmişləri Yadda Saxla »"
|
380 |
|
381 |
-
#: qtranslate_configuration.php:
|
382 |
msgid "Language Management (qTranslate Configuration)"
|
383 |
msgstr "Dil İdarəetməsi (qTranslate Tənzimlənməsi)"
|
384 |
|
385 |
-
#: qtranslate_configuration.php:
|
386 |
#, php-format
|
387 |
msgid "For help on how to configure qTranslate correctly, take a look at the <a href=\"%1$s\">qTranslate FAQ</a> and the <a href=\"%2$s\">Support Forum</a>."
|
388 |
msgstr "qTranslate-i xətasız tənzimləmək üçün, <a href=\"%1$s\" title=\"qTranslate Sıx Soruşulan Suallar\">qTranslate SSS</a> və <a href=\"%2$s\" title=\"qTranslate Yardım Forumu\">Yardım Forumu</a> adreslərinə nəzər salın."
|
389 |
|
390 |
-
#: qtranslate_configuration.php:
|
391 |
msgid "General Settings"
|
392 |
msgstr "Ümumi Ayarlar"
|
393 |
|
394 |
-
#: qtranslate_configuration.php:
|
395 |
#, fuzzy
|
396 |
msgid "Default Language / Order"
|
397 |
msgstr "Ana Dil"
|
398 |
|
399 |
-
#: qtranslate_configuration.php:
|
400 |
msgid "Default Language"
|
401 |
msgstr "Ana Dil"
|
402 |
|
403 |
-
#: qtranslate_configuration.php:
|
404 |
#, php-format
|
405 |
msgid "Choose the default language of your blog. This is the language which will be shown on %s. You can also change the order the languages by clicking on the arrows above."
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: qtranslate_configuration.php:
|
409 |
msgid "Hide Untranslated Content"
|
410 |
msgstr "Tərcüməsi olamayan məzmunu gizlət"
|
411 |
|
412 |
-
#: qtranslate_configuration.php:
|
413 |
msgid "Hide Content which is not available for the selected language."
|
414 |
msgstr "Seçilən dil üçün tərcüməsi olmayan məzmunu gizlət."
|
415 |
|
416 |
-
#: qtranslate_configuration.php:
|
417 |
msgid "When checked, posts will be hidden if the content is not available for the selected language. If unchecked, a message will appear showing all the languages the content is available in."
|
418 |
msgstr "Bu bölmə işarətləndiyi zaman, seçilən dil üçün tərcüməsi olmayan məzmunlər gizlədiləcəkdir. Əyər işarət götürülərsə, məzmuna aid digər tərcümələrin olduğu barəsində mesaj göstəriləcək."
|
419 |
|
420 |
-
#: qtranslate_configuration.php:
|
421 |
#, fuzzy, php-format
|
422 |
msgid "This function will not work correctly if you installed %s on a blog with existing entries. In this case you will need to take a look at option \"%s\" under \"%s\" section."
|
423 |
msgstr "Əyər qTranslate'-i məzmunlar daxil edilmiş bir blog-a yükləmişsəniz bu funksiya düzgün işləməyəcəkdir. Bu halda \"Məlumat Bazası Çevir\" və \"Geniş Tənzimləmələr\"ə baxmanız gərəkəcəkdir."
|
424 |
|
425 |
-
#: qtranslate_configuration.php:
|
426 |
#, fuzzy
|
427 |
msgid "Show displayed language prefix when content is not available for the selected language."
|
428 |
msgstr "Seçilən dil üçün tərcüməsi olmayan məzmunu gizlət."
|
429 |
|
430 |
-
#: qtranslate_configuration.php:
|
431 |
msgid "Detect Browser Language"
|
432 |
msgstr "Bələdçi (Browser) Dilini Tap"
|
433 |
|
434 |
-
#: qtranslate_configuration.php:
|
435 |
msgid "Detect the language of the browser and redirect accordingly."
|
436 |
msgstr "Bələdçi dilini avtomatik olaraq tap və ona görə istiqamətləndir."
|
437 |
|
438 |
-
#: qtranslate_configuration.php:
|
439 |
msgid "When the frontpage is visited via bookmark/external link/type-in, the visitor will be forwarded to the correct URL for the language specified by his browser."
|
440 |
msgstr "İstifadəçi anasəhifəyə Sıx İstifadə edilənlər bölməsinə və ya sayt ünvanına daxil olduqda, avtomatik olaraq istifadə etdiyi dilə yönləndirilir."
|
441 |
|
442 |
-
#: qtranslate_configuration.php:
|
443 |
msgid "Advanced Settings"
|
444 |
msgstr "Geniş Seçimlər"
|
445 |
|
446 |
-
#: qtranslate_configuration.php:
|
|
|
447 |
msgid "URL Modification Mode"
|
448 |
msgstr "URL Dəyişdirmə Forması"
|
449 |
|
450 |
-
#: qtranslate_configuration.php:
|
451 |
msgid "Most SEO unfriendly, not recommended."
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: qtranslate_configuration.php:
|
455 |
msgid "Use Query Mode (?lang=en)"
|
456 |
msgstr "Sorgu Növünü İşləd (?lang=az)"
|
457 |
|
458 |
-
#: qtranslate_configuration.php:
|
459 |
-
#, php-format
|
460 |
-
msgid "No other URL Modification Modes are available if permalink structure is set to \"Default\" on configuration page %sPermalink Setting%s. It is SEO advantageous to use some other permalink mode, which will enable more URL Modification Modes here as well."
|
461 |
-
msgstr ""
|
462 |
-
|
463 |
-
#: qtranslate_configuration.php:1011
|
464 |
msgid "SEO friendly."
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: qtranslate_configuration.php:
|
468 |
msgid "Use Pre-Path Mode (Default, puts /en/ in front of URL)"
|
469 |
msgstr "Ön-Yol Formasını İşləd (Mövcud unvanın önünə /az/ əlavə olunur)"
|
470 |
|
471 |
-
#: qtranslate_configuration.php:
|
472 |
msgid "Use Pre-Domain Mode (uses http://en.yoursite.com)"
|
473 |
msgstr "Sub-ad Formasını İşləd (http://az.sizinsayt.com)"
|
474 |
|
475 |
-
#: qtranslate_configuration.php:
|
476 |
msgid "You will need to configure DNS sub-domains on your site."
|
477 |
msgstr ""
|
478 |
|
479 |
-
#: qtranslate_configuration.php:
|
480 |
-
#, fuzzy
|
481 |
-
msgid "Pre-Path and Pre-Domain mode will only work with mod_rewrite/pretty permalinks. Additional Configuration is needed for Pre-Domain mode or Per-Domain mode."
|
482 |
-
msgstr "Ön-Yol və Sub-ad forması sadəcə mod_rewrite/permalinklər ilə birlikdə işləyir. Sub-ad (subdomain) üçün əlavə tənzimləmə gərəklidir."
|
483 |
-
|
484 |
-
#: qtranslate_configuration.php:1015
|
485 |
msgid "Hide URL language information for default language."
|
486 |
msgstr ""
|
487 |
|
488 |
-
#: qtranslate_configuration.php:
|
489 |
msgid "This is only applicable to Pre-Path and Pre-Domain mode."
|
490 |
msgstr ""
|
491 |
|
492 |
-
#: qtranslate_configuration.php:
|
493 |
#, fuzzy
|
494 |
msgid "Use Per-Domain mode: specify separate user-defined domain for each language."
|
495 |
msgstr "emulated date funksiyasını işləd və əvvəlcədən müəyyən edilmiş tarix formasını seçilən dilə görə yenidən tənzimlə."
|
496 |
|
497 |
-
#: qtranslate_configuration.php:
|
498 |
msgid "Domain for"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: qtranslate_configuration.php:
|
502 |
msgid "Flag Image Path"
|
503 |
msgstr "Bayraq Şəkil Yolu"
|
504 |
|
505 |
-
#: qtranslate_configuration.php:
|
506 |
#, fuzzy, php-format
|
507 |
msgid "Path to the flag images under wp-content, with trailing slash. (Default: %s, clear the value above to reset it to the default)"
|
508 |
msgstr "Bayraq şəkilləri üçün wp-content folderinin altındakı yolu. (Varsayılan: plugins/qtranslate/flags/)"
|
509 |
|
510 |
-
#: qtranslate_configuration.php:
|
511 |
msgid "Ignore Links"
|
512 |
msgstr "Linklərə Əhəmiyyət vermə"
|
513 |
|
514 |
-
#: qtranslate_configuration.php:
|
515 |
#, fuzzy, php-format
|
516 |
msgid "Don't convert links to files of the given file types. (Always included: %s)"
|
517 |
msgstr "Bu fayl növlərinə verilən linkləri çevirmə. (Mövcud: gif,jpg,jpeg,png,pdf,swf,tif,rar,zip,7z,mpg,divx,mpeg,avi,css,js)"
|
518 |
|
519 |
-
#: qtranslate_configuration.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
520 |
msgid "Update Gettext Databases"
|
521 |
msgstr "Gettext Məlumat Bazasını Yeniləşdir"
|
522 |
|
523 |
-
#: qtranslate_configuration.php:
|
524 |
msgid "Automatically check for .mo-Database Updates of installed languages."
|
525 |
msgstr "Yüklənən dillər üçün .mo faylların yeniləşdirilməsini avtomatik olaraq yoxla."
|
526 |
|
527 |
-
#: qtranslate_configuration.php:
|
528 |
msgid "Update Gettext databases now."
|
529 |
msgstr "Gettext məlumat bazalarını indi yenilə."
|
530 |
|
531 |
-
#: qtranslate_configuration.php:
|
532 |
msgid "qTranslate will query the Wordpress Localisation Repository every week and download the latest Gettext Databases (.mo Files)."
|
533 |
msgstr "qTranslate hər həftə Wordpress Local Serverini yoxlayacaq və ən yeni Gettext Məlumat Bazalarını (.mo fayllarını) yükləyəcək."
|
534 |
|
535 |
-
#: qtranslate_configuration.php:
|
536 |
msgid "Date / Time Conversion"
|
537 |
msgstr "Tarix / Saat Çevirmə"
|
538 |
|
539 |
-
#: qtranslate_configuration.php:
|
540 |
msgid "Use emulated date function."
|
541 |
msgstr "emulated date funksiyasını işləd."
|
542 |
|
543 |
-
#: qtranslate_configuration.php:
|
544 |
msgid "Use emulated date function and replace formats with the predefined formats for each language."
|
545 |
msgstr "emulated date funksiyasını işləd və əvvəlcədən müəyyən edilmiş tarix formasını seçilən dilə görə yenidən tənzimlə."
|
546 |
|
547 |
-
#: qtranslate_configuration.php:
|
548 |
msgid "Use strftime instead of date."
|
549 |
msgstr "date funksiyası yerinə strftime funksiyası işlədilsin."
|
550 |
|
551 |
-
#: qtranslate_configuration.php:
|
552 |
msgid "Use strftime instead of date and replace formats with the predefined formats for each language."
|
553 |
msgstr "date funksiyası yerinə strftime funksiyasını işləd və əvvəlcədən müəyyən edilmiş tarix formasını seçilən dilə görə yenidən tənzimlə."
|
554 |
|
555 |
-
#: qtranslate_configuration.php:
|
556 |
msgid "Depending on the mode selected, additional customizations of the theme may be needed."
|
557 |
msgstr "Seçilən formaya görə, sayt şablon fayllarınızda tənzimləmələr aparmanıza ehtiyac yarana bilər."
|
558 |
|
559 |
-
#: qtranslate_configuration.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
560 |
msgid "Custom Fields"
|
561 |
msgstr ""
|
562 |
|
563 |
-
#: qtranslate_configuration.php:
|
564 |
#, php-format
|
565 |
msgid "Enter \"%s\" or \"%s\" attribute of text fields from your theme, which you wish to translate. This applies to post, page and media editors (%s). To lookup \"%s\" or \"%s\", right-click on the field in the post or the page editor and choose \"%s\". Look for an attribute of the field named \"%s\" or \"%s\". Enter it below, as many as you need, space- or comma-separated. After saving configuration, these fields will start responding to the language switching buttons, and you can enter different text for each language. The input fields of type %s will be parsed using %s syntax, while single line text fields will use %s syntax. If you need to override this behaviour, prepend prefix %s or %s to the name of the field to specify which syntax to use. For more information, read %sFAQ%s."
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: qtranslate_configuration.php:
|
569 |
msgctxt "browser option"
|
570 |
msgid "Inspect Element"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: qtranslate_configuration.php:
|
574 |
msgid "The value of \"id\" attribute is normally unique within one page, otherwise the first field found, having an id specified, is picked up."
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: qtranslate_configuration.php:
|
578 |
#, php-format
|
579 |
msgid "All the fields of specified classes will respond to Language Switching Buttons. Be careful not to include a class, which would affect language-neutral fields. If you cannot uniquely identify a field needed neither by %s, nor by %s attribute, report the issue on %sSupport Forum%s"
|
580 |
msgstr ""
|
581 |
|
582 |
-
#: qtranslate_configuration.php:
|
583 |
msgid "Custom Filters"
|
584 |
msgstr ""
|
585 |
|
586 |
-
#: qtranslate_configuration.php:
|
587 |
#, php-format
|
588 |
msgid "Names of filters (which are enabled on theme or other plugins via %s function) to add translation to. For more information, read %sFAQ%s."
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: qtranslate_configuration.php:
|
592 |
msgid "Custom Admin Pages"
|
593 |
msgstr ""
|
594 |
|
595 |
-
#: qtranslate_configuration.php:
|
596 |
#, php-format
|
597 |
msgid "List the custom admin page paths for which you wish Language Switching Buttons to show up. The Buttons will then control fields configured in \"Custom Fields\" section. You may only include part of the full URL after %s, including a distinctive query string if needed. As many as desired pages can be listed space/comma separated. For more information, read %sFAQ%s."
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: qtranslate_configuration.php:
|
601 |
#, php-format
|
602 |
msgid "Enable function name compatibility (%s)."
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: qtranslate_configuration.php:
|
606 |
#, php-format
|
607 |
msgid "Some plugins and themes use direct calls to the functions listed, which are defined in former %s plugin and some of its forks. Turning this flag on will enable those function to exists, which will make the dependent plugins and themes to work. WordPress policy prohibits to define functions with the same names as in other plugins, since it generates user-unfriendly fatal errors, when two conflicting plugins are activated simultaneously. Before turning this option on, you have to make sure that there are no other plugins active, which define those functions."
|
608 |
msgstr ""
|
609 |
|
610 |
-
#: qtranslate_configuration.php:
|
611 |
-
msgid "Editor
|
612 |
msgstr ""
|
613 |
|
614 |
-
#: qtranslate_configuration.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
615 |
msgid "Do not use Language Switching Buttons to edit multi-language text entries."
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: qtranslate_configuration.php:
|
|
|
|
|
|
|
|
|
619 |
msgid "Some people prefer to edit the raw entries containing all languages together separated by language defining tags, as they are stored in database."
|
620 |
msgstr ""
|
621 |
|
622 |
-
#: qtranslate_configuration.php:
|
|
|
|
|
|
|
|
|
|
|
623 |
msgid "Disable"
|
624 |
msgstr "Məhrum etmək"
|
625 |
|
626 |
-
#: qtranslate_configuration.php:
|
627 |
msgid "Enable"
|
628 |
msgstr "Aktivləşdir"
|
629 |
|
630 |
-
#: qtranslate_configuration.php:
|
631 |
msgid "Edit"
|
632 |
msgstr "Düzəliş"
|
633 |
|
634 |
-
#: qtranslate_configuration.php:
|
635 |
msgid "Default"
|
636 |
msgstr "Təməl"
|
637 |
|
638 |
-
#: qtranslate_configuration.php:
|
639 |
msgid "Delete"
|
640 |
msgstr "Sil"
|
641 |
|
642 |
-
#: qtranslate_configuration.php:
|
643 |
msgid "Enabling a language will cause qTranslate to update the Gettext-Database for the language, which can take a while depending on your server's connection speed."
|
644 |
msgstr ""
|
645 |
|
646 |
-
#: qtranslate_configuration.php:
|
647 |
msgid "Add Language"
|
648 |
msgstr "Dil Əlavə et"
|
649 |
|
650 |
-
#: qtranslate_configuration.php:
|
651 |
msgid "Add Language »"
|
652 |
msgstr "Dil Əlavə et »"
|
653 |
|
654 |
-
#: qtranslate_configuration.php:
|
655 |
#, fuzzy
|
656 |
msgid "Language Menu"
|
657 |
msgstr "Dil Kodu"
|
658 |
|
659 |
-
#: qtranslate_configuration.php:
|
660 |
msgid "Help"
|
661 |
msgstr ""
|
662 |
|
663 |
-
#: qtranslate_configuration.php:
|
664 |
#, php-format
|
665 |
msgid "Menu item added is replaced with a sub-menu of available languages when menu is rendered. Depending on how your theme renders menu you may need to override and customize css entries %s and %s, originally defined in %s. The field \"URL\" of inserted menu item allows additional configuration described in %sFAQ%s."
|
666 |
msgstr ""
|
667 |
|
668 |
-
#: qtranslate_configuration.php:
|
669 |
msgid "Add to Menu"
|
670 |
msgstr ""
|
671 |
|
672 |
-
#: qtranslate_configuration.php:
|
673 |
#, fuzzy
|
674 |
msgid "Language Switcher"
|
675 |
msgstr "Dil Kodu"
|
676 |
|
677 |
-
#: qtranslate_configuration.php:
|
678 |
msgid "Settings"
|
679 |
msgstr "Xüsusiyyətlər"
|
680 |
|
681 |
-
#: qtranslate_frontend.php:
|
682 |
msgid "Language"
|
683 |
msgstr "Dil"
|
684 |
|
@@ -981,47 +1057,52 @@ msgstr ""
|
|
981 |
msgid "qTranslate Language Chooser"
|
982 |
msgstr "qTranslate sıfırlandı."
|
983 |
|
984 |
-
#: qtranslate_widget.php:
|
985 |
msgid "Title:"
|
986 |
msgstr "Başlıq:"
|
987 |
|
988 |
-
#: qtranslate_widget.php:
|
989 |
msgid "Hide Title:"
|
990 |
msgstr "Başlığı Gizlət:"
|
991 |
|
992 |
-
#: qtranslate_widget.php:
|
993 |
#, fuzzy
|
994 |
msgid "Hide Title Colon:"
|
995 |
msgstr "Başlığı Gizlət:"
|
996 |
|
997 |
-
#: qtranslate_widget.php:
|
998 |
msgid "Display:"
|
999 |
msgstr "Nümayiş:"
|
1000 |
|
1001 |
-
#: qtranslate_widget.php:
|
1002 |
msgid "Text only"
|
1003 |
msgstr "Sadəcə yazı"
|
1004 |
|
1005 |
-
#: qtranslate_widget.php:
|
1006 |
msgid "Image only"
|
1007 |
msgstr "Sadəcə şəkil"
|
1008 |
|
1009 |
-
#: qtranslate_widget.php:
|
1010 |
msgid "Text and Image"
|
1011 |
msgstr "Yazı və Şəkil"
|
1012 |
|
1013 |
-
#: qtranslate_widget.php:
|
1014 |
msgid "Dropdown Box"
|
1015 |
msgstr "Seçim Qutusu"
|
1016 |
|
1017 |
-
#: qtranslate_widget.php:
|
1018 |
-
|
|
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: qtranslate_widget.php:
|
1022 |
msgid "Widget"
|
1023 |
msgstr ""
|
1024 |
|
|
|
|
|
|
|
|
|
1025 |
#, fuzzy
|
1026 |
#~ msgid "Settings Migration"
|
1027 |
#~ msgstr "Xüsusiyyətlər"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: qTranslate-X 3.0\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-03-10 19:11-0600\n"
|
6 |
"PO-Revision-Date: 2009-09-10 12:00+0400\n"
|
7 |
"Last-Translator: Rashad Aliyev <rashadaliyev@gmail.com>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
|
13 |
#: admin/activation_hook.php:37 admin/activation_hook.php:137
|
14 |
+
#: qtranslate_configuration.php:771
|
15 |
#, php-format
|
16 |
msgid "It might be a good idea to review %smigration instructions%s, if you have not yet done so."
|
17 |
msgstr ""
|
78 |
msgid "Database has been converted to legacy dual-tag format."
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: admin/admin_utils.php:405 qtranslate_configuration.php:483
|
82 |
+
#: qtranslate_configuration.php:506 qtranslate_frontend.php:165
|
83 |
+
#: qtranslate_frontend.php:192
|
84 |
msgid "Flag"
|
85 |
msgstr "Bayraq"
|
86 |
|
87 |
+
#: admin/admin_utils.php:406 qtranslate_configuration.php:524
|
88 |
msgid "Name"
|
89 |
msgstr "İsim"
|
90 |
|
91 |
+
#: admin/admin_utils.php:407 qtranslate_services.php:383
|
92 |
msgid "Action"
|
93 |
msgstr "Fəaliyyət"
|
94 |
|
95 |
+
#: admin/admin_utils.php:420 qtranslate_configuration.php:470
|
96 |
+
#: qtranslate_configuration.php:1239
|
97 |
msgid "Languages"
|
98 |
msgstr "Dillər"
|
99 |
|
100 |
+
#: admin/import_export.php:118
|
101 |
msgid "Plugin"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: admin/import_export.php:122
|
105 |
msgid "There is no need to migrate any setting, the database schema is compatible with this plugin."
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: admin/import_export.php:125
|
109 |
msgid "Do not migrate any setting"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: admin/import_export.php:127
|
113 |
#, fuzzy
|
114 |
msgid "Import settings from "
|
115 |
msgstr "qTranslate-i Sıfırla"
|
116 |
|
117 |
+
#: admin/import_export.php:129
|
118 |
#, fuzzy
|
119 |
msgid "Export settings to "
|
120 |
msgstr "qTranslate-i Sıfırla"
|
121 |
|
122 |
+
#: admin/import_export.php:138 qtranslate_configuration.php:1029
|
123 |
msgid "Export"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: admin/import_export.php:138 qtranslate_configuration.php:1029
|
127 |
msgid "Import"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: admin/import_export.php:143 qtranslate_configuration.php:772
|
131 |
+
#: qtranslate_configuration.php:782 qtranslate_configuration.php:1029
|
132 |
msgid "Convert Database"
|
133 |
msgstr "Məlumat Bazasını Çevir"
|
134 |
|
135 |
+
#: admin/import_export.php:145
|
136 |
#, php-format
|
137 |
msgid "If you are updating from qTranslate 1.x or Polyglot, <a href=\"%s\">click here</a> to convert posts to the new language tag format."
|
138 |
msgstr "Əyər qTranslate 1.x ya da Polyglot'dan yeniləşdirmə aparırsanız, məzmunları yeni dil etiket formasına çevirmək üçün <a href=\"%s\">buraya tıqlayın</a>."
|
139 |
|
140 |
+
#: admin/import_export.php:146
|
141 |
#, php-format
|
142 |
msgid "If you have installed qTranslate for the first time on a Wordpress with existing posts, you can either go through all your posts manually and save them in the correct language or <a href=\"%s\">click here</a> to mark all existing posts as written in the default language."
|
143 |
msgstr "Əyər qTranslate-i məzmunları olan bir Wordpress-e yükləmişsəniz, mövcud məzmunları tək-tək tənzimləyib doğru dildə yaddaşda saxlaya bilər, ya da <a href=\"%s\">buraya tıqlayaraq</a> mövcud bütün məzmunları Ana Dil-də yazılmış olaraq işarətləyə bilərsiniz."
|
144 |
|
145 |
+
#: admin/import_export.php:147
|
146 |
msgid "Both processes are <b>irreversible</b>! Be sure to make a full database backup before clicking one of the links."
|
147 |
msgstr "Hər iki proses də <strong>geri qaytarıla bilməz</strong>! Bu prosesin hər hansı birini aktivləşdirməzdən əvvəl məlumat bazanızın kopya nüsxəsini götürməyi unudmayın."
|
148 |
|
149 |
+
#: admin/import_export.php:148
|
150 |
#, fuzzy
|
151 |
msgid "Do not convert database"
|
152 |
msgstr "Məlumat Bazasını Çevir"
|
153 |
|
154 |
+
#: admin/import_export.php:149
|
155 |
msgid "Convert database to the \"square bracket only\" style."
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: admin/import_export.php:150
|
159 |
#, php-format
|
160 |
msgid "The square bracket language tag %s only will be used as opposite to dual-tag (%s and %s) %s legacy database format. All string options and standard post and page fields will be uniformly encoded like %s."
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: admin/import_export.php:151
|
164 |
msgid "Convert database back to the legacy \"dual language tag\" style."
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: admin/import_export.php:152
|
168 |
msgid "Note, that only string options and standard post and page fields are affected."
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: admin/import_export.php:160
|
172 |
msgid "Reset qTranslate"
|
173 |
msgstr "qTranslate-i Sıfırla"
|
174 |
|
175 |
+
#: admin/import_export.php:162
|
176 |
msgid "Check this box and click Save Changes to reset all qTranslate settings."
|
177 |
msgstr "qTranslate tənzimləmələrini sıfırlamaq üçün bu qutunu işarətləyin və Dəyişilmişləri Yadda Saxla düyməsinə klikləyin."
|
178 |
|
179 |
+
#: admin/import_export.php:164
|
180 |
msgid "Yes, I really want to reset qTranslate."
|
181 |
msgstr "Bəli, həqiqətən qTranslate tənzimləmələrini sıfırlamaq istəyirəm."
|
182 |
|
183 |
+
#: admin/import_export.php:166
|
184 |
msgid "Also delete Translations for Categories/Tags/Link Categories."
|
185 |
msgstr "Kateqoriyalar, Etiketlər və Link Kateqoriyaları üçün edilən tərcümələri sil."
|
186 |
|
187 |
+
#: admin/import_export.php:168
|
188 |
msgid "If something isn't working correctly, you can always try to reset all qTranslate settings. A Reset won't delete any posts but will remove all settings (including all languages added)."
|
189 |
msgstr "Eyər hər hansı bir şey düzgün işləmirsə, qTranslate tənzimləmələrinizi istədiyiniz vaxt sıfırlaya bilərsiniz. Sıfırlama prosesi məzmunları yox ancaq (əlavə etdiyiniz dillər də daxil olmaqla) bütün tənzimləmələri silər."
|
190 |
|
191 |
+
#: qtranslate_configuration.php:470
|
192 |
msgid "Language Management"
|
193 |
msgstr "Dil İdarəetmə"
|
194 |
|
195 |
+
#: qtranslate_configuration.php:478
|
196 |
msgid "Language Code"
|
197 |
msgstr "Dil Kodu"
|
198 |
|
199 |
+
#: qtranslate_configuration.php:480
|
200 |
msgid "2-Letter <a href=\"http://www.w3.org/WAI/ER/IG/ert/iso639.htm#2letter\">ISO Language Code</a> for the Language you want to insert. (Example: en)"
|
201 |
msgstr "Əlavə etmək istədiyiniz dil üçün 2 hərf uzunluğundakı <a href=\"http://www.w3.org/WAI/ER/IG/ert/iso639.htm#2letter\">ISO Dil Kodu</a>. (Nümunə: az)"
|
202 |
|
203 |
+
#: qtranslate_configuration.php:509
|
204 |
msgid "Incorrect Flag Image Path! Please correct it!"
|
205 |
msgstr "Bayraq Şəkil Ünvanı Səhfdir! Xahiş olunur düzəldin!"
|
206 |
|
207 |
+
#: qtranslate_configuration.php:512
|
208 |
msgid "Choose the corresponding country flag for language. (Example: gb.png)"
|
209 |
msgstr "Dil üçün uyğun bayrağı seçin. (Nümunə: az.png)"
|
210 |
|
211 |
+
#: qtranslate_configuration.php:526
|
212 |
msgid "The Name of the language, which will be displayed on the site. (Example: English)"
|
213 |
msgstr "Dilin saytda göstəriləcək adı. (Nümunə: Azərbaycan)"
|
214 |
|
215 |
+
#: qtranslate_configuration.php:529
|
216 |
msgid "Locale"
|
217 |
msgstr "Bölgə Kodu"
|
218 |
|
219 |
+
#: qtranslate_configuration.php:532
|
220 |
msgid "PHP and Wordpress Locale for the language. (Example: en_US)"
|
221 |
msgstr "Dil üçün PHP və Wordpress Bölgə Kodu. (Nümunə: az_AZ)"
|
222 |
|
223 |
+
#: qtranslate_configuration.php:533
|
224 |
#, fuzzy
|
225 |
msgid "You will need to install the .mo file for this language."
|
226 |
msgstr "Bu dil üçün .mo faylını yükləməniz lazımdır."
|
227 |
|
228 |
+
#: qtranslate_configuration.php:537
|
229 |
msgid "Date Format"
|
230 |
msgstr "Tarix Növü"
|
231 |
|
232 |
+
#: qtranslate_configuration.php:539
|
233 |
msgid "Depending on your Date / Time Conversion Mode, you can either enter a <a href=\"http://www.php.net/manual/function.strftime.php\">strftime</a> (use %q for day suffix (st,nd,rd,th)) or <a href=\"http://www.php.net/manual/function.date.php\">date</a> format. This field is optional. (Example: %A %B %e%q, %Y)"
|
234 |
msgstr "Tarix / Saat növündən asılı olaraq, <a href=\"http://www.php.net/manual/function.strftime.php\">strftime</a> (gün üçün %q istifadə edin (st,nd,rd,th)) ya da <a href=\"http://www.php.net/manual/function.date.php\">date</a> növündən istifadə edin. Bu bölməni istəyinizə görə tənzimləyə bilərsiniz. (Nümunə: %A %B %e%q, %Y)"
|
235 |
|
236 |
+
#: qtranslate_configuration.php:542
|
237 |
msgid "Time Format"
|
238 |
msgstr "Saat Növü"
|
239 |
|
240 |
+
#: qtranslate_configuration.php:544
|
241 |
msgid "Depending on your Date / Time Conversion Mode, you can either enter a <a href=\"http://www.php.net/manual/function.strftime.php\">strftime</a> or <a href=\"http://www.php.net/manual/function.date.php\">date</a> format. This field is optional. (Example: %I:%M %p)"
|
242 |
msgstr "Tarix / Saat növündən asılı olaraq, <a href=\"http://www.php.net/manual/function.strftime.php\">strftime</a> ya da <a href=\"http://www.php.net/manual/function.date.php\">date</a> növündən istifadə edin. Bu bölməni istəyinizə görə tənzimləyə bilərsiniz. (Nümunə: %I:%M %p)"
|
243 |
|
244 |
+
#: qtranslate_configuration.php:547
|
245 |
msgid "Not Available Message"
|
246 |
msgstr "Mövcud Deyil Mesajı"
|
247 |
|
248 |
+
#: qtranslate_configuration.php:550
|
249 |
msgid "Message to display if post is not available in the requested language. (Example: Sorry, this entry is only available in %LANG:, : and %.)"
|
250 |
msgstr "Seçilən bölməyə aid tərcümə yox isə görünən mesaj. (Nümunə: Bağışlayın, bu bölmə sadəcə %LANG:, :% dillərində mövcuddur.)"
|
251 |
|
252 |
+
#: qtranslate_configuration.php:551
|
253 |
msgid "%LANG:<normal_separator>:<last_separator>% generates a list of languages separated by <normal_separator> except for the last one, where <last_separator> will be used instead."
|
254 |
msgstr "%LANG:<normal_separator>:<last_separator>% ilə ayrılmış dil siyahısı yaradır. Normalda ayıran olaraq <normal_separator> istifadə edilir. Son ayıran olaraq <last_separator> istifadə edilir."
|
255 |
|
256 |
+
#: qtranslate_configuration.php:667
|
257 |
msgid "Hide"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: qtranslate_configuration.php:667
|
261 |
msgid "Show"
|
262 |
msgstr "Göstər"
|
263 |
|
264 |
+
#: qtranslate_configuration.php:674
|
265 |
msgid "Save Changes"
|
266 |
msgstr "Yadda Saxla"
|
267 |
|
268 |
+
#: qtranslate_configuration.php:691
|
269 |
#, fuzzy
|
270 |
msgid "Switching Language"
|
271 |
msgstr "Dili Düzəld"
|
272 |
|
273 |
+
#: qtranslate_configuration.php:691
|
274 |
#, php-format
|
275 |
msgid "Switching language to %1$s... If the Dashboard isn't loading, use this <a href=\"%2$s\" title=\"Dashboard\">link</a>."
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: qtranslate_configuration.php:712
|
279 |
msgid "qTranslate has been reset."
|
280 |
msgstr "qTranslate sıfırlandı."
|
281 |
|
282 |
+
#: qtranslate_configuration.php:765
|
283 |
msgid "Gettext databases updated."
|
284 |
msgstr "Gettext məlumat bazaları yeniləndi."
|
285 |
|
286 |
+
#: qtranslate_configuration.php:771
|
287 |
#, php-format
|
288 |
msgid "Applicable options and taxonomy names from plugin %s have been imported. Note that the multilingual content of posts, pages and other objects has not been altered during this operation. There is no additional operation needed to import content, since its format is compatible with %s."
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: qtranslate_configuration.php:772
|
292 |
#, php-format
|
293 |
msgid "%sImportant%s: Before you start making edits to post and pages, please, make sure that both, your front site and admin back-end, work under this configuration. It may help to review \"%s\" and see if any of conflicting plugins mentioned there are used here. While the current content, coming from %s, is compatible with this plugin, the newly modified posts and pages will be saved with a new square-bracket-only encoding, which has a number of advantages comparing to former %s encoding. However, the new encoding is not straightforwardly compatible with %s and you will need an additional step available under \"%s\" option if you ever decide to go back to %s. Even with this additional conversion step, the 3rd-party plugins custom-stored data will not be auto-converted, but manual editing will still work. That is why it is advisable to create a test-copy of your site before making any further changes. In case you encounter a problem, please give us a chance to improve %s, send the login information to the test-copy of your site to %s along with a detailed step-by-step description of what is not working, and continue using your main site with %s meanwhile. It would also help, if you share a success story as well, either on %sthe forum%s, or via the same e-mail as mentioned above. Thank you very much for trying %s."
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: qtranslate_configuration.php:772
|
297 |
msgid "This is a one-time message, which you will not see again, unless the same import is repeated."
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: qtranslate_configuration.php:774 qtranslate_configuration.php:1198
|
301 |
msgid "Compatibility Functions"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: qtranslate_configuration.php:774
|
305 |
#, php-format
|
306 |
msgid "Option \"%s\" has also been turned on, as the most common case for importing configuration from %s. You may turn it off manually if your setup does not require it. Refer to %sFAQ%s for more information."
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: qtranslate_configuration.php:782
|
310 |
#, php-format
|
311 |
msgid "Applicable options have been exported to plugin %s. If you have done some post or page updates after migrating from %s, then \"%s\" operation is also required to convert the content to \"dual language tag\" style in order for plugin %s to function."
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: qtranslate_configuration.php:793
|
315 |
msgid "The Language must have a Not-Available Message!"
|
316 |
msgstr "Dil üçün 'Mövcud Deyil Mesajı' olmalıdır!"
|
317 |
|
318 |
+
#: qtranslate_configuration.php:794
|
319 |
msgid "The Language must have a Locale!"
|
320 |
msgstr "Dil üçün, 'Bölgə Kodu' olmalıdır!"
|
321 |
|
322 |
+
#: qtranslate_configuration.php:795
|
323 |
msgid "The Language must have a name!"
|
324 |
msgstr "Dil üçün, 'İsim' olmalıdır!"
|
325 |
|
326 |
+
#: qtranslate_configuration.php:796
|
327 |
msgid "Language Code has to be 2 characters long!"
|
328 |
msgstr "Dil Kodu 2 hərf uzunluğunda olmalıdır!"
|
329 |
|
330 |
+
#: qtranslate_configuration.php:800 qtranslate_configuration.php:806
|
331 |
msgid "There is already a language with the same Language Code!"
|
332 |
msgstr "Eyni Dil Kodu-na sahib bir dil mövcuddur."
|
333 |
|
334 |
+
#: qtranslate_configuration.php:891 qtranslate_configuration.php:913
|
335 |
+
#: qtranslate_configuration.php:920 qtranslate_configuration.php:937
|
336 |
+
msgid "No such language!"
|
337 |
+
msgstr "Dil mövcud deyil!"
|
338 |
+
|
339 |
+
#: qtranslate_configuration.php:905
|
340 |
msgid "Language is already enabled or invalid!"
|
341 |
msgstr "Bu dil səhfdir ya da aktivdir."
|
342 |
|
343 |
+
#: qtranslate_configuration.php:910
|
344 |
msgid "Cannot disable Default Language!"
|
345 |
msgstr "Ana Dil Ləğv Passivləşdirilə Bilməz!"
|
346 |
|
347 |
+
#: qtranslate_configuration.php:916
|
|
|
|
|
|
|
|
|
|
|
348 |
msgid "Language is already disabled!"
|
349 |
msgstr "Dil passivləşdirilmişdir!"
|
350 |
|
351 |
+
#: qtranslate_configuration.php:924
|
352 |
#, fuzzy
|
353 |
msgid "Language is already first!"
|
354 |
msgstr "Dil passivləşdirilmişdir!"
|
355 |
|
356 |
+
#: qtranslate_configuration.php:930 qtranslate_configuration.php:947
|
357 |
msgid "New order saved."
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: qtranslate_configuration.php:941
|
361 |
#, fuzzy
|
362 |
msgid "Language is already last!"
|
363 |
msgstr "Dil passivləşdirilmişdir!"
|
364 |
|
365 |
+
#: qtranslate_configuration.php:959
|
366 |
msgid "Options saved."
|
367 |
msgstr "Seçimlər qeyd edildi."
|
368 |
|
369 |
+
#: qtranslate_configuration.php:964
|
370 |
#, php-format
|
371 |
msgid "Could not write to \"%s\", Gettext Databases could not be downloaded!"
|
372 |
msgstr "\"%s\" adrəsinə yazma səlahiyyəti yoxdur, Gettext Məlumat bazası qey edilə bilməz!"
|
373 |
|
374 |
+
#: qtranslate_configuration.php:990
|
375 |
msgid "Edit Language"
|
376 |
msgstr "Dili Düzəld"
|
377 |
|
378 |
+
#: qtranslate_configuration.php:993
|
379 |
msgid "Save Changes »"
|
380 |
msgstr "Dəyişilmişləri Yadda Saxla »"
|
381 |
|
382 |
+
#: qtranslate_configuration.php:998
|
383 |
msgid "Language Management (qTranslate Configuration)"
|
384 |
msgstr "Dil İdarəetməsi (qTranslate Tənzimlənməsi)"
|
385 |
|
386 |
+
#: qtranslate_configuration.php:999
|
387 |
#, php-format
|
388 |
msgid "For help on how to configure qTranslate correctly, take a look at the <a href=\"%1$s\">qTranslate FAQ</a> and the <a href=\"%2$s\">Support Forum</a>."
|
389 |
msgstr "qTranslate-i xətasız tənzimləmək üçün, <a href=\"%1$s\" title=\"qTranslate Sıx Soruşulan Suallar\">qTranslate SSS</a> və <a href=\"%2$s\" title=\"qTranslate Yardım Forumu\">Yardım Forumu</a> adreslərinə nəzər salın."
|
390 |
|
391 |
+
#: qtranslate_configuration.php:1001
|
392 |
msgid "General Settings"
|
393 |
msgstr "Ümumi Ayarlar"
|
394 |
|
395 |
+
#: qtranslate_configuration.php:1004
|
396 |
#, fuzzy
|
397 |
msgid "Default Language / Order"
|
398 |
msgstr "Ana Dil"
|
399 |
|
400 |
+
#: qtranslate_configuration.php:1006
|
401 |
msgid "Default Language"
|
402 |
msgstr "Ana Dil"
|
403 |
|
404 |
+
#: qtranslate_configuration.php:1019
|
405 |
#, php-format
|
406 |
msgid "Choose the default language of your blog. This is the language which will be shown on %s. You can also change the order the languages by clicking on the arrows above."
|
407 |
msgstr ""
|
408 |
|
409 |
+
#: qtranslate_configuration.php:1024
|
410 |
msgid "Hide Untranslated Content"
|
411 |
msgstr "Tərcüməsi olamayan məzmunu gizlət"
|
412 |
|
413 |
+
#: qtranslate_configuration.php:1026
|
414 |
msgid "Hide Content which is not available for the selected language."
|
415 |
msgstr "Seçilən dil üçün tərcüməsi olmayan məzmunu gizlət."
|
416 |
|
417 |
+
#: qtranslate_configuration.php:1028
|
418 |
msgid "When checked, posts will be hidden if the content is not available for the selected language. If unchecked, a message will appear showing all the languages the content is available in."
|
419 |
msgstr "Bu bölmə işarətləndiyi zaman, seçilən dil üçün tərcüməsi olmayan məzmunlər gizlədiləcəkdir. Əyər işarət götürülərsə, məzmuna aid digər tərcümələrin olduğu barəsində mesaj göstəriləcək."
|
420 |
|
421 |
+
#: qtranslate_configuration.php:1029
|
422 |
#, fuzzy, php-format
|
423 |
msgid "This function will not work correctly if you installed %s on a blog with existing entries. In this case you will need to take a look at option \"%s\" under \"%s\" section."
|
424 |
msgstr "Əyər qTranslate'-i məzmunlar daxil edilmiş bir blog-a yükləmişsəniz bu funksiya düzgün işləməyəcəkdir. Bu halda \"Məlumat Bazası Çevir\" və \"Geniş Tənzimləmələr\"ə baxmanız gərəkəcəkdir."
|
425 |
|
426 |
+
#: qtranslate_configuration.php:1031
|
427 |
#, fuzzy
|
428 |
msgid "Show displayed language prefix when content is not available for the selected language."
|
429 |
msgstr "Seçilən dil üçün tərcüməsi olmayan məzmunu gizlət."
|
430 |
|
431 |
+
#: qtranslate_configuration.php:1035
|
432 |
msgid "Detect Browser Language"
|
433 |
msgstr "Bələdçi (Browser) Dilini Tap"
|
434 |
|
435 |
+
#: qtranslate_configuration.php:1037
|
436 |
msgid "Detect the language of the browser and redirect accordingly."
|
437 |
msgstr "Bələdçi dilini avtomatik olaraq tap və ona görə istiqamətləndir."
|
438 |
|
439 |
+
#: qtranslate_configuration.php:1039
|
440 |
msgid "When the frontpage is visited via bookmark/external link/type-in, the visitor will be forwarded to the correct URL for the language specified by his browser."
|
441 |
msgstr "İstifadəçi anasəhifəyə Sıx İstifadə edilənlər bölməsinə və ya sayt ünvanına daxil olduqda, avtomatik olaraq istifadə etdiyi dilə yönləndirilir."
|
442 |
|
443 |
+
#: qtranslate_configuration.php:1044
|
444 |
msgid "Advanced Settings"
|
445 |
msgstr "Geniş Seçimlər"
|
446 |
|
447 |
+
#: qtranslate_configuration.php:1051 qtranslate_configuration.php:1053
|
448 |
+
#: qtranslate_configuration.php:1126
|
449 |
msgid "URL Modification Mode"
|
450 |
msgstr "URL Dəyişdirmə Forması"
|
451 |
|
452 |
+
#: qtranslate_configuration.php:1054
|
453 |
msgid "Most SEO unfriendly, not recommended."
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: qtranslate_configuration.php:1054
|
457 |
msgid "Use Query Mode (?lang=en)"
|
458 |
msgstr "Sorgu Növünü İşləd (?lang=az)"
|
459 |
|
460 |
+
#: qtranslate_configuration.php:1061
|
|
|
|
|
|
|
|
|
|
|
461 |
msgid "SEO friendly."
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: qtranslate_configuration.php:1061
|
465 |
msgid "Use Pre-Path Mode (Default, puts /en/ in front of URL)"
|
466 |
msgstr "Ön-Yol Formasını İşləd (Mövcud unvanın önünə /az/ əlavə olunur)"
|
467 |
|
468 |
+
#: qtranslate_configuration.php:1062
|
469 |
msgid "Use Pre-Domain Mode (uses http://en.yoursite.com)"
|
470 |
msgstr "Sub-ad Formasını İşləd (http://az.sizinsayt.com)"
|
471 |
|
472 |
+
#: qtranslate_configuration.php:1062
|
473 |
msgid "You will need to configure DNS sub-domains on your site."
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: qtranslate_configuration.php:1067
|
|
|
|
|
|
|
|
|
|
|
477 |
msgid "Hide URL language information for default language."
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: qtranslate_configuration.php:1068
|
481 |
msgid "This is only applicable to Pre-Path and Pre-Domain mode."
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: qtranslate_configuration.php:1073
|
485 |
#, fuzzy
|
486 |
msgid "Use Per-Domain mode: specify separate user-defined domain for each language."
|
487 |
msgstr "emulated date funksiyasını işləd və əvvəlcədən müəyyən edilmiş tarix formasını seçilən dilə görə yenidən tənzimlə."
|
488 |
|
489 |
+
#: qtranslate_configuration.php:1091
|
490 |
msgid "Domain for"
|
491 |
msgstr ""
|
492 |
|
493 |
+
#: qtranslate_configuration.php:1096
|
494 |
msgid "Flag Image Path"
|
495 |
msgstr "Bayraq Şəkil Yolu"
|
496 |
|
497 |
+
#: qtranslate_configuration.php:1100
|
498 |
#, fuzzy, php-format
|
499 |
msgid "Path to the flag images under wp-content, with trailing slash. (Default: %s, clear the value above to reset it to the default)"
|
500 |
msgstr "Bayraq şəkilləri üçün wp-content folderinin altındakı yolu. (Varsayılan: plugins/qtranslate/flags/)"
|
501 |
|
502 |
+
#: qtranslate_configuration.php:1104
|
503 |
msgid "Ignore Links"
|
504 |
msgstr "Linklərə Əhəmiyyət vermə"
|
505 |
|
506 |
+
#: qtranslate_configuration.php:1108
|
507 |
#, fuzzy, php-format
|
508 |
msgid "Don't convert links to files of the given file types. (Always included: %s)"
|
509 |
msgstr "Bu fayl növlərinə verilən linkləri çevirmə. (Mövcud: gif,jpg,jpeg,png,pdf,swf,tif,rar,zip,7z,mpg,divx,mpeg,avi,css,js)"
|
510 |
|
511 |
+
#: qtranslate_configuration.php:1112 qtranslate_widget.php:119
|
512 |
+
msgid "Head inline CSS"
|
513 |
+
msgstr ""
|
514 |
+
|
515 |
+
#: qtranslate_configuration.php:1114
|
516 |
+
msgid "CSS code added by plugin in the head of front-end pages:"
|
517 |
+
msgstr ""
|
518 |
+
|
519 |
+
#: qtranslate_configuration.php:1118 qtranslate_widget.php:119
|
520 |
+
msgid "To disable this inline CSS, clear the check box."
|
521 |
+
msgstr ""
|
522 |
+
|
523 |
+
#: qtranslate_configuration.php:1118 qtranslate_widget.php:119
|
524 |
+
msgid "To reset to default, clear the text."
|
525 |
+
msgstr ""
|
526 |
+
|
527 |
+
#: qtranslate_configuration.php:1122
|
528 |
+
#, fuzzy
|
529 |
+
msgid "Cookie Settings"
|
530 |
+
msgstr "Xüsusiyyətlər"
|
531 |
+
|
532 |
+
#: qtranslate_configuration.php:1124
|
533 |
+
#, php-format
|
534 |
+
msgid "Disable language client cookie \"%s\" (not recommended)."
|
535 |
+
msgstr ""
|
536 |
+
|
537 |
+
#: qtranslate_configuration.php:1126
|
538 |
+
#, php-format
|
539 |
+
msgid "Language cookie is auto-disabled for \"%s\" \"Pre-Domain\" and \"Per-Domain\", as language is always unambiguously defined by a url in those modes."
|
540 |
+
msgstr ""
|
541 |
+
|
542 |
+
#: qtranslate_configuration.php:1126
|
543 |
+
#, php-format
|
544 |
+
msgid "Otherwise, use this option with a caution, for simple enough sites only. If checked, the user choice of browsing language will not be saved between sessions and some AJAX calls may deliver unexpected language, as well as some undesired language switching during browsing may occur under certain themes (%sRead More%s)."
|
545 |
+
msgstr ""
|
546 |
+
|
547 |
+
#: qtranslate_configuration.php:1128
|
548 |
+
#, php-format
|
549 |
+
msgid "Make %s cookies available only through HTTPS connections."
|
550 |
+
msgstr ""
|
551 |
+
|
552 |
+
#: qtranslate_configuration.php:1130
|
553 |
+
msgid "Don't check this if you don't know what you're doing!"
|
554 |
+
msgstr ""
|
555 |
+
|
556 |
+
#: qtranslate_configuration.php:1134
|
557 |
msgid "Update Gettext Databases"
|
558 |
msgstr "Gettext Məlumat Bazasını Yeniləşdir"
|
559 |
|
560 |
+
#: qtranslate_configuration.php:1136
|
561 |
msgid "Automatically check for .mo-Database Updates of installed languages."
|
562 |
msgstr "Yüklənən dillər üçün .mo faylların yeniləşdirilməsini avtomatik olaraq yoxla."
|
563 |
|
564 |
+
#: qtranslate_configuration.php:1138
|
565 |
msgid "Update Gettext databases now."
|
566 |
msgstr "Gettext məlumat bazalarını indi yenilə."
|
567 |
|
568 |
+
#: qtranslate_configuration.php:1140
|
569 |
msgid "qTranslate will query the Wordpress Localisation Repository every week and download the latest Gettext Databases (.mo Files)."
|
570 |
msgstr "qTranslate hər həftə Wordpress Local Serverini yoxlayacaq və ən yeni Gettext Məlumat Bazalarını (.mo fayllarını) yükləyəcək."
|
571 |
|
572 |
+
#: qtranslate_configuration.php:1144
|
573 |
msgid "Date / Time Conversion"
|
574 |
msgstr "Tarix / Saat Çevirmə"
|
575 |
|
576 |
+
#: qtranslate_configuration.php:1146
|
577 |
msgid "Use emulated date function."
|
578 |
msgstr "emulated date funksiyasını işləd."
|
579 |
|
580 |
+
#: qtranslate_configuration.php:1147
|
581 |
msgid "Use emulated date function and replace formats with the predefined formats for each language."
|
582 |
msgstr "emulated date funksiyasını işləd və əvvəlcədən müəyyən edilmiş tarix formasını seçilən dilə görə yenidən tənzimlə."
|
583 |
|
584 |
+
#: qtranslate_configuration.php:1148
|
585 |
msgid "Use strftime instead of date."
|
586 |
msgstr "date funksiyası yerinə strftime funksiyası işlədilsin."
|
587 |
|
588 |
+
#: qtranslate_configuration.php:1149
|
589 |
msgid "Use strftime instead of date and replace formats with the predefined formats for each language."
|
590 |
msgstr "date funksiyası yerinə strftime funksiyasını işləd və əvvəlcədən müəyyən edilmiş tarix formasını seçilən dilə görə yenidən tənzimlə."
|
591 |
|
592 |
+
#: qtranslate_configuration.php:1150
|
593 |
msgid "Depending on the mode selected, additional customizations of the theme may be needed."
|
594 |
msgstr "Seçilən formaya görə, sayt şablon fayllarınızda tənzimləmələr aparmanıza ehtiyac yarana bilər."
|
595 |
|
596 |
+
#: qtranslate_configuration.php:1154
|
597 |
+
#, fuzzy
|
598 |
+
msgid "Translation of options"
|
599 |
+
msgstr "qTranslate"
|
600 |
+
|
601 |
+
#: qtranslate_configuration.php:1156
|
602 |
+
msgid "Filter all WordPress options for translation at front-end. It may hurt performance of the site, but ensures that all options are translated."
|
603 |
+
msgstr ""
|
604 |
+
|
605 |
+
#: qtranslate_configuration.php:1156
|
606 |
+
msgid "Starting from version 3.2.5, only options with multilingual content get filtered, which should help on performance issues."
|
607 |
+
msgstr ""
|
608 |
+
|
609 |
+
#: qtranslate_configuration.php:1158
|
610 |
+
msgid "Translate only options listed below (for experts only):"
|
611 |
+
msgstr ""
|
612 |
+
|
613 |
+
#: qtranslate_configuration.php:1161
|
614 |
+
#, php-format
|
615 |
+
msgid "By default, all options are filtered to be translated at front-end for the sake of simplicity of configuration. However, for a developed site, this may cause a considerable performance degradation. Normally, there are very few options, which actually need a translation. You may simply list them above to minimize the performance impact, while still getting translations needed. Options names must match the field \"%s\" of table \"%s\" of WordPress database. A minimum common set of option, normally needed a translation, is already entered in the list above as a default example. Option names in the list may contain wildcard with symbol \"%s\"."
|
616 |
+
msgstr ""
|
617 |
+
|
618 |
+
#: qtranslate_configuration.php:1165
|
619 |
msgid "Custom Fields"
|
620 |
msgstr ""
|
621 |
|
622 |
+
#: qtranslate_configuration.php:1167
|
623 |
#, php-format
|
624 |
msgid "Enter \"%s\" or \"%s\" attribute of text fields from your theme, which you wish to translate. This applies to post, page and media editors (%s). To lookup \"%s\" or \"%s\", right-click on the field in the post or the page editor and choose \"%s\". Look for an attribute of the field named \"%s\" or \"%s\". Enter it below, as many as you need, space- or comma-separated. After saving configuration, these fields will start responding to the language switching buttons, and you can enter different text for each language. The input fields of type %s will be parsed using %s syntax, while single line text fields will use %s syntax. If you need to override this behaviour, prepend prefix %s or %s to the name of the field to specify which syntax to use. For more information, read %sFAQ%s."
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: qtranslate_configuration.php:1167
|
628 |
msgctxt "browser option"
|
629 |
msgid "Inspect Element"
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: qtranslate_configuration.php:1174
|
633 |
msgid "The value of \"id\" attribute is normally unique within one page, otherwise the first field found, having an id specified, is picked up."
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: qtranslate_configuration.php:1181
|
637 |
#, php-format
|
638 |
msgid "All the fields of specified classes will respond to Language Switching Buttons. Be careful not to include a class, which would affect language-neutral fields. If you cannot uniquely identify a field needed neither by %s, nor by %s attribute, report the issue on %sSupport Forum%s"
|
639 |
msgstr ""
|
640 |
|
641 |
+
#: qtranslate_configuration.php:1185
|
642 |
msgid "Custom Filters"
|
643 |
msgstr ""
|
644 |
|
645 |
+
#: qtranslate_configuration.php:1188
|
646 |
#, php-format
|
647 |
msgid "Names of filters (which are enabled on theme or other plugins via %s function) to add translation to. For more information, read %sFAQ%s."
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: qtranslate_configuration.php:1192
|
651 |
msgid "Custom Admin Pages"
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: qtranslate_configuration.php:1194
|
655 |
#, php-format
|
656 |
msgid "List the custom admin page paths for which you wish Language Switching Buttons to show up. The Buttons will then control fields configured in \"Custom Fields\" section. You may only include part of the full URL after %s, including a distinctive query string if needed. As many as desired pages can be listed space/comma separated. For more information, read %sFAQ%s."
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: qtranslate_configuration.php:1200
|
660 |
#, php-format
|
661 |
msgid "Enable function name compatibility (%s)."
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: qtranslate_configuration.php:1201
|
665 |
#, php-format
|
666 |
msgid "Some plugins and themes use direct calls to the functions listed, which are defined in former %s plugin and some of its forks. Turning this flag on will enable those function to exists, which will make the dependent plugins and themes to work. WordPress policy prohibits to define functions with the same names as in other plugins, since it generates user-unfriendly fatal errors, when two conflicting plugins are activated simultaneously. Before turning this option on, you have to make sure that there are no other plugins active, which define those functions."
|
667 |
msgstr ""
|
668 |
|
669 |
+
#: qtranslate_configuration.php:1205
|
670 |
+
msgid "Editor Mode"
|
671 |
msgstr ""
|
672 |
|
673 |
+
#: qtranslate_configuration.php:1207
|
674 |
+
msgid "Use Language Switching Buttons (LSB)."
|
675 |
+
msgstr ""
|
676 |
+
|
677 |
+
#: qtranslate_configuration.php:1208
|
678 |
+
msgid "This is the default mode."
|
679 |
+
msgstr ""
|
680 |
+
|
681 |
+
#: qtranslate_configuration.php:1209
|
682 |
msgid "Do not use Language Switching Buttons to edit multi-language text entries."
|
683 |
msgstr ""
|
684 |
|
685 |
+
#: qtranslate_configuration.php:1209
|
686 |
+
msgid "Editor Raw Mode"
|
687 |
+
msgstr ""
|
688 |
+
|
689 |
+
#: qtranslate_configuration.php:1210
|
690 |
msgid "Some people prefer to edit the raw entries containing all languages together separated by language defining tags, as they are stored in database."
|
691 |
msgstr ""
|
692 |
|
693 |
+
#: qtranslate_configuration.php:1261
|
694 |
+
#, fuzzy, php-format
|
695 |
+
msgid "%s Flag"
|
696 |
+
msgstr "Bayraq"
|
697 |
+
|
698 |
+
#: qtranslate_configuration.php:1263
|
699 |
msgid "Disable"
|
700 |
msgstr "Məhrum etmək"
|
701 |
|
702 |
+
#: qtranslate_configuration.php:1263
|
703 |
msgid "Enable"
|
704 |
msgstr "Aktivləşdir"
|
705 |
|
706 |
+
#: qtranslate_configuration.php:1264
|
707 |
msgid "Edit"
|
708 |
msgstr "Düzəliş"
|
709 |
|
710 |
+
#: qtranslate_configuration.php:1265
|
711 |
msgid "Default"
|
712 |
msgstr "Təməl"
|
713 |
|
714 |
+
#: qtranslate_configuration.php:1265
|
715 |
msgid "Delete"
|
716 |
msgstr "Sil"
|
717 |
|
718 |
+
#: qtranslate_configuration.php:1270
|
719 |
msgid "Enabling a language will cause qTranslate to update the Gettext-Database for the language, which can take a while depending on your server's connection speed."
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: qtranslate_configuration.php:1277
|
723 |
msgid "Add Language"
|
724 |
msgstr "Dil Əlavə et"
|
725 |
|
726 |
+
#: qtranslate_configuration.php:1280
|
727 |
msgid "Add Language »"
|
728 |
msgstr "Dil Əlavə et »"
|
729 |
|
730 |
+
#: qtranslate_configuration.php:1295
|
731 |
#, fuzzy
|
732 |
msgid "Language Menu"
|
733 |
msgstr "Dil Kodu"
|
734 |
|
735 |
+
#: qtranslate_configuration.php:1344
|
736 |
msgid "Help"
|
737 |
msgstr ""
|
738 |
|
739 |
+
#: qtranslate_configuration.php:1346
|
740 |
#, php-format
|
741 |
msgid "Menu item added is replaced with a sub-menu of available languages when menu is rendered. Depending on how your theme renders menu you may need to override and customize css entries %s and %s, originally defined in %s. The field \"URL\" of inserted menu item allows additional configuration described in %sFAQ%s."
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: qtranslate_configuration.php:1351
|
745 |
msgid "Add to Menu"
|
746 |
msgstr ""
|
747 |
|
748 |
+
#: qtranslate_configuration.php:1361
|
749 |
#, fuzzy
|
750 |
msgid "Language Switcher"
|
751 |
msgstr "Dil Kodu"
|
752 |
|
753 |
+
#: qtranslate_configuration.php:1398
|
754 |
msgid "Settings"
|
755 |
msgstr "Xüsusiyyətlər"
|
756 |
|
757 |
+
#: qtranslate_frontend.php:159 qtranslate_widget.php:67
|
758 |
msgid "Language"
|
759 |
msgstr "Dil"
|
760 |
|
1057 |
msgid "qTranslate Language Chooser"
|
1058 |
msgstr "qTranslate sıfırlandı."
|
1059 |
|
1060 |
+
#: qtranslate_widget.php:111
|
1061 |
msgid "Title:"
|
1062 |
msgstr "Başlıq:"
|
1063 |
|
1064 |
+
#: qtranslate_widget.php:112
|
1065 |
msgid "Hide Title:"
|
1066 |
msgstr "Başlığı Gizlət:"
|
1067 |
|
1068 |
+
#: qtranslate_widget.php:113
|
1069 |
#, fuzzy
|
1070 |
msgid "Hide Title Colon:"
|
1071 |
msgstr "Başlığı Gizlət:"
|
1072 |
|
1073 |
+
#: qtranslate_widget.php:114
|
1074 |
msgid "Display:"
|
1075 |
msgstr "Nümayiş:"
|
1076 |
|
1077 |
+
#: qtranslate_widget.php:115
|
1078 |
msgid "Text only"
|
1079 |
msgstr "Sadəcə yazı"
|
1080 |
|
1081 |
+
#: qtranslate_widget.php:116
|
1082 |
msgid "Image only"
|
1083 |
msgstr "Sadəcə şəkil"
|
1084 |
|
1085 |
+
#: qtranslate_widget.php:117
|
1086 |
msgid "Text and Image"
|
1087 |
msgstr "Yazı və Şəkil"
|
1088 |
|
1089 |
+
#: qtranslate_widget.php:118
|
1090 |
msgid "Dropdown Box"
|
1091 |
msgstr "Seçim Qutusu"
|
1092 |
|
1093 |
+
#: qtranslate_widget.php:119
|
1094 |
+
#, php-format
|
1095 |
+
msgid "Other common CSS block for flag classes \"%s\" is loaded in the head of HTML and can be controlled with option \"%s\"."
|
1096 |
msgstr ""
|
1097 |
|
1098 |
+
#: qtranslate_widget.php:119
|
1099 |
msgid "Widget"
|
1100 |
msgstr ""
|
1101 |
|
1102 |
+
#, fuzzy
|
1103 |
+
#~ msgid "Pre-Path and Pre-Domain mode will only work with mod_rewrite/pretty permalinks. Additional Configuration is needed for Pre-Domain mode or Per-Domain mode."
|
1104 |
+
#~ msgstr "Ön-Yol və Sub-ad forması sadəcə mod_rewrite/permalinklər ilə birlikdə işləyir. Sub-ad (subdomain) üçün əlavə tənzimləmə gərəklidir."
|
1105 |
+
|
1106 |
#, fuzzy
|
1107 |
#~ msgid "Settings Migration"
|
1108 |
#~ msgstr "Xüsusiyyətlər"
|
lang/qtranslate-bg_BG.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: qTranslate-X 3.0\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2015-03-
|
6 |
"PO-Revision-Date: 2010-01-13 16:56+0200\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -11,7 +11,7 @@ msgstr ""
|
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
|
13 |
#: admin/activation_hook.php:37 admin/activation_hook.php:137
|
14 |
-
#: qtranslate_configuration.php:
|
15 |
#, php-format
|
16 |
msgid "It might be a good idea to review %smigration instructions%s, if you have not yet done so."
|
17 |
msgstr ""
|
@@ -78,603 +78,679 @@ msgstr ""
|
|
78 |
msgid "Database has been converted to legacy dual-tag format."
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: admin/admin_utils.php:
|
82 |
-
#:
|
|
|
83 |
msgid "Flag"
|
84 |
msgstr "Знаме"
|
85 |
|
86 |
-
#: admin/admin_utils.php:
|
87 |
msgid "Name"
|
88 |
msgstr "Име"
|
89 |
|
90 |
-
#: admin/admin_utils.php:
|
91 |
msgid "Action"
|
92 |
msgstr "Действие"
|
93 |
|
94 |
-
#: admin/admin_utils.php:
|
95 |
-
#: qtranslate_configuration.php:
|
96 |
msgid "Languages"
|
97 |
msgstr "Езици"
|
98 |
|
99 |
-
#: admin/import_export.php:
|
100 |
msgid "Plugin"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: admin/import_export.php:
|
104 |
msgid "There is no need to migrate any setting, the database schema is compatible with this plugin."
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: admin/import_export.php:
|
108 |
msgid "Do not migrate any setting"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: admin/import_export.php:
|
112 |
#, fuzzy
|
113 |
msgid "Import settings from "
|
114 |
msgstr "Начално състояние на qTranslate"
|
115 |
|
116 |
-
#: admin/import_export.php:
|
117 |
#, fuzzy
|
118 |
msgid "Export settings to "
|
119 |
msgstr "Начално състояние на qTranslate"
|
120 |
|
121 |
-
#: admin/import_export.php:
|
122 |
msgid "Export"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: admin/import_export.php:
|
126 |
msgid "Import"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: admin/import_export.php:
|
130 |
-
#: qtranslate_configuration.php:
|
131 |
msgid "Convert Database"
|
132 |
msgstr "Преобразуване"
|
133 |
|
134 |
-
#: admin/import_export.php:
|
135 |
#, php-format
|
136 |
msgid "If you are updating from qTranslate 1.x or Polyglot, <a href=\"%s\">click here</a> to convert posts to the new language tag format."
|
137 |
msgstr "Ако обновявате от qTranslate 1.х или Polyglot, <a href=\"%s\">натиснете тук</a>, за да приведете публикациите си към новия формат на оператора за език."
|
138 |
|
139 |
-
#: admin/import_export.php:
|
140 |
#, php-format
|
141 |
msgid "If you have installed qTranslate for the first time on a Wordpress with existing posts, you can either go through all your posts manually and save them in the correct language or <a href=\"%s\">click here</a> to mark all existing posts as written in the default language."
|
142 |
msgstr "Ако първото инсталиране на qTranslate е направено в блог със съществуващи публикации, можете или да минете ръчно през всички тях и да ги запазите в правилния език или да <a href=\"%s\">натиснете тук</a>, за автоматичното им отбелязване като написани на избрания за основен език."
|
143 |
|
144 |
-
#: admin/import_export.php:
|
145 |
msgid "Both processes are <b>irreversible</b>! Be sure to make a full database backup before clicking one of the links."
|
146 |
msgstr "И двете команди са <b>необратими</b>! Правете пълен архив на базите данни на сайта преди да натинете някоя от тях."
|
147 |
|
148 |
-
#: admin/import_export.php:
|
149 |
#, fuzzy
|
150 |
msgid "Do not convert database"
|
151 |
msgstr "Преобразуване"
|
152 |
|
153 |
-
#: admin/import_export.php:
|
154 |
msgid "Convert database to the \"square bracket only\" style."
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: admin/import_export.php:
|
158 |
#, php-format
|
159 |
msgid "The square bracket language tag %s only will be used as opposite to dual-tag (%s and %s) %s legacy database format. All string options and standard post and page fields will be uniformly encoded like %s."
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: admin/import_export.php:
|
163 |
msgid "Convert database back to the legacy \"dual language tag\" style."
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: admin/import_export.php:
|
167 |
msgid "Note, that only string options and standard post and page fields are affected."
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: admin/import_export.php:
|
171 |
msgid "Reset qTranslate"
|
172 |
msgstr "Начално състояние на qTranslate"
|
173 |
|
174 |
-
#: admin/import_export.php:
|
175 |
msgid "Check this box and click Save Changes to reset all qTranslate settings."
|
176 |
msgstr "Поставете отметка в кутийката и натиснете \"Запазване на промените\" за да презаредите всички настройки на qTranslate."
|
177 |
|
178 |
-
#: admin/import_export.php:
|
179 |
msgid "Yes, I really want to reset qTranslate."
|
180 |
msgstr "Да, наистина желая да върна qTranslate към първоначалните му настройки."
|
181 |
|
182 |
-
#: admin/import_export.php:
|
183 |
msgid "Also delete Translations for Categories/Tags/Link Categories."
|
184 |
msgstr "Също така, изтрий преводите на Категориите, Етикетите, Категориите за връзки."
|
185 |
|
186 |
-
#: admin/import_export.php:
|
187 |
msgid "If something isn't working correctly, you can always try to reset all qTranslate settings. A Reset won't delete any posts but will remove all settings (including all languages added)."
|
188 |
msgstr "В случай че нещо не работи както трябва, винаги можете да опитате връщане на qTranslate към първоначалните му настройки. Презареждането няма да изтрие публикации, само ще изчисти всички настройки (включително добавените езици)."
|
189 |
|
190 |
-
#: qtranslate_configuration.php:
|
191 |
msgid "Language Management"
|
192 |
msgstr "Езикови настройки"
|
193 |
|
194 |
-
#: qtranslate_configuration.php:
|
195 |
msgid "Language Code"
|
196 |
msgstr "Код на езика"
|
197 |
|
198 |
-
#: qtranslate_configuration.php:
|
199 |
msgid "2-Letter <a href=\"http://www.w3.org/WAI/ER/IG/ert/iso639.htm#2letter\">ISO Language Code</a> for the Language you want to insert. (Example: en)"
|
200 |
msgstr "2-буквен <a href=\"http://www.w3.org/WAI/ER/IG/ert/iso639.htm#2letter\">ISO езиков код</a> на езика, който желаете да добавите. (Пример: en, bg, ru и т.н.)"
|
201 |
|
202 |
-
#: qtranslate_configuration.php:
|
203 |
msgid "Incorrect Flag Image Path! Please correct it!"
|
204 |
msgstr "Грешен път до картинката за знамето. Моля, коригирайте го!"
|
205 |
|
206 |
-
#: qtranslate_configuration.php:
|
207 |
msgid "Choose the corresponding country flag for language. (Example: gb.png)"
|
208 |
msgstr "Изберете съответния за езика държавен флаг (пример: bg.png, gb.png и т.н.)"
|
209 |
|
210 |
-
#: qtranslate_configuration.php:
|
211 |
msgid "The Name of the language, which will be displayed on the site. (Example: English)"
|
212 |
msgstr "Наименованието на езика, което ще се вижда в сайта (напр.: Български, Русский, English и т.н.)"
|
213 |
|
214 |
-
#: qtranslate_configuration.php:
|
215 |
msgid "Locale"
|
216 |
msgstr "Езиков файл"
|
217 |
|
218 |
-
#: qtranslate_configuration.php:
|
219 |
msgid "PHP and Wordpress Locale for the language. (Example: en_US)"
|
220 |
msgstr "Име на PHP и Wordpress езиковия файл (напр.: en_US, bg_BG, ru_RU и т.н.)"
|
221 |
|
222 |
-
#: qtranslate_configuration.php:
|
223 |
msgid "You will need to install the .mo file for this language."
|
224 |
msgstr "Нужно е да инсталирате езиков файл с разширение .mo за този език."
|
225 |
|
226 |
-
#: qtranslate_configuration.php:
|
227 |
msgid "Date Format"
|
228 |
msgstr "Формат на датата"
|
229 |
|
230 |
-
#: qtranslate_configuration.php:
|
231 |
msgid "Depending on your Date / Time Conversion Mode, you can either enter a <a href=\"http://www.php.net/manual/function.strftime.php\">strftime</a> (use %q for day suffix (st,nd,rd,th)) or <a href=\"http://www.php.net/manual/function.date.php\">date</a> format. This field is optional. (Example: %A %B %e%q, %Y)"
|
232 |
msgstr "В зависимост от типа преобразуване на вашите Дата и Час, можете да използвате както <a href=\"http://www.php.net/manual/function.strftime.php\">strftime</a> (използвайте %q за окончание за датите (st,nd,rd,th или -ви,-ри,-ти)), така и <a href=\"http://www.php.net/manual/function.date.php\">date</a> формат. Полето не е задължително (напр.: %A %B %e%q, %Y)."
|
233 |
|
234 |
-
#: qtranslate_configuration.php:
|
235 |
msgid "Time Format"
|
236 |
msgstr "Формат на часа"
|
237 |
|
238 |
-
#: qtranslate_configuration.php:
|
239 |
msgid "Depending on your Date / Time Conversion Mode, you can either enter a <a href=\"http://www.php.net/manual/function.strftime.php\">strftime</a> or <a href=\"http://www.php.net/manual/function.date.php\">date</a> format. This field is optional. (Example: %I:%M %p)"
|
240 |
msgstr "В зависимост от типа преобразуване на вашите Дата и Час, можете да използвате както <a href=\"http://www.php.net/manual/function.strftime.php\">strftime</a>, така и <a href=\"http://www.php.net/manual/function.date.php\">date</a> формат. Полето не е задължително (напр.: %I:%M %p или %H:%M и др.)."
|
241 |
|
242 |
-
#: qtranslate_configuration.php:
|
243 |
msgid "Not Available Message"
|
244 |
msgstr "Съобщение при липса"
|
245 |
|
246 |
-
#: qtranslate_configuration.php:
|
247 |
msgid "Message to display if post is not available in the requested language. (Example: Sorry, this entry is only available in %LANG:, : and %.)"
|
248 |
msgstr "Съобщение, извеждащо се при зареждане на публикация на език, за който липсва превод. Пример: \"Този материал е наличен само на следните езици: %LANG:, : и %.\" или \"Sorry, this entry is only available in %LANG:, : and %.\"."
|
249 |
|
250 |
-
#: qtranslate_configuration.php:
|
251 |
msgid "%LANG:<normal_separator>:<last_separator>% generates a list of languages separated by <normal_separator> except for the last one, where <last_separator> will be used instead."
|
252 |
msgstr "%LANG:<normal_separator>:<last_separator>% създава списък на езиците, разделени с <normal_separator> без последния, за който ще бъде използван <last_separator>."
|
253 |
|
254 |
-
#: qtranslate_configuration.php:
|
255 |
msgid "Hide"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: qtranslate_configuration.php:
|
259 |
msgid "Show"
|
260 |
msgstr "Покажи"
|
261 |
|
262 |
-
#: qtranslate_configuration.php:
|
263 |
msgid "Save Changes"
|
264 |
msgstr "Запази промените"
|
265 |
|
266 |
-
#: qtranslate_configuration.php:
|
267 |
#, fuzzy
|
268 |
msgid "Switching Language"
|
269 |
msgstr "Редакция на език"
|
270 |
|
271 |
-
#: qtranslate_configuration.php:
|
272 |
#, php-format
|
273 |
msgid "Switching language to %1$s... If the Dashboard isn't loading, use this <a href=\"%2$s\" title=\"Dashboard\">link</a>."
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: qtranslate_configuration.php:
|
277 |
msgid "qTranslate has been reset."
|
278 |
msgstr "qTranslate е презареден."
|
279 |
|
280 |
-
#: qtranslate_configuration.php:
|
281 |
msgid "Gettext databases updated."
|
282 |
msgstr "Текстовите бази данни са обновени."
|
283 |
|
284 |
-
#: qtranslate_configuration.php:
|
285 |
#, php-format
|
286 |
msgid "Applicable options and taxonomy names from plugin %s have been imported. Note that the multilingual content of posts, pages and other objects has not been altered during this operation. There is no additional operation needed to import content, since its format is compatible with %s."
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: qtranslate_configuration.php:
|
290 |
#, php-format
|
291 |
msgid "%sImportant%s: Before you start making edits to post and pages, please, make sure that both, your front site and admin back-end, work under this configuration. It may help to review \"%s\" and see if any of conflicting plugins mentioned there are used here. While the current content, coming from %s, is compatible with this plugin, the newly modified posts and pages will be saved with a new square-bracket-only encoding, which has a number of advantages comparing to former %s encoding. However, the new encoding is not straightforwardly compatible with %s and you will need an additional step available under \"%s\" option if you ever decide to go back to %s. Even with this additional conversion step, the 3rd-party plugins custom-stored data will not be auto-converted, but manual editing will still work. That is why it is advisable to create a test-copy of your site before making any further changes. In case you encounter a problem, please give us a chance to improve %s, send the login information to the test-copy of your site to %s along with a detailed step-by-step description of what is not working, and continue using your main site with %s meanwhile. It would also help, if you share a success story as well, either on %sthe forum%s, or via the same e-mail as mentioned above. Thank you very much for trying %s."
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: qtranslate_configuration.php:
|
295 |
msgid "This is a one-time message, which you will not see again, unless the same import is repeated."
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: qtranslate_configuration.php:
|
299 |
msgid "Compatibility Functions"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: qtranslate_configuration.php:
|
303 |
#, php-format
|
304 |
msgid "Option \"%s\" has also been turned on, as the most common case for importing configuration from %s. You may turn it off manually if your setup does not require it. Refer to %sFAQ%s for more information."
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: qtranslate_configuration.php:
|
308 |
#, php-format
|
309 |
msgid "Applicable options have been exported to plugin %s. If you have done some post or page updates after migrating from %s, then \"%s\" operation is also required to convert the content to \"dual language tag\" style in order for plugin %s to function."
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: qtranslate_configuration.php:
|
313 |
msgid "The Language must have a Not-Available Message!"
|
314 |
msgstr "Езикът трябва да има \"Съобщение при липса\""
|
315 |
|
316 |
-
#: qtranslate_configuration.php:
|
317 |
msgid "The Language must have a Locale!"
|
318 |
msgstr "Езикът трябва да има \"Езиков файл\""
|
319 |
|
320 |
-
#: qtranslate_configuration.php:
|
321 |
msgid "The Language must have a name!"
|
322 |
msgstr "Езикът трябва да има \"Име\""
|
323 |
|
324 |
-
#: qtranslate_configuration.php:
|
325 |
msgid "Language Code has to be 2 characters long!"
|
326 |
msgstr "Кодът на езика е от два символа!"
|
327 |
|
328 |
-
#: qtranslate_configuration.php:
|
329 |
msgid "There is already a language with the same Language Code!"
|
330 |
msgstr "Вече има език с този \"Езиков код\""
|
331 |
|
332 |
-
#: qtranslate_configuration.php:
|
|
|
|
|
|
|
|
|
|
|
333 |
msgid "Language is already enabled or invalid!"
|
334 |
msgstr "Езикът вече е включен или е невалиден!"
|
335 |
|
336 |
-
#: qtranslate_configuration.php:
|
337 |
msgid "Cannot disable Default Language!"
|
338 |
msgstr "Не можете да изключите основния език!"
|
339 |
|
340 |
-
#: qtranslate_configuration.php:
|
341 |
-
#: qtranslate_configuration.php:890
|
342 |
-
msgid "No such language!"
|
343 |
-
msgstr "Няма такъв език!"
|
344 |
-
|
345 |
-
#: qtranslate_configuration.php:870
|
346 |
msgid "Language is already disabled!"
|
347 |
msgstr "Езикът е вече изключен!"
|
348 |
|
349 |
-
#: qtranslate_configuration.php:
|
350 |
msgid "Language is already first!"
|
351 |
msgstr "Езикът е вече първи!"
|
352 |
|
353 |
-
#: qtranslate_configuration.php:
|
354 |
msgid "New order saved."
|
355 |
msgstr "Новата подребда е запазена."
|
356 |
|
357 |
-
#: qtranslate_configuration.php:
|
358 |
msgid "Language is already last!"
|
359 |
msgstr "Езикът е вече последен!"
|
360 |
|
361 |
-
#: qtranslate_configuration.php:
|
362 |
msgid "Options saved."
|
363 |
msgstr "Настройките са запазени."
|
364 |
|
365 |
-
#: qtranslate_configuration.php:
|
366 |
#, php-format
|
367 |
msgid "Could not write to \"%s\", Gettext Databases could not be downloaded!"
|
368 |
msgstr "Невъзможно записване в \"%s\", текстовите бази данни не могат да бъдат изтеглени!"
|
369 |
|
370 |
-
#: qtranslate_configuration.php:
|
371 |
msgid "Edit Language"
|
372 |
msgstr "Редакция на език"
|
373 |
|
374 |
-
#: qtranslate_configuration.php:
|
375 |
msgid "Save Changes »"
|
376 |
msgstr "Запазване на промените »"
|
377 |
|
378 |
-
#: qtranslate_configuration.php:
|
379 |
msgid "Language Management (qTranslate Configuration)"
|
380 |
msgstr "Езикови настройки (Настройка на qTranslate)"
|
381 |
|
382 |
-
#: qtranslate_configuration.php:
|
383 |
#, php-format
|
384 |
msgid "For help on how to configure qTranslate correctly, take a look at the <a href=\"%1$s\">qTranslate FAQ</a> and the <a href=\"%2$s\">Support Forum</a>."
|
385 |
msgstr "За помощ по правилното настройване на qTranslate, моля вижте <a href=\"%1$s\">qTranslate ЧЗВ</a> и <a href=\"%2$s\">Форума за поддръжка</a> (на англ.)."
|
386 |
|
387 |
-
#: qtranslate_configuration.php:
|
388 |
msgid "General Settings"
|
389 |
msgstr "Общи настройки"
|
390 |
|
391 |
-
#: qtranslate_configuration.php:
|
392 |
msgid "Default Language / Order"
|
393 |
msgstr "Основен език / Подредба"
|
394 |
|
395 |
-
#: qtranslate_configuration.php:
|
396 |
msgid "Default Language"
|
397 |
msgstr "Основен език"
|
398 |
|
399 |
-
#: qtranslate_configuration.php:
|
400 |
#, php-format
|
401 |
msgid "Choose the default language of your blog. This is the language which will be shown on %s. You can also change the order the languages by clicking on the arrows above."
|
402 |
msgstr "Изберете основния езика на блога си. Това е езикът, на който %s ще се зарежда. Можете да преподредите реда на показване на езиците чрез стрелките."
|
403 |
|
404 |
-
#: qtranslate_configuration.php:
|
405 |
msgid "Hide Untranslated Content"
|
406 |
msgstr "Скрий непреведеното съдържание"
|
407 |
|
408 |
-
#: qtranslate_configuration.php:
|
409 |
msgid "Hide Content which is not available for the selected language."
|
410 |
msgstr "Скривате съдържанието, което не е налично за избрания език."
|
411 |
|
412 |
-
#: qtranslate_configuration.php:
|
413 |
msgid "When checked, posts will be hidden if the content is not available for the selected language. If unchec |