qTranslate X - Version 2.7.8

Version Description

  • user-friendly activation hook to deactivate/import/export other qTranslate forks.
  • import/export settings from other forks
Download this release

Release Info

Developer johnclause
Plugin Icon wp plugin qTranslate X
Version 2.7.8
Comparing to
See all releases

Version 2.7.8

Files changed (322) hide show
  1. admin/activation_hook.php +150 -0
  2. admin/import_export.php +131 -0
  3. arrowdown.png +0 -0
  4. arrowup.png +0 -0
  5. flags/aa.png +0 -0
  6. flags/ad.alt.png +0 -0
  7. flags/ad.png +0 -0
  8. flags/ae.png +0 -0
  9. flags/af.png +0 -0
  10. flags/ag.png +0 -0
  11. flags/ai.alt.png +0 -0
  12. flags/ai.png +0 -0
  13. flags/al.png +0 -0
  14. flags/am.png +0 -0
  15. flags/an.png +0 -0
  16. flags/ao.png +0 -0
  17. flags/aq.png +0 -0
  18. flags/ar.alt.png +0 -0
  19. flags/ar.png +0 -0
  20. flags/arle.png +0 -0
  21. flags/as.png +0 -0
  22. flags/at.alt.png +0 -0
  23. flags/at.png +0 -0
  24. flags/au.png +0 -0
  25. flags/aw.png +0 -0
  26. flags/ax.png +0 -0
  27. flags/az.png +0 -0
  28. flags/ba.png +0 -0
  29. flags/bb.png +0 -0
  30. flags/bd.png +0 -0
  31. flags/be.png +0 -0
  32. flags/bf.png +0 -0
  33. flags/bg.png +0 -0
  34. flags/bh.png +0 -0
  35. flags/bi.alt.png +0 -0
  36. flags/bi.png +0 -0
  37. flags/bj.png +0 -0
  38. flags/bl.png +0 -0
  39. flags/bm.png +0 -0
  40. flags/bn.png +0 -0
  41. flags/bo.png +0 -0
  42. flags/bq.png +0 -0
  43. flags/br.png +0 -0
  44. flags/bs.png +0 -0
  45. flags/bt.png +0 -0
  46. flags/bv.png +0 -0
  47. flags/bw.png +0 -0
  48. flags/by.png +0 -0
  49. flags/bz.png +0 -0
  50. flags/ca.alt.png +0 -0
  51. flags/ca.png +0 -0
  52. flags/cc.alt.png +0 -0
  53. flags/cc.png +0 -0
  54. flags/cd.png +0 -0
  55. flags/cf.png +0 -0
  56. flags/cg.png +0 -0
  57. flags/ch.png +0 -0
  58. flags/ci.png +0 -0
  59. flags/ck.png +0 -0
  60. flags/cl.png +0 -0
  61. flags/cm.png +0 -0
  62. flags/cn.png +0 -0
  63. flags/co.png +0 -0
  64. flags/cr.alt.png +0 -0
  65. flags/cr.png +0 -0
  66. flags/cs.png +0 -0
  67. flags/cu.png +0 -0
  68. flags/cv.png +0 -0
  69. flags/cw.png +0 -0
  70. flags/cx.png +0 -0
  71. flags/cy.png +0 -0
  72. flags/cz.png +0 -0
  73. flags/de.png +0 -0
  74. flags/dj.png +0 -0
  75. flags/dk.png +0 -0
  76. flags/dm.png +0 -0
  77. flags/do.png +0 -0
  78. flags/dz.png +0 -0
  79. flags/ec.alt.png +0 -0
  80. flags/ec.png +0 -0
  81. flags/ee.png +0 -0
  82. flags/eg.png +0 -0
  83. flags/eh.alt.png +0 -0
  84. flags/eh.png +0 -0
  85. flags/eo.png +0 -0
  86. flags/er.png +0 -0
  87. flags/es.alt.png +0 -0
  88. flags/es.png +0 -0
  89. flags/et.alt.png +0 -0
  90. flags/et.png +0 -0
  91. flags/eu.png +0 -0
  92. flags/fi.png +0 -0
  93. flags/fj.png +0 -0
  94. flags/fk.png +0 -0
  95. flags/fm.png +0 -0
  96. flags/fo.png +0 -0
  97. flags/fr.png +0 -0
  98. flags/ga.png +0 -0
  99. flags/galego.png +0 -0
  100. flags/gb.png +0 -0
  101. flags/gd.png +0 -0
  102. flags/ge.png +0 -0
  103. flags/gf.png +0 -0
  104. flags/gg.png +0 -0
  105. flags/gh.png +0 -0
  106. flags/gi.png +0 -0
  107. flags/gl.png +0 -0
  108. flags/gm.png +0 -0
  109. flags/gn.png +0 -0
  110. flags/gp.png +0 -0
  111. flags/gq.png +0 -0
  112. flags/gr.png +0 -0
  113. flags/gs.png +0 -0
  114. flags/gt.alt.png +0 -0
  115. flags/gt.png +0 -0
  116. flags/gu.png +0 -0
  117. flags/gw.png +0 -0
  118. flags/gy.png +0 -0
  119. flags/hk.png +0 -0
  120. flags/hm.png +0 -0
  121. flags/hn.png +0 -0
  122. flags/hr.png +0 -0
  123. flags/ht.alt.png +0 -0
  124. flags/ht.png +0 -0
  125. flags/hu.png +0 -0
  126. flags/id.png +0 -0
  127. flags/ie.png +0 -0
  128. flags/il.png +0 -0
  129. flags/im.png +0 -0
  130. flags/in.png +0 -0
  131. flags/io.png +0 -0
  132. flags/iq.png +0 -0
  133. flags/ir.png +0 -0
  134. flags/is.png +0 -0
  135. flags/it.png +0 -0
  136. flags/je.png +0 -0
  137. flags/jm.png +0 -0
  138. flags/jo.png +0 -0
  139. flags/jp.png +0 -0
  140. flags/ke.png +0 -0
  141. flags/kg.png +0 -0
  142. flags/kh.png +0 -0
  143. flags/ki.png +0 -0
  144. flags/km.png +0 -0
  145. flags/kn.png +0 -0
  146. flags/kp.png +0 -0
  147. flags/kr.png +0 -0
  148. flags/kw.png +0 -0
  149. flags/ky.png +0 -0
  150. flags/kz.png +0 -0
  151. flags/la.png +0 -0
  152. flags/lb.png +0 -0
  153. flags/lc.png +0 -0
  154. flags/li.png +0 -0
  155. flags/lk.png +0 -0
  156. flags/lr.png +0 -0
  157. flags/ls.png +0 -0
  158. flags/lt.png +0 -0
  159. flags/lu.png +0 -0
  160. flags/lv.png +0 -0
  161. flags/ly.png +0 -0
  162. flags/ma.png +0 -0
  163. flags/mc.png +0 -0
  164. flags/md.png +0 -0
  165. flags/me.png +0 -0
  166. flags/mf.png +0 -0
  167. flags/mg.png +0 -0
  168. flags/mh.png +0 -0
  169. flags/mk.png +0 -0
  170. flags/ml.png +0 -0
  171. flags/mm.png +0 -0
  172. flags/mn.png +0 -0
  173. flags/mo.png +0 -0
  174. flags/mp.png +0 -0
  175. flags/mq.png +0 -0
  176. flags/mr.png +0 -0
  177. flags/ms.png +0 -0
  178. flags/mt.png +0 -0
  179. flags/mu.png +0 -0
  180. flags/mv.png +0 -0
  181. flags/mw.png +0 -0
  182. flags/mx.png +0 -0
  183. flags/my.png +0 -0
  184. flags/mz.png +0 -0
  185. flags/na.png +0 -0
  186. flags/nc.png +0 -0
  187. flags/ne.png +0 -0
  188. flags/nf.png +0 -0
  189. flags/ng.png +0 -0
  190. flags/ni.alt.png +0 -0
  191. flags/ni.png +0 -0
  192. flags/nl.png +0 -0
  193. flags/no.png +0 -0
  194. flags/np.png +0 -0
  195. flags/nr.png +0 -0
  196. flags/nu.png +0 -0
  197. flags/nz.png +0 -0
  198. flags/om.png +0 -0
  199. flags/pa.png +0 -0
  200. flags/pe.png +0 -0
  201. flags/pf.alt.png +0 -0
  202. flags/pf.png +0 -0
  203. flags/pg.png +0 -0
  204. flags/ph.png +0 -0
  205. flags/pk.png +0 -0
  206. flags/pl.png +0 -0
  207. flags/pm.png +0 -0
  208. flags/pn.png +0 -0
  209. flags/pr.png +0 -0
  210. flags/ps.png +0 -0
  211. flags/pt.png +0 -0
  212. flags/pw.png +0 -0
  213. flags/py.png +0 -0
  214. flags/qa.png +0 -0
  215. flags/re.png +0 -0
  216. flags/ro.png +0 -0
  217. flags/rs.png +0 -0
  218. flags/ru.png +0 -0
  219. flags/rw.png +0 -0
  220. flags/sa.png +0 -0
  221. flags/sb.png +0 -0
  222. flags/sc.png +0 -0
  223. flags/sd.png +0 -0
  224. flags/se.png +0 -0
  225. flags/sg.png +0 -0
  226. flags/sh.png +0 -0
  227. flags/si.png +0 -0
  228. flags/sj.png +0 -0
  229. flags/sk.png +0 -0
  230. flags/sl.png +0 -0
  231. flags/sm.png +0 -0
  232. flags/sn.png +0 -0
  233. flags/so.png +0 -0
  234. flags/sr.png +0 -0
  235. flags/ss.png +0 -0
  236. flags/st.png +0 -0
  237. flags/sv.alt.png +0 -0
  238. flags/sv.png +0 -0
  239. flags/sx.png +0 -0
  240. flags/sy.png +0 -0
  241. flags/sz.png +0 -0
  242. flags/tc.png +0 -0
  243. flags/td.png +0 -0
  244. flags/tf.png +0 -0
  245. flags/tg.png +0 -0
  246. flags/th.png +0 -0
  247. flags/tj.png +0 -0
  248. flags/tk.png +0 -0
  249. flags/tl.png +0 -0
  250. flags/tm.png +0 -0
  251. flags/tn.png +0 -0
  252. flags/to.png +0 -0
  253. flags/tr.png +0 -0
  254. flags/tt.png +0 -0
  255. flags/tv.png +0 -0
  256. flags/tw.png +0 -0
  257. flags/tz.png +0 -0
  258. flags/ua.png +0 -0
  259. flags/ug.png +0 -0
  260. flags/uk.png +0 -0
  261. flags/um.png +0 -0
  262. flags/us.png +0 -0
  263. flags/uy.png +0 -0
  264. flags/uz.png +0 -0
  265. flags/va.png +0 -0
  266. flags/vc.png +0 -0
  267. flags/ve.png +0 -0
  268. flags/vg.png +0 -0
  269. flags/vi.png +0 -0
  270. flags/vn.png +0 -0
  271. flags/vu.png +0 -0
  272. flags/wf.alt.png +0 -0
  273. flags/wf.png +0 -0
  274. flags/ws.png +0 -0
  275. flags/ye.png +0 -0
  276. flags/yt.png +0 -0
  277. flags/yu.png +0 -0
  278. flags/za.png +0 -0
  279. flags/zm.png +0 -0
  280. flags/zw.png +0 -0
  281. flags/zz.png +0 -0
  282. lang/qtranslate-az_AZ.mo +0 -0
  283. lang/qtranslate-bg_BG.mo +0 -0
  284. lang/qtranslate-cs_CZ.mo +0 -0
  285. lang/qtranslate-da_DK.mo +0 -0
  286. lang/qtranslate-de_DE.mo +0 -0
  287. lang/qtranslate-eo.mo +0 -0
  288. lang/qtranslate-es_CA.mo +0 -0
  289. lang/qtranslate-es_ES.mo +0 -0
  290. lang/qtranslate-fr_FR.mo +0 -0
  291. lang/qtranslate-hu_HU.mo +0 -0
  292. lang/qtranslate-id_ID.mo +0 -0
  293. lang/qtranslate-it_IT.mo +0 -0
  294. lang/qtranslate-ja_JP.mo +0 -0
  295. lang/qtranslate-mk_MK.mo +0 -0
  296. lang/qtranslate-ms_MY.mo +0 -0
  297. lang/qtranslate-nl_NL.mo +0 -0
  298. lang/qtranslate-pl_PL.mo +0 -0
  299. lang/qtranslate-pt_BR.mo +0 -0
  300. lang/qtranslate-pt_PT.mo +0 -0
  301. lang/qtranslate-ro_RO.mo +0 -0
  302. lang/qtranslate-ru_RU.mo +0 -0
  303. lang/qtranslate-sv_SE.mo +0 -0
  304. lang/qtranslate-tr_TR.mo +0 -0
  305. lang/qtranslate-zh_CN.mo +0 -0
  306. lang/qtranslate.pot +836 -0
  307. license.txt +674 -0
  308. qtranslate.css +108 -0
  309. qtranslate.min.js +1 -0
  310. qtranslate.php +503 -0
  311. qtranslate_configuration.css +54 -0
  312. qtranslate_configuration.php +885 -0
  313. qtranslate_core.php +951 -0
  314. qtranslate_frontend.php +189 -0
  315. qtranslate_hooks.php +282 -0
  316. qtranslate_services.php +909 -0
  317. qtranslate_utils.php +243 -0
  318. qtranslate_widget.php +137 -0
  319. readme.txt +174 -0
  320. screenshot-1.png +0 -0
  321. screenshot-2.png +0 -0
  322. screenshot-3.png +0 -0
