Version Description
= 0.7.0 = New edit interface, tons of other fixes = 0.6.6 = Fixed two XSS vulnerabilities = 0.6.3 = Support .po/.mo files = 0.6.0 = Much improved translation interface engine = 0.5.7 = Fix for critical bug in 0.5.6 = 0.5.6 = Support pluggable widgets = 0.5.5 = Support for buddypress URLs = 0.5.3 = Support URL translation = 0.5.2 = Improved lang attribute support, changed default language translation option = 0.5.1 = Improved speed and database structure = 0.5.0 = Ability to translate all content, backup service for human translations = 0.4.3 = Minor bug fixes, more compatability = 0.4.2 = This version provides Haitian support, auto translate with bing support = 0.4.0 = This version provides integration with google-sitemaps-xml and wp-super-cache = 0.3.9 = This version allows sorting of languages within the widget
Release Info
Developer | oferwald |
Plugin | Transposh WordPress Translation |
Version | 0.7.3 |
Comparing to | |
See all releases |
Code changes from version 0.7.2 to 0.7.3
- core/constants.php +3 -3
- core/parser.php +2 -2
- core/utils.php +6 -2
- js/l/es.js +2 -2
- js/l/fa.js +2 -2
- js/l/he.js +2 -2
- js/l/it.js +2 -2
- js/l/nl.js +2 -2
- js/l/ru.js +2 -2
- js/transposh.js +2 -2
- js/transposhadmin.js +2 -2
- js/transposhcontrol.js +2 -2
- js/transposhedit.js +5 -5
- readme.txt +13 -6
- transposh.php +61 -7
- widgets/default/tpw_default.php +2 -2
- widgets/dropdown/tpw_image_dropdown.php +2 -2
- widgets/flags/tpw_flags.php +2 -2
- widgets/flags/tpw_flags_css.php +2 -2
- widgets/flagslist/tpw_list_with_flags.php +2 -2
- widgets/flagslist/tpw_list_with_flags_css.php +2 -2
- wp/transposh_3rdparty.php +2 -2
- wp/transposh_admin.php +2 -2
- wp/transposh_ajax.php +2 -2
- wp/transposh_backup.php +2 -2
- wp/transposh_db.php +2 -2
- wp/transposh_options.php +2 -2
- wp/transposh_postpublish.php +3 -3
- wp/transposh_widget.php +2 -2
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
* Transposh v0.7.
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
-
* Date:
|
12 |
*/
|
13 |
|
14 |
//Language indicator in URL. i.e. lang=en
|
@@ -127,7 +127,7 @@ class transposh_consts {
|
|
127 |
define('TRANSLATOR', 'translator');
|
128 |
|
129 |
//Define for transposh plugin version
|
130 |
-
define('TRANSPOSH_PLUGIN_VER', '0.7.
|
131 |
|
132 |
//Define segment id prefix, will be included in span tag. also used as class identifier
|
133 |
define('SPAN_PREFIX', 'tr_');
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
* Transposh v0.7.3
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
12 |
*/
|
13 |
|
14 |
//Language indicator in URL. i.e. lang=en
|
127 |
define('TRANSLATOR', 'translator');
|
128 |
|
129 |
//Define for transposh plugin version
|
130 |
+
define('TRANSPOSH_PLUGIN_VER', '0.7.3');
|
131 |
|
132 |
//Define segment id prefix, will be included in span tag. also used as class identifier
|
133 |
define('SPAN_PREFIX', 'tr_');
|
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
* Transposh v0.7.
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
-
* Date:
|
12 |
*/
|
13 |
|
14 |
require_once("shd/simple_html_dom.php");
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
* Transposh v0.7.3
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
12 |
*/
|
13 |
|
14 |
require_once("shd/simple_html_dom.php");
|
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
* Transposh v0.7.
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
-
* Date:
|
12 |
*/
|
13 |
|
14 |
/**
|
@@ -425,6 +425,10 @@ class transposh_utils {
|
|
425 |
return $bestlang;
|
426 |
}
|
427 |
|
|
|
|
|
|
|
|
|
428 |
}
|
429 |
|
430 |
?>
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
* Transposh v0.7.3
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
12 |
*/
|
13 |
|
14 |
/**
|
425 |
return $bestlang;
|
426 |
}
|
427 |
|
428 |
+
public static function is_bot() {
|
429 |
+
return preg_match("#(bot|yandex|validator|google|jeeves|spider|crawler|slurp)#si", $_SERVER['HTTP_USER_AGENT']);
|
430 |
+
}
|
431 |
+
|
432 |
}
|
433 |
|
434 |
?>
|
@@ -1,12 +1,12 @@
|
|
1 |
/*
|
2 |
-
* Transposh v0.7.
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
-
* Date:
|
10 |
*/
|
11 |
t_jp.l={"Close without saving?":"Cerrar sin guardar?","You have made a change to the translation. Are you sure you want to discard it?":"Has cambiado la traducion. Estas seguro que lo quieres eliminar?",History:"Historia","Loading...":"Cargando...",Translated:"Traducido",By:"Por",At:"En",google:"google",bing:"bing",apertium:"apertium","manual translation":"traducci\u00f3n manual","bing suggest":"sugerencia de bing","google suggest":"sugerencia de google","apertium suggest":"sugerencia de apertium",
|
12 |
"Edit Translation":"Editar traducci\u00f3n","Original text":"Texto original","read alternate translations":"lee traducci\u00f3nes alternativas","previous translation":"traducci\u00f3n anterior","find on page":"encuentra en la pagina","next translation":"siguiente traducci\u00f3n","Translate to":"Traducir a","view translation log":"muestra diario de traducion","virtual keyboard":"teclado virtual","approve translation":"aprueba traducion","delete":"eliminar",Discard:"Descartar",Cancel:"Cancelar"};
|
1 |
/*
|
2 |
+
* Transposh v0.7.3
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
10 |
*/
|
11 |
t_jp.l={"Close without saving?":"Cerrar sin guardar?","You have made a change to the translation. Are you sure you want to discard it?":"Has cambiado la traducion. Estas seguro que lo quieres eliminar?",History:"Historia","Loading...":"Cargando...",Translated:"Traducido",By:"Por",At:"En",google:"google",bing:"bing",apertium:"apertium","manual translation":"traducci\u00f3n manual","bing suggest":"sugerencia de bing","google suggest":"sugerencia de google","apertium suggest":"sugerencia de apertium",
|
12 |
"Edit Translation":"Editar traducci\u00f3n","Original text":"Texto original","read alternate translations":"lee traducci\u00f3nes alternativas","previous translation":"traducci\u00f3n anterior","find on page":"encuentra en la pagina","next translation":"siguiente traducci\u00f3n","Translate to":"Traducir a","view translation log":"muestra diario de traducion","virtual keyboard":"teclado virtual","approve translation":"aprueba traducion","delete":"eliminar",Discard:"Descartar",Cancel:"Cancelar"};
|
@@ -1,12 +1,12 @@
|
|
1 |
/*
|
2 |
-
* Transposh v0.7.
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
-
* Date:
|
10 |
*/
|
11 |
t_jp.l={"Close without saving?":"\u0628\u062f\u0648\u0646 \u0646\u06af\u0647 \u062f\u0627\u0631\u06cc \u0628\u0628\u0646\u062f\u06cc\u0645\u061f","You have made a change to the translation. Are you sure you want to discard it?":"\u0634\u0645\u0627 \u062f\u0631 \u062a\u0631\u062c\u0645\u0647 \u06cc\u06a9 \u062f\u06af\u0631\u06af\u0648\u0646\u06cc \u0633\u0627\u062e\u062a\u0647 \u0627\u06cc\u062f \u0622\u06cc\u0627 \u0622\u06af\u0627\u0647\u0627\u0646\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0622\u0646 \u0631\u0627 \u062f\u0648\u0631 \u0628\u06cc\u0646\u062f\u0627\u0632\u06cc\u062f\u061f ",
|
12 |
History:"\u067e\u06cc\u0634\u06cc\u0646\u0647","Loading...":"\u0628\u0627\u0631\u06af\u06cc\u0631\u06cc...",Translated:"\u062a\u0631\u062c\u0645\u0647 \u0634\u062f\u0647",By:"\u0628\u0627",At:"\u062f\u0631",google:"\u06af\u0648\u06af\u0644",bing:"\u0628\u06cc\u0646\u06af",apertium:"\u0627\u0650\u06cc \u067e\u0650\u0631\u0634\u0650\u0645","manual translation":"\u062a\u0631\u062c\u0645\u0647 \u06cc \u062f\u0633\u062a\u06cc","bing suggest":"\u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0628\u06cc\u0646\u06af",
|
1 |
/*
|
2 |
+
* Transposh v0.7.3
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
10 |
*/
|
11 |
t_jp.l={"Close without saving?":"\u0628\u062f\u0648\u0646 \u0646\u06af\u0647 \u062f\u0627\u0631\u06cc \u0628\u0628\u0646\u062f\u06cc\u0645\u061f","You have made a change to the translation. Are you sure you want to discard it?":"\u0634\u0645\u0627 \u062f\u0631 \u062a\u0631\u062c\u0645\u0647 \u06cc\u06a9 \u062f\u06af\u0631\u06af\u0648\u0646\u06cc \u0633\u0627\u062e\u062a\u0647 \u0627\u06cc\u062f \u0622\u06cc\u0627 \u0622\u06af\u0627\u0647\u0627\u0646\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0622\u0646 \u0631\u0627 \u062f\u0648\u0631 \u0628\u06cc\u0646\u062f\u0627\u0632\u06cc\u062f\u061f ",
|
12 |
History:"\u067e\u06cc\u0634\u06cc\u0646\u0647","Loading...":"\u0628\u0627\u0631\u06af\u06cc\u0631\u06cc...",Translated:"\u062a\u0631\u062c\u0645\u0647 \u0634\u062f\u0647",By:"\u0628\u0627",At:"\u062f\u0631",google:"\u06af\u0648\u06af\u0644",bing:"\u0628\u06cc\u0646\u06af",apertium:"\u0627\u0650\u06cc \u067e\u0650\u0631\u0634\u0650\u0645","manual translation":"\u062a\u0631\u062c\u0645\u0647 \u06cc \u062f\u0633\u062a\u06cc","bing suggest":"\u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0628\u06cc\u0646\u06af",
|
@@ -1,12 +1,12 @@
|
|
1 |
/*
|
2 |
-
* Transposh v0.7.
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
-
* Date:
|
10 |
*/
|
11 |
t_jp.l={"Close without saving?":"\u05dc\u05e1\u05d2\u05d5\u05e8 \u05d1\u05dc\u05d9 \u05dc\u05e9\u05de\u05d5\u05e8?","You have made a change to the translation. Are you sure you want to discard it?":"\u05d1\u05d9\u05e6\u05e2\u05ea \u05e9\u05d9\u05e0\u05d5\u05d9 \u05d1\u05ea\u05e8\u05d2\u05d5\u05dd, \u05d4\u05d0\u05dd \u05d0\u05ea\u05d4 \u05d1\u05d8\u05d5\u05d7 \u05e9\u05d0\u05ea\u05d4 \u05e8\u05d5\u05e6\u05d4 \u05dc\u05d5\u05d5\u05ea\u05e8 \u05e2\u05dc\u05d9\u05d5?",History:"\u05d4\u05d9\u05e1\u05d8\u05d5\u05e8\u05d9\u05d4",
|
12 |
"Loading...":"\u05d8\u05d5\u05e2\u05df...",Translated:"\u05ea\u05d5\u05e8\u05d2\u05dd",By:"\u05e2\u05dc \u05d9\u05d3\u05d9",At:"\u05d1",google:"\u05d2\u05d5\u05d2\u05dc",bing:"\u05d1\u05d9\u05e0\u05d2",apertium:"\u05d0\u05e4\u05e8\u05d8\u05d9\u05d5\u05dd","manual translation":"\u05ea\u05e8\u05d2\u05d5\u05dd \u05d9\u05d3\u05e0\u05d9","bing suggest":"\u05d4\u05e6\u05e2\u05d5\u05ea \u05d1\u05d9\u05e0\u05d2","google suggest":"\u05d4\u05e6\u05e2\u05d5\u05ea \u05d2\u05d5\u05d2\u05dc","apertium suggest":"\u05d4\u05e6\u05e2\u05d5\u05ea \u05d0\u05e4\u05e8\u05d8\u05d9\u05d5\u05dd",
|
1 |
/*
|
2 |
+
* Transposh v0.7.3
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
10 |
*/
|
11 |
t_jp.l={"Close without saving?":"\u05dc\u05e1\u05d2\u05d5\u05e8 \u05d1\u05dc\u05d9 \u05dc\u05e9\u05de\u05d5\u05e8?","You have made a change to the translation. Are you sure you want to discard it?":"\u05d1\u05d9\u05e6\u05e2\u05ea \u05e9\u05d9\u05e0\u05d5\u05d9 \u05d1\u05ea\u05e8\u05d2\u05d5\u05dd, \u05d4\u05d0\u05dd \u05d0\u05ea\u05d4 \u05d1\u05d8\u05d5\u05d7 \u05e9\u05d0\u05ea\u05d4 \u05e8\u05d5\u05e6\u05d4 \u05dc\u05d5\u05d5\u05ea\u05e8 \u05e2\u05dc\u05d9\u05d5?",History:"\u05d4\u05d9\u05e1\u05d8\u05d5\u05e8\u05d9\u05d4",
|
12 |
"Loading...":"\u05d8\u05d5\u05e2\u05df...",Translated:"\u05ea\u05d5\u05e8\u05d2\u05dd",By:"\u05e2\u05dc \u05d9\u05d3\u05d9",At:"\u05d1",google:"\u05d2\u05d5\u05d2\u05dc",bing:"\u05d1\u05d9\u05e0\u05d2",apertium:"\u05d0\u05e4\u05e8\u05d8\u05d9\u05d5\u05dd","manual translation":"\u05ea\u05e8\u05d2\u05d5\u05dd \u05d9\u05d3\u05e0\u05d9","bing suggest":"\u05d4\u05e6\u05e2\u05d5\u05ea \u05d1\u05d9\u05e0\u05d2","google suggest":"\u05d4\u05e6\u05e2\u05d5\u05ea \u05d2\u05d5\u05d2\u05dc","apertium suggest":"\u05d4\u05e6\u05e2\u05d5\u05ea \u05d0\u05e4\u05e8\u05d8\u05d9\u05d5\u05dd",
|
@@ -1,12 +1,12 @@
|
|
1 |
/*
|
2 |
-
* Transposh v0.7.
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
-
* Date:
|
10 |
*/
|
11 |
t_jp.l={"Close without saving?":"Chiudere senza salvare?","You have made a change to the translation. Are you sure you want to discard it?":"È stata fatta una modifica alla traduzione. Si è sicuri di volerla scartare?",History:"Storia","Loading...":"Caricamento...",Translated:"Tradotto",By:"Da",At:"A",google:"google",bing:"bing",apertium:"apertium","manual translation":"traduzione manuale","bing suggest":"bing suggerisce","google suggest":"google suggerisce","apertium suggest":"apertium suggerisce",
|
12 |
"Edit Translation":"Modifica Traduzione","Original text":"Testo Originale","read alternate translations":"leggi le traduzioni alternative","previous translation":"traduzione precedente","find on page":"trova nella pagina","next translation":"prossima traduzione","Translate to":"Tradotto in","view translation log":"guarda il log delle traduzioni","virtual keyboard":"tastiera virtuale","approve translation":"approva traduzione","delete":"cancella",Discard:"Scarta",Cancel:"Cancella"};
|
1 |
/*
|
2 |
+
* Transposh v0.7.3
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
10 |
*/
|
11 |
t_jp.l={"Close without saving?":"Chiudere senza salvare?","You have made a change to the translation. Are you sure you want to discard it?":"È stata fatta una modifica alla traduzione. Si è sicuri di volerla scartare?",History:"Storia","Loading...":"Caricamento...",Translated:"Tradotto",By:"Da",At:"A",google:"google",bing:"bing",apertium:"apertium","manual translation":"traduzione manuale","bing suggest":"bing suggerisce","google suggest":"google suggerisce","apertium suggest":"apertium suggerisce",
|
12 |
"Edit Translation":"Modifica Traduzione","Original text":"Testo Originale","read alternate translations":"leggi le traduzioni alternative","previous translation":"traduzione precedente","find on page":"trova nella pagina","next translation":"prossima traduzione","Translate to":"Tradotto in","view translation log":"guarda il log delle traduzioni","virtual keyboard":"tastiera virtuale","approve translation":"approva traduzione","delete":"cancella",Discard:"Scarta",Cancel:"Cancella"};
|
@@ -1,12 +1,12 @@
|
|
1 |
/*
|
2 |
-
* Transposh v0.7.
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
-
* Date:
|
10 |
*/
|
11 |
t_jp.l={"Close without saving?":"Sluiten zonder op te slaan?","You have made a change to the translation. Are you sure you want to discard it?":"Je hebt de vertaling aangepast. Weet je zeker dat je dat wilt annuleren?",History:"Geschiedenis","Loading...":"Aan het laden...",Translated:"Vertaald",By:"Door",At:"Op",google:"google",bing:"bing",apertium:"apertium","manual translation":"eigen vertaling","bing suggest":"bing suggestie","google suggest":"google suggestie","apertium suggest":"apertium suggestie",
|
12 |
"Edit Translation":"Vertaling aanpassen","Original text":"Oorspronkelijke tekst","read alternate translations":"bekijk alternatieve vertaling","previous translation":"vorige","find on page":"laat op de pagina zien","next translation":"volgende","Translate to":"Vertaal naar","view translation log":"Bekijk vertaallog","virtual keyboard":"virtueel toetsenbord","approve translation":"vertaling goedkeuren","delete":"verwijder",Discard:"weggooien",Cancel:"Annuleren"};
|
1 |
/*
|
2 |
+
* Transposh v0.7.3
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
10 |
*/
|
11 |
t_jp.l={"Close without saving?":"Sluiten zonder op te slaan?","You have made a change to the translation. Are you sure you want to discard it?":"Je hebt de vertaling aangepast. Weet je zeker dat je dat wilt annuleren?",History:"Geschiedenis","Loading...":"Aan het laden...",Translated:"Vertaald",By:"Door",At:"Op",google:"google",bing:"bing",apertium:"apertium","manual translation":"eigen vertaling","bing suggest":"bing suggestie","google suggest":"google suggestie","apertium suggest":"apertium suggestie",
|
12 |
"Edit Translation":"Vertaling aanpassen","Original text":"Oorspronkelijke tekst","read alternate translations":"bekijk alternatieve vertaling","previous translation":"vorige","find on page":"laat op de pagina zien","next translation":"volgende","Translate to":"Vertaal naar","view translation log":"Bekijk vertaallog","virtual keyboard":"virtueel toetsenbord","approve translation":"vertaling goedkeuren","delete":"verwijder",Discard:"weggooien",Cancel:"Annuleren"};
|
@@ -1,12 +1,12 @@
|
|
1 |
/*
|
2 |
-
* Transposh v0.7.
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
-
* Date:
|
10 |
*/
|
11 |
t_jp.l={"Close without saving?":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u0431\u0435\u0437 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f?","You have made a change to the translation. Are you sure you want to discard it?":"\u0412\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0435. \u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u044d\u0442\u043e?",
|
12 |
History:"\u0418\u0441\u0442\u043e\u0440\u0438\u044f","Loading...":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430...",Translated:"\u041f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043e",By:"",At:"\u0412",google:"",bing:"",apertium:"","manual translation":"\u0440\u0443\u0447\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0434","bing suggest":"\u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 bing","google suggest":"\u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 google",
|
1 |
/*
|
2 |
+
* Transposh v0.7.3
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
10 |
*/
|
11 |
t_jp.l={"Close without saving?":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u0431\u0435\u0437 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f?","You have made a change to the translation. Are you sure you want to discard it?":"\u0412\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0435. \u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u044d\u0442\u043e?",
|
12 |
History:"\u0418\u0441\u0442\u043e\u0440\u0438\u044f","Loading...":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430...",Translated:"\u041f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043e",By:"",At:"\u0412",google:"",bing:"",apertium:"","manual translation":"\u0440\u0443\u0447\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0434","bing suggest":"\u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 bing","google suggest":"\u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 google",
|
@@ -1,12 +1,12 @@
|
|
1 |
/*
|
2 |
-
* Transposh v0.7.
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
-
* Date:
|
10 |
*/
|
11 |
(function(a){function v(b,e){if(a.trim(e).length!==0){var c=function(){var d=a(this).attr("id").substr(a(this).attr("id").lastIndexOf("_")+1),f=a("#"+h+"img_"+d);a("#"+h+d).attr("data-source",1);f.removeClass("tr-icon-yellow").removeClass("tr-icon-green").addClass("tr-icon-yellow")};a("*[data-token='"+b+"'][data-hidden!='y']").html(e).each(c);a("*[data-token='"+b+"'][data-hidden='y']").attr("data-trans",e).each(c)}}function w(b,e){clearTimeout(p);i.push(b);n.push(e);v(b,e);p=setTimeout(function(){var c=
|
12 |
{ln0:t_jp.lang,sr0:o,translation_posted:"2",items:i.length},d;for(d=0;d<i.length;d+=1){c["tk"+d]=i[d];c["tr"+d]=n[d];q+=a("*[data-token='"+i[d]+"']").size()}a.ajax({type:"POST",url:t_jp.post_url,data:c,success:function(){var f=q/k*100;t_jp.progress&&a("#"+l).progressbar("value",f)}});n=[];i=[]},200)}function j(b,e){w(b,a("<div>"+a.trim(e)+"</div>").text());var c=(k-a("."+h+'[data-source=""]').size())/k*100;t_jp.progress&&a("#"+m).progressbar("value",c)}function x(b,e,c){var d="",f="";a(b).each(function(g){d+=
|
1 |
/*
|
2 |
+
* Transposh v0.7.3
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
10 |
*/
|
11 |
(function(a){function v(b,e){if(a.trim(e).length!==0){var c=function(){var d=a(this).attr("id").substr(a(this).attr("id").lastIndexOf("_")+1),f=a("#"+h+"img_"+d);a("#"+h+d).attr("data-source",1);f.removeClass("tr-icon-yellow").removeClass("tr-icon-green").addClass("tr-icon-yellow")};a("*[data-token='"+b+"'][data-hidden!='y']").html(e).each(c);a("*[data-token='"+b+"'][data-hidden='y']").attr("data-trans",e).each(c)}}function w(b,e){clearTimeout(p);i.push(b);n.push(e);v(b,e);p=setTimeout(function(){var c=
|
12 |
{ln0:t_jp.lang,sr0:o,translation_posted:"2",items:i.length},d;for(d=0;d<i.length;d+=1){c["tk"+d]=i[d];c["tr"+d]=n[d];q+=a("*[data-token='"+i[d]+"']").size()}a.ajax({type:"POST",url:t_jp.post_url,data:c,success:function(){var f=q/k*100;t_jp.progress&&a("#"+l).progressbar("value",f)}});n=[];i=[]},200)}function j(b,e){w(b,a("<div>"+a.trim(e)+"</div>").text());var c=(k-a("."+h+'[data-source=""]').size())/k*100;t_jp.progress&&a("#"+m).progressbar("value",c)}function x(b,e,c){var d="",f="";a(b).each(function(g){d+=
|
@@ -1,12 +1,12 @@
|
|
1 |
/*
|
2 |
-
* Transposh v0.7.
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
-
* Date:
|
10 |
*/
|
11 |
var timer,items=0,translations=[],tokens=[],langs=[],sources=[],BATCH_SIZE=128,pair_count=0,curr_pair=0;t_jp.MSN_APPID="FACA8E2DF8DCCECE0DC311C6E57DA98EFEFA9BC6";function make_progress(e,b){curr_pair+=1;jQuery("#progress_bar").progressbar("value",curr_pair/pair_count*100);jQuery("#p").text("("+b+") "+e);curr_pair===pair_count&&jQuery("#tr_loading").data("done",true)}
|
12 |
function ajax_translate_me(e,b,c,d){b=jQuery("<div>"+jQuery.trim(b)+"</div>").text();make_progress(b,c);clearTimeout(timer);items+=1;tokens.push(e);translations.push(b);langs.push(c);sources.push(d);timer=setTimeout(function(){var f={translation_posted:"2",items:items},a;for(a=0;a<items;a+=1){if(tokens[a]!==tokens[a-1])f["tk"+a]=tokens[a];if(langs[a]!==langs[a-1])f["ln"+a]=langs[a];if(translations[a]!==translations[a-1])f["tr"+a]=translations[a];if(sources[a]!==sources[a-1])f["sr"+a]=sources[a]}jQuery.ajax({type:"POST",
|
1 |
/*
|
2 |
+
* Transposh v0.7.3
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
10 |
*/
|
11 |
var timer,items=0,translations=[],tokens=[],langs=[],sources=[],BATCH_SIZE=128,pair_count=0,curr_pair=0;t_jp.MSN_APPID="FACA8E2DF8DCCECE0DC311C6E57DA98EFEFA9BC6";function make_progress(e,b){curr_pair+=1;jQuery("#progress_bar").progressbar("value",curr_pair/pair_count*100);jQuery("#p").text("("+b+") "+e);curr_pair===pair_count&&jQuery("#tr_loading").data("done",true)}
|
12 |
function ajax_translate_me(e,b,c,d){b=jQuery("<div>"+jQuery.trim(b)+"</div>").text();make_progress(b,c);clearTimeout(timer);items+=1;tokens.push(e);translations.push(b);langs.push(c);sources.push(d);timer=setTimeout(function(){var f={translation_posted:"2",items:items},a;for(a=0;a<items;a+=1){if(tokens[a]!==tokens[a-1])f["tk"+a]=tokens[a];if(langs[a]!==langs[a-1])f["ln"+a]=langs[a];if(translations[a]!==translations[a-1])f["tr"+a]=translations[a];if(sources[a]!==sources[a-1])f["sr"+a]=sources[a]}jQuery.ajax({type:"POST",
|
@@ -1,12 +1,12 @@
|
|
1 |
/*
|
2 |
-
* Transposh v0.7.
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
-
* Date:
|
10 |
*/
|
11 |
jQuery(function(){jQuery("#tr_anon").click(function(){if(jQuery("#tr_anon").attr("checked")){jQuery(".translateable").addClass("active").removeClass("translateable");jQuery("#sortable .active").each(function(){jQuery("input",this).val(jQuery(this).attr("id")+",v,t")})}jQuery("#yellowcolor").toggleClass("hidden")});jQuery("#sortable").sortable({placeholder:"highlight",update:function(b,a){a.item.unbind("click");a.item.one("click",function(c){c.stopImmediatePropagation();jQuery(this).click(clickfunction)})}});
|
12 |
jQuery("#sortable").disableSelection();jQuery("#changename").click(function(){jQuery(".langname").toggleClass("hidden");return false});jQuery("#selectall").click(function(){jQuery("#sortable .languages").addClass("active").removeClass("translateable");jQuery("#sortable .active").each(function(){jQuery("input",this).val(jQuery(this).attr("id")+",v,t")});return false});clickfunction=function(){if(jQuery(this).attr("id")!=jQuery("#default_list li").attr("id")){if(jQuery("#tr_anon").attr("checked"))jQuery(this).toggleClass("active");
|
1 |
/*
|
2 |
+
* Transposh v0.7.3
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
10 |
*/
|
11 |
jQuery(function(){jQuery("#tr_anon").click(function(){if(jQuery("#tr_anon").attr("checked")){jQuery(".translateable").addClass("active").removeClass("translateable");jQuery("#sortable .active").each(function(){jQuery("input",this).val(jQuery(this).attr("id")+",v,t")})}jQuery("#yellowcolor").toggleClass("hidden")});jQuery("#sortable").sortable({placeholder:"highlight",update:function(b,a){a.item.unbind("click");a.item.one("click",function(c){c.stopImmediatePropagation();jQuery(this).click(clickfunction)})}});
|
12 |
jQuery("#sortable").disableSelection();jQuery("#changename").click(function(){jQuery(".langname").toggleClass("hidden");return false});jQuery("#selectall").click(function(){jQuery("#sortable .languages").addClass("active").removeClass("translateable");jQuery("#sortable .active").each(function(){jQuery("input",this).val(jQuery(this).attr("id")+",v,t")});return false});clickfunction=function(){if(jQuery(this).attr("id")!=jQuery("#default_list li").attr("id")){if(jQuery("#tr_anon").attr("checked"))jQuery(this).toggleClass("active");
|
@@ -1,12 +1,12 @@
|
|
1 |
/*
|
2 |
-
* Transposh v0.7.
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
-
* Date:
|
10 |
*/
|
11 |
(function(a){function f(c){var d;if(typeof t_jp.l==="object"&&(d=t_jp.l[c]))return d;return c}function t(c,d,j){if(a.trim(d).length===0)d=a("[data-token='"+c+"']").attr("data-orig");var h=function(){var g=a(this).attr("id").substr(a(this).attr("id").lastIndexOf("_")+1),m=a(b+"img_"+g);a(b+g).attr("data-source",j);m.removeClass("tr-icon-yellow").removeClass("tr-icon-green");if(j==0)m.addClass("tr-icon-green");else j&&m.addClass("tr-icon-yellow")};a("*[data-token='"+c+"'][data-hidden!='y']").html(d).each(h);
|
12 |
a("*[data-token='"+c+"'][data-hidden='y']").attr("data-trans",d).each(h);a(b+"translation").data("origval",d);a(b+"translation").keyup()}function w(c,d){t(c,d,0);a.ajax({type:"POST",url:t_jp.post_url,data:{ln0:t_jp.lang,sr0:0,translation_posted:"2",items:1,tk0:c,tr0:d},success:function(){},error:function(j){alert("Error !!! failed to translate.\n\nServer's message: "+j.statusText)}})}function x(c,d){a.ajax({url:"http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q="+encodeURIComponent(c)+
|
@@ -33,6 +33,6 @@ l);a(b+"utlbar button:last").addClass("ui-corner-"+l).removeClass("ui-corner-"+k
|
|
33 |
var r={en:"English",af:"Afrikaans",sq:"Shqip",ar:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",az:"az\u0259rbaycan dili",eu:"Euskara",be:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f",bg:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438",ca:"Catal\u00e0",zh:"\u4e2d\u6587 - \u7b80\u4f53","zh-tw":"\u4e2d\u6587 - \u6f22\u5b57",hr:"Hrvatski",cs:"\u010ce\u0161tina",da:"Dansk",nl:"Nederlands",eo:"Esperanto",et:"Eesti keel",fi:"Suomi",
|
34 |
fr:"Fran\u00e7ais",gl:"Galego",ka:"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8",de:"Deutsch",el:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac",ht:"Krey\u00f2l ayisyen",he:"\u05e2\u05d1\u05e8\u05d9\u05ea",hi:"\u0939\u093f\u0928\u094d\u0926\u0940; \u0939\u093f\u0902\u0926\u0940",hu:"Magyar",is:"\u00cdslenska",id:"Bahasa Indonesia",ga:"Gaeilge",it:"Italiano",ja:"\u65e5\u672c\u8a9e",ko:"\uc6b0\ub9ac\ub9d0",la:"lat\u012bna",lv:"Latvie\u0161u valoda",lt:"Lietuvi\u0173 kalba",mk:"\u043c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438 \u0458\u0430\u0437\u0438\u043a",
|
35 |
ms:"Bahasa Melayu",mt:"Malti",no:"Norsk",fa:"\u0641\u0627\u0631\u0633\u06cc",pl:"Polski",pt:"Portugu\u00eas",ro:"Rom\u00e2n\u0103",ru:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",sr:"C\u0440\u043f\u0441\u043a\u0438 \u0458\u0435\u0437\u0438\u043a",sk:"Sloven\u010dina",sl:"Sloven\u0161\u010dina",es:"Espa\u00f1ol",sw:"Kiswahili",sv:"svenska",tl:"Tagalog",th:"\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22",tr:"T\u00fcrk\u00e7e",uk:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430",ur:"\u0627\u0631\u062f\u0648",
|
36 |
-
vi:"Ti\u1ebfng Vi\u1ec7t",cy:"Cymraeg",yi:"\u05d9\u05d9\u05b4\u05d3\u05d9\u05e9"},e=t_jp.prefix,b="#"+e,u="prev",v="next",l="right",k="left";if(a("html").attr("dir")==="rtl"){l="left";k="right";u="next";v="prev"}a("."+e).each(function(){var c=a(this).attr("id").substr(a(this).attr("id").lastIndexOf("_")+1),d;a(this).after('<span id="'+e+"img_"+c+'" class="tr-icon" title="'+a(this).attr("data-orig")+'"></span>');d=a(b+"img_"+c);d.click(function(){if(typeof a.fn.tabs!=="function"||typeof a.fn.
|
37 |
-
"function"){a.ajaxSetup({cache:true});a.getScript(t_jp.plugin_url+"/js/lazy.js",function(){a.xLazyLoader({js:t_jp.jQueryUI+"jquery-ui.min.js",css:t_jp.jQueryUI+"themes/"+t_jp.theme+"/jquery-ui.css",success:function(){t_jp.locale?a.xLazyLoader({js:[t_jp.plugin_url+"/js/l/"+t_jp.lang+".js"],success:function(){q(c)}}):q(c)}})})}else t_jp.locale?a.xLazyLoader({js:[t_jp.plugin_url+"/js/l/"+t_jp.lang+".js"],success:function(){q(c)}}):q(c);return false}).css({border:"0px",
|
38 |
-
"0")d.addClass("tr-icon-green");else a(this).attr("data-source")&&d.addClass("tr-icon-yellow");a(this).attr("data-hidden")==="y"&&d.css({opacity:"0.6"})})})(jQuery);
|
1 |
/*
|
2 |
+
* Transposh v0.7.3
|
3 |
* http://transposh.org/
|
4 |
*
|
5 |
* Copyright 2011, Team Transposh
|
6 |
* Licensed under the GPL Version 2 or higher.
|
7 |
* http://transposh.org/license
|
8 |
*
|
9 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
10 |
*/
|
11 |
(function(a){function f(c){var d;if(typeof t_jp.l==="object"&&(d=t_jp.l[c]))return d;return c}function t(c,d,j){if(a.trim(d).length===0)d=a("[data-token='"+c+"']").attr("data-orig");var h=function(){var g=a(this).attr("id").substr(a(this).attr("id").lastIndexOf("_")+1),m=a(b+"img_"+g);a(b+g).attr("data-source",j);m.removeClass("tr-icon-yellow").removeClass("tr-icon-green");if(j==0)m.addClass("tr-icon-green");else j&&m.addClass("tr-icon-yellow")};a("*[data-token='"+c+"'][data-hidden!='y']").html(d).each(h);
|
12 |
a("*[data-token='"+c+"'][data-hidden='y']").attr("data-trans",d).each(h);a(b+"translation").data("origval",d);a(b+"translation").keyup()}function w(c,d){t(c,d,0);a.ajax({type:"POST",url:t_jp.post_url,data:{ln0:t_jp.lang,sr0:0,translation_posted:"2",items:1,tk0:c,tr0:d},success:function(){},error:function(j){alert("Error !!! failed to translate.\n\nServer's message: "+j.statusText)}})}function x(c,d){a.ajax({url:"http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q="+encodeURIComponent(c)+
|
33 |
var r={en:"English",af:"Afrikaans",sq:"Shqip",ar:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",az:"az\u0259rbaycan dili",eu:"Euskara",be:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f",bg:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438",ca:"Catal\u00e0",zh:"\u4e2d\u6587 - \u7b80\u4f53","zh-tw":"\u4e2d\u6587 - \u6f22\u5b57",hr:"Hrvatski",cs:"\u010ce\u0161tina",da:"Dansk",nl:"Nederlands",eo:"Esperanto",et:"Eesti keel",fi:"Suomi",
|
34 |
fr:"Fran\u00e7ais",gl:"Galego",ka:"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8",de:"Deutsch",el:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac",ht:"Krey\u00f2l ayisyen",he:"\u05e2\u05d1\u05e8\u05d9\u05ea",hi:"\u0939\u093f\u0928\u094d\u0926\u0940; \u0939\u093f\u0902\u0926\u0940",hu:"Magyar",is:"\u00cdslenska",id:"Bahasa Indonesia",ga:"Gaeilge",it:"Italiano",ja:"\u65e5\u672c\u8a9e",ko:"\uc6b0\ub9ac\ub9d0",la:"lat\u012bna",lv:"Latvie\u0161u valoda",lt:"Lietuvi\u0173 kalba",mk:"\u043c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438 \u0458\u0430\u0437\u0438\u043a",
|
35 |
ms:"Bahasa Melayu",mt:"Malti",no:"Norsk",fa:"\u0641\u0627\u0631\u0633\u06cc",pl:"Polski",pt:"Portugu\u00eas",ro:"Rom\u00e2n\u0103",ru:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",sr:"C\u0440\u043f\u0441\u043a\u0438 \u0458\u0435\u0437\u0438\u043a",sk:"Sloven\u010dina",sl:"Sloven\u0161\u010dina",es:"Espa\u00f1ol",sw:"Kiswahili",sv:"svenska",tl:"Tagalog",th:"\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22",tr:"T\u00fcrk\u00e7e",uk:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430",ur:"\u0627\u0631\u062f\u0648",
|
36 |
+
vi:"Ti\u1ebfng Vi\u1ec7t",cy:"Cymraeg",yi:"\u05d9\u05d9\u05b4\u05d3\u05d9\u05e9"},e=t_jp.prefix,b="#"+e,u="prev",v="next",l="right",k="left";if(a("html").attr("dir")==="rtl"){l="left";k="right";u="next";v="prev"}a("."+e).each(function(){var c=a(this).attr("id").substr(a(this).attr("id").lastIndexOf("_")+1),d;a(this).after('<span id="'+e+"img_"+c+'" class="tr-icon" title="'+a(this).attr("data-orig")+'"></span>');d=a(b+"img_"+c);d.click(function(){if(typeof a.fn.tabs!=="function"||typeof a.fn.buttonset!==
|
37 |
+
"function"||typeof a.fn.dialog!=="function"){a.ajaxSetup({cache:true});a.getScript(t_jp.plugin_url+"/js/lazy.js",function(){a.xLazyLoader({js:t_jp.jQueryUI+"jquery-ui.min.js",css:t_jp.jQueryUI+"themes/"+t_jp.theme+"/jquery-ui.css",success:function(){t_jp.locale?a.xLazyLoader({js:[t_jp.plugin_url+"/js/l/"+t_jp.lang+".js"],success:function(){q(c)}}):q(c)}})})}else t_jp.locale?a.xLazyLoader({js:[t_jp.plugin_url+"/js/l/"+t_jp.lang+".js"],success:function(){q(c)}}):q(c);return false}).css({border:"0px",
|
38 |
+
margin:"1px",padding:"0px"});if(a(this).attr("data-source")==="0")d.addClass("tr-icon-green");else a(this).attr("data-source")&&d.addClass("tr-icon-yellow");a(this).attr("data-hidden")==="y"&&d.css({opacity:"0.6"})})})(jQuery);
|
@@ -4,7 +4,7 @@ Donate link: http://transposh.org/donate/
|
|
4 |
Tags: translation, widget, filter, buddypress, bilingual, multilingual, transposh, translate, language, crowdsourcing, context, wiki, RTL, Hebrew, Spanish, French, Russian, English, Arabic, Portuguese
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.1
|
7 |
-
Stable tag: 0.7.
|
8 |
|
9 |
Transposh filter allows in context quick translation of websites, it allows you to crowd-source the translation to your users
|
10 |
|
@@ -209,15 +209,22 @@ This version allows sorting of languages within the widget
|
|
209 |
* Hebrew translation by [Amir](http://colnect.com/he)
|
210 |
* Frontend Spanish translation by [Ignacio](http://colnect.com/es/collectors/collector/iflvico)
|
211 |
* Italian translation by Marco Rossi
|
212 |
-
* Persian translation by [Sushyant Zavarzadeh]
|
213 |
-
* Spanish translation by [Angel Torregrosa]
|
214 |
|
215 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
= 2011/03/01 - 0.7.2 =
|
217 |
* Added Italian translation by Marco Rossi
|
218 |
-
* Added Persian translation by [Sushyant Zavarzadeh]
|
219 |
-
* Added Spanish translation by [Angel Torregrosa]
|
220 |
-
* Fixed some url rewriting bugs reported by [Angel Torregrosa]
|
221 |
* The two years anniversary release
|
222 |
= 2011/01/30 - 0.7.1 =
|
223 |
* Fix excerpt for tp_language marked posts
|
4 |
Tags: translation, widget, filter, buddypress, bilingual, multilingual, transposh, translate, language, crowdsourcing, context, wiki, RTL, Hebrew, Spanish, French, Russian, English, Arabic, Portuguese
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 3.1
|
7 |
+
Stable tag: 0.7.3
|
8 |
|
9 |
Transposh filter allows in context quick translation of websites, it allows you to crowd-source the translation to your users
|
10 |
|
209 |
* Hebrew translation by [Amir](http://colnect.com/he)
|
210 |
* Frontend Spanish translation by [Ignacio](http://colnect.com/es/collectors/collector/iflvico)
|
211 |
* Italian translation by Marco Rossi
|
212 |
+
* Persian translation by [Sushyant Zavarzadeh](http://zavarzadeh.org)
|
213 |
+
* Spanish translation by [Angel Torregrosa](http://wordp.relatividad.org)
|
214 |
|
215 |
== Changelog ==
|
216 |
+
= 2011/03/24 - 0.7.3 =
|
217 |
+
[youtube http://www.youtube.com/watch?v=X0CGgYeBiHg]
|
218 |
+
* Shortcode support - see http://trac.transposh.org/wiki/ShortCodes
|
219 |
+
* Make bots redirect away from edit pages
|
220 |
+
* Avoid creation of session files for bots
|
221 |
+
* Fix for languages that are only visible to translators
|
222 |
+
* Fix another possible jQueryUI conflict
|
223 |
= 2011/03/01 - 0.7.2 =
|
224 |
* Added Italian translation by Marco Rossi
|
225 |
+
* Added Persian translation by [Sushyant Zavarzadeh](http://zavarzadeh.org)
|
226 |
+
* Added Spanish translation by [Angel Torregrosa](http://wordp.relatividad.org)
|
227 |
+
* Fixed some url rewriting bugs reported by [Angel Torregrosa](http://wordp.relatividad.org)
|
228 |
* The two years anniversary release
|
229 |
= 2011/01/30 - 0.7.1 =
|
230 |
* Fix excerpt for tp_language marked posts
|
@@ -5,7 +5,7 @@
|
|
5 |
Plugin URI: http://transposh.org/
|
6 |
Description: Translation filter for WordPress, After enabling please set languages at the <a href="options-general.php?page=transposh">the options page</a> Want to help? visit our development site at <a href="http://trac.transposh.org/">trac.transposh.org</a>.
|
7 |
Author: Team Transposh
|
8 |
-
Version: 0.7.
|
9 |
Author URI: http://transposh.org/
|
10 |
License: GPL (http://www.gnu.org/licenses/gpl.txt)
|
11 |
Text Domain: transposh
|
@@ -13,14 +13,14 @@
|
|
13 |
*/
|
14 |
|
15 |
/*
|
16 |
-
* Transposh v0.7.
|
17 |
* http://transposh.org/
|
18 |
*
|
19 |
* Copyright 2011, Team Transposh
|
20 |
* Licensed under the GPL Version 2 or higher.
|
21 |
* http://transposh.org/license
|
22 |
*
|
23 |
-
* Date:
|
24 |
*/
|
25 |
|
26 |
//avoid direct calls to this file where wp core files not present
|
@@ -165,11 +165,14 @@ class transposh_plugin {
|
|
165 |
// debug function for bad redirects
|
166 |
add_filter('wp_redirect', array(&$this, 'on_wp_redirect'), 10, 2);
|
167 |
add_filter('redirect_canonical', array(&$this, 'on_redirect_canonical'), 10, 2);
|
|
|
|
|
|
|
168 |
//
|
169 |
// FUTURE add_action('update-custom_transposh', array(&$this, 'update'));
|
170 |
// CHECK TODO!!!!!!!!!!!!
|
171 |
$this->tgl = transposh_utils::get_language_from_url($_SERVER['REQUEST_URI'], $this->home_url);
|
172 |
-
if (!$this->options->is_viewable_language($this->tgl)) {
|
173 |
$this->tgl = '';
|
174 |
}
|
175 |
|
@@ -446,6 +449,12 @@ class transposh_plugin {
|
|
446 |
*/
|
447 |
// TODO TOCHECK!!!!!!!!!!!!!!!!!!!!!!!!!!1
|
448 |
$this->target_language = $this->tgl;
|
|
|
|
|
|
|
|
|
|
|
|
|
449 |
if (!$this->target_language)
|
450 |
$this->target_language = $this->options->get_default_language();
|
451 |
|
@@ -457,9 +466,12 @@ class transposh_plugin {
|
|
457 |
$wp_locale->text_direction = 'rtl';
|
458 |
}
|
459 |
|
460 |
-
// we'll go into this code of redirection only if we have options that need it (and no bot is involved, for the non-cookie)
|
|
|
|
|
461 |
if (($this->options->get_enable_detect_language() || $this->options->get_widget_allow_set_default_language()) &&
|
462 |
-
!($this->is_special_page($_SERVER['REQUEST_URI']) || strpos($_SERVER['HTTP_REFERER'], $this->home_url) !== false)
|
|
|
463 |
// we are starting a session if needed
|
464 |
if (!session_id()) session_start();
|
465 |
// no redirections if we already redirected in this session or we suspect cyclic redirections
|
@@ -481,7 +493,7 @@ class transposh_plugin {
|
|
481 |
} else {
|
482 |
$bestlang = transposh_utils::prefered_language(explode(',', $this->options->get_viewable_langs()), $this->options->get_default_language());
|
483 |
// we won't redirect if we should not, or this is a presumable bot
|
484 |
-
if ($bestlang && $bestlang != $this->target_language && $this->options->get_enable_detect_language()
|
485 |
$url = transposh_utils::rewrite_url_lang_param($_SERVER['REQUEST_URI'], $this->home_url, $this->enable_permalinks_rewrite, $bestlang, $this->edit_mode);
|
486 |
if ($this->options->is_default_language($bestlang))
|
487 |
//TODO - fix wrt translation
|
@@ -509,6 +521,11 @@ class transposh_plugin {
|
|
509 |
}
|
510 |
if (isset($wp->query_vars[EDIT_PARAM]) && $wp->query_vars[EDIT_PARAM] && $this->is_editing_permitted()) {
|
511 |
$this->edit_mode = true;
|
|
|
|
|
|
|
|
|
|
|
512 |
} else {
|
513 |
$this->edit_mode = false;
|
514 |
}
|
@@ -1085,6 +1102,43 @@ class transposh_plugin {
|
|
1085 |
return $locale;
|
1086 |
}
|
1087 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1088 |
}
|
1089 |
|
1090 |
$my_transposh_plugin = new transposh_plugin();
|
5 |
Plugin URI: http://transposh.org/
|
6 |
Description: Translation filter for WordPress, After enabling please set languages at the <a href="options-general.php?page=transposh">the options page</a> Want to help? visit our development site at <a href="http://trac.transposh.org/">trac.transposh.org</a>.
|
7 |
Author: Team Transposh
|
8 |
+
Version: 0.7.3
|
9 |
Author URI: http://transposh.org/
|
10 |
License: GPL (http://www.gnu.org/licenses/gpl.txt)
|
11 |
Text Domain: transposh
|
13 |
*/
|
14 |
|
15 |
/*
|
16 |
+
* Transposh v0.7.3
|
17 |
* http://transposh.org/
|
18 |
*
|
19 |
* Copyright 2011, Team Transposh
|
20 |
* Licensed under the GPL Version 2 or higher.
|
21 |
* http://transposh.org/license
|
22 |
*
|
23 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
24 |
*/
|
25 |
|
26 |
//avoid direct calls to this file where wp core files not present
|
165 |
// debug function for bad redirects
|
166 |
add_filter('wp_redirect', array(&$this, 'on_wp_redirect'), 10, 2);
|
167 |
add_filter('redirect_canonical', array(&$this, 'on_redirect_canonical'), 10, 2);
|
168 |
+
|
169 |
+
// support shortcodes
|
170 |
+
add_shortcode('tp', array(&$this, 'tp_shortcode'));
|
171 |
//
|
172 |
// FUTURE add_action('update-custom_transposh', array(&$this, 'update'));
|
173 |
// CHECK TODO!!!!!!!!!!!!
|
174 |
$this->tgl = transposh_utils::get_language_from_url($_SERVER['REQUEST_URI'], $this->home_url);
|
175 |
+
if (!$this->options->is_viewable_language($this->tgl) && !$this->options->is_editable_language($this->tgl)) {
|
176 |
$this->tgl = '';
|
177 |
}
|
178 |
|
449 |
*/
|
450 |
// TODO TOCHECK!!!!!!!!!!!!!!!!!!!!!!!!!!1
|
451 |
$this->target_language = $this->tgl;
|
452 |
+
// avoid viewing of editable languages which are not viewable by non translators
|
453 |
+
if (!$this->options->is_viewable_language($this->target_language) &&
|
454 |
+
$this->options->is_editable_language($this->target_language) &&
|
455 |
+
!$this->is_translator()) {
|
456 |
+
$this->target_language = '';
|
457 |
+
}
|
458 |
if (!$this->target_language)
|
459 |
$this->target_language = $this->options->get_default_language();
|
460 |
|
466 |
$wp_locale->text_direction = 'rtl';
|
467 |
}
|
468 |
|
469 |
+
// we'll go into this code of redirection only if we have options that need it (and no bot is involved, for the non-cookie)
|
470 |
+
// and this is not a special page or one that is refered by our site
|
471 |
+
// bots can skip this altogether
|
472 |
if (($this->options->get_enable_detect_language() || $this->options->get_widget_allow_set_default_language()) &&
|
473 |
+
!($this->is_special_page($_SERVER['REQUEST_URI']) || strpos($_SERVER['HTTP_REFERER'], $this->home_url) !== false) &&
|
474 |
+
!(transposh_utils::is_bot())) {
|
475 |
// we are starting a session if needed
|
476 |
if (!session_id()) session_start();
|
477 |
// no redirections if we already redirected in this session or we suspect cyclic redirections
|
493 |
} else {
|
494 |
$bestlang = transposh_utils::prefered_language(explode(',', $this->options->get_viewable_langs()), $this->options->get_default_language());
|
495 |
// we won't redirect if we should not, or this is a presumable bot
|
496 |
+
if ($bestlang && $bestlang != $this->target_language && $this->options->get_enable_detect_language()) {
|
497 |
$url = transposh_utils::rewrite_url_lang_param($_SERVER['REQUEST_URI'], $this->home_url, $this->enable_permalinks_rewrite, $bestlang, $this->edit_mode);
|
498 |
if ($this->options->is_default_language($bestlang))
|
499 |
//TODO - fix wrt translation
|
521 |
}
|
522 |
if (isset($wp->query_vars[EDIT_PARAM]) && $wp->query_vars[EDIT_PARAM] && $this->is_editing_permitted()) {
|
523 |
$this->edit_mode = true;
|
524 |
+
// redirect bots away from edit pages to avoid double indexing
|
525 |
+
if (transposh_utils::is_bot()) {
|
526 |
+
$this->tp_redirect(transposh_utils::rewrite_url_lang_param($_SERVER["REQUEST_URI"], $this->home_url, $this->enable_permalinks_rewrite, transposh_utils::get_language_from_url($_SERVER["REQUEST_URI"], $this->home_url), false), 301);
|
527 |
+
exit;
|
528 |
+
}
|
529 |
} else {
|
530 |
$this->edit_mode = false;
|
531 |
}
|
1102 |
return $locale;
|
1103 |
}
|
1104 |
|
1105 |
+
/**
|
1106 |
+
* Support for tp shortcodes - [tp]
|
1107 |
+
* @see http://trac.transposh.org/wiki/ShortCodes
|
1108 |
+
* @param array $atts
|
1109 |
+
* @param string $content
|
1110 |
+
* @return string
|
1111 |
+
*/
|
1112 |
+
function tp_shortcode($atts, $content = null) {
|
1113 |
+
$only_class = '';
|
1114 |
+
$lang = '';
|
1115 |
+
$nt_class = '';
|
1116 |
+
|
1117 |
+
if (isset($atts['not_in'])) {
|
1118 |
+
if (stripos($atts['not_in'], $this->target_language) !== false) {
|
1119 |
+
return;
|
1120 |
+
}
|
1121 |
+
}
|
1122 |
+
|
1123 |
+
if (isset($atts['lang'])) {
|
1124 |
+
$lang = ' lang="' . $atts['lang'] . '"';
|
1125 |
+
}
|
1126 |
+
|
1127 |
+
if (isset($atts['only'])) {
|
1128 |
+
$only_class = ' class="' . ONLY_THISLANGUAGE_CLASS . '"';
|
1129 |
+
}
|
1130 |
+
|
1131 |
+
if (isset($atts['no_translate'])) {
|
1132 |
+
$nt_class = ' class="' . NO_TRANSLATE_CLASS . '"';
|
1133 |
+
}
|
1134 |
+
|
1135 |
+
if ($lang || $only_class || $nt_class) {
|
1136 |
+
return '<span ' . $only_class . $nt_class . $lang . '>' . do_shortcode($content) . '</span>';
|
1137 |
+
} else {
|
1138 |
+
return do_shortcode($content);
|
1139 |
+
}
|
1140 |
+
}
|
1141 |
+
|
1142 |
}
|
1143 |
|
1144 |
$my_transposh_plugin = new transposh_plugin();
|
@@ -11,14 +11,14 @@
|
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
-
* Transposh v0.7.
|
15 |
* http://transposh.org/
|
16 |
*
|
17 |
* Copyright 2011, Team Transposh
|
18 |
* Licensed under the GPL Version 2 or higher.
|
19 |
* http://transposh.org/license
|
20 |
*
|
21 |
-
* Date:
|
22 |
*/
|
23 |
|
24 |
/*
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
+
* Transposh v0.7.3
|
15 |
* http://transposh.org/
|
16 |
*
|
17 |
* Copyright 2011, Team Transposh
|
18 |
* Licensed under the GPL Version 2 or higher.
|
19 |
* http://transposh.org/license
|
20 |
*
|
21 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
22 |
*/
|
23 |
|
24 |
/*
|
@@ -11,14 +11,14 @@
|
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
-
* Transposh v0.7.
|
15 |
* http://transposh.org/
|
16 |
*
|
17 |
* Copyright 2011, Team Transposh
|
18 |
* Licensed under the GPL Version 2 or higher.
|
19 |
* http://transposh.org/license
|
20 |
*
|
21 |
-
* Date:
|
22 |
*/
|
23 |
|
24 |
/**
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
+
* Transposh v0.7.3
|
15 |
* http://transposh.org/
|
16 |
*
|
17 |
* Copyright 2011, Team Transposh
|
18 |
* Licensed under the GPL Version 2 or higher.
|
19 |
* http://transposh.org/license
|
20 |
*
|
21 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
22 |
*/
|
23 |
|
24 |
/**
|
@@ -11,14 +11,14 @@
|
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
-
* Transposh v0.7.
|
15 |
* http://transposh.org/
|
16 |
*
|
17 |
* Copyright 2011, Team Transposh
|
18 |
* Licensed under the GPL Version 2 or higher.
|
19 |
* http://transposh.org/license
|
20 |
*
|
21 |
-
* Date:
|
22 |
*/
|
23 |
|
24 |
/**
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
+
* Transposh v0.7.3
|
15 |
* http://transposh.org/
|
16 |
*
|
17 |
* Copyright 2011, Team Transposh
|
18 |
* Licensed under the GPL Version 2 or higher.
|
19 |
* http://transposh.org/license
|
20 |
*
|
21 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
22 |
*/
|
23 |
|
24 |
/**
|
@@ -11,14 +11,14 @@
|
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
-
* Transposh v0.7.
|
15 |
* http://transposh.org/
|
16 |
*
|
17 |
* Copyright 2011, Team Transposh
|
18 |
* Licensed under the GPL Version 2 or higher.
|
19 |
* http://transposh.org/license
|
20 |
*
|
21 |
-
* Date:
|
22 |
*/
|
23 |
|
24 |
/**
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
+
* Transposh v0.7.3
|
15 |
* http://transposh.org/
|
16 |
*
|
17 |
* Copyright 2011, Team Transposh
|
18 |
* Licensed under the GPL Version 2 or higher.
|
19 |
* http://transposh.org/license
|
20 |
*
|
21 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
22 |
*/
|
23 |
|
24 |
/**
|
@@ -11,14 +11,14 @@
|
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
-
* Transposh v0.7.
|
15 |
* http://transposh.org/
|
16 |
*
|
17 |
* Copyright 2011, Team Transposh
|
18 |
* Licensed under the GPL Version 2 or higher.
|
19 |
* http://transposh.org/license
|
20 |
*
|
21 |
-
* Date:
|
22 |
*/
|
23 |
|
24 |
/**
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
+
* Transposh v0.7.3
|
15 |
* http://transposh.org/
|
16 |
*
|
17 |
* Copyright 2011, Team Transposh
|
18 |
* Licensed under the GPL Version 2 or higher.
|
19 |
* http://transposh.org/license
|
20 |
*
|
21 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
22 |
*/
|
23 |
|
24 |
/**
|
@@ -11,14 +11,14 @@
|
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
-
* Transposh v0.7.
|
15 |
* http://transposh.org/
|
16 |
*
|
17 |
* Copyright 2011, Team Transposh
|
18 |
* Licensed under the GPL Version 2 or higher.
|
19 |
* http://transposh.org/license
|
20 |
*
|
21 |
-
* Date:
|
22 |
*/
|
23 |
|
24 |
/**
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
+
* Transposh v0.7.3
|
15 |
* http://transposh.org/
|
16 |
*
|
17 |
* Copyright 2011, Team Transposh
|
18 |
* Licensed under the GPL Version 2 or higher.
|
19 |
* http://transposh.org/license
|
20 |
*
|
21 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
22 |
*/
|
23 |
|
24 |
/**
|
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
* Transposh v0.7.
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
-
* Date:
|
12 |
*/
|
13 |
|
14 |
/*
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
* Transposh v0.7.3
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
12 |
*/
|
13 |
|
14 |
/*
|
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
* Transposh v0.7.
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
-
* Date:
|
12 |
*/
|
13 |
|
14 |
/*
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
* Transposh v0.7.3
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
12 |
*/
|
13 |
|
14 |
/*
|
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
* Transposh v0.7.
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
-
* Date:
|
12 |
*/
|
13 |
|
14 |
/*
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
* Transposh v0.7.3
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
12 |
*/
|
13 |
|
14 |
/*
|
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
* Transposh v0.7.
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
-
* Date:
|
12 |
*/
|
13 |
|
14 |
/*
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
* Transposh v0.7.3
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
12 |
*/
|
13 |
|
14 |
/*
|
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
* Transposh v0.7.
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
-
* Date:
|
12 |
*/
|
13 |
|
14 |
/**
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
* Transposh v0.7.3
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
12 |
*/
|
13 |
|
14 |
/**
|
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
* Transposh v0.7.
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
-
* Date:
|
12 |
*/
|
13 |
|
14 |
// OLD Options - To be removed
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
* Transposh v0.7.3
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
12 |
*/
|
13 |
|
14 |
// OLD Options - To be removed
|
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
* Transposh v0.7.
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
-
* Date:
|
12 |
*/
|
13 |
|
14 |
/*
|
@@ -172,7 +172,7 @@ class transposh_postpublish {
|
|
172 |
*/
|
173 |
function transposh_postpublish_box() {
|
174 |
// the nonce will help double translation if time has passed
|
175 |
-
if (get_post_meta($_GET['post'], 'transposh_can_translate', true))
|
176 |
$this->just_published = true;
|
177 |
|
178 |
if ($this->just_published) {
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
* Transposh v0.7.3
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
12 |
*/
|
13 |
|
14 |
/*
|
172 |
*/
|
173 |
function transposh_postpublish_box() {
|
174 |
// the nonce will help double translation if time has passed
|
175 |
+
if (isset($_GET['post']) && get_post_meta($_GET['post'], 'transposh_can_translate', true))
|
176 |
$this->just_published = true;
|
177 |
|
178 |
if ($this->just_published) {
|
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
* Transposh v0.7.
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
-
* Date:
|
12 |
*/
|
13 |
|
14 |
/*
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
* Transposh v0.7.3
|
5 |
* http://transposh.org/
|
6 |
*
|
7 |
* Copyright 2011, Team Transposh
|
8 |
* Licensed under the GPL Version 2 or higher.
|
9 |
* http://transposh.org/license
|
10 |
*
|
11 |
+
* Date: Thu, 24 Mar 2011 12:54:20 +0200
|
12 |
*/
|
13 |
|
14 |
/*
|