admin/activation_hook.php ADDED
@@ -0,0 +1,150 @@
1
+ <?php // encoding: utf-8
2
+ /*
3
+ Copyright 2014 qTranslate Team (email : qTranslateTeam@gmail.com )
4
+
5
+ This program is free software; you can redistribute it and/or modify
6
+ it under the terms of the GNU General Public License as published by
7
+ the Free Software Foundation; either version 2 of the License, or
8
+ (at your option) any later version.
9
+
10
+ This program is distributed in the hope that it will be useful,
11
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
13
+ GNU General Public License for more details.
14
+
15
+ You should have received a copy of the GNU General Public License
16
+ along with this program; if not, write to the Free Software
17
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
+ */
19
+
20
+ function qtranxf_admin_notice_deactivate_plugin($nm,$plugin)
21
+ {
22
+ deactivate_plugins($plugin,true);
23
+ $d=dirname($plugin);
24
+ $link='<a href="https://wordpress.org/plugins/'.$d.'/" target="_blank">'.$nm.'</a>';
25
+ $qtxnm='qTranslate&#8209;X';
26
+ $qtxlink='<a href="https://wordpress.org/plugins/qtranslate-x/" target="_blank">'.$qtxnm.'</a>';
27
+ $f='qtranxf_migrate_import_'.str_replace('-','_',dirname($plugin));
28
+ $imported=false;
29
+ if(function_exists($f)){
30
+ global $wpdb;
31
+ $options = $wpdb->get_col("SELECT `option_name` FROM {$wpdb->options} WHERE `option_name` LIKE 'qtranslate_%'");
32
+ if(empty($options)){
33
+ $f();
34
+ $imported=true;
35
+ }
36
+ }
37
+ $msg=sprintf(__('Activation of plugin %s deactivated plugin %s since they cannot run simultaneously.','qtranslate'),$qtxlink,$link).' ';
38
+ if($imported){
39
+ $msg.=sprintf(__('The compatible settings from %s have been imported to %s. Further tuning, import, export and reset of options can be done at Settings/Languages configuration page, once %s is running.%sContinue%s','qtranslate'),$nm,$qtxnm,$qtxnm,'</p><p><a class="button" href="">','</a>');
40
+ }else{
41
+ $msg.=sprintf(__('You may import/export compatible settings from %s to %s on Settings/Languages configuration page, once %s is running.%sContinue%s','qtranslate'),$nm,$qtxnm,$qtxnm,'</p><p><a class="button" href="">','</a>');
42
+ }
43
+ //$nonce=wp_create_nonce('deactivate-plugin_'.$plugin);
44
+ //$msg=sprintf(__('Plugin %s cannot run concurrently with %s, please %sdeactivate %s%s. You may import compatible settings from %s to %s on Settings/Languages configuration page, once %s is running.','qtranslate'),$qtxlink,$link,'<a href="'.admin_url('plugins.php?action=deactivate&plugin='.encode($plugin).'&plugin_status=all&paged=1&s&_wpnonce='.$nonce.'">',$nm,'</a>',$nm,$qtxnm,$qtxnm);
45
+ //$msg=sprintf(__('Activation of plugin %s deactivated plugin %s since they cannot run simultaneously. You may import compatible settings from %s to %s on Settings/%sLanguages%s configuration page, once %s is running.%sContinue%s','qtranslate'),$qtxlink,$link,$nm,$qtxnm,'<a href="'.admin_url('/options-general.php?page=qtranslate-x').'">','</a>',$qtxnm,'</p><p><a class="button" href="">','</a>');
46
+ wp_die('<p>'.$msg.'</p>');
47
+ }
48
+
49
+ function qtranxf_activation_hook()
50
+ {
51
+ // Check if other qTranslate forks are activated.
52
+ if ( is_plugin_active( 'mqtranslate/mqtranslate.php' ) )
53
+ qtranxf_admin_notice_deactivate_plugin('mqTranslate','mqtranslate/mqtranslate.php');
54
+
55
+ if ( is_plugin_active( 'qtranslate/qtranslate.php' ) )
56
+ qtranxf_admin_notice_deactivate_plugin('qTranslate','qtranslate/qtranslate.php');
57
+
58
+ if ( is_plugin_active( 'qtranslate-xp/ppqtranslate.php' ) )
59
+ qtranxf_admin_notice_deactivate_plugin('qTranslate Plus','qtranslate-xp/ppqtranslate.php');
60
+
61
+ if ( is_plugin_active( 'ztranslate/ztranslate.php' ) )
62
+ qtranxf_admin_notice_deactivate_plugin('zTranslate','ztranslate/ztranslate.php');
63
+
64
+ //deactivate_plugins(plugin_basename(__FILE__)); // Deactivate ourself
65
+ }
66
+
67
+ /*
68
+ function qtranxf_admin_notice_deactivated($plugin)
69
+ {
70
+ $plugin_file=WP_CONTENT_DIR.'/plugins/'.$plugin;
71
+ $plugin_data=get_plugin_data( plugin_file, false, true );
72
+ echo "qtranxf_admin_notice_deactivated: $plugin";
73
+ var_dump($plugin_data);
74
+ if(!$plugin_data) return;
75
+ $nm='<a href="https://wordpress.org/plugins/'.dirname($plugin).'/">'.$plugin_data['Name'].'</a>';
76
+ echo printf(__('Plugin qTranslate&#8209;X deactivated plugin %s since they cannot run simultaneously. You may import compatible settings from %s to qTranslate&#8209;X on Settings/"<a href="%s">Languages</a>" configuration page.','qtranslate'),$nm,$nm,admin_url('options-general.php?page=qtranslate-x'));
77
+ }
78
+
79
+ function qtranxf_admin_notices($nm)
80
+ {
81
+ //if($_SERVER['REQUEST_METHOD']!='GET') return;
82
+ if(isset($_REQUEST['qtx_dismiss'])){
83
+ update_option('qtranslate_admin_notices',array());
84
+ return;
85
+ }
86
+ $admin_notices=get_option('qtranslate_admin_notices',array());
87
+ if(empty($admin_notices)) return;
88
+ //echo '<div class="updated">';
89
+ echo '<div class="update-nag">';
90
+ echo '<div style="float: right"><a href="?qtx_dismiss"><small>dismiss</small></a></div>';
91
+ foreach($admin_notices as $key=>$notice){
92
+ echo '<p>';
93
+ switch($key){
94
+ case 'mqtranslate/mqtranslate.php':
95
+ case 'qtranslate/qtranslate.php':
96
+ case 'qtranslate-xp/ppqtranslate.php':
97
+ case 'ztranslate/ztranslate.php':
98
+ qtranxf_admin_notice_deactivated($key);
99
+ break;
100
+ default: echo $notice; break;
101
+ }
102
+ echo '</p>';
103
+ }
104
+ echo '</div>';
105
+ }
106
+
107
+ function qtranxf_check_qtranslate_other()
108
+ {
109
+ // Check if other qTranslate forks are active.
110
+ $plugins=array();
111
+ if(is_plugin_active('mqtranslate/mqtranslate.php')) $plugins[]='qtranslate-xp/ppqtranslate.php';
112
+ if(is_plugin_active('qtranslate/qtranslate.php')) $plugins[]='qtranslate/qtranslate.php';
113
+ if(is_plugin_active('qtranslate-xp/ppqtranslate.php')) $plugins[]='qtranslate-xp/ppqtranslate.php';
114
+ if(is_plugin_active('ztranslate/ztranslate.php')) $plugins[]='ztranslate/ztranslate.php';
115
+ if(empty($plugins)) return;
116
+ $admin_notices=get_option('qtranslate_admin_notices',array());
117
+ $t=time();
118
+ foreach($plugins as $plugin){
119
+ $admin_notices[$plugin]=$t;
120
+ }
121
+ deactivate_plugins($plugins,true);
122
+ add_action('admin_notices', 'qtranxf_admin_notices');
123
+ }
124
+ //muplugins_loaded plugins_loaded
125
+ //add_action('admin_init', 'qtranxf_check_qtranslate_other', 0);
126
+ */
127
+
128
+ function qtranxf_admin_notice_plugin_conflict($title,$plugin)
129
+ {
130
+ if(!is_plugin_active($plugin)) return;
131
+ $me='<a href="https://wordpress.org/plugins/qtranslate-x/" style="color:blue" target="_blank">qTranslate&#8209;X</a>';
132
+ $link='<a href="https://wordpress.org/plugins/'.dirname($plugin).'/" style="color:magenta" target="_blank">'.$title.'</a>';
133
+ echo '<div class="error"><p style="font-size: larger">';
134
+ echo '<span style="color:red"><strong>'.__('Error').':</strong></span> '.sprintf(__('plugin %s cannot run concurrently with plugin %s. You may import and export compatible settings between %s and %s on Settings/<a href="%s">Languages</a> configuration page. Then you have to deactivate one of the plugins to continue.','qtranslate'),$me,$link,'qTranslate&#8209;X',$title,admin_url('options-general.php?page=qtranslate-x'));
135
+ $nonce=wp_create_nonce('deactivate-plugin_'.$plugin);
136
+ echo '</p><p> &nbsp; &nbsp; &nbsp; &nbsp;<a class="button" href="'.admin_url('plugins.php?action=deactivate&plugin='.urlencode($plugin).'&plugin_status=all&paged=1&s&_wpnonce='.$nonce).'"><strong>'.__('Deactivate ').'<span style="color:magenta">'.$title.'</span></strong></a>';
137
+ $nonce=wp_create_nonce('deactivate-plugin_qtranslate-x/qtranslate.php');
138
+ echo ' &nbsp; &nbsp; &nbsp; &nbsp;<a class="button" href="'.admin_url('plugins.php?action=deactivate&plugin='.urlencode('qtranslate-x/qtranslate.php').'&plugin_status=all&paged=1&s&_wpnonce='.$nonce).'"><strong>'.__('Deactivate ').'<span style="color:blue">qTranslate&#8209;X</span></strong></a>';
139
+ echo '</p></div>';
140
+ }
141
+
142
+ function qtranxf_admin_notices_plugin_conflicts()
143
+ {
144
+ qtranxf_admin_notice_plugin_conflict('qTranslate','qtranslate/qtranslate.php');
145
+ qtranxf_admin_notice_plugin_conflict('mqTranslate','mqtranslate/mqtranslate.php');
146
+ qtranxf_admin_notice_plugin_conflict('qTranslate Plus','qtranslate-xp/ppqtranslate.php');
147
+ qtranxf_admin_notice_plugin_conflict('zTranslate','ztranslate/ztranslate.php');
148
+ }
149
+ add_action('admin_notices', 'qtranxf_admin_notices_plugin_conflicts');
150
+ ?>
admin/import_export.php ADDED
@@ -0,0 +1,131 @@
1
+ <?php // encoding: utf-8
2
+ /*
3
+ Copyright 2014 qTranslate Team (email : qTranslateTeam@gmail.com )
4
+
5
+ This program is free software; you can redistribute it and/or modify
6
+ it under the terms of the GNU General Public License as published by
7
+ the Free Software Foundation; either version 2 of the License, or
8
+ (at your option) any later version.
9
+
10
+ This program is distributed in the hope that it will be useful,
11
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
13
+ GNU General Public License for more details.
14
+
15
+ You should have received a copy of the GNU General Public License
16
+ along with this program; if not, write to the Free Software
17
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
+ */
19
+
20
+ function qtranxf_migrate_options_update($nm_to,$nm_from)
21
+ {
22
+ global $wpdb;
23
+ $option_names = $wpdb->get_col("SELECT `option_name` FROM {$wpdb->options} WHERE `option_name` LIKE '$nm_to\_%'");
24
+ foreach ($option_names as $name)
25
+ {
26
+ if(strpos($name,'_flag_location')>0) continue;
27
+ $nm = str_replace($nm_to,$nm_from,$name);
28
+ $value=get_option($nm);
29
+ if($value===FALSE) continue;
30
+ update_option($name,$value);
31
+ }
32
+ }
33
+
34
+ function qtranxf_migrate_options_copy($nm_to,$nm_from)
35
+ {
36
+ global $wpdb;
37
+ $options = $wpdb->get_results("SELECT option_name, option_value FROM {$wpdb->options} WHERE `option_name` LIKE '$nm_from\_%'");
38
+ foreach ($options as $option)
39
+ {
40
+ $name=$option->option_name;
41
+ $value=$option->option_value;
42
+ if(strpos($name,'_flag_location')>0) continue;
43
+ $nm = str_replace($nm_from,$nm_to,$name);
44
+ update_option($nm,$value);
45
+ }
46
+ }
47
+
48
+ function qtranxf_migrate_import_mqtranslate(){ qtranxf_migrate_options_update('qtranslate','mqtranslate'); }
49
+ function qtranxf_migrate_export_mqtranslate(){ qtranxf_migrate_options_copy('mqtranslate','qtranslate'); }
50
+
51
+ function qtranxf_migrate_import_qtranslate_xp(){ qtranxf_migrate_options_update('qtranslate','ppqtranslate'); }
52
+ function qtranxf_migrate_export_qtranslate_xp(){ qtranxf_migrate_options_copy('ppqtranslate','qtranslate'); }
53
+
54
+ //function qtranxf_migrate_import_ztranslate(){ qtranxf_migrate_options_update('qtranslate','ztranslate'); }
55
+ //function qtranxf_migrate_export_ztranslate(){ qtranxf_migrate_options_copy('ztranslate','qtranslate'); }
56
+
57
+ function qtranxf_migrate_plugin($plugin){
58
+ $var=$plugin.'-migration';
59
+ if(!isset($_POST[$var])) return;
60
+ if($_POST[$var]=='none') return;
61
+ qtranxf_loadConfig();
62
+ qtranxf_saveConfig();
63
+ $f='qtranxf_migrate_'.$_POST[$var].'_'.str_replace('-','_',$plugin);
64
+ $f();
65
+ }
66
+
67
+ function qtranxf_migrate_plugins()
68
+ {
69
+ qtranxf_migrate_plugin('mqtranslate');
70
+ qtranxf_migrate_plugin('qtranslate-xp');
71
+ //qtranxf_migrate_plugin('ztranslate');//ok same db
72
+ }
73
+ add_action('qtranxf_init_begin','qtranxf_migrate_plugins',11);
74
+
75
+ function qtranxf_add_row_migrate($nm,$plugin) {
76
+ if(!file_exists(WP_CONTENT_DIR.'/plugins/'.$plugin)) return;
77
+ ?>
78
+ <tr valign="top" id="qtranslate-<?php echo $plugin; ?>">
79
+ <th scope="row"><?php _e('Plugin');?> <a href="https://wordpress.org/plugins/<?php echo $plugin; ?>/" target="_blank"><?php echo $nm; ?></a></th>
80
+ <td>
81
+ <?php
82
+ if($plugin=='qtranslate' || $plugin=='ztranslate'){
83
+ _e('There is no need to migrate any setting, the database schema is compatible with this plugin.');
84
+ }else{
85
+ ?>
86
+ <label for="qtranslate_no_migration"><input type="radio" name="<?php echo $plugin; ?>-migration" id="<?php echo $plugin; ?>_no_migration" value="none" checked /> <?php _e('Do not migrate any setting', 'qtranslate'); ?></label>
87
+ <br/>
88
+ <label for="qtranslate_import_migration"><input type="radio" name="<?php echo $plugin; ?>-migration" id="qtranslate_import_migration" value="import" /> <?php echo __('Import settings from ', 'qtranslate').$nm; ?></label>
89
+ <br/>
90
+ <label for="qtranslate_export_migration"><input type="radio" name="<?php echo $plugin; ?>-migration" id="qtranslate_export_migration" value="export" /> <?php echo __('Export settings to ', 'qtranslate').$nm; ?></label>
91
+ <?php } ?>
92
+ </td>
93
+ </tr>
94
+ <?php
95
+ }
96
+
97
+ function qtranxf_admin_section_import_export($request_uri)
98
+ {
99
+ qtranxf_admin_section_start(__('Import').'/'.__('Export'),'import');
100
+ ?>
101
+ <table class="form-table" id="qtranslate-admin-import" style="display: none">
102
+ <tr valign="top" id="qtranslate-convert-database">
103
+ <th scope="row"><?php _e('Convert Database', 'qtranslate');?></th>
104
+ <td>
105
+ <?php printf(__('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.', 'qtranslate'), $clean_uri.'&convert=true'); ?>
106
+ <?php printf(__('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.', 'qtranslate'), $clean_uri.'&markdefault=true'); ?>
107
+ <?php _e('Both processes are <b>irreversible</b>! Be sure to make a full database backup before clicking one of the links.', 'qtranslate'); ?>
108
+ </td>
109
+ </tr>
110
+ <?php qtranxf_add_row_migrate('qTranslate','qtranslate'); ?>
111
+ <?php qtranxf_add_row_migrate('mqTranslate','mqtranslate'); ?>
112
+ <?php qtranxf_add_row_migrate('qTranslate Plus','qtranslate-xp'); ?>
113
+ <?php qtranxf_add_row_migrate('zTranslate','ztranslate'); ?>
114
+ <tr valign="top">
115
+ <th scope="row"><?php _e('Reset qTranslate', 'qtranslate');?></th>
116
+ <td>
117
+ <label for="qtranslate_reset"><input type="checkbox" name="qtranslate_reset" id="qtranslate_reset" value="1"/> <?php _e('Check this box and click Save Changes to reset all qTranslate settings.', 'qtranslate'); ?></label>
118
+ <br/>
119
+ <label for="qtranslate_reset2"><input type="checkbox" name="qtranslate_reset2" id="qtranslate_reset2" value="1"/> <?php _e('Yes, I really want to reset qTranslate.', 'qtranslate'); ?></label>
120
+ <br/>
121
+ <label for="qtranslate_reset3"><input type="checkbox" name="qtranslate_reset3" id="qtranslate_reset3" value="1"/> <?php _e('Also delete Translations for Categories/Tags/Link Categories.', 'qtranslate'); ?></label>
122
+ <br/>
123
+ <?php _e('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).', 'qtranslate'); ?>
124
+ </td>
125
+ </tr>
126
+ </table>
127
+ <?php
128
+ qtranxf_admin_section_end('import');
129
+ }
130
+ add_action('qtranslate_configuration', 'qtranxf_admin_section_import_export', 9);
131
+ ?>
arrowdown.png ADDED
Binary file
arrowup.png ADDED
Binary file
flags/aa.png ADDED
Binary file
flags/ad.alt.png ADDED
Binary file
flags/ad.png ADDED
Binary file
flags/ae.png ADDED
Binary file
flags/af.png ADDED
Binary file
flags/ag.png ADDED
Binary file
flags/ai.alt.png ADDED
Binary file
flags/ai.png ADDED
Binary file
flags/al.png ADDED
Binary file
flags/am.png ADDED
Binary file
flags/an.png ADDED
Binary file
flags/ao.png ADDED
Binary file
flags/aq.png ADDED
Binary file
flags/ar.alt.png ADDED
Binary file
flags/ar.png ADDED
Binary file
flags/arle.png ADDED
Binary file
flags/as.png ADDED
Binary file
flags/at.alt.png ADDED
Binary file
flags/at.png ADDED
Binary file
flags/au.png ADDED
Binary file
flags/aw.png ADDED
Binary file
flags/ax.png ADDED
Binary file
flags/az.png ADDED
Binary file
flags/ba.png ADDED
Binary file
flags/bb.png ADDED
Binary file
flags/bd.png ADDED
Binary file
flags/be.png ADDED
Binary file
flags/bf.png ADDED
Binary file
flags/bg.png ADDED
Binary file
flags/bh.png ADDED
Binary file
flags/bi.alt.png ADDED
Binary file
flags/bi.png ADDED
Binary file
flags/bj.png ADDED
Binary file
flags/bl.png ADDED
Binary file
flags/bm.png ADDED
Binary file
flags/bn.png ADDED
Binary file
flags/bo.png ADDED
Binary file
flags/bq.png ADDED
Binary file
flags/br.png ADDED
Binary file
flags/bs.png ADDED
Binary file
flags/bt.png ADDED
Binary file
flags/bv.png ADDED
Binary file
flags/bw.png ADDED
Binary file
flags/by.png ADDED
Binary file
flags/bz.png ADDED
Binary file
flags/ca.alt.png ADDED
Binary file
flags/ca.png ADDED
Binary file
flags/cc.alt.png ADDED
Binary file
flags/cc.png ADDED
Binary file
flags/cd.png ADDED
Binary file
flags/cf.png ADDED
Binary file
flags/cg.png ADDED
Binary file
flags/ch.png ADDED
Binary file
flags/ci.png ADDED
Binary file
flags/ck.png ADDED
Binary file
flags/cl.png ADDED
Binary file
flags/cm.png ADDED
Binary file
flags/cn.png ADDED
Binary file
flags/co.png ADDED
Binary file
flags/cr.alt.png ADDED
Binary file
flags/cr.png ADDED
Binary file
flags/cs.png ADDED
Binary file
flags/cu.png ADDED
Binary file
flags/cv.png ADDED
Binary file
flags/cw.png ADDED
Binary file
flags/cx.png ADDED
Binary file
flags/cy.png ADDED
Binary file
flags/cz.png ADDED
Binary file
flags/de.png ADDED
Binary file
flags/dj.png ADDED
Binary file
flags/dk.png ADDED
Binary file
flags/dm.png ADDED
Binary file
flags/do.png ADDED
Binary file
flags/dz.png ADDED
Binary file
flags/ec.alt.png ADDED
Binary file
flags/ec.png ADDED
Binary file
flags/ee.png ADDED
Binary file
flags/eg.png ADDED
Binary file
flags/eh.alt.png ADDED
Binary file
flags/eh.png ADDED
Binary file
flags/eo.png ADDED
Binary file
flags/er.png ADDED
Binary file
flags/es.alt.png ADDED
Binary file
flags/es.png ADDED
Binary file
flags/et.alt.png ADDED
Binary file
flags/et.png ADDED
Binary file
flags/eu.png ADDED
Binary file
flags/fi.png ADDED
Binary file
flags/fj.png ADDED
Binary file
flags/fk.png ADDED
Binary file
flags/fm.png ADDED
Binary file
flags/fo.png ADDED
Binary file
flags/fr.png ADDED
Binary file
flags/ga.png ADDED
Binary file
flags/galego.png ADDED
Binary file
flags/gb.png ADDED
Binary file
flags/gd.png ADDED
Binary file
flags/ge.png ADDED
Binary file
flags/gf.png ADDED
Binary file
flags/gg.png ADDED
Binary file
flags/gh.png ADDED
Binary file
flags/gi.png ADDED
Binary file
flags/gl.png ADDED
Binary file
flags/gm.png ADDED
Binary file
flags/gn.png ADDED
Binary file
flags/gp.png ADDED
Binary file
flags/gq.png ADDED
Binary file
flags/gr.png ADDED
Binary file
flags/gs.png ADDED
Binary file
flags/gt.alt.png ADDED
Binary file
flags/gt.png ADDED
Binary file
flags/gu.png ADDED
Binary file
flags/gw.png ADDED
Binary file
flags/gy.png ADDED
Binary file
flags/hk.png ADDED
Binary file
flags/hm.png ADDED
Binary file
flags/hn.png ADDED
Binary file
flags/hr.png ADDED
Binary file
flags/ht.alt.png ADDED
Binary file
flags/ht.png ADDED
Binary file
flags/hu.png ADDED
Binary file
flags/id.png ADDED
Binary file
flags/ie.png ADDED
Binary file
flags/il.png ADDED
Binary file
flags/im.png ADDED
Binary file
flags/in.png ADDED
Binary file
flags/io.png ADDED
Binary file
flags/iq.png ADDED
Binary file
flags/ir.png ADDED
Binary file
flags/is.png ADDED
Binary file
flags/it.png ADDED
Binary file
flags/je.png ADDED
Binary file
flags/jm.png ADDED
Binary file
flags/jo.png ADDED
Binary file
flags/jp.png ADDED
Binary file
flags/ke.png ADDED
Binary file
flags/kg.png ADDED
Binary file
flags/kh.png ADDED
Binary file
flags/ki.png ADDED
Binary file
flags/km.png ADDED
Binary file
flags/kn.png ADDED
Binary file
flags/kp.png ADDED
Binary file
flags/kr.png ADDED
Binary file
flags/kw.png ADDED
Binary file
flags/ky.png ADDED
Binary file
flags/kz.png ADDED
Binary file
flags/la.png ADDED
Binary file
flags/lb.png ADDED
Binary file
flags/lc.png ADDED
Binary file
flags/li.png ADDED
Binary file
flags/lk.png ADDED
Binary file
flags/lr.png ADDED
Binary file
flags/ls.png ADDED
Binary file
flags/lt.png ADDED
Binary file
flags/lu.png ADDED
Binary file
flags/lv.png ADDED
Binary file
flags/ly.png ADDED
Binary file
flags/ma.png ADDED
Binary file
flags/mc.png ADDED
Binary file
flags/md.png ADDED
Binary file
flags/me.png ADDED
Binary file
flags/mf.png ADDED
Binary file
flags/mg.png ADDED
Binary file
flags/mh.png ADDED
Binary file
flags/mk.png ADDED
Binary file
flags/ml.png ADDED
Binary file
flags/mm.png ADDED
Binary file
flags/mn.png ADDED
Binary file
flags/mo.png ADDED
Binary file
flags/mp.png ADDED
Binary file
flags/mq.png ADDED
Binary file
flags/mr.png ADDED
Binary file
flags/ms.png ADDED
Binary file
flags/mt.png ADDED
Binary file
flags/mu.png ADDED
Binary file
flags/mv.png ADDED
Binary file
flags/mw.png ADDED
Binary file
flags/mx.png ADDED
Binary file
flags/my.png ADDED
Binary file
flags/mz.png ADDED
Binary file
flags/na.png ADDED
Binary file
flags/nc.png ADDED
Binary file
flags/ne.png ADDED
Binary file
flags/nf.png ADDED
Binary file
flags/ng.png ADDED
Binary file
flags/ni.alt.png ADDED
Binary file
flags/ni.png ADDED
Binary file
flags/nl.png ADDED
Binary file
flags/no.png ADDED
Binary file
flags/np.png ADDED
Binary file
flags/nr.png ADDED
Binary file
flags/nu.png ADDED
Binary file
flags/nz.png ADDED
Binary file
flags/om.png ADDED
Binary file
flags/pa.png ADDED
Binary file
flags/pe.png ADDED
Binary file
flags/pf.alt.png ADDED
Binary file
flags/pf.png ADDED
Binary file
flags/pg.png ADDED
Binary file
flags/ph.png ADDED
Binary file
flags/pk.png ADDED
Binary file
flags/pl.png ADDED
Binary file
flags/pm.png ADDED
Binary file
flags/pn.png ADDED
Binary file
flags/pr.png ADDED
Binary file
flags/ps.png ADDED
Binary file
flags/pt.png ADDED
Binary file
flags/pw.png ADDED
Binary file
flags/py.png ADDED
Binary file
flags/qa.png ADDED
Binary file
flags/re.png ADDED
Binary file
flags/ro.png ADDED
Binary file
flags/rs.png ADDED
Binary file
flags/ru.png ADDED
Binary file
flags/rw.png ADDED
Binary file
flags/sa.png ADDED
Binary file
flags/sb.png ADDED
Binary file
flags/sc.png ADDED
Binary file
flags/sd.png ADDED
Binary file
flags/se.png ADDED
Binary file
flags/sg.png ADDED
Binary file
flags/sh.png ADDED
Binary file
flags/si.png ADDED
Binary file
flags/sj.png ADDED
Binary file
flags/sk.png ADDED
Binary file
flags/sl.png ADDED
Binary file
flags/sm.png ADDED
Binary file
flags/sn.png ADDED
Binary file
flags/so.png ADDED
Binary file
flags/sr.png ADDED
Binary file
flags/ss.png ADDED
Binary file
flags/st.png ADDED
Binary file
flags/sv.alt.png ADDED
Binary file
flags/sv.png ADDED
Binary file
flags/sx.png ADDED
Binary file
flags/sy.png ADDED
Binary file
flags/sz.png ADDED
Binary file
flags/tc.png ADDED
Binary file
flags/td.png ADDED
Binary file
flags/tf.png ADDED
Binary file
flags/tg.png ADDED
Binary file
flags/th.png ADDED
Binary file
flags/tj.png ADDED
Binary file
flags/tk.png ADDED
Binary file
flags/tl.png ADDED
Binary file
flags/tm.png ADDED
Binary file
flags/tn.png ADDED
Binary file
flags/to.png ADDED
Binary file
flags/tr.png ADDED
Binary file
flags/tt.png ADDED
Binary file
flags/tv.png ADDED
Binary file
flags/tw.png ADDED
Binary file
flags/tz.png ADDED
Binary file
flags/ua.png ADDED
Binary file
flags/ug.png ADDED
Binary file
flags/uk.png ADDED
Binary file
flags/um.png ADDED
Binary file
flags/us.png ADDED
Binary file
flags/uy.png ADDED
Binary file
flags/uz.png ADDED
Binary file
flags/va.png ADDED
Binary file
flags/vc.png ADDED
Binary file
flags/ve.png ADDED
Binary file
flags/vg.png ADDED
Binary file
flags/vi.png ADDED
Binary file
flags/vn.png ADDED
Binary file
flags/vu.png ADDED
Binary file
flags/wf.alt.png ADDED
Binary file
flags/wf.png ADDED
Binary file
flags/ws.png ADDED
Binary file
flags/ye.png ADDED
Binary file
flags/yt.png ADDED
Binary file
flags/yu.png ADDED
Binary file
flags/za.png ADDED
Binary file
flags/zm.png ADDED
Binary file
flags/zw.png ADDED
Binary file
flags/zz.png ADDED
Binary file
lang/qtranslate-az_AZ.mo ADDED
Binary file
lang/qtranslate-bg_BG.mo ADDED
Binary file
lang/qtranslate-cs_CZ.mo ADDED
Binary file
lang/qtranslate-da_DK.mo ADDED
Binary file
lang/qtranslate-de_DE.mo ADDED
Binary file
lang/qtranslate-eo.mo ADDED
Binary file
lang/qtranslate-es_CA.mo ADDED
Binary file
lang/qtranslate-es_ES.mo ADDED
Binary file
lang/qtranslate-fr_FR.mo ADDED
Binary file
lang/qtranslate-hu_HU.mo ADDED
Binary file
lang/qtranslate-id_ID.mo ADDED
Binary file
lang/qtranslate-it_IT.mo ADDED
Binary file
lang/qtranslate-ja_JP.mo ADDED
Binary file
lang/qtranslate-mk_MK.mo ADDED
Binary file
lang/qtranslate-ms_MY.mo ADDED
Binary file
lang/qtranslate-nl_NL.mo ADDED
Binary file
lang/qtranslate-pl_PL.mo ADDED
Binary file
lang/qtranslate-pt_BR.mo ADDED
Binary file
lang/qtranslate-pt_PT.mo ADDED
Binary file
lang/qtranslate-ro_RO.mo ADDED
Binary file
lang/qtranslate-ru_RU.mo ADDED
Binary file
lang/qtranslate-sv_SE.mo ADDED
Binary file
lang/qtranslate-tr_TR.mo ADDED
Binary file
lang/qtranslate-zh_CN.mo ADDED
Binary file
lang/qtranslate.pot ADDED
@@ -0,0 +1,836 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR Qian Qin
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: PACKAGE VERSION\n"
10
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/qtranslate\n"
11
+ "POT-Creation-Date: 2009-10-11 12:35+0000\n"
12
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=CHARSET\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+
19
+ #: qtranslate_configuration.php:25
20
+ msgid "Language Management"
21
+ msgstr ""
22
+
23
+ #: qtranslate_configuration.php:25 qtranslate_configuration.php:582
24
+ #: qtranslate_hooks.php:168
25
+ msgid "Languages"
26
+ msgstr ""
27
+
28
+ #: qtranslate_configuration.php:35
29
+ msgid "language_name"
30
+ msgstr ""
31
+
32
+ #: qtranslate_configuration.php:45
33
+ msgid "Language Code"
34
+ msgstr ""
35
+
36
+ #: qtranslate_configuration.php:47
37
+ msgid ""
38
+ "2-Letter <a href=\"http://www.w3.org/WAI/ER/IG/ert/iso639.htm#2letter\">ISO "
39
+ "Language Code</a> for the Language you want to insert. (Example: en)"
40
+ msgstr ""
41
+
42
+ #: qtranslate_configuration.php:50
43
+ msgid "Flag"
44
+ msgstr ""
45
+
46
+ #: qtranslate_configuration.php:75
47
+ msgid "Incorrect Flag Image Path! Please correct it!"
48
+ msgstr ""
49
+
50
+ #: qtranslate_configuration.php:78
51
+ msgid "Choose the corresponding country flag for language. (Example: gb.png)"
52
+ msgstr ""
53
+
54
+ #: qtranslate_configuration.php:91 qtranslate_configuration.php:180
55
+ msgid "Name"
56
+ msgstr ""
57
+
58
+ #: qtranslate_configuration.php:93
59
+ msgid ""
60
+ "The Name of the language, which will be displayed on the site. (Example: "
61
+ "English)"
62
+ msgstr ""
63
+
64
+ #: qtranslate_configuration.php:96
65
+ msgid "Locale"
66
+ msgstr ""
67
+
68
+ #: qtranslate_configuration.php:99
69
+ msgid "PHP and Wordpress Locale for the language. (Example: en_US)"
70
+ msgstr ""
71
+
72
+ #: qtranslate_configuration.php:100
73
+ msgid "You will need to install the .mo file for this language."
74
+ msgstr ""
75
+
76
+ #: qtranslate_configuration.php:104
77
+ msgid "Date Format"
78
+ msgstr ""
79
+
80
+ #: qtranslate_configuration.php:106
81
+ msgid ""
82
+ "Depending on your Date / Time Conversion Mode, you can either enter a <a "
83
+ "href=\"http://www.php.net/manual/function.strftime.php\">strftime</a> (use %"
84
+ "q for day suffix (st,nd,rd,th)) or <a href=\"http://www.php.net/manual/"
85
+ "function.date.php\">date</a> format. This field is optional. (Example: %A %B "
86
+ "%e%q, %Y)"
87
+ msgstr ""
88
+
89
+ #: qtranslate_configuration.php:109
90
+ msgid "Time Format"
91
+ msgstr ""
92
+
93
+ #: qtranslate_configuration.php:111
94
+ msgid ""
95
+ "Depending on your Date / Time Conversion Mode, you can either enter a <a "
96
+ "href=\"http://www.php.net/manual/function.strftime.php\">strftime</a> or <a "
97
+ "href=\"http://www.php.net/manual/function.date.php\">date</a> format. This "
98
+ "field is optional. (Example: %I:%M %p)"
99
+ msgstr ""
100
+
101
+ #: qtranslate_configuration.php:114
102
+ msgid "Not Available Message"
103
+ msgstr ""
104
+
105
+ #: qtranslate_configuration.php:117
106
+ msgid ""
107
+ "Message to display if post is not available in the requested language. "
108
+ "(Example: Sorry, this entry is only available in %LANG:, : and %.)"
109
+ msgstr ""
110
+
111