diff --git a/htdocs/wordpress b/htdocs/wordpress index 62f9e76..4782165 160000 --- a/htdocs/wordpress +++ b/htdocs/wordpress @@ -1 +1 @@ -Subproject commit 62f9e7636d80b556af38270b2ac888aa692d3215 +Subproject commit 47821652798e220cf701637a4990eab24f7f4387 diff --git a/htdocs/wp-content/languages/de_DE.mo b/htdocs/wp-content/languages/de_DE.mo new file mode 100644 index 0000000..d98263a Binary files /dev/null and b/htdocs/wp-content/languages/de_DE.mo differ diff --git a/htdocs/wp-content/languages/en_US.mo b/htdocs/wp-content/languages/en_US.mo new file mode 100644 index 0000000..df2a055 Binary files /dev/null and b/htdocs/wp-content/languages/en_US.mo differ diff --git a/htdocs/wp-content/languages/zh_CN.mo b/htdocs/wp-content/languages/zh_CN.mo new file mode 100644 index 0000000..ce5424d Binary files /dev/null and b/htdocs/wp-content/languages/zh_CN.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/arrowdown.png b/htdocs/wp-content/plugins/qtranslate/arrowdown.png new file mode 100644 index 0000000..8684c68 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/arrowdown.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/arrowup.png b/htdocs/wp-content/plugins/qtranslate/arrowup.png new file mode 100644 index 0000000..1ffc3a2 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/arrowup.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ad.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/ad.alt.png new file mode 100644 index 0000000..11d5948 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ad.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ad.png b/htdocs/wp-content/plugins/qtranslate/flags/ad.png new file mode 100644 index 0000000..74ffc8c Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ad.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ae.png b/htdocs/wp-content/plugins/qtranslate/flags/ae.png new file mode 100644 index 0000000..c420557 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ae.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/af.png b/htdocs/wp-content/plugins/qtranslate/flags/af.png new file mode 100644 index 0000000..42057bb Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/af.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ag.png b/htdocs/wp-content/plugins/qtranslate/flags/ag.png new file mode 100644 index 0000000..7afaf3f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ag.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ai.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/ai.alt.png new file mode 100644 index 0000000..e3a7e12 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ai.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ai.png b/htdocs/wp-content/plugins/qtranslate/flags/ai.png new file mode 100644 index 0000000..32b4692 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ai.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/al.png b/htdocs/wp-content/plugins/qtranslate/flags/al.png new file mode 100644 index 0000000..e138a12 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/al.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/am.png b/htdocs/wp-content/plugins/qtranslate/flags/am.png new file mode 100644 index 0000000..5dbecd6 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/am.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/an.png b/htdocs/wp-content/plugins/qtranslate/flags/an.png new file mode 100644 index 0000000..e6f5fe5 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/an.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ao.png b/htdocs/wp-content/plugins/qtranslate/flags/ao.png new file mode 100644 index 0000000..c128e06 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ao.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/aq.png b/htdocs/wp-content/plugins/qtranslate/flags/aq.png new file mode 100644 index 0000000..4193409 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/aq.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ar.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/ar.alt.png new file mode 100644 index 0000000..cd9745d Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ar.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ar.png b/htdocs/wp-content/plugins/qtranslate/flags/ar.png new file mode 100644 index 0000000..d20d946 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ar.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/arle.png b/htdocs/wp-content/plugins/qtranslate/flags/arle.png new file mode 100644 index 0000000..0cbc0b5 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/arle.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/as.png b/htdocs/wp-content/plugins/qtranslate/flags/as.png new file mode 100644 index 0000000..0b64de2 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/as.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/at.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/at.alt.png new file mode 100644 index 0000000..f139bc1 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/at.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/at.png b/htdocs/wp-content/plugins/qtranslate/flags/at.png new file mode 100644 index 0000000..5e80103 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/at.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/au.png b/htdocs/wp-content/plugins/qtranslate/flags/au.png new file mode 100644 index 0000000..7e952b0 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/au.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/aw.png b/htdocs/wp-content/plugins/qtranslate/flags/aw.png new file mode 100644 index 0000000..6ebb0c2 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/aw.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ax.png b/htdocs/wp-content/plugins/qtranslate/flags/ax.png new file mode 100644 index 0000000..c33f47b Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ax.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/az.png b/htdocs/wp-content/plugins/qtranslate/flags/az.png new file mode 100644 index 0000000..5787f35 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/az.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ba.png b/htdocs/wp-content/plugins/qtranslate/flags/ba.png new file mode 100644 index 0000000..99e6fe7 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ba.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bb.png b/htdocs/wp-content/plugins/qtranslate/flags/bb.png new file mode 100644 index 0000000..44a9738 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bb.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bd.png b/htdocs/wp-content/plugins/qtranslate/flags/bd.png new file mode 100644 index 0000000..fd880fc Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bd.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/be.png b/htdocs/wp-content/plugins/qtranslate/flags/be.png new file mode 100644 index 0000000..6028140 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/be.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bf.png b/htdocs/wp-content/plugins/qtranslate/flags/bf.png new file mode 100644 index 0000000..a67a2d4 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bf.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bg.png b/htdocs/wp-content/plugins/qtranslate/flags/bg.png new file mode 100644 index 0000000..c89aacc Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bg.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bh.png b/htdocs/wp-content/plugins/qtranslate/flags/bh.png new file mode 100644 index 0000000..a01a3e2 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bh.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bi.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/bi.alt.png new file mode 100644 index 0000000..272b605 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bi.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bi.png b/htdocs/wp-content/plugins/qtranslate/flags/bi.png new file mode 100644 index 0000000..b3789b2 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bi.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bj.png b/htdocs/wp-content/plugins/qtranslate/flags/bj.png new file mode 100644 index 0000000..e2dbd07 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bj.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bm.png b/htdocs/wp-content/plugins/qtranslate/flags/bm.png new file mode 100644 index 0000000..c7e3b7f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bm.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bn.png b/htdocs/wp-content/plugins/qtranslate/flags/bn.png new file mode 100644 index 0000000..7147840 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bn.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bo.png b/htdocs/wp-content/plugins/qtranslate/flags/bo.png new file mode 100644 index 0000000..824f933 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bo.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/br.png b/htdocs/wp-content/plugins/qtranslate/flags/br.png new file mode 100644 index 0000000..24f2907 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/br.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bs.png b/htdocs/wp-content/plugins/qtranslate/flags/bs.png new file mode 100644 index 0000000..d69a4dd Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bs.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bt.png b/htdocs/wp-content/plugins/qtranslate/flags/bt.png new file mode 100644 index 0000000..fe981ea Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bv.png b/htdocs/wp-content/plugins/qtranslate/flags/bv.png new file mode 100644 index 0000000..b81acae Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bv.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bw.png b/htdocs/wp-content/plugins/qtranslate/flags/bw.png new file mode 100644 index 0000000..ca53290 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bw.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/by.png b/htdocs/wp-content/plugins/qtranslate/flags/by.png new file mode 100644 index 0000000..f6e5d52 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/by.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/bz.png b/htdocs/wp-content/plugins/qtranslate/flags/bz.png new file mode 100644 index 0000000..8ca25b1 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/bz.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ca.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/ca.alt.png new file mode 100644 index 0000000..da05093 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ca.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ca.png b/htdocs/wp-content/plugins/qtranslate/flags/ca.png new file mode 100644 index 0000000..1dfb293 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ca.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cc.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/cc.alt.png new file mode 100644 index 0000000..bce3940 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cc.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cc.png b/htdocs/wp-content/plugins/qtranslate/flags/cc.png new file mode 100644 index 0000000..7e952b0 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cc.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cd.png b/htdocs/wp-content/plugins/qtranslate/flags/cd.png new file mode 100644 index 0000000..0377b46 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cd.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cf.png b/htdocs/wp-content/plugins/qtranslate/flags/cf.png new file mode 100644 index 0000000..4aa19da Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cf.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cg.png b/htdocs/wp-content/plugins/qtranslate/flags/cg.png new file mode 100644 index 0000000..bf65bce Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cg.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ch.png b/htdocs/wp-content/plugins/qtranslate/flags/ch.png new file mode 100644 index 0000000..01ab226 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ch.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ci.png b/htdocs/wp-content/plugins/qtranslate/flags/ci.png new file mode 100644 index 0000000..9cb2c79 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ci.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ck.png b/htdocs/wp-content/plugins/qtranslate/flags/ck.png new file mode 100644 index 0000000..36cb65d Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ck.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cl.png b/htdocs/wp-content/plugins/qtranslate/flags/cl.png new file mode 100644 index 0000000..0089fd0 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cl.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cm.png b/htdocs/wp-content/plugins/qtranslate/flags/cm.png new file mode 100644 index 0000000..054d440 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cm.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cn.png b/htdocs/wp-content/plugins/qtranslate/flags/cn.png new file mode 100644 index 0000000..3803e5b Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cn.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/co.png b/htdocs/wp-content/plugins/qtranslate/flags/co.png new file mode 100644 index 0000000..1c9824d Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/co.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cr.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/cr.alt.png new file mode 100644 index 0000000..54bfc44 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cr.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cr.png b/htdocs/wp-content/plugins/qtranslate/flags/cr.png new file mode 100644 index 0000000..fe7860f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cr.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cs.png b/htdocs/wp-content/plugins/qtranslate/flags/cs.png new file mode 100644 index 0000000..c8489a7 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cs.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cu.png b/htdocs/wp-content/plugins/qtranslate/flags/cu.png new file mode 100644 index 0000000..f388b00 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cu.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cv.png b/htdocs/wp-content/plugins/qtranslate/flags/cv.png new file mode 100644 index 0000000..9a57085 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cv.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cx.png b/htdocs/wp-content/plugins/qtranslate/flags/cx.png new file mode 100644 index 0000000..50b7f13 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cx.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cy.png b/htdocs/wp-content/plugins/qtranslate/flags/cy.png new file mode 100644 index 0000000..2b1fc58 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cy.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/cz.png b/htdocs/wp-content/plugins/qtranslate/flags/cz.png new file mode 100644 index 0000000..a38c8a4 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/cz.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/de.png b/htdocs/wp-content/plugins/qtranslate/flags/de.png new file mode 100644 index 0000000..9c81907 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/de.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/dj.png b/htdocs/wp-content/plugins/qtranslate/flags/dj.png new file mode 100644 index 0000000..8b91436 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/dj.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/dk.png b/htdocs/wp-content/plugins/qtranslate/flags/dk.png new file mode 100644 index 0000000..3b3ac57 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/dk.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/dm.png b/htdocs/wp-content/plugins/qtranslate/flags/dm.png new file mode 100644 index 0000000..30bc574 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/dm.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/do.png b/htdocs/wp-content/plugins/qtranslate/flags/do.png new file mode 100644 index 0000000..3484e48 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/do.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/dz.png b/htdocs/wp-content/plugins/qtranslate/flags/dz.png new file mode 100644 index 0000000..eaf90ce Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/dz.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ec.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/ec.alt.png new file mode 100644 index 0000000..e35d1a6 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ec.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ec.png b/htdocs/wp-content/plugins/qtranslate/flags/ec.png new file mode 100644 index 0000000..6af0a81 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ec.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ee.png b/htdocs/wp-content/plugins/qtranslate/flags/ee.png new file mode 100644 index 0000000..a590206 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ee.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/eg.png b/htdocs/wp-content/plugins/qtranslate/flags/eg.png new file mode 100644 index 0000000..58f8fc5 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/eg.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/eh.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/eh.alt.png new file mode 100644 index 0000000..0ac8d7c Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/eh.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/eh.png b/htdocs/wp-content/plugins/qtranslate/flags/eh.png new file mode 100644 index 0000000..530abd6 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/eh.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/eo.png b/htdocs/wp-content/plugins/qtranslate/flags/eo.png new file mode 100644 index 0000000..9f7976a Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/eo.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/er.png b/htdocs/wp-content/plugins/qtranslate/flags/er.png new file mode 100644 index 0000000..be485d3 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/er.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/es.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/es.alt.png new file mode 100644 index 0000000..159ab69 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/es.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/es.png b/htdocs/wp-content/plugins/qtranslate/flags/es.png new file mode 100644 index 0000000..cd718ec Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/es.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/et.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/et.alt.png new file mode 100644 index 0000000..dd02e4f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/et.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/et.png b/htdocs/wp-content/plugins/qtranslate/flags/et.png new file mode 100644 index 0000000..2ef1257 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/et.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/eu.png b/htdocs/wp-content/plugins/qtranslate/flags/eu.png new file mode 100644 index 0000000..64d4899 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/eu.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/fi.png b/htdocs/wp-content/plugins/qtranslate/flags/fi.png new file mode 100644 index 0000000..083b4d2 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/fi.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/fj.png b/htdocs/wp-content/plugins/qtranslate/flags/fj.png new file mode 100644 index 0000000..0adb66a Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/fj.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/fk.png b/htdocs/wp-content/plugins/qtranslate/flags/fk.png new file mode 100644 index 0000000..3635733 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/fk.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/fm.png b/htdocs/wp-content/plugins/qtranslate/flags/fm.png new file mode 100644 index 0000000..3502aee Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/fm.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/fo.png b/htdocs/wp-content/plugins/qtranslate/flags/fo.png new file mode 100644 index 0000000..956ae2a Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/fo.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/fr.png b/htdocs/wp-content/plugins/qtranslate/flags/fr.png new file mode 100644 index 0000000..8507c5f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/fr.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ga.png b/htdocs/wp-content/plugins/qtranslate/flags/ga.png new file mode 100644 index 0000000..6785339 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ga.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/galego.png b/htdocs/wp-content/plugins/qtranslate/flags/galego.png new file mode 100644 index 0000000..0d2ccef Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/galego.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gb.png b/htdocs/wp-content/plugins/qtranslate/flags/gb.png new file mode 100644 index 0000000..f2e8bff Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gb.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gd.png b/htdocs/wp-content/plugins/qtranslate/flags/gd.png new file mode 100644 index 0000000..be85654 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gd.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ge.png b/htdocs/wp-content/plugins/qtranslate/flags/ge.png new file mode 100644 index 0000000..7ebb82d Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ge.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gf.png b/htdocs/wp-content/plugins/qtranslate/flags/gf.png new file mode 100644 index 0000000..8507c5f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gf.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gg.png b/htdocs/wp-content/plugins/qtranslate/flags/gg.png new file mode 100644 index 0000000..da1ba71 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gg.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gh.png b/htdocs/wp-content/plugins/qtranslate/flags/gh.png new file mode 100644 index 0000000..cba6ee2 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gh.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gi.png b/htdocs/wp-content/plugins/qtranslate/flags/gi.png new file mode 100644 index 0000000..52397e2 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gi.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gl.png b/htdocs/wp-content/plugins/qtranslate/flags/gl.png new file mode 100644 index 0000000..3ac0024 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gl.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gm.png b/htdocs/wp-content/plugins/qtranslate/flags/gm.png new file mode 100644 index 0000000..ba59a6a Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gm.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gn.png b/htdocs/wp-content/plugins/qtranslate/flags/gn.png new file mode 100644 index 0000000..93e8be4 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gn.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gp.png b/htdocs/wp-content/plugins/qtranslate/flags/gp.png new file mode 100644 index 0000000..8507c5f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gp.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gq.png b/htdocs/wp-content/plugins/qtranslate/flags/gq.png new file mode 100644 index 0000000..561eae7 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gq.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gr.png b/htdocs/wp-content/plugins/qtranslate/flags/gr.png new file mode 100644 index 0000000..533b7fc Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gr.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gs.png b/htdocs/wp-content/plugins/qtranslate/flags/gs.png new file mode 100644 index 0000000..2057bed Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gs.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gt.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/gt.alt.png new file mode 100644 index 0000000..a2ff06e Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gt.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gt.png b/htdocs/wp-content/plugins/qtranslate/flags/gt.png new file mode 100644 index 0000000..f4762e1 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gu.png b/htdocs/wp-content/plugins/qtranslate/flags/gu.png new file mode 100644 index 0000000..0f089c1 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gu.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gw.png b/htdocs/wp-content/plugins/qtranslate/flags/gw.png new file mode 100644 index 0000000..1663b88 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gw.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/gy.png b/htdocs/wp-content/plugins/qtranslate/flags/gy.png new file mode 100644 index 0000000..352cf90 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/gy.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/hk.png b/htdocs/wp-content/plugins/qtranslate/flags/hk.png new file mode 100644 index 0000000..cb8b51d Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/hk.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/hm.png b/htdocs/wp-content/plugins/qtranslate/flags/hm.png new file mode 100644 index 0000000..7e952b0 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/hm.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/hn.png b/htdocs/wp-content/plugins/qtranslate/flags/hn.png new file mode 100644 index 0000000..ccb7bf2 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/hn.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/hr.png b/htdocs/wp-content/plugins/qtranslate/flags/hr.png new file mode 100644 index 0000000..b232039 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/hr.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ht.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/ht.alt.png new file mode 100644 index 0000000..35b376f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ht.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ht.png b/htdocs/wp-content/plugins/qtranslate/flags/ht.png new file mode 100644 index 0000000..8387b34 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ht.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/hu.png b/htdocs/wp-content/plugins/qtranslate/flags/hu.png new file mode 100644 index 0000000..e2e4f2f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/hu.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/id.png b/htdocs/wp-content/plugins/qtranslate/flags/id.png new file mode 100644 index 0000000..81c6385 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/id.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ie.png b/htdocs/wp-content/plugins/qtranslate/flags/ie.png new file mode 100644 index 0000000..7102160 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ie.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/il.png b/htdocs/wp-content/plugins/qtranslate/flags/il.png new file mode 100644 index 0000000..a74006c Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/il.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/im.png b/htdocs/wp-content/plugins/qtranslate/flags/im.png new file mode 100644 index 0000000..35f8035 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/im.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/in.png b/htdocs/wp-content/plugins/qtranslate/flags/in.png new file mode 100644 index 0000000..83050c2 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/in.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/io.png b/htdocs/wp-content/plugins/qtranslate/flags/io.png new file mode 100644 index 0000000..58477e4 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/io.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/iq.png b/htdocs/wp-content/plugins/qtranslate/flags/iq.png new file mode 100644 index 0000000..7e1a6e2 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/iq.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ir.png b/htdocs/wp-content/plugins/qtranslate/flags/ir.png new file mode 100644 index 0000000..8be0ea7 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ir.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/is.png b/htdocs/wp-content/plugins/qtranslate/flags/is.png new file mode 100644 index 0000000..a6afc42 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/is.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/it.png b/htdocs/wp-content/plugins/qtranslate/flags/it.png new file mode 100644 index 0000000..8a42c24 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/it.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/je.png b/htdocs/wp-content/plugins/qtranslate/flags/je.png new file mode 100644 index 0000000..4a22536 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/je.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/jm.png b/htdocs/wp-content/plugins/qtranslate/flags/jm.png new file mode 100644 index 0000000..1d2accd Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/jm.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/jo.png b/htdocs/wp-content/plugins/qtranslate/flags/jo.png new file mode 100644 index 0000000..616e062 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/jo.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/jp.png b/htdocs/wp-content/plugins/qtranslate/flags/jp.png new file mode 100644 index 0000000..f41845e Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/jp.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ke.png b/htdocs/wp-content/plugins/qtranslate/flags/ke.png new file mode 100644 index 0000000..b7fdfa6 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ke.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/kg.png b/htdocs/wp-content/plugins/qtranslate/flags/kg.png new file mode 100644 index 0000000..89573bb Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/kg.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/kh.png b/htdocs/wp-content/plugins/qtranslate/flags/kh.png new file mode 100644 index 0000000..da8a5f4 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/kh.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ki.png b/htdocs/wp-content/plugins/qtranslate/flags/ki.png new file mode 100644 index 0000000..6218727 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ki.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/km.png b/htdocs/wp-content/plugins/qtranslate/flags/km.png new file mode 100644 index 0000000..2e43564 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/km.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/kn.png b/htdocs/wp-content/plugins/qtranslate/flags/kn.png new file mode 100644 index 0000000..f07cda5 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/kn.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/kp.png b/htdocs/wp-content/plugins/qtranslate/flags/kp.png new file mode 100644 index 0000000..aa10e6a Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/kp.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/kr.png b/htdocs/wp-content/plugins/qtranslate/flags/kr.png new file mode 100644 index 0000000..52b77cf Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/kr.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/kw.png b/htdocs/wp-content/plugins/qtranslate/flags/kw.png new file mode 100644 index 0000000..795383d Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/kw.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ky.png b/htdocs/wp-content/plugins/qtranslate/flags/ky.png new file mode 100644 index 0000000..4bff17b Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ky.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/kz.png b/htdocs/wp-content/plugins/qtranslate/flags/kz.png new file mode 100644 index 0000000..2f03409 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/kz.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/la.png b/htdocs/wp-content/plugins/qtranslate/flags/la.png new file mode 100644 index 0000000..4bd11d3 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/la.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/lb.png b/htdocs/wp-content/plugins/qtranslate/flags/lb.png new file mode 100644 index 0000000..16c0419 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/lb.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/lc.png b/htdocs/wp-content/plugins/qtranslate/flags/lc.png new file mode 100644 index 0000000..84dd314 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/lc.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/li.png b/htdocs/wp-content/plugins/qtranslate/flags/li.png new file mode 100644 index 0000000..829599b Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/li.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/lk.png b/htdocs/wp-content/plugins/qtranslate/flags/lk.png new file mode 100644 index 0000000..34547b1 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/lk.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/lr.png b/htdocs/wp-content/plugins/qtranslate/flags/lr.png new file mode 100644 index 0000000..29591ac Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/lr.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ls.png b/htdocs/wp-content/plugins/qtranslate/flags/ls.png new file mode 100644 index 0000000..803af42 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ls.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/lt.png b/htdocs/wp-content/plugins/qtranslate/flags/lt.png new file mode 100644 index 0000000..c089c21 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/lt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/lu.png b/htdocs/wp-content/plugins/qtranslate/flags/lu.png new file mode 100644 index 0000000..3567b65 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/lu.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/lv.png b/htdocs/wp-content/plugins/qtranslate/flags/lv.png new file mode 100644 index 0000000..d5fda23 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/lv.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ly.png b/htdocs/wp-content/plugins/qtranslate/flags/ly.png new file mode 100644 index 0000000..74cbcbb Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ly.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ma.png b/htdocs/wp-content/plugins/qtranslate/flags/ma.png new file mode 100644 index 0000000..12c6783 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ma.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mc.png b/htdocs/wp-content/plugins/qtranslate/flags/mc.png new file mode 100644 index 0000000..ae0b811 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mc.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/md.png b/htdocs/wp-content/plugins/qtranslate/flags/md.png new file mode 100644 index 0000000..3d14b52 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/md.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/me.png b/htdocs/wp-content/plugins/qtranslate/flags/me.png new file mode 100644 index 0000000..f3e3523 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/me.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mg.png b/htdocs/wp-content/plugins/qtranslate/flags/mg.png new file mode 100644 index 0000000..5814c4f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mg.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mh.png b/htdocs/wp-content/plugins/qtranslate/flags/mh.png new file mode 100644 index 0000000..c76824d Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mh.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mk.png b/htdocs/wp-content/plugins/qtranslate/flags/mk.png new file mode 100644 index 0000000..dd438b9 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mk.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ml.png b/htdocs/wp-content/plugins/qtranslate/flags/ml.png new file mode 100644 index 0000000..df4ca9b Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ml.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mm.png b/htdocs/wp-content/plugins/qtranslate/flags/mm.png new file mode 100644 index 0000000..c02c91c Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mm.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mn.png b/htdocs/wp-content/plugins/qtranslate/flags/mn.png new file mode 100644 index 0000000..65ee79b Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mn.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mo.png b/htdocs/wp-content/plugins/qtranslate/flags/mo.png new file mode 100644 index 0000000..f0aa0be Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mo.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mp.png b/htdocs/wp-content/plugins/qtranslate/flags/mp.png new file mode 100644 index 0000000..e69b52a Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mp.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mq.png b/htdocs/wp-content/plugins/qtranslate/flags/mq.png new file mode 100644 index 0000000..8507c5f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mq.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mr.png b/htdocs/wp-content/plugins/qtranslate/flags/mr.png new file mode 100644 index 0000000..c8c3006 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mr.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ms.png b/htdocs/wp-content/plugins/qtranslate/flags/ms.png new file mode 100644 index 0000000..b9dd65b Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ms.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mt.png b/htdocs/wp-content/plugins/qtranslate/flags/mt.png new file mode 100644 index 0000000..22a67ae Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mu.png b/htdocs/wp-content/plugins/qtranslate/flags/mu.png new file mode 100644 index 0000000..118afbc Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mu.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mv.png b/htdocs/wp-content/plugins/qtranslate/flags/mv.png new file mode 100644 index 0000000..4e95a2c Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mv.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mw.png b/htdocs/wp-content/plugins/qtranslate/flags/mw.png new file mode 100644 index 0000000..59bdd94 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mw.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mx.png b/htdocs/wp-content/plugins/qtranslate/flags/mx.png new file mode 100644 index 0000000..882c499 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mx.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/my.png b/htdocs/wp-content/plugins/qtranslate/flags/my.png new file mode 100644 index 0000000..e0d1d62 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/my.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/mz.png b/htdocs/wp-content/plugins/qtranslate/flags/mz.png new file mode 100644 index 0000000..1295b8f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/mz.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/na.png b/htdocs/wp-content/plugins/qtranslate/flags/na.png new file mode 100644 index 0000000..db9591e Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/na.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/nc.png b/htdocs/wp-content/plugins/qtranslate/flags/nc.png new file mode 100644 index 0000000..8507c5f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/nc.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ne.png b/htdocs/wp-content/plugins/qtranslate/flags/ne.png new file mode 100644 index 0000000..3ae3647 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ne.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/nf.png b/htdocs/wp-content/plugins/qtranslate/flags/nf.png new file mode 100644 index 0000000..3947e28 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/nf.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ng.png b/htdocs/wp-content/plugins/qtranslate/flags/ng.png new file mode 100644 index 0000000..5b0b04a Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ng.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ni.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/ni.alt.png new file mode 100644 index 0000000..c5a90f6 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ni.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ni.png b/htdocs/wp-content/plugins/qtranslate/flags/ni.png new file mode 100644 index 0000000..109a317 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ni.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/nl.png b/htdocs/wp-content/plugins/qtranslate/flags/nl.png new file mode 100644 index 0000000..e35f139 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/nl.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/no.png b/htdocs/wp-content/plugins/qtranslate/flags/no.png new file mode 100644 index 0000000..b81acae Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/no.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/np.png b/htdocs/wp-content/plugins/qtranslate/flags/np.png new file mode 100644 index 0000000..8fcc963 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/np.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/nr.png b/htdocs/wp-content/plugins/qtranslate/flags/nr.png new file mode 100644 index 0000000..c0ff991 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/nr.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/nu.png b/htdocs/wp-content/plugins/qtranslate/flags/nu.png new file mode 100644 index 0000000..e4c216c Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/nu.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/nz.png b/htdocs/wp-content/plugins/qtranslate/flags/nz.png new file mode 100644 index 0000000..71cbee9 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/nz.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/om.png b/htdocs/wp-content/plugins/qtranslate/flags/om.png new file mode 100644 index 0000000..514c25f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/om.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/pa.png b/htdocs/wp-content/plugins/qtranslate/flags/pa.png new file mode 100644 index 0000000..6bab82e Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/pa.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/pe.png b/htdocs/wp-content/plugins/qtranslate/flags/pe.png new file mode 100644 index 0000000..d488865 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/pe.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/pf.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/pf.alt.png new file mode 100644 index 0000000..81c3354 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/pf.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/pf.png b/htdocs/wp-content/plugins/qtranslate/flags/pf.png new file mode 100644 index 0000000..8507c5f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/pf.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/pg.png b/htdocs/wp-content/plugins/qtranslate/flags/pg.png new file mode 100644 index 0000000..456442e Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/pg.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ph.png b/htdocs/wp-content/plugins/qtranslate/flags/ph.png new file mode 100644 index 0000000..253b411 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ph.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/pk.png b/htdocs/wp-content/plugins/qtranslate/flags/pk.png new file mode 100644 index 0000000..3e5940f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/pk.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/pl.png b/htdocs/wp-content/plugins/qtranslate/flags/pl.png new file mode 100644 index 0000000..9975051 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/pl.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/pm.png b/htdocs/wp-content/plugins/qtranslate/flags/pm.png new file mode 100644 index 0000000..8507c5f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/pm.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/pn.png b/htdocs/wp-content/plugins/qtranslate/flags/pn.png new file mode 100644 index 0000000..3605828 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/pn.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/pr.png b/htdocs/wp-content/plugins/qtranslate/flags/pr.png new file mode 100644 index 0000000..d31ff58 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/pr.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ps.png b/htdocs/wp-content/plugins/qtranslate/flags/ps.png new file mode 100644 index 0000000..fdc2418 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ps.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/pt.png b/htdocs/wp-content/plugins/qtranslate/flags/pt.png new file mode 100644 index 0000000..9af2e15 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/pt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/pw.png b/htdocs/wp-content/plugins/qtranslate/flags/pw.png new file mode 100644 index 0000000..eca751a Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/pw.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/py.png b/htdocs/wp-content/plugins/qtranslate/flags/py.png new file mode 100644 index 0000000..5c3835a Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/py.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/qa.png b/htdocs/wp-content/plugins/qtranslate/flags/qa.png new file mode 100644 index 0000000..858c9ce Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/qa.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/re.png b/htdocs/wp-content/plugins/qtranslate/flags/re.png new file mode 100644 index 0000000..8507c5f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/re.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ro.png b/htdocs/wp-content/plugins/qtranslate/flags/ro.png new file mode 100644 index 0000000..ea4d1b0 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ro.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/rs.png b/htdocs/wp-content/plugins/qtranslate/flags/rs.png new file mode 100644 index 0000000..98a6b06 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/rs.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ru.png b/htdocs/wp-content/plugins/qtranslate/flags/ru.png new file mode 100644 index 0000000..a5480a8 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ru.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/rw.png b/htdocs/wp-content/plugins/qtranslate/flags/rw.png new file mode 100644 index 0000000..d9cbac3 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/rw.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sa.png b/htdocs/wp-content/plugins/qtranslate/flags/sa.png new file mode 100644 index 0000000..6772d24 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sa.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sb.png b/htdocs/wp-content/plugins/qtranslate/flags/sb.png new file mode 100644 index 0000000..3f1abd5 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sb.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sc.png b/htdocs/wp-content/plugins/qtranslate/flags/sc.png new file mode 100644 index 0000000..d21464e Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sc.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sd.png b/htdocs/wp-content/plugins/qtranslate/flags/sd.png new file mode 100644 index 0000000..b315c70 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sd.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/se.png b/htdocs/wp-content/plugins/qtranslate/flags/se.png new file mode 100644 index 0000000..fa879c1 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/se.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sg.png b/htdocs/wp-content/plugins/qtranslate/flags/sg.png new file mode 100644 index 0000000..773f13a Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sg.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sh.png b/htdocs/wp-content/plugins/qtranslate/flags/sh.png new file mode 100644 index 0000000..8ab7c55 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sh.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/si.png b/htdocs/wp-content/plugins/qtranslate/flags/si.png new file mode 100644 index 0000000..06635a7 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/si.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sj.png b/htdocs/wp-content/plugins/qtranslate/flags/sj.png new file mode 100644 index 0000000..b81acae Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sj.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sk.png b/htdocs/wp-content/plugins/qtranslate/flags/sk.png new file mode 100644 index 0000000..a08ddf6 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sk.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sl.png b/htdocs/wp-content/plugins/qtranslate/flags/sl.png new file mode 100644 index 0000000..b7175b0 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sl.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sm.png b/htdocs/wp-content/plugins/qtranslate/flags/sm.png new file mode 100644 index 0000000..a443536 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sm.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sn.png b/htdocs/wp-content/plugins/qtranslate/flags/sn.png new file mode 100644 index 0000000..72178c0 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sn.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/so.png b/htdocs/wp-content/plugins/qtranslate/flags/so.png new file mode 100644 index 0000000..8792e2b Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/so.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sr.png b/htdocs/wp-content/plugins/qtranslate/flags/sr.png new file mode 100644 index 0000000..55a63da Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sr.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/st.png b/htdocs/wp-content/plugins/qtranslate/flags/st.png new file mode 100644 index 0000000..41289f9 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/st.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sv.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/sv.alt.png new file mode 100644 index 0000000..a98d354 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sv.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sv.png b/htdocs/wp-content/plugins/qtranslate/flags/sv.png new file mode 100644 index 0000000..e66bc64 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sv.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sy.png b/htdocs/wp-content/plugins/qtranslate/flags/sy.png new file mode 100644 index 0000000..c7edee3 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sy.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/sz.png b/htdocs/wp-content/plugins/qtranslate/flags/sz.png new file mode 100644 index 0000000..305ca12 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/sz.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/tc.png b/htdocs/wp-content/plugins/qtranslate/flags/tc.png new file mode 100644 index 0000000..98da292 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/tc.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/td.png b/htdocs/wp-content/plugins/qtranslate/flags/td.png new file mode 100644 index 0000000..c38135f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/td.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/tf.png b/htdocs/wp-content/plugins/qtranslate/flags/tf.png new file mode 100644 index 0000000..8507c5f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/tf.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/tg.png b/htdocs/wp-content/plugins/qtranslate/flags/tg.png new file mode 100644 index 0000000..9518c11 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/tg.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/th.png b/htdocs/wp-content/plugins/qtranslate/flags/th.png new file mode 100644 index 0000000..7985c18 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/th.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/tj.png b/htdocs/wp-content/plugins/qtranslate/flags/tj.png new file mode 100644 index 0000000..dacc3cb Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/tj.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/tk.png b/htdocs/wp-content/plugins/qtranslate/flags/tk.png new file mode 100644 index 0000000..71cbee9 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/tk.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/tl.png b/htdocs/wp-content/plugins/qtranslate/flags/tl.png new file mode 100644 index 0000000..e1a3e14 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/tl.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/tm.png b/htdocs/wp-content/plugins/qtranslate/flags/tm.png new file mode 100644 index 0000000..17a3e47 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/tm.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/tn.png b/htdocs/wp-content/plugins/qtranslate/flags/tn.png new file mode 100644 index 0000000..75eaa2f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/tn.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/to.png b/htdocs/wp-content/plugins/qtranslate/flags/to.png new file mode 100644 index 0000000..cbaec00 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/to.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/tr.png b/htdocs/wp-content/plugins/qtranslate/flags/tr.png new file mode 100644 index 0000000..4742502 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/tr.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/tt.png b/htdocs/wp-content/plugins/qtranslate/flags/tt.png new file mode 100644 index 0000000..dff9f82 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/tt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/tv.png b/htdocs/wp-content/plugins/qtranslate/flags/tv.png new file mode 100644 index 0000000..f0b5fcb Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/tv.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/tw.png b/htdocs/wp-content/plugins/qtranslate/flags/tw.png new file mode 100644 index 0000000..5224542 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/tw.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/tz.png b/htdocs/wp-content/plugins/qtranslate/flags/tz.png new file mode 100644 index 0000000..f15c12b Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/tz.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ua.png b/htdocs/wp-content/plugins/qtranslate/flags/ua.png new file mode 100644 index 0000000..bdd60b0 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ua.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ug.png b/htdocs/wp-content/plugins/qtranslate/flags/ug.png new file mode 100644 index 0000000..af327d5 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ug.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/uk.png b/htdocs/wp-content/plugins/qtranslate/flags/uk.png new file mode 100644 index 0000000..f2e8bff Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/uk.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/um.png b/htdocs/wp-content/plugins/qtranslate/flags/um.png new file mode 100644 index 0000000..4b5496f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/um.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/us.png b/htdocs/wp-content/plugins/qtranslate/flags/us.png new file mode 100644 index 0000000..4b5496f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/us.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/uy.png b/htdocs/wp-content/plugins/qtranslate/flags/uy.png new file mode 100644 index 0000000..8137d0f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/uy.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/uz.png b/htdocs/wp-content/plugins/qtranslate/flags/uz.png new file mode 100644 index 0000000..64eae40 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/uz.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/va.png b/htdocs/wp-content/plugins/qtranslate/flags/va.png new file mode 100644 index 0000000..bb62693 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/va.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/vc.png b/htdocs/wp-content/plugins/qtranslate/flags/vc.png new file mode 100644 index 0000000..755d5bb Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/vc.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ve.png b/htdocs/wp-content/plugins/qtranslate/flags/ve.png new file mode 100644 index 0000000..b522509 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ve.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/vg.png b/htdocs/wp-content/plugins/qtranslate/flags/vg.png new file mode 100644 index 0000000..6a6bb4f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/vg.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/vi.png b/htdocs/wp-content/plugins/qtranslate/flags/vi.png new file mode 100644 index 0000000..1def252 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/vi.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/vn.png b/htdocs/wp-content/plugins/qtranslate/flags/vn.png new file mode 100644 index 0000000..4704769 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/vn.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/vu.png b/htdocs/wp-content/plugins/qtranslate/flags/vu.png new file mode 100644 index 0000000..2a60879 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/vu.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/wf.alt.png b/htdocs/wp-content/plugins/qtranslate/flags/wf.alt.png new file mode 100644 index 0000000..aa19933 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/wf.alt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/wf.png b/htdocs/wp-content/plugins/qtranslate/flags/wf.png new file mode 100644 index 0000000..8507c5f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/wf.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ws.png b/htdocs/wp-content/plugins/qtranslate/flags/ws.png new file mode 100644 index 0000000..0c9ccc3 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ws.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/ye.png b/htdocs/wp-content/plugins/qtranslate/flags/ye.png new file mode 100644 index 0000000..fa7dbdb Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/ye.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/yt.png b/htdocs/wp-content/plugins/qtranslate/flags/yt.png new file mode 100644 index 0000000..8507c5f Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/yt.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/yu.png b/htdocs/wp-content/plugins/qtranslate/flags/yu.png new file mode 100644 index 0000000..c8489a7 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/yu.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/za.png b/htdocs/wp-content/plugins/qtranslate/flags/za.png new file mode 100644 index 0000000..43e9256 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/za.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/zm.png b/htdocs/wp-content/plugins/qtranslate/flags/zm.png new file mode 100644 index 0000000..7b923ef Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/zm.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/zw.png b/htdocs/wp-content/plugins/qtranslate/flags/zw.png new file mode 100644 index 0000000..2367cc5 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/zw.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/flags/zz.png b/htdocs/wp-content/plugins/qtranslate/flags/zz.png new file mode 100644 index 0000000..0f05243 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/flags/zz.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-az_AZ.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-az_AZ.mo new file mode 100644 index 0000000..53c1752 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-az_AZ.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-bg_BG.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-bg_BG.mo new file mode 100644 index 0000000..6e4d5f8 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-bg_BG.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-cs_CZ.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-cs_CZ.mo new file mode 100644 index 0000000..b2f8e72 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-cs_CZ.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-da_DK.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-da_DK.mo new file mode 100644 index 0000000..88e8964 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-da_DK.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-de_DE.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-de_DE.mo new file mode 100644 index 0000000..ec29e07 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-de_DE.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-eo.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-eo.mo new file mode 100644 index 0000000..e3bae6e Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-eo.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-es_CA.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-es_CA.mo new file mode 100644 index 0000000..231b643 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-es_CA.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-es_ES.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-es_ES.mo new file mode 100644 index 0000000..74229c1 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-es_ES.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-fr_FR.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-fr_FR.mo new file mode 100644 index 0000000..ccac30b Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-fr_FR.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-hu_HU.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-hu_HU.mo new file mode 100644 index 0000000..554871b Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-hu_HU.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-id_ID.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-id_ID.mo new file mode 100644 index 0000000..ff7bbab Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-id_ID.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-it_IT.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-it_IT.mo new file mode 100644 index 0000000..a37e6e6 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-it_IT.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-ja_JP.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-ja_JP.mo new file mode 100644 index 0000000..4cbf550 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-ja_JP.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-mk_MK.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-mk_MK.mo new file mode 100644 index 0000000..f698bf4 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-mk_MK.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-ms_MY.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-ms_MY.mo new file mode 100644 index 0000000..7901784 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-ms_MY.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-nl_NL.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-nl_NL.mo new file mode 100644 index 0000000..f868828 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-nl_NL.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-pl_PL.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-pl_PL.mo new file mode 100644 index 0000000..fb8bfaa Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-pl_PL.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-pt_BR.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-pt_BR.mo new file mode 100644 index 0000000..27deba2 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-pt_BR.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-pt_PT.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-pt_PT.mo new file mode 100644 index 0000000..4d47e8b Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-pt_PT.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-ro_RO.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-ro_RO.mo new file mode 100644 index 0000000..53a7e3a Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-ro_RO.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-ru_RU.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-ru_RU.mo new file mode 100644 index 0000000..0d71b68 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-ru_RU.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-sv_SE.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-sv_SE.mo new file mode 100644 index 0000000..8aa75ee Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-sv_SE.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-tr_TR.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-tr_TR.mo new file mode 100644 index 0000000..2adaa57 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-tr_TR.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-zh_CN.mo b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-zh_CN.mo new file mode 100644 index 0000000..a1c360a Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate-zh_CN.mo differ diff --git a/htdocs/wp-content/plugins/qtranslate/lang/qtranslate.pot b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate.pot new file mode 100644 index 0000000..7b56bc7 --- /dev/null +++ b/htdocs/wp-content/plugins/qtranslate/lang/qtranslate.pot @@ -0,0 +1,836 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR Qian Qin +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: http://wordpress.org/tag/qtranslate\n" +"POT-Creation-Date: 2009-10-11 12:35+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: qtranslate_configuration.php:25 +msgid "Language Management" +msgstr "" + +#: qtranslate_configuration.php:25 qtranslate_configuration.php:582 +#: qtranslate_hooks.php:168 +msgid "Languages" +msgstr "" + +#: qtranslate_configuration.php:35 +msgid "language_name" +msgstr "" + +#: qtranslate_configuration.php:45 +msgid "Language Code" +msgstr "" + +#: qtranslate_configuration.php:47 +msgid "" +"2-Letter ISO " +"Language Code for the Language you want to insert. (Example: en)" +msgstr "" + +#: qtranslate_configuration.php:50 +msgid "Flag" +msgstr "" + +#: qtranslate_configuration.php:75 +msgid "Incorrect Flag Image Path! Please correct it!" +msgstr "" + +#: qtranslate_configuration.php:78 +msgid "Choose the corresponding country flag for language. (Example: gb.png)" +msgstr "" + +#: qtranslate_configuration.php:91 qtranslate_configuration.php:180 +msgid "Name" +msgstr "" + +#: qtranslate_configuration.php:93 +msgid "" +"The Name of the language, which will be displayed on the site. (Example: " +"English)" +msgstr "" + +#: qtranslate_configuration.php:96 +msgid "Locale" +msgstr "" + +#: qtranslate_configuration.php:99 +msgid "PHP and Wordpress Locale for the language. (Example: en_US)" +msgstr "" + +#: qtranslate_configuration.php:100 +msgid "You will need to install the .mo file for this language." +msgstr "" + +#: qtranslate_configuration.php:104 +msgid "Date Format" +msgstr "" + +#: qtranslate_configuration.php:106 +msgid "" +"Depending on your Date / Time Conversion Mode, you can either enter a strftime (use %" +"q for day suffix (st,nd,rd,th)) or date format. This field is optional. (Example: %A %B " +"%e%q, %Y)" +msgstr "" + +#: qtranslate_configuration.php:109 +msgid "Time Format" +msgstr "" + +#: qtranslate_configuration.php:111 +msgid "" +"Depending on your Date / Time Conversion Mode, you can either enter a strftime or date format. This " +"field is optional. (Example: %I:%M %p)" +msgstr "" + +#: qtranslate_configuration.php:114 +msgid "Not Available Message" +msgstr "" + +#: qtranslate_configuration.php:117 +msgid "" +"Message to display if post is not available in the requested language. " +"(Example: Sorry, this entry is only available in %LANG:, : and %.)" +msgstr "" + +#: qtranslate_configuration.php:118 +msgid "" +"%LANG:<normal_seperator>:<last_seperator>% generates a list of " +"languages seperated by <normal_seperator> except for the last one, " +"where <last_seperator> will be used instead." +msgstr "" + +#: qtranslate_configuration.php:181 qtranslate_services.php:306 +msgid "Action" +msgstr "" + +#: qtranslate_configuration.php:207 +msgid "qTranslate has been reset." +msgstr "" + +#: qtranslate_configuration.php:220 +msgid "Gettext databases updated." +msgstr "" + +#: qtranslate_configuration.php:225 +msgid "The Language must have a Not-Available Message!" +msgstr "" + +#: qtranslate_configuration.php:226 +msgid "The Language must have a Locale!" +msgstr "" + +#: qtranslate_configuration.php:227 +msgid "The Language must have a name!" +msgstr "" + +#: qtranslate_configuration.php:228 +msgid "Language Code has to be 2 characters long!" +msgstr "" + +#: qtranslate_configuration.php:232 qtranslate_configuration.php:238 +msgid "There is already a language with the same Language Code!" +msgstr "" + +#: qtranslate_configuration.php:339 +msgid "Language is already enabled or invalid!" +msgstr "" + +#: qtranslate_configuration.php:344 +msgid "Cannot disable Default Language!" +msgstr "" + +#: qtranslate_configuration.php:347 qtranslate_configuration.php:354 +#: qtranslate_configuration.php:370 +msgid "No such language!" +msgstr "" + +#: qtranslate_configuration.php:350 +msgid "Language is already disabled!" +msgstr "" + +#: qtranslate_configuration.php:358 +msgid "Language is already first!" +msgstr "" + +#: qtranslate_configuration.php:364 qtranslate_configuration.php:380 +msgid "New order saved." +msgstr "" + +#: qtranslate_configuration.php:374 +msgid "Language is already last!" +msgstr "" + +#: qtranslate_configuration.php:391 +msgid "Options saved." +msgstr "" + +#: qtranslate_configuration.php:396 +#, php-format +msgid "Could not write to \"%s\", Gettext Databases could not be downloaded!" +msgstr "" + +#: qtranslate_configuration.php:418 +msgid "Edit Language" +msgstr "" + +#: qtranslate_configuration.php:421 +msgid "Save Changes »" +msgstr "" + +#: qtranslate_configuration.php:426 +msgid "Language Management (qTranslate Configuration)" +msgstr "" + +#: qtranslate_configuration.php:427 +#, php-format +msgid "" +"For help on how to configure qTranslate correctly, take a look at the qTranslate FAQ and the Support Forum." +msgstr "" + +#: qtranslate_configuration.php:429 +msgid "General Settings" +msgstr "" + +#: qtranslate_configuration.php:432 +msgid "Default Language / Order" +msgstr "" + +#: qtranslate_configuration.php:434 +msgid "Default Language" +msgstr "" + +#: qtranslate_configuration.php:450 +#, php-format +msgid "" +"Choose the default language of your blog. This is the language which will be " +"shown on %s. You can also change the order the languages by clicking on the " +"arrows above." +msgstr "" + +#: qtranslate_configuration.php:455 +msgid "Hide Untranslated Content" +msgstr "" + +#: qtranslate_configuration.php:457 +msgid "Hide Content which is not available for the selected language." +msgstr "" + +#: qtranslate_configuration.php:459 +msgid "" +"When checked, posts will be hidden if the content is not available for the " +"selected language. If unchecked, a message will appear showing all the " +"languages the content is available in." +msgstr "" + +#: qtranslate_configuration.php:460 +msgid "" +"This function will not work correctly if you installed qTranslate on a blog " +"with existing entries. In this case you will need to take a look at " +"\"Convert Database\" under \"Advanced Settings\"." +msgstr "" + +#: qtranslate_configuration.php:464 +msgid "Detect Browser Language" +msgstr "" + +#: qtranslate_configuration.php:466 +msgid "Detect the language of the browser and redirect accordingly." +msgstr "" + +#: qtranslate_configuration.php:468 +msgid "" +"When the frontpage is visited via bookmark/external link/type-in, the " +"visitor will be forwarded to the correct URL for the language specified by " +"his browser." +msgstr "" + +#: qtranslate_configuration.php:472 +msgid "Advanced Settings" +msgstr "" + +#: qtranslate_configuration.php:472 qtranslate_services.php:313 +msgid "Show" +msgstr "" + +#: qtranslate_configuration.php:475 qtranslate_configuration.php:477 +msgid "URL Modification Mode" +msgstr "" + +#: qtranslate_configuration.php:478 +msgid "Use Query Mode (?lang=en)" +msgstr "" + +#: qtranslate_configuration.php:479 +msgid "Use Pre-Path Mode (Default, puts /en/ in front of URL)" +msgstr "" + +#: qtranslate_configuration.php:480 +msgid "Use Pre-Domain Mode (uses http://en.yoursite.com)" +msgstr "" + +#: qtranslate_configuration.php:482 +msgid "" +"Pre-Path and Pre-Domain mode will only work with mod_rewrite/pretty " +"permalinks. Additional Configuration is needed for Pre-Domain mode!" +msgstr "" + +#: qtranslate_configuration.php:483 +msgid "Hide URL language information for default language." +msgstr "" + +#: qtranslate_configuration.php:487 +msgid "Flag Image Path" +msgstr "" + +#: qtranslate_configuration.php:491 +msgid "" +"Path to the flag images under wp-content, with trailing slash. (Default: " +"plugins/qtranslate/flags/)" +msgstr "" + +#: qtranslate_configuration.php:495 +msgid "Ignore Links" +msgstr "" + +#: qtranslate_configuration.php:499 +msgid "" +"Don't convert Links to files of the given file types. (Default: gif,jpg,jpeg," +"png,pdf,swf,tif,rar,zip,7z,mpg,divx,mpeg,avi,css,js)" +msgstr "" + +#: qtranslate_configuration.php:503 +msgid "Update Gettext Databases" +msgstr "" + +#: qtranslate_configuration.php:505 +msgid "Automatically check for .mo-Database Updates of installed languages." +msgstr "" + +#: qtranslate_configuration.php:507 +msgid "Update Gettext databases now." +msgstr "" + +#: qtranslate_configuration.php:509 +msgid "" +"qTranslate will query the Wordpress Localisation Repository every week and " +"download the latest Gettext Databases (.mo Files)." +msgstr "" + +#: qtranslate_configuration.php:513 +msgid "Date / Time Conversion" +msgstr "" + +#: qtranslate_configuration.php:515 +msgid "Use emulated date function." +msgstr "" + +#: qtranslate_configuration.php:516 +msgid "" +"Use emulated date function and replace formats with the predefined formats " +"for each language." +msgstr "" + +#: qtranslate_configuration.php:517 +msgid "Use strftime instead of date." +msgstr "" + +#: qtranslate_configuration.php:518 +msgid "" +"Use strftime instead of date and replace formats with the predefined formats " +"for each language." +msgstr "" + +#: qtranslate_configuration.php:519 +msgid "" +"Depending on the mode selected, additional customizations of the theme may " +"be needed." +msgstr "" + +#: qtranslate_configuration.php:523 +msgid "Reset qTranslate" +msgstr "" + +#: qtranslate_configuration.php:525 +msgid "Check this box and click Save Changes to reset all qTranslate settings." +msgstr "" + +#: qtranslate_configuration.php:527 +msgid "Yes, I really want to reset qTranslate." +msgstr "" + +#: qtranslate_configuration.php:529 +msgid "Also delete Translations for Categories/Tags/Link Categories." +msgstr "" + +#: qtranslate_configuration.php:531 +msgid "" +"If something isn't working correctly, you can always try to reset all " +"qTranslate settings. A Reset won't delete any posts but will remove all " +"settings (including all languages added)." +msgstr "" + +#: qtranslate_configuration.php:535 +msgid "Convert Database" +msgstr "" + +#: qtranslate_configuration.php:537 +#, php-format +msgid "" +"If you are updating from qTranslate 1.x or Polyglot, click " +"here to convert posts to the new language tag format." +msgstr "" + +#: qtranslate_configuration.php:538 +#, php-format +msgid "" +"If you have installed qTranslate for the first time on a Wordpress with " +"existing posts, you can either go through all your posts manually and save " +"them in the correct language or click here to mark all " +"existing posts as written in the default language." +msgstr "" + +#: qtranslate_configuration.php:539 +msgid "" +"Both processes are irreversible! Be sure to make a full database " +"backup before clicking one of the links." +msgstr "" + +#: qtranslate_configuration.php:543 +msgid "Debugging Information" +msgstr "" + +#: qtranslate_configuration.php:545 +#, php-format +msgid "" +"If you encounter any problems and you are unable to solve them yourself, you " +"can visit the Support Forum. Posting the following " +"Content will help other detect any misconfigurations." +msgstr "" + +#: qtranslate_configuration.php:575 +msgid "Save Changes" +msgstr "" + +#: qtranslate_configuration.php:606 +msgid "Disable" +msgstr "" + +#: qtranslate_configuration.php:606 +msgid "Enable" +msgstr "" + +#: qtranslate_configuration.php:607 +msgid "Edit" +msgstr "" + +#: qtranslate_configuration.php:608 +msgid "Default" +msgstr "" + +#: qtranslate_configuration.php:608 +msgid "Delete" +msgstr "" + +#: qtranslate_configuration.php:613 +msgid "" +"Enabling a language will cause qTranslate to update the Gettext-Database for " +"the language, which can take a while depending on your server's connection " +"speed." +msgstr "" + +#: qtranslate_configuration.php:620 +msgid "Add Language" +msgstr "" + +#: qtranslate_configuration.php:623 +msgid "Add Language »" +msgstr "" + +#: qtranslate_hooks.php:155 +msgid "Settings" +msgstr "" + +#: qtranslate_services.php:47 +msgid "The language/s do not have a valid ISO 639-1 representation." +msgstr "" + +#: qtranslate_services.php:48 +msgid "The language/s you used are not supported by the service." +msgstr "" + +#: qtranslate_services.php:49 +msgid "There is no such service." +msgstr "" + +#: qtranslate_services.php:50 +msgid "The system could not process your order." +msgstr "" + +#: qtranslate_services.php:51 +msgid "There has been an error with the selected service." +msgstr "" + +#: qtranslate_services.php:52 +msgid "An unknown error occured with the selected service." +msgstr "" + +#: qtranslate_services.php:53 +msgid "The server returned a debugging message." +msgstr "" + +#: qtranslate_services.php:154 +#, php-format +msgid "
Translate to %s
" +msgstr "" + +#: qtranslate_services.php:185 qtranslate_services.php:186 +msgid "Translate to" +msgstr "" + +#: qtranslate_services.php:273 +msgid "Order deleted." +msgstr "" + +#: qtranslate_services.php:277 +msgid "Status updated for all open orders." +msgstr "" + +#: qtranslate_services.php:302 +msgid "Post Title" +msgstr "" + +#: qtranslate_services.php:303 +msgid "Service" +msgstr "" + +#: qtranslate_services.php:304 +msgid "Source Language" +msgstr "" + +#: qtranslate_services.php:305 +msgid "Target Language" +msgstr "" + +#: qtranslate_services.php:313 +msgid "qTranslate Services Settings" +msgstr "" + +#: qtranslate_services.php:316 qtranslate_services.php:587 +#: qtranslate_services.php:597 qtranslate_services.php:621 +msgid "qTranslate Services" +msgstr "" + +#: qtranslate_services.php:318 +#, php-format +msgid "" +"

qTranslate Services could not " +"load OpenSSL!

" +msgstr "" + +#: qtranslate_services.php:319 +msgid "Enable qTranslate Services" +msgstr "" + +#: qtranslate_services.php:321 +msgid "" +"With qTranslate Services, you will be able to use professional human " +"translation services with a few clicks. (Requires OpenSSL)" +msgstr "" + +#: qtranslate_services.php:322 +msgid "Save after enabling to see more Configuration options." +msgstr "" + +#: qtranslate_services.php:332 +msgid "Open Orders" +msgstr "" + +#: qtranslate_services.php:354 +#, php-format +msgid "Edit %s" +msgstr "" + +#: qtranslate_services.php:355 qtranslate_services.php:392 +#: qtranslate_services.php:688 qtranslate_services.php:695 +msgid "Website" +msgstr "" + +#: qtranslate_services.php:365 +#, php-format +msgid "Current Status: %s" +msgstr "" + +#: qtranslate_services.php:373 +#, php-format +msgid "" +"qTranslate Services will automatically check every hour whether the " +"translations are finished and update your posts accordingly. You can always " +"check manually." +msgstr "" + +#: qtranslate_services.php:374 +msgid "" +"Deleting an open order doesn't cancel it. You will have to logon to the " +"service homepage and cancel it there." +msgstr "" + +#: qtranslate_services.php:376 +msgid "No open orders." +msgstr "" + +#: qtranslate_services.php:382 +msgid "Service Configuration" +msgstr "" + +#: qtranslate_services.php:383 +msgid "" +"Below, you will find configuration settings for qTranslate Service " +"Providers, which are required for them to operate." +msgstr "" + +#: qtranslate_services.php:392 +msgid "service_name" +msgstr "" + +#: qtranslate_services.php:393 +msgid "service_description" +msgstr "" + +#: qtranslate_services.php:476 +#, php-format +msgid "" +"To translate a post, please go to the edit posts overview." +msgstr "" + +#: qtranslate_services.php:488 +#, php-format +msgid "Post with id \"%s\" not found!" +msgstr "" + +#: qtranslate_services.php:496 +msgid "The requested Post has no content, no Translation possible." +msgstr "" + +#: qtranslate_services.php:505 +msgid "" +"The Post already has content for the selected target language. If a " +"translation request is send, the current text for the target language will " +"be overwritten." +msgstr "" + +#: qtranslate_services.php:566 +#, php-format +msgid "An error occured: %s" +msgstr "" + +#: qtranslate_services.php:568 +#, php-format +msgid "Additional information: %s" +msgstr "" + +#: qtranslate_services.php:589 +#, php-format +msgid "" +"An serious error occured and qTranslate Services cannot proceed. For help, " +"please visit the Support Forum" +msgstr "" + +#: qtranslate_services.php:598 +msgid "Order successfully sent." +msgstr "" + +#: qtranslate_services.php:599 +msgid "" +"Your translation order has been successfully transfered to the selected " +"service." +msgstr "" + +#: qtranslate_services.php:603 +#, php-format +msgid "The service returned this message: %s" +msgstr "" + +#: qtranslate_services.php:607 +msgid "Feel free to choose an action:" +msgstr "" + +#: qtranslate_services.php:609 +msgid "Translate this post to another language." +msgstr "" + +#: qtranslate_services.php:610 +msgid "Translate a different post." +msgstr "" + +#: qtranslate_services.php:611 +msgid "View all open orders." +msgstr "" + +#: qtranslate_services.php:612 +msgid "Let qTranslate Services check if any open orders are finished." +msgstr "" + +#: qtranslate_services.php:613 +msgid "View this post." +msgstr "" + +#: qtranslate_services.php:638 +#, php-format +msgid "" +"Your article is available in multiple languages. If you do not want to " +"translate from %1$s, you can switch to one of the following languages: %2$s" +msgstr "" + +#: qtranslate_services.php:646 +msgid "Please choose the language you want to translate to:" +msgstr "" + +#: qtranslate_services.php:658 +msgid "Continue" +msgstr "" + +#: qtranslate_services.php:663 +#, php-format +msgid "Please review your article and edit it if needed." +msgstr "" + +#: qtranslate_services.php:669 +msgid "" +"ERROR: Could not connect to qTranslate Services. Please try again later." +msgstr "" + +#: qtranslate_services.php:675 +msgid "Use the following Translation Service:" +msgstr "" + +#: qtranslate_services.php:689 +#, php-format +msgid "" +"Cannot use this service, not all required fields filled " +"in for this service." +msgstr "" + +#: qtranslate_services.php:701 +msgid "" +"Your article will be SSL encrypted and securly sent to qTranslate Services, " +"which will forward your text to the chosen Translation Service. Once " +"qTranslate Services receives the translated text, it will automatically " +"appear on your blog." +msgstr "" + +#: qtranslate_services.php:704 +msgid "Request Translation" +msgstr "" + +#: qtranslate_services.php:717 +msgid "Translate" +msgstr "" + +#: qtranslate_widget.php:24 +msgid "Allows your visitors to choose a Language." +msgstr "" + +#: qtranslate_widget.php:25 +msgid "qTranslate Language Chooser" +msgstr "" + +#: qtranslate_widget.php:32 +msgid "Language" +msgstr "" + +#: qtranslate_widget.php:57 +msgid "Title:" +msgstr "" + +#: qtranslate_widget.php:58 +msgid "Hide Title:" +msgstr "" + +#: qtranslate_widget.php:59 +msgid "Display:" +msgstr "" + +#: qtranslate_widget.php:60 +msgid "Text only" +msgstr "" + +#: qtranslate_widget.php:61 +msgid "Image only" +msgstr "" + +#: qtranslate_widget.php:62 +msgid "Text and Image" +msgstr "" + +#: qtranslate_widget.php:63 +msgid "Dropdown Box" +msgstr "" + +#: qtranslate_wphacks.php:46 qtranslate_wphacks.php:54 +msgid "Category Name" +msgstr "" + +#: qtranslate_wphacks.php:50 +msgid "Tag Name" +msgstr "" + +#: qtranslate_wphacks.php:63 +msgid "" +"This version of qTranslate has not been tested with your Wordpress version. " +"To prevent Wordpress from malfunctioning, the qTranslate Editor has been " +"disabled. You can reenable it by clicking here (may " +"cause data loss!). To remove this message, please update qTranslate " +"to the corresponding " +"version." +msgstr "" + +#: qtranslate_wphacks.php:320 +msgid "Title" +msgstr "" + +#. Plugin Name of an extension +msgid "qTranslate" +msgstr "" + +#. Plugin URI of an extension +msgid "http://www.qianqin.de/qtranslate/" +msgstr "" + +#. Description of an extension +msgid "" +"Adds userfriendly multilingual content support into Wordpress. For Problems " +"visit the Support Forum." +msgstr "" + +#. Author of an extension +msgid "Qian Qin" +msgstr "" + +#. Author URI of an extension +msgid "http://www.qianqin.de" +msgstr "" + +#. Tags of an extension +msgid "" +"multilingual, multi, language, admin, tinymce, qTranslate, Polyglot, " +"bilingual, widget, switcher, professional, human, translation, service" +msgstr "" diff --git a/htdocs/wp-content/plugins/qtranslate/license.txt b/htdocs/wp-content/plugins/qtranslate/license.txt new file mode 100644 index 0000000..818433e --- /dev/null +++ b/htdocs/wp-content/plugins/qtranslate/license.txt @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/htdocs/wp-content/plugins/qtranslate/qtranslate.php b/htdocs/wp-content/plugins/qtranslate/qtranslate.php new file mode 100644 index 0000000..06b27a2 --- /dev/null +++ b/htdocs/wp-content/plugins/qtranslate/qtranslate.php @@ -0,0 +1,463 @@ +Support Forum. +Version: 2.5.39 +Author: Qian Qin +Author URI: http://www.qianqin.de +Tags: multilingual, multi, language, admin, tinymce, qTranslate, Polyglot, bilingual, widget, switcher, professional, human, translation, service +*/ +/* + Most flags in flags directory are made by Luc Balemans and downloaded from + FOTW Flags Of The World website at http://flagspot.net/flags/ + (http://www.crwflags.com/FOTW/FLAGS/wflags.html) +*/ +/* Copyright 2008 Qian Qin (email : mail@qianqin.de) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ +/* + Default Language Contributers + ============================= + en, de by Qian Qin + zh by Junyan Chen + fi by Tatu Siltanen + fr by Damien Choizit + nl by RobV + sv by bear3556, johdah + it by Lorenzo De Tomasi + ro, hu by Jani Monoses + ja by Brian Parker + es by June + vi by hathhai + ar by Mohamed Magdy + pt by netolazaro + gl by Andrés Bott + + Plugin Translation Contributers + =============================== + en, de by Qian Qin + es_ES by Alejandro Urrutia + fr by eriath + tr by freeuser + it by shecky + nl by BlackDex + id by Masino Sinaga + pt by claudiotereso + az by evlenirikbiz + bg by Dimitar Mitev + da by meviper + mk by Pavle Boskoski + cz by bengo + ja by dapperdanman1400 + ms by webgrrrl + es_CA by CarlosSanz + hu by nb000 + zh_CN by silverfox + eo by Chuck Smith + pt_BR by Marcelo Paoli + ru by viaestvita + ro by ipuiu + sv by tobi + + Sponsored Features + ================== + Excerpt Translation by bastiaan van rooden (www.nothing.ch) + + Specials thanks + =============== + All Supporters! Thanks for all the gifts, cards and donations! +*/ +/* DEFAULT CONFIGURATION PART BEGINS HERE */ + +/* There is no need to edit anything here! */ + +// qTranslate Editor will only activated for the given version of Wordpress. +// Can be changed to use with other versions but might cause problems and/or data loss! +define('QT_SUPPORTED_WP_VERSION', '3.8.1'); +define('QT_STRING', 1); +define('QT_BOOLEAN', 2); +define('QT_INTEGER', 3); +define('QT_URL', 4); +define('QT_LANGUAGE', 5); +define('QT_URL_QUERY', 1); +define('QT_URL_PATH', 2); +define('QT_URL_DOMAIN', 3); +define('QT_STRFTIME_OVERRIDE', 1); +define('QT_DATE_OVERRIDE', 2); +define('QT_DATE', 3); +define('QT_STRFTIME', 4); + +// enable the use of following languages (order=>language) +$q_config['enabled_languages'] = array( + '0' => 'de', + '1' => 'en', + '2' => 'zh' + ); + +// sets default language +$q_config['default_language'] = 'en'; + +// enables browser language detection +$q_config['detect_browser_language'] = true; + +// hide pages without content +$q_config['hide_untranslated'] = false; + +// automatically update .mo files +$q_config['auto_update_mo'] = true; + +// hide language tag for default language +$q_config['hide_default_language'] = true; + +// sets default url mode +// QT_URL_QUERY - query (questionmark) +// QT_URL_PATH - pre-path +// QT_URL_DOMAIN - pre-domain +$q_config['url_mode'] = QT_URL_PATH; + +// pre-Domain Endings - for future use +$q_config['pre_domain']['de'] = "de"; +$q_config['pre_domain']['en'] = "en"; +$q_config['pre_domain']['zh'] = "zh"; +$q_config['pre_domain']['fi'] = "fs"; +$q_config['pre_domain']['fr'] = "fr"; +$q_config['pre_domain']['nl'] = "nl"; +$q_config['pre_domain']['sv'] = "sv"; +$q_config['pre_domain']['it'] = "it"; +$q_config['pre_domain']['ro'] = "ro"; +$q_config['pre_domain']['hu'] = "hu"; +$q_config['pre_domain']['ja'] = "ja"; +$q_config['pre_domain']['es'] = "es"; +$q_config['pre_domain']['vi'] = "vi"; +$q_config['pre_domain']['ar'] = "ar"; +$q_config['pre_domain']['pt'] = "pt"; +$q_config['pre_domain']['pl'] = "pl"; +$q_config['pre_domain']['gl'] = "gl"; + +// Names for languages in the corresponding language, add more if needed +$q_config['language_name']['de'] = "Deutsch"; +$q_config['language_name']['en'] = "English"; +$q_config['language_name']['zh'] = "中文"; +$q_config['language_name']['fi'] = "suomi"; +$q_config['language_name']['fr'] = "Français"; +$q_config['language_name']['nl'] = "Nederlands"; +$q_config['language_name']['sv'] = "Svenska"; +$q_config['language_name']['it'] = "Italiano"; +$q_config['language_name']['ro'] = "Română"; +$q_config['language_name']['hu'] = "Magyar"; +$q_config['language_name']['ja'] = "日本語"; +$q_config['language_name']['es'] = "Español"; +$q_config['language_name']['vi'] = "Tiếng Việt"; +$q_config['language_name']['ar'] = "العربية"; +$q_config['language_name']['pt'] = "Português"; +$q_config['language_name']['pl'] = "Polski"; +$q_config['language_name']['gl'] = "galego"; + +// Locales for languages +// see locale -a for available locales +$q_config['locale']['de'] = "de_DE"; +$q_config['locale']['en'] = "en_US"; +$q_config['locale']['zh'] = "zh_CN"; +$q_config['locale']['fi'] = "fi"; +$q_config['locale']['fr'] = "fr_FR"; +$q_config['locale']['nl'] = "nl_NL"; +$q_config['locale']['sv'] = "sv_SE"; +$q_config['locale']['it'] = "it_IT"; +$q_config['locale']['ro'] = "ro_RO"; +$q_config['locale']['hu'] = "hu_HU"; +$q_config['locale']['ja'] = "ja"; +$q_config['locale']['es'] = "es_ES"; +$q_config['locale']['vi'] = "vi"; +$q_config['locale']['ar'] = "ar"; +$q_config['locale']['pt'] = "pt_BR"; +$q_config['locale']['pl'] = "pl_PL"; +$q_config['locale']['gl'] = "gl_ES"; + +// Language not available messages +// %LANG::% generates a list of languages seperated by except for the last one, where will be used instead. +$q_config['not_available']['de'] = "Leider ist der Eintrag nur auf %LANG:, : und % verfügbar."; +$q_config['not_available']['en'] = "Sorry, this entry is only available in %LANG:, : and %."; +$q_config['not_available']['zh'] = "对不起,此内容只适用于%LANG:,:和%。"; +$q_config['not_available']['fi'] = "Anteeksi, mutta tämä kirjoitus on saatavana ainoastaan näillä kielillä: %LANG:, : ja %."; +$q_config['not_available']['fr'] = "Désolé, cet article est seulement disponible en %LANG:, : et %."; +$q_config['not_available']['nl'] = "Onze verontschuldigingen, dit bericht is alleen beschikbaar in %LANG:, : en %."; +$q_config['not_available']['sv'] = "Tyvärr är denna artikel enbart tillgänglig på %LANG:, : och %."; +$q_config['not_available']['it'] = "Ci spiace, ma questo articolo è disponibile soltanto in %LANG:, : e %."; +$q_config['not_available']['ro'] = "Din păcate acest articol este disponibil doar în %LANG:, : și %."; +$q_config['not_available']['hu'] = "Sajnos ennek a bejegyzésnek csak %LANG:, : és % nyelvű változata van."; +$q_config['not_available']['ja'] = "申し訳ありません、このコンテンツはただ今 %LANG:、 :と % のみです。"; +$q_config['not_available']['es'] = "Disculpa, pero esta entrada está disponible sólo en %LANG:, : y %."; +$q_config['not_available']['vi'] = "Rất tiếc, mục này chỉ tồn tại ở %LANG:, : và %."; +$q_config['not_available']['ar'] = "عفوا، هذه المدخلة موجودة فقط في %LANG:, : و %."; +$q_config['not_available']['pt'] = "Desculpe-nos, mas este texto esta apenas disponível em %LANG:, : y %."; +$q_config['not_available']['pl'] = "Przepraszamy, ten wpis jest dostępny tylko w języku %LANG:, : i %."; +$q_config['not_available']['gl'] = "Sentímolo moito, ista entrada atopase unicamente en %LANG;,: e %."; + +// qTranslate Services +$q_config['qtranslate_services'] = false; + +// strftime usage (backward compability) +$q_config['use_strftime'] = QT_DATE; + +// Date Configuration +$q_config['date_format']['en'] = '%A %B %e%q, %Y'; +$q_config['date_format']['de'] = '%A, der %e. %B %Y'; +$q_config['date_format']['zh'] = '%x %A'; +$q_config['date_format']['fi'] = '%e.&m.%C'; +$q_config['date_format']['fr'] = '%A %e %B %Y'; +$q_config['date_format']['nl'] = '%d/%m/%y'; +$q_config['date_format']['sv'] = '%Y/%m/%d'; +$q_config['date_format']['it'] = '%e %B %Y'; +$q_config['date_format']['ro'] = '%A, %e %B %Y'; +$q_config['date_format']['hu'] = '%Y %B %e, %A'; +$q_config['date_format']['ja'] = '%Y年%m月%d日'; +$q_config['date_format']['es'] = '%d de %B de %Y'; +$q_config['date_format']['vi'] = '%d/%m/%Y'; +$q_config['date_format']['ar'] = '%d/%m/%Y'; +$q_config['date_format']['pt'] = '%d de %B de %Y'; +$q_config['date_format']['pl'] = '%d/%m/%y'; +$q_config['date_format']['gl'] = '%d de %B de %Y'; + +$q_config['time_format']['en'] = '%I:%M %p'; +$q_config['time_format']['de'] = '%H:%M'; +$q_config['time_format']['zh'] = '%I:%M%p'; +$q_config['time_format']['fi'] = '%H:%M'; +$q_config['time_format']['fr'] = '%H:%M'; +$q_config['time_format']['nl'] = '%H:%M'; +$q_config['time_format']['sv'] = '%H:%M'; +$q_config['time_format']['it'] = '%H:%M'; +$q_config['time_format']['ro'] = '%H:%M'; +$q_config['time_format']['hu'] = '%H:%M'; +$q_config['time_format']['ja'] = '%H:%M'; +$q_config['time_format']['es'] = '%H:%M hrs.'; +$q_config['time_format']['vi'] = '%H:%M'; +$q_config['time_format']['ar'] = '%H:%M'; +$q_config['time_format']['pt'] = '%H:%M hrs.'; +$q_config['time_format']['pl'] = '%H:%M'; +$q_config['time_format']['gl'] = '%H:%M hrs.'; + +// Flag images configuration +// Look in /flags/ directory for a huge list of flags for usage +$q_config['flag']['en'] = 'gb.png'; +$q_config['flag']['de'] = 'de.png'; +$q_config['flag']['zh'] = 'cn.png'; +$q_config['flag']['fi'] = 'fi.png'; +$q_config['flag']['fr'] = 'fr.png'; +$q_config['flag']['nl'] = 'nl.png'; +$q_config['flag']['sv'] = 'se.png'; +$q_config['flag']['it'] = 'it.png'; +$q_config['flag']['ro'] = 'ro.png'; +$q_config['flag']['hu'] = 'hu.png'; +$q_config['flag']['ja'] = 'jp.png'; +$q_config['flag']['es'] = 'es.png'; +$q_config['flag']['vi'] = 'vn.png'; +$q_config['flag']['ar'] = 'arle.png'; +$q_config['flag']['pt'] = 'br.png'; +$q_config['flag']['pt'] = 'br.png'; +$q_config['flag']['gl'] = 'galego.png'; + +// Location of flags (needs trailing slash!) +$q_config['flag_location'] = 'plugins/qtranslate/flags/'; + +// Don't convert URLs to this file types +$q_config['ignore_file_types'] = 'gif,jpg,jpeg,png,pdf,swf,tif,rar,zip,7z,mpg,divx,mpeg,avi,css,js'; + +/* DEFAULT CONFIGURATION PART ENDS HERE */ + +$q_config['term_name'] = array(); + +// Full country names as locales for Windows systems +$q_config['windows_locale']['aa'] = "Afar"; +$q_config['windows_locale']['ab'] = "Abkhazian"; +$q_config['windows_locale']['ae'] = "Avestan"; +$q_config['windows_locale']['af'] = "Afrikaans"; +$q_config['windows_locale']['am'] = "Amharic"; +$q_config['windows_locale']['ar'] = "Arabic"; +$q_config['windows_locale']['as'] = "Assamese"; +$q_config['windows_locale']['ay'] = "Aymara"; +$q_config['windows_locale']['az'] = "Azerbaijani"; +$q_config['windows_locale']['ba'] = "Bashkir"; +$q_config['windows_locale']['be'] = "Belarusian"; +$q_config['windows_locale']['bg'] = "Bulgarian"; +$q_config['windows_locale']['bh'] = "Bihari"; +$q_config['windows_locale']['bi'] = "Bislama"; +$q_config['windows_locale']['bn'] = "Bengali"; +$q_config['windows_locale']['bo'] = "Tibetan"; +$q_config['windows_locale']['br'] = "Breton"; +$q_config['windows_locale']['bs'] = "Bosnian"; +$q_config['windows_locale']['ca'] = "Catalan"; +$q_config['windows_locale']['ce'] = "Chechen"; +$q_config['windows_locale']['ch'] = "Chamorro"; +$q_config['windows_locale']['co'] = "Corsican"; +$q_config['windows_locale']['cs'] = "Czech"; +$q_config['windows_locale']['cu'] = "Church Slavic"; +$q_config['windows_locale']['cv'] = "Chuvash"; +$q_config['windows_locale']['cy'] = "Welsh"; +$q_config['windows_locale']['da'] = "Danish"; +$q_config['windows_locale']['de'] = "German"; +$q_config['windows_locale']['dz'] = "Dzongkha"; +$q_config['windows_locale']['el'] = "Greek"; +$q_config['windows_locale']['en'] = "English"; +$q_config['windows_locale']['eo'] = "Esperanto"; +$q_config['windows_locale']['es'] = "Spanish"; +$q_config['windows_locale']['et'] = "Estonian"; +$q_config['windows_locale']['eu'] = "Basque"; +$q_config['windows_locale']['fa'] = "Persian"; +$q_config['windows_locale']['fi'] = "Finnish"; +$q_config['windows_locale']['fj'] = "Fijian"; +$q_config['windows_locale']['fo'] = "Faeroese"; +$q_config['windows_locale']['fr'] = "French"; +$q_config['windows_locale']['fy'] = "Frisian"; +$q_config['windows_locale']['ga'] = "Irish"; +$q_config['windows_locale']['gd'] = "Gaelic (Scots)"; +$q_config['windows_locale']['gl'] = "Gallegan"; +$q_config['windows_locale']['gn'] = "Guarani"; +$q_config['windows_locale']['gu'] = "Gujarati"; +$q_config['windows_locale']['gv'] = "Manx"; +$q_config['windows_locale']['ha'] = "Hausa"; +$q_config['windows_locale']['he'] = "Hebrew"; +$q_config['windows_locale']['hi'] = "Hindi"; +$q_config['windows_locale']['ho'] = "Hiri Motu"; +$q_config['windows_locale']['hr'] = "Croatian"; +$q_config['windows_locale']['hu'] = "Hungarian"; +$q_config['windows_locale']['hy'] = "Armenian"; +$q_config['windows_locale']['hz'] = "Herero"; +$q_config['windows_locale']['ia'] = "Interlingua"; +$q_config['windows_locale']['id'] = "Indonesian"; +$q_config['windows_locale']['ie'] = "Interlingue"; +$q_config['windows_locale']['ik'] = "Inupiaq"; +$q_config['windows_locale']['is'] = "Icelandic"; +$q_config['windows_locale']['it'] = "Italian"; +$q_config['windows_locale']['iu'] = "Inuktitut"; +$q_config['windows_locale']['ja'] = "Japanese"; +$q_config['windows_locale']['jw'] = "Javanese"; +$q_config['windows_locale']['ka'] = "Georgian"; +$q_config['windows_locale']['ki'] = "Kikuyu"; +$q_config['windows_locale']['kj'] = "Kuanyama"; +$q_config['windows_locale']['kk'] = "Kazakh"; +$q_config['windows_locale']['kl'] = "Kalaallisut"; +$q_config['windows_locale']['km'] = "Khmer"; +$q_config['windows_locale']['kn'] = "Kannada"; +$q_config['windows_locale']['ko'] = "Korean"; +$q_config['windows_locale']['ks'] = "Kashmiri"; +$q_config['windows_locale']['ku'] = "Kurdish"; +$q_config['windows_locale']['kv'] = "Komi"; +$q_config['windows_locale']['kw'] = "Cornish"; +$q_config['windows_locale']['ky'] = "Kirghiz"; +$q_config['windows_locale']['la'] = "Latin"; +$q_config['windows_locale']['lb'] = "Letzeburgesch"; +$q_config['windows_locale']['ln'] = "Lingala"; +$q_config['windows_locale']['lo'] = "Lao"; +$q_config['windows_locale']['lt'] = "Lithuanian"; +$q_config['windows_locale']['lv'] = "Latvian"; +$q_config['windows_locale']['mg'] = "Malagasy"; +$q_config['windows_locale']['mh'] = "Marshall"; +$q_config['windows_locale']['mi'] = "Maori"; +$q_config['windows_locale']['mk'] = "Macedonian"; +$q_config['windows_locale']['ml'] = "Malayalam"; +$q_config['windows_locale']['mn'] = "Mongolian"; +$q_config['windows_locale']['mo'] = "Moldavian"; +$q_config['windows_locale']['mr'] = "Marathi"; +$q_config['windows_locale']['ms'] = "Malay"; +$q_config['windows_locale']['mt'] = "Maltese"; +$q_config['windows_locale']['my'] = "Burmese"; +$q_config['windows_locale']['na'] = "Nauru"; +$q_config['windows_locale']['nb'] = "Norwegian Bokmal"; +$q_config['windows_locale']['nd'] = "Ndebele, North"; +$q_config['windows_locale']['ne'] = "Nepali"; +$q_config['windows_locale']['ng'] = "Ndonga"; +$q_config['windows_locale']['nl'] = "Dutch"; +$q_config['windows_locale']['nn'] = "Norwegian Nynorsk"; +$q_config['windows_locale']['no'] = "Norwegian"; +$q_config['windows_locale']['nr'] = "Ndebele, South"; +$q_config['windows_locale']['nv'] = "Navajo"; +$q_config['windows_locale']['ny'] = "Chichewa; Nyanja"; +$q_config['windows_locale']['oc'] = "Occitan (post 1500)"; +$q_config['windows_locale']['om'] = "Oromo"; +$q_config['windows_locale']['or'] = "Oriya"; +$q_config['windows_locale']['os'] = "Ossetian; Ossetic"; +$q_config['windows_locale']['pa'] = "Panjabi"; +$q_config['windows_locale']['pi'] = "Pali"; +$q_config['windows_locale']['pl'] = "Polish"; +$q_config['windows_locale']['ps'] = "Pushto"; +$q_config['windows_locale']['pt'] = "Portuguese"; +$q_config['windows_locale']['qu'] = "Quechua"; +$q_config['windows_locale']['rm'] = "Rhaeto-Romance"; +$q_config['windows_locale']['rn'] = "Rundi"; +$q_config['windows_locale']['ro'] = "Romanian"; +$q_config['windows_locale']['ru'] = "Russian"; +$q_config['windows_locale']['rw'] = "Kinyarwanda"; +$q_config['windows_locale']['sa'] = "Sanskrit"; +$q_config['windows_locale']['sc'] = "Sardinian"; +$q_config['windows_locale']['sd'] = "Sindhi"; +$q_config['windows_locale']['se'] = "Sami"; +$q_config['windows_locale']['sg'] = "Sango"; +$q_config['windows_locale']['si'] = "Sinhalese"; +$q_config['windows_locale']['sk'] = "Slovak"; +$q_config['windows_locale']['sl'] = "Slovenian"; +$q_config['windows_locale']['sm'] = "Samoan"; +$q_config['windows_locale']['sn'] = "Shona"; +$q_config['windows_locale']['so'] = "Somali"; +$q_config['windows_locale']['sq'] = "Albanian"; +$q_config['windows_locale']['sr'] = "Serbian"; +$q_config['windows_locale']['ss'] = "Swati"; +$q_config['windows_locale']['st'] = "Sotho"; +$q_config['windows_locale']['su'] = "Sundanese"; +$q_config['windows_locale']['sv'] = "Swedish"; +$q_config['windows_locale']['sw'] = "Swahili"; +$q_config['windows_locale']['ta'] = "Tamil"; +$q_config['windows_locale']['te'] = "Telugu"; +$q_config['windows_locale']['tg'] = "Tajik"; +$q_config['windows_locale']['th'] = "Thai"; +$q_config['windows_locale']['ti'] = "Tigrinya"; +$q_config['windows_locale']['tk'] = "Turkmen"; +$q_config['windows_locale']['tl'] = "Tagalog"; +$q_config['windows_locale']['tn'] = "Tswana"; +$q_config['windows_locale']['to'] = "Tonga"; +$q_config['windows_locale']['tr'] = "Turkish"; +$q_config['windows_locale']['ts'] = "Tsonga"; +$q_config['windows_locale']['tt'] = "Tatar"; +$q_config['windows_locale']['tw'] = "Twi"; +$q_config['windows_locale']['ug'] = "Uighur"; +$q_config['windows_locale']['uk'] = "Ukrainian"; +$q_config['windows_locale']['ur'] = "Urdu"; +$q_config['windows_locale']['uz'] = "Uzbek"; +$q_config['windows_locale']['vi'] = "Vietnamese"; +$q_config['windows_locale']['vo'] = "Volapuk"; +$q_config['windows_locale']['wo'] = "Wolof"; +$q_config['windows_locale']['xh'] = "Xhosa"; +$q_config['windows_locale']['yi'] = "Yiddish"; +$q_config['windows_locale']['yo'] = "Yoruba"; +$q_config['windows_locale']['za'] = "Zhuang"; +$q_config['windows_locale']['zh'] = "Chinese"; +$q_config['windows_locale']['zu'] = "Zulu"; + +// Load qTranslate +require_once(dirname(__FILE__)."/qtranslate_javascript.php"); +require_once(dirname(__FILE__)."/qtranslate_utils.php"); +require_once(dirname(__FILE__)."/qtranslate_core.php"); +require_once(dirname(__FILE__)."/qtranslate_wphacks.php"); +require_once(dirname(__FILE__)."/qtranslate_widget.php"); +require_once(dirname(__FILE__)."/qtranslate_configuration.php"); + +// load qTranslate Services if available +if(file_exists(dirname(__FILE__)."/qtranslate_services.php")) + require_once(dirname(__FILE__)."/qtranslate_services.php"); + +// set hooks at the end +require_once(dirname(__FILE__)."/qtranslate_hooks.php"); +?> diff --git a/htdocs/wp-content/plugins/qtranslate/qtranslate_configuration.php b/htdocs/wp-content/plugins/qtranslate/qtranslate_configuration.php new file mode 100644 index 0000000..d222b7e --- /dev/null +++ b/htdocs/wp-content/plugins/qtranslate/qtranslate_configuration.php @@ -0,0 +1,649 @@ + $language) { + $link = add_query_arg('lang', $language); + $link = (strpos($link, "wp-admin/") === false) ? preg_replace('#[^?&]*/#i', '', $link) : preg_replace('#[^?&]*wp-admin/#i', '', $link); + if(strpos($link, "?")===0||strpos($link, "index.php?")===0) { + if(current_user_can('manage_options')) + $link = 'options-general.php?page=qtranslate&godashboard=1&lang='.$language; + else + $link = 'edit.php?lang='.$language; + } + add_menu_page(__($q_config['language_name'][$language], 'qtranslate'), __($q_config['language_name'][$language], 'qtranslate'), 'read', $link, NULL, trailingslashit(WP_CONTENT_URL).$q_config['flag_location'].$q_config['flag'][$language]); + } +} + +function qtranslate_language_form($lang = '', $language_code = '', $language_name = '', $language_locale = '', $language_date_format = '', $language_time_format = '', $language_flag ='', $language_na_message = '', $language_default = '', $original_lang='') { + global $q_config; +?> + + +
+ + +

ISO Language Code for the Language you want to insert. (Example: en)', 'qtranslate'); ?>

+
+
+ + 0){ + ?> + + + +

+
+ +
+ + +

+
+
+ + +

+
+ +

+
+
+ + +

strftime (use %q for day suffix (st,nd,rd,th)) or date format. This field is optional. (Example: %A %B %e%q, %Y)', 'qtranslate'); ?>

+
+
+ + +

strftime or date format. This field is optional. (Example: %I:%M %p)', 'qtranslate'); ?>

+
+
+ + +

+
+
+

+
+ 'Flag', + 'name' => __('Name', 'qtranslate'), + 'status' => __('Action', 'qtranslate'), + 'status2' => '', + 'status3' => '' + ); +} + +function qtranslate_conf() { + global $q_config, $wpdb; + + // do redirection for dashboard + if(isset($_GET['godashboard'])) { + echo '

'.__('Switching Language', 'qtranslate').'

'.sprintf(__('Switching language to %1$s... If the Dashboard isn\'t loading, use this link.','qtranslate'),$q_config['language_name'][qtrans_getLanguage()],admin_url()).''; + exit(); + } + + // init some needed variables + $error = ''; + $original_lang = ''; + $language_code = ''; + $language_name = ''; + $language_locale = ''; + $language_date_format = ''; + $language_time_format = ''; + $language_na_message = ''; + $language_flag = ''; + $language_default = ''; + $altered_table = false; + + $message = apply_filters('qtranslate_configuration_pre',''); + + // check for action + if(isset($_POST['qtranslate_reset']) && isset($_POST['qtranslate_reset2'])) { + $message = __('qTranslate has been reset.', 'qtranslate'); + } elseif(isset($_POST['default_language'])) { + // save settings + qtrans_checkSetting('default_language', true, QT_LANGUAGE); + qtrans_checkSetting('flag_location', true, QT_URL); + qtrans_checkSetting('ignore_file_types', true, QT_STRING); + qtrans_checkSetting('detect_browser_language', true, QT_BOOLEAN); + qtrans_checkSetting('hide_untranslated', true, QT_BOOLEAN); + qtrans_checkSetting('use_strftime', true, QT_INTEGER); + qtrans_checkSetting('url_mode', true, QT_INTEGER); + qtrans_checkSetting('auto_update_mo', true, QT_BOOLEAN); + qtrans_checkSetting('hide_default_language', true, QT_BOOLEAN); + if(isset($_POST['update_mo_now']) && $_POST['update_mo_now']=='1' && qtrans_updateGettextDatabases(true)) + $message = __('Gettext databases updated.', 'qtranslate'); + } + + if(isset($_POST['original_lang'])) { + // validate form input + if($_POST['language_na_message']=='') $error = __('The Language must have a Not-Available Message!', 'qtranslate'); + if(strlen($_POST['language_locale'])<2) $error = __('The Language must have a Locale!', 'qtranslate'); + if($_POST['language_name']=='') $error = __('The Language must have a name!', 'qtranslate'); + if(strlen($_POST['language_code'])!=2) $error = __('Language Code has to be 2 characters long!', 'qtranslate'); + if($_POST['original_lang']==''&&$error=='') { + // new language + if(isset($q_config['language_name'][$_POST['language_code']])) { + $error = __('There is already a language with the same Language Code!', 'qtranslate'); + } + } + if($_POST['original_lang']!=''&&$error=='') { + // language update + if($_POST['language_code']!=$_POST['original_lang']&&isset($q_config['language_name'][$_POST['language_code']])) { + $error = __('There is already a language with the same Language Code!', 'qtranslate'); + } else { + // remove old language + unset($q_config['language_name'][$_POST['original_lang']]); + unset($q_config['flag'][$_POST['original_lang']]); + unset($q_config['locale'][$_POST['original_lang']]); + unset($q_config['date_format'][$_POST['original_lang']]); + unset($q_config['time_format'][$_POST['original_lang']]); + unset($q_config['not_available'][$_POST['original_lang']]); + if(in_array($_POST['original_lang'],$q_config['enabled_languages'])) { + // was enabled, so set modified one to enabled too + for($i = 0; $i < sizeof($q_config['enabled_languages']); $i++) { + if($q_config['enabled_languages'][$i] == $_POST['original_lang']) { + $q_config['enabled_languages'][$i] = $_POST['language_code']; + } + } + } + if($_POST['original_lang']==$q_config['default_language']) + // was default, so set modified the default + $q_config['default_language'] = $_POST['language_code']; + } + } + if(get_magic_quotes_gpc()) { + if(isset($_POST['language_date_format'])) $_POST['language_date_format'] = stripslashes($_POST['language_date_format']); + if(isset($_POST['language_time_format'])) $_POST['language_time_format'] = stripslashes($_POST['language_time_format']); + } + if($error=='') { + // everything is fine, insert language + $q_config['language_name'][$_POST['language_code']] = $_POST['language_name']; + $q_config['flag'][$_POST['language_code']] = $_POST['language_flag']; + $q_config['locale'][$_POST['language_code']] = $_POST['language_locale']; + $q_config['date_format'][$_POST['language_code']] = $_POST['language_date_format']; + $q_config['time_format'][$_POST['language_code']] = $_POST['language_time_format']; + $q_config['not_available'][$_POST['language_code']] = $_POST['language_na_message']; + } + if($error!=''||isset($_GET['edit'])) { + // get old values in the form + $original_lang = $_POST['original_lang']; + $language_code = $_POST['language_code']; + $language_name = $_POST['language_name']; + $language_locale = $_POST['language_locale']; + $language_date_format = $_POST['language_date_format']; + $language_time_format = $_POST['language_time_format']; + $language_na_message = $_POST['language_na_message']; + $language_flag = $_POST['language_flag']; + $language_default = $_POST['language_default']; + } + } elseif(isset($_GET['convert'])){ + // update language tags + global $wpdb; + $wpdb->show_errors(); + foreach($q_config['enabled_languages'] as $lang) { + $wpdb->query('UPDATE '.$wpdb->posts.' set post_title = REPLACE(post_title, "[lang_'.$lang.']","")'); + $wpdb->query('UPDATE '.$wpdb->posts.' set post_title = REPLACE(post_title, "[/lang_'.$lang.']","")'); + $wpdb->query('UPDATE '.$wpdb->posts.' set post_content = REPLACE(post_content, "[lang_'.$lang.']","")'); + $wpdb->query('UPDATE '.$wpdb->posts.' set post_content = REPLACE(post_content, "[/lang_'.$lang.']","")'); + } + $message = "Database Update successful!"; + } elseif(isset($_GET['markdefault'])){ + // update language tags + global $wpdb; + $wpdb->show_errors(); + $result = $wpdb->get_results('SELECT ID, post_title, post_content FROM '.$wpdb->posts.' WHERE NOT (post_content LIKE "%%" OR post_title LIKE "%%")'); + foreach($result as $post) { + $content = qtrans_split($post->post_content); + $title = qtrans_split($post->post_title); + foreach($q_config['enabled_languages'] as $language) { + if($language != $q_config['default_language']) { + $content[$language] = ""; + $title[$language] = ""; + } + } + $content = qtrans_join($content); + $title = qtrans_join($title); + $wpdb->query('UPDATE '.$wpdb->posts.' set post_content = "'.mysql_escape_string($content).'", post_title = "'.mysql_escape_string($title).'" WHERE ID='.$post->ID); + } + $message = "All Posts marked as default language!"; + } elseif(isset($_GET['edit'])){ + $original_lang = $_GET['edit']; + $language_code = $_GET['edit']; + $language_name = $q_config['language_name'][$_GET['edit']]; + $language_locale = $q_config['locale'][$_GET['edit']]; + $language_date_format = $q_config['date_format'][$_GET['edit']]; + $language_time_format = $q_config['time_format'][$_GET['edit']]; + $language_na_message = $q_config['not_available'][$_GET['edit']]; + $language_flag = $q_config['flag'][$_GET['edit']]; + } elseif(isset($_GET['delete'])) { + // validate delete (protect code) + if($q_config['default_language']==$_GET['delete']) + $error = 'Cannot delete Default Language!'; + if(!isset($q_config['language_name'][$_GET['delete']])||strtolower($_GET['delete'])=='code') + $error = 'No such language!'; + if($error=='') { + // everything seems fine, delete language + qtrans_disableLanguage($_GET['delete']); + unset($q_config['language_name'][$_GET['delete']]); + unset($q_config['flag'][$_GET['delete']]); + unset($q_config['locale'][$_GET['delete']]); + unset($q_config['date_format'][$_GET['delete']]); + unset($q_config['time_format'][$_GET['delete']]); + unset($q_config['not_available'][$_GET['delete']]); + } + } elseif(isset($_GET['enable'])) { + // enable validate + if(!qtrans_enableLanguage($_GET['enable'])) { + $error = __('Language is already enabled or invalid!', 'qtranslate'); + } + } elseif(isset($_GET['disable'])) { + // enable validate + if($_GET['disable']==$q_config['default_language']) + $error = __('Cannot disable Default Language!', 'qtranslate'); + if(!qtrans_isEnabled($_GET['disable'])) + if(!isset($q_config['language_name'][$_GET['disable']])) + $error = __('No such language!', 'qtranslate'); + // everything seems fine, disable language + if($error=='' && !qtrans_disableLanguage($_GET['disable'])) { + $error = __('Language is already disabled!', 'qtranslate'); + } + } elseif(isset($_GET['moveup'])) { + $languages = qtrans_getSortedLanguages(); + $message = __('No such language!', 'qtranslate'); + foreach($languages as $key => $language) { + if($language==$_GET['moveup']) { + if($key==0) { + $message = __('Language is already first!', 'qtranslate'); + break; + } + $languages[$key] = $languages[$key-1]; + $languages[$key-1] = $language; + $q_config['enabled_languages'] = $languages; + $message = __('New order saved.', 'qtranslate'); + break; + } + } + } elseif(isset($_GET['movedown'])) { + $languages = qtrans_getSortedLanguages(); + $message = __('No such language!', 'qtranslate'); + foreach($languages as $key => $language) { + if($language==$_GET['movedown']) { + if($key==sizeof($languages)-1) { + $message = __('Language is already last!', 'qtranslate'); + break; + } + $languages[$key] = $languages[$key+1]; + $languages[$key+1] = $language; + $q_config['enabled_languages'] = $languages; + $message = __('New order saved.', 'qtranslate'); + break; + } + } + } + + $everything_fine = ((isset($_POST['submit'])||isset($_GET['delete'])||isset($_GET['enable'])||isset($_GET['disable'])||isset($_GET['moveup'])||isset($_GET['movedown']))&&$error==''); + if($everything_fine) { + // settings might have changed, so save + qtrans_saveConfig(); + if(empty($message)) { + $message = __('Options saved.', 'qtranslate'); + } + } + if($q_config['auto_update_mo']) { + if(!is_dir(WP_LANG_DIR) || !$ll = @fopen(trailingslashit(WP_LANG_DIR).'qtranslate.test','a')) { + $error = sprintf(__('Could not write to "%s", Gettext Databases could not be downloaded!', 'qtranslate'), WP_LANG_DIR); + } else { + @fclose($ll); + @unlink(trailingslashit(WP_LANG_DIR).'qtranslate.test'); + } + } + // don't accidently delete/enable/disable twice + $clean_uri = preg_replace("/&(delete|enable|disable|convert|markdefault|moveup|movedown)=[^&#]*/i","",$_SERVER['REQUEST_URI']); + $clean_uri = apply_filters('qtranslate_clean_uri', $clean_uri); + +// Generate XHTML + + ?> + +

+ + +

+ + + +
+

+
+ +

+
+
+ +
+

+
qTranslate FAQ and the Support Forum.', 'qtranslate'), 'http://www.qianqin.de/qtranslate/faq/', 'http://www.qianqin.de/qtranslate/forum/viewforum.php?f=3'); ?>
+
+

+ + + + + + + + + + + + + +
+
+ $language ) { + echo "\t
\n"; + } + + ?> +
+ +
+
+ +
+ + +
+ +
+ +
+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+

+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+ click here to convert posts to the new language tag format.', 'qtranslate'), $clean_uri.'&convert=true'); ?> + click here to mark all existing posts as written in the default language.', 'qtranslate'), $clean_uri.'&markdefault=true'); ?> + irreversible! Be sure to make a full database backup before clicking one of the links.', 'qtranslate'); ?> +
+

Support Forum. Posting the following Content will help other detect any misconfigurations.', 'qtranslate'), 'http://www.qianqin.de/qtranslate/forum/'); ?>

+ +
+ + +

+ +

+
+ +
+
+ +

+
+ +
+
+ + + + + + + + + + + + + + + + $language){ if($lang!='code') { ?> + + + + + + + + + +
<?php echo $language; ?> Flag
+

+
+
+ +
+
+
+

+
+ +

+
+
+
+ +
+ \ No newline at end of file diff --git a/htdocs/wp-content/plugins/qtranslate/qtranslate_core.php b/htdocs/wp-content/plugins/qtranslate/qtranslate_core.php new file mode 100644 index 0000000..17b4669 --- /dev/null +++ b/htdocs/wp-content/plugins/qtranslate/qtranslate_core.php @@ -0,0 +1,826 @@ + $priority) { + if(strlen($language)>2) $language = substr($language,0,2); + if(qtrans_isEnabled($language)) { + if($q_config['hide_default_language'] && $language == $q_config['default_language']) break; + $target = qtrans_convertURL(get_option('home'),$language); + break; + } + } + } + $target = apply_filters("qtranslate_language_detect_redirect", $target); + if($target !== false) { + wp_redirect($target); + exit(); + } + } + + /* + // Check for WP Secret Key Missmatch + global $wp_default_secret_key; + if(strpos($q_config['url_info']['url'],'wp-login.php')!==false && defined('AUTH_KEY') && isset($wp_default_secret_key) && $wp_default_secret_key != AUTH_KEY) { + global $error; + $error = __('Your $wp_default_secret_key is mismatchting with your AUTH_KEY. This might cause you not to be able to login anymore.','qtranslate'); + } + */ + + // Filter all options for language tags + if(!defined('WP_ADMIN')) { + $alloptions = wp_load_alloptions(); + foreach($alloptions as $option => $value) { + add_filter('option_'.$option, 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); + } + } + + // load plugin translations + load_plugin_textdomain('qtranslate', false, dirname(plugin_basename( __FILE__ )).'/lang'); + + // remove traces of language (or better not?) + //unset($_GET['lang']); + $_SERVER['REQUEST_URI'] = $q_config['url_info']['url']; + $_SERVER['HTTP_HOST'] = $q_config['url_info']['host']; + + // fix url to prevent xss + $q_config['url_info']['url'] = qtrans_convertURL(add_query_arg('lang',$q_config['default_language'],$q_config['url_info']['url'])); +} + +// returns cleaned string and language information +function qtrans_extractURL($url, $host = '', $referer = '') { + global $q_config; + $home = qtrans_parseURL(get_option('home')); + $home['path'] = trailingslashit($home['path']); + $referer = qtrans_parseURL($referer); + + $result = array(); + $result['language'] = $q_config['default_language']; + $result['url'] = $url; + $result['original_url'] = $url; + $result['host'] = $host; + $result['redirect'] = false; + $result['internal_referer'] = false; + $result['home'] = $home['path']; + + switch($q_config['url_mode']) { + case QT_URL_PATH: + // pre url + $url = substr($url, strlen($home['path'])); + if($url) { + // might have language information + if(preg_match("#^([a-z]{2})(/.*)?$#i",$url,$match)) { + if(qtrans_isEnabled($match[1])) { + // found language information + $result['language'] = $match[1]; + $result['url'] = $home['path'].substr($url, 3); + } + } + } + break; + case QT_URL_DOMAIN: + // pre domain + if($host) { + if(preg_match("#^([a-z]{2}).#i",$host,$match)) { + if(qtrans_isEnabled($match[1])) { + // found language information + $result['language'] = $match[1]; + $result['host'] = substr($host, 3); + } + } + } + break; + } + + // check if referer is internal + if($referer['host']==$result['host'] && qtrans_startsWith($referer['path'], $home['path'])) { + // user coming from internal link + $result['internal_referer'] = true; + } + + if(isset($_GET['lang']) && qtrans_isEnabled($_GET['lang'])) { + // language override given + $result['language'] = $_GET['lang']; + $result['url'] = preg_replace("#(&|\?)lang=".$result['language']."&?#i","$1",$result['url']); + $result['url'] = preg_replace("#[\?\&]+$#i","",$result['url']); + } elseif($home['host'] == $result['host'] && $home['path'] == $result['url']) { + if(empty($referer['host'])||!$q_config['hide_default_language']) { + $result['redirect'] = true; + } else { + // check if activating language detection is possible + if(preg_match("#^([a-z]{2}).#i",$referer['host'],$match)) { + if(qtrans_isEnabled($match[1])) { + // found language information + $referer['host'] = substr($referer['host'], 3); + } + } + if(!$result['internal_referer']) { + // user coming from external link + $result['redirect'] = true; + } + } + } + + return $result; +} + +function qtrans_validateBool($var, $default) { + if($var==='0') return false; elseif($var==='1') return true; else return $default; +} + +// loads config via get_option and defaults to values set on top +function qtrans_loadConfig() { + global $q_config; + + // Load everything + $language_names = get_option('qtranslate_language_names'); + $enabled_languages = get_option('qtranslate_enabled_languages'); + $default_language = get_option('qtranslate_default_language'); + $flag_location = get_option('qtranslate_flag_location'); + $flags = get_option('qtranslate_flags'); + $locales = get_option('qtranslate_locales'); + $na_messages = get_option('qtranslate_na_messages'); + $date_formats = get_option('qtranslate_date_formats'); + $time_formats = get_option('qtranslate_time_formats'); + $use_strftime = get_option('qtranslate_use_strftime'); + $ignore_file_types = get_option('qtranslate_ignore_file_types'); + $url_mode = get_option('qtranslate_url_mode'); + $detect_browser_language = get_option('qtranslate_detect_browser_language'); + $hide_untranslated = get_option('qtranslate_hide_untranslated'); + $auto_update_mo = get_option('qtranslate_auto_update_mo'); + $term_name = get_option('qtranslate_term_name'); + $hide_default_language = get_option('qtranslate_hide_default_language'); + + // default if not set + if(!is_array($date_formats)) $date_formats = $q_config['date_format']; + if(!is_array($time_formats)) $time_formats = $q_config['time_format']; + if(!is_array($na_messages)) $na_messages = $q_config['not_available']; + if(!is_array($locales)) $locales = $q_config['locale']; + if(!is_array($flags)) $flags = $q_config['flag']; + if(!is_array($language_names)) $language_names = $q_config['language_name']; + if(!is_array($enabled_languages)) $enabled_languages = $q_config['enabled_languages']; + if(!is_array($term_name)) $term_name = $q_config['term_name']; + if(empty($ignore_file_types)) $ignore_file_types = $q_config['ignore_file_types']; + if(empty($default_language)) $default_language = $q_config['default_language']; + if(empty($use_strftime)) $use_strftime = $q_config['use_strftime']; + if(empty($url_mode)) $url_mode = $q_config['url_mode']; + if(!is_string($flag_location) || $flag_location==='') $flag_location = $q_config['flag_location']; + $detect_browser_language = qtrans_validateBool($detect_browser_language, $q_config['detect_browser_language']); + $hide_untranslated = qtrans_validateBool($hide_untranslated, $q_config['hide_untranslated']); + $auto_update_mo = qtrans_validateBool($auto_update_mo, $q_config['auto_update_mo']); + $hide_default_language = qtrans_validateBool($hide_default_language, $q_config['hide_default_language']); + + // url fix for upgrading users + $flag_location = trailingslashit(preg_replace('#^wp-content/#','',$flag_location)); + + // check for invalid permalink/url mode combinations + $permalink_structure = get_option('permalink_structure'); + if($permalink_structure===""||strpos($permalink_structure,'?')!==false||strpos($permalink_structure,'index.php')!==false) $url_mode = QT_URL_QUERY; + + // overwrite default values with loaded values + $q_config['date_format'] = $date_formats; + $q_config['time_format'] = $time_formats; + $q_config['not_available'] = $na_messages; + $q_config['locale'] = $locales; + $q_config['flag'] = $flags; + $q_config['language_name'] = $language_names; + $q_config['enabled_languages'] = $enabled_languages; + $q_config['default_language'] = $default_language; + $q_config['flag_location'] = $flag_location; + $q_config['use_strftime'] = $use_strftime; + $q_config['ignore_file_types'] = $ignore_file_types; + $q_config['url_mode'] = $url_mode; + $q_config['detect_browser_language'] = $detect_browser_language; + $q_config['hide_untranslated'] = $hide_untranslated; + $q_config['auto_update_mo'] = $auto_update_mo; + $q_config['hide_default_language'] = $hide_default_language; + $q_config['term_name'] = $term_name; + + do_action('qtranslate_loadConfig'); +} + +// saves entire configuration +function qtrans_saveConfig() { + global $q_config; + + // save everything + update_option('qtranslate_language_names', $q_config['language_name']); + update_option('qtranslate_enabled_languages', $q_config['enabled_languages']); + update_option('qtranslate_default_language', $q_config['default_language']); + update_option('qtranslate_flag_location', $q_config['flag_location']); + update_option('qtranslate_flags', $q_config['flag']); + update_option('qtranslate_locales', $q_config['locale']); + update_option('qtranslate_na_messages', $q_config['not_available']); + update_option('qtranslate_date_formats', $q_config['date_format']); + update_option('qtranslate_time_formats', $q_config['time_format']); + update_option('qtranslate_ignore_file_types', $q_config['ignore_file_types']); + update_option('qtranslate_url_mode', $q_config['url_mode']); + update_option('qtranslate_term_name', $q_config['term_name']); + update_option('qtranslate_use_strftime', $q_config['use_strftime']); + if($q_config['detect_browser_language']) + update_option('qtranslate_detect_browser_language', '1'); + else + update_option('qtranslate_detect_browser_language', '0'); + if($q_config['hide_untranslated']) + update_option('qtranslate_hide_untranslated', '1'); + else + update_option('qtranslate_hide_untranslated', '0'); + if($q_config['auto_update_mo']) + update_option('qtranslate_auto_update_mo', '1'); + else + update_option('qtranslate_auto_update_mo', '0'); + if($q_config['hide_default_language']) + update_option('qtranslate_hide_default_language', '1'); + else + update_option('qtranslate_hide_default_language', '0'); + + do_action('qtranslate_saveConfig'); +} + +function qtrans_updateGettextDatabases($force = false, $only_for_language = '') { + global $q_config; + if(!is_dir(WP_LANG_DIR)) { + if(!@mkdir(WP_LANG_DIR)) + return false; + } + $next_update = get_option('qtranslate_next_update_mo'); + if(time() < $next_update && !$force) return true; + update_option('qtranslate_next_update_mo', time() + 7*24*60*60); + foreach($q_config['locale'] as $lang => $locale) { + if(qtrans_isEnabled($only_for_language) && $lang != $only_for_language) continue; + if(!qtrans_isEnabled($lang)) continue; + if($ll = @fopen(trailingslashit(WP_LANG_DIR).$locale.'.mo.filepart','a')) { + // can access .mo file + fclose($ll); + // try to find a .mo file + if(!($locale == 'en_US' && $lcr = @fopen('http://www.qianqin.de/wp-content/languages/'.$locale.'.mo','r'))) + if(!$lcr = @fopen('http://svn.automattic.com/wordpress-i18n/'.$locale.'/tags/'.$GLOBALS['wp_version'].'/messages/'.$locale.'.mo','r')) + if(!$lcr = @fopen('http://svn.automattic.com/wordpress-i18n/'.substr($locale,0,2).'/tags/'.$GLOBALS['wp_version'].'/messages/'.$locale.'.mo','r')) + if(!$lcr = @fopen('http://svn.automattic.com/wordpress-i18n/'.$locale.'/branches/'.$GLOBALS['wp_version'].'/messages/'.$locale.'.mo','r')) + if(!$lcr = @fopen('http://svn.automattic.com/wordpress-i18n/'.substr($locale,0,2).'/branches/'.$GLOBALS['wp_version'].'/messages/'.$locale.'.mo','r')) + if(!$lcr = @fopen('http://svn.automattic.com/wordpress-i18n/'.$locale.'/branches/'.$GLOBALS['wp_version'].'/'.$locale.'.mo','r')) + if(!$lcr = @fopen('http://svn.automattic.com/wordpress-i18n/'.substr($locale,0,2).'/branches/'.$GLOBALS['wp_version'].'/'.$locale.'.mo','r')) + if(!$lcr = @fopen('http://svn.automattic.com/wordpress-i18n/'.$locale.'/trunk/messages/'.$locale.'.mo','r')) + if(!$lcr = @fopen('http://svn.automattic.com/wordpress-i18n/'.substr($locale,0,2).'/trunk/messages/'.$locale.'.mo','r')) { + // couldn't find a .mo file + if(filesize(trailingslashit(WP_LANG_DIR).$locale.'.mo.filepart')==0) unlink(trailingslashit(WP_LANG_DIR).$locale.'.mo.filepart'); + continue; + } + // found a .mo file, update local .mo + $ll = fopen(trailingslashit(WP_LANG_DIR).$locale.'.mo.filepart','w'); + while(!feof($lcr)) { + // try to get some more time + @set_time_limit(30); + $lc = fread($lcr, 8192); + fwrite($ll,$lc); + } + fclose($lcr); + fclose($ll); + // only use completely download .mo files + rename(trailingslashit(WP_LANG_DIR).$locale.'.mo.filepart',trailingslashit(WP_LANG_DIR).$locale.'.mo'); + } + } + return true; +} + +function qtrans_updateTermLibrary() { + global $q_config; + if(!isset($_POST['action'])) return; + switch($_POST['action']) { + case 'editedtag': + case 'addtag': + case 'editedcat': + case 'addcat': + case 'add-cat': + case 'add-tag': + case 'add-link-cat': + if(isset($_POST['qtrans_term_'.$q_config['default_language']]) && $_POST['qtrans_term_'.$q_config['default_language']]!='') { + $default = htmlspecialchars(qtrans_stripSlashesIfNecessary($_POST['qtrans_term_'.$q_config['default_language']]), ENT_NOQUOTES); + if(!isset($q_config['term_name'][$default]) || !is_array($q_config['term_name'][$default])) $q_config['term_name'][$default] = array(); + foreach($q_config['enabled_languages'] as $lang) { + $_POST['qtrans_term_'.$lang] = qtrans_stripSlashesIfNecessary($_POST['qtrans_term_'.$lang]); + if($_POST['qtrans_term_'.$lang]!='') { + $q_config['term_name'][$default][$lang] = htmlspecialchars($_POST['qtrans_term_'.$lang], ENT_NOQUOTES); + } else { + $q_config['term_name'][$default][$lang] = $default; + } + } + update_option('qtranslate_term_name',$q_config['term_name']); + } + break; + } +} + +/* BEGIN DATE TIME FUNCTIONS */ + +function qtrans_strftime($format, $date, $default = '', $before = '', $after = '') { + // don't do anything if format is not given + if($format=='') return $default; + // add date suffix ability (%q) to strftime + $day = intval(ltrim(strftime("%d",$date),'0')); + $search = array(); + $replace = array(); + + // date S + $search[] = '/(([^%])%q|^%q)/'; + if($day==1||$day==21||$day==31) { + $replace[] = '$2st'; + } elseif($day==2||$day==22) { + $replace[] = '$2nd'; + } elseif($day==3||$day==23) { + $replace[] = '$2rd'; + } else { + $replace[] = '$2th'; + } + + $search[] = '/(([^%])%E|^%E)/'; $replace[] = '${2}'.$day; // date j + $search[] = '/(([^%])%f|^%f)/'; $replace[] = '${2}'.date('w',$date); // date w + $search[] = '/(([^%])%F|^%F)/'; $replace[] = '${2}'.date('z',$date); // date z + $search[] = '/(([^%])%i|^%i)/'; $replace[] = '${2}'.date('n',$date); // date i + $search[] = '/(([^%])%J|^%J)/'; $replace[] = '${2}'.date('t',$date); // date t + $search[] = '/(([^%])%k|^%k)/'; $replace[] = '${2}'.date('L',$date); // date L + $search[] = '/(([^%])%K|^%K)/'; $replace[] = '${2}'.date('B',$date); // date B + $search[] = '/(([^%])%l|^%l)/'; $replace[] = '${2}'.date('g',$date); // date g + $search[] = '/(([^%])%L|^%L)/'; $replace[] = '${2}'.date('G',$date); // date G + $search[] = '/(([^%])%N|^%N)/'; $replace[] = '${2}'.date('u',$date); // date u + $search[] = '/(([^%])%Q|^%Q)/'; $replace[] = '${2}'.date('e',$date); // date e + $search[] = '/(([^%])%o|^%o)/'; $replace[] = '${2}'.date('I',$date); // date I + $search[] = '/(([^%])%O|^%O)/'; $replace[] = '${2}'.date('O',$date); // date O + $search[] = '/(([^%])%s|^%s)/'; $replace[] = '${2}'.date('P',$date); // date P + $search[] = '/(([^%])%v|^%v)/'; $replace[] = '${2}'.date('T',$date); // date T + $search[] = '/(([^%])%1|^%1)/'; $replace[] = '${2}'.date('Z',$date); // date Z + $search[] = '/(([^%])%2|^%2)/'; $replace[] = '${2}'.date('c',$date); // date c + $search[] = '/(([^%])%3|^%3)/'; $replace[] = '${2}'.date('r',$date); // date r + $search[] = '/(([^%])%4|^%4)/'; $replace[] = '${2}'.$date; // date U + $format = preg_replace($search,$replace,$format); + return $before.strftime($format, $date).$after; +} + +function qtrans_dateFromPostForCurrentLanguage($old_date, $format ='', $before = '', $after = '') { + global $post; + return qtrans_strftime(qtrans_convertDateFormat($format), mysql2date('U',$post->post_date), $old_date, $before, $after); +} + +function qtrans_dateModifiedFromPostForCurrentLanguage($old_date, $format ='') { + global $post; + return qtrans_strftime(qtrans_convertDateFormat($format), mysql2date('U',$post->post_modified), $old_date); +} + +function qtrans_timeFromPostForCurrentLanguage($old_date, $format = '', $post = null, $gmt = false) { + $post = get_post($post); + + $post_date = $gmt? $post->post_date_gmt : $post->post_date; + return qtrans_strftime(qtrans_convertTimeFormat($format), mysql2date('U',$post_date), $old_date); +} + +function qtrans_timeModifiedFromPostForCurrentLanguage($old_date, $format = '', $gmt = false) { + global $post; + $post_date = $gmt? $post->post_modified_gmt : $post->post_modified; + return qtrans_strftime(qtrans_convertTimeFormat($format), mysql2date('U',$post_date), $old_date); +} + +function qtrans_dateFromCommentForCurrentLanguage($old_date, $format ='') { + global $comment; + return qtrans_strftime(qtrans_convertDateFormat($format), mysql2date('U',$comment->comment_date), $old_date); +} + +function qtrans_timeFromCommentForCurrentLanguage($old_date, $format = '', $gmt = false, $translate = true) { + if(!$translate) return $old_date; + global $comment; + $comment_date = $gmt? $comment->comment_date_gmt : $comment->comment_date; + return qtrans_strftime(qtrans_convertTimeFormat($format), mysql2date('U',$comment_date), $old_date); +} + +/* END DATE TIME FUNCTIONS */ + +function qtrans_useTermLib($obj) { + global $q_config; + if(is_array($obj)) { + // handle arrays recursively + foreach($obj as $key => $t) { + $obj[$key] = qtrans_useTermLib($obj[$key]); + } + return $obj; + } + if(is_object($obj)) { + // object conversion + if(isset($q_config['term_name'][$obj->name][$q_config['language']])) { + $obj->name = $q_config['term_name'][$obj->name][$q_config['language']]; + } + } elseif(isset($q_config['term_name'][$obj][$q_config['language']])) { + $obj = $q_config['term_name'][$obj][$q_config['language']]; + } + return $obj; +} + +function qtrans_convertBlogInfoURL($url, $what) { + if($what=='stylesheet_url') return $url; + if($what=='template_url') return $url; + if($what=='template_directory') return $url; + if($what=='stylesheet_directory') return $url; + return qtrans_convertURL($url); +} + +function qtrans_convertURL($url='', $lang='', $forceadmin = false) { + global $q_config; + + // invalid language + if($url=='') $url = esc_url($q_config['url_info']['url']); + if($lang=='') $lang = $q_config['language']; + if(defined('WP_ADMIN')&&!$forceadmin) return $url; + if(!qtrans_isEnabled($lang)) return ""; + + // & workaround + $url = str_replace('&','&',$url); + $url = str_replace('&','&',$url); + + // check for trailing slash + $nottrailing = (strpos($url,'?')===false && strpos($url,'#')===false && substr($url,-1,1)!='/'); + + // check if it's an external link + $urlinfo = qtrans_parseURL($url); + $home = rtrim(get_option('home'),"/"); + if($urlinfo['host']!='') { + // check for already existing pre-domain language information + if($q_config['url_mode'] == QT_URL_DOMAIN && preg_match("#^([a-z]{2}).#i",$urlinfo['host'],$match)) { + if(qtrans_isEnabled($match[1])) { + // found language information, remove it + $url = preg_replace("/".$match[1]."\./i","",$url, 1); + // reparse url + $urlinfo = qtrans_parseURL($url); + } + } + if(substr($url,0,strlen($home))!=$home) { + return $url; + } + // strip home path + $url = substr($url,strlen($home)); + } else { + // relative url, strip home path + $homeinfo = qtrans_parseURL($home); + if($homeinfo['path']==substr($url,0,strlen($homeinfo['path']))) { + $url = substr($url,strlen($homeinfo['path'])); + } + } + + // check for query language information and remove if found + if(preg_match("#(&|\?)lang=([^&\#]+)#i",$url,$match) && qtrans_isEnabled($match[2])) { + $url = preg_replace("#(&|\?)lang=".$match[2]."&?#i","$1",$url); + } + + // remove any slashes out front + $url = ltrim($url,"/"); + + // remove any useless trailing characters + $url = rtrim($url,"?&"); + + // reparse url without home path + $urlinfo = qtrans_parseURL($url); + + // check if its a link to an ignored file type + $ignore_file_types = preg_split('/\s*,\s*/', strtolower($q_config['ignore_file_types'])); + $pathinfo = pathinfo($urlinfo['path']); + if(isset($pathinfo['extension']) && in_array(strtolower($pathinfo['extension']), $ignore_file_types)) { + return $home."/".$url; + } + + // ignore wp internal links + if(preg_match("#^(wp-login.php|wp-signup.php|wp-register.php|wp-admin/)#", $url)) { + return $home."/".$url; + } + + switch($q_config['url_mode']) { + case QT_URL_PATH: // pre url + // might already have language information + if(preg_match("#^([a-z]{2})/#i",$url,$match)) { + if(qtrans_isEnabled($match[1])) { + // found language information, remove it + $url = substr($url, 3); + } + } + if(!$q_config['hide_default_language']||$lang!=$q_config['default_language']) $url = $lang."/".$url; + break; + case QT_URL_DOMAIN: // pre domain + if(!$q_config['hide_default_language']||$lang!=$q_config['default_language']) $home = preg_replace("#//#","//".$lang.".",$home,1); + break; + default: // query + if(!$q_config['hide_default_language']||$lang!=$q_config['default_language']){ + if(strpos($url,'?')===false) { + $url .= '?'; + } else { + $url .= '&'; + } + $url .= "lang=".$lang; + } + } + + // see if cookies are activated + if(!$q_config['cookie_enabled'] && !$q_config['url_info']['internal_referer'] && $urlinfo['path'] == '' && $lang == $q_config['default_language'] && $q_config['language'] != $q_config['default_language'] && $q_config['hide_default_language']) { + // :( now we have to make unpretty URLs + $url = preg_replace("#(&|\?)lang=".$match[2]."&?#i","$1",$url); + if(strpos($url,'?')===false) { + $url .= '?'; + } else { + $url .= '&'; + } + $url .= "lang=".$lang; + } + + // & workaround + $complete = str_replace('&','&',$home."/".$url); + + // remove trailing slash if there wasn't one to begin with + if($nottrailing && strpos($complete,'?')===false && strpos($complete,'#')===false && substr($complete,-1,1)=='/') + $complete = substr($complete,0,-1); + + return $complete; +} + +// splits text with language tags into array +function qtrans_split($text, $quicktags = true) { + global $q_config; + + //init vars + $split_regex = "#(|\[:[a-z]{2}\])#ism"; + $current_language = ""; + $result = array(); + foreach($q_config['enabled_languages'] as $language) { + $result[$language] = ""; + } + + // split text at all xml comments + $blocks = preg_split($split_regex, $text, -1, PREG_SPLIT_NO_EMPTY|PREG_SPLIT_DELIM_CAPTURE); + foreach($blocks as $block) { + # detect language tags + if(preg_match("#^$#ism", $block, $matches)) { + if(qtrans_isEnabled($matches[1])) { + $current_language = $matches[1]; + } else { + $current_language = "invalid"; + } + continue; + // detect quicktags + } elseif($quicktags && preg_match("#^\[:([a-z]{2})\]$#ism", $block, $matches)) { + if(qtrans_isEnabled($matches[1])) { + $current_language = $matches[1]; + } else { + $current_language = "invalid"; + } + continue; + // detect ending tags + } elseif(preg_match("#^$#ism", $block, $matches)) { + $current_language = ""; + continue; + // detect defective more tag + } elseif(preg_match("#^$#ism", $block, $matches)) { + foreach($q_config['enabled_languages'] as $language) { + $result[$language] .= $block; + } + continue; + } + // correctly categorize text block + if($current_language == "") { + // general block, add to all languages + foreach($q_config['enabled_languages'] as $language) { + $result[$language] .= $block; + } + } elseif($current_language != "invalid") { + // specific block, only add to active language + $result[$current_language] .= $block; + } + } + foreach($result as $lang => $lang_content) { + $result[$lang] = preg_replace("#(|)+$#ism","",$lang_content); + } + return $result; +} + +function qtrans_join($texts) { + global $q_config; + if(!is_array($texts)) $texts = qtrans_split($texts, false); + $split_regex = "##ism"; + $max = 0; + $text = ""; + + foreach($q_config['enabled_languages'] as $language) { + $texts[$language] = preg_split($split_regex, $texts[$language]); + if(sizeof($texts[$language]) > $max) $max = sizeof($texts[$language]); + } + for($i=0;$i<$max;$i++) { + if($i>=1) { + $text .= ''; + } + foreach($q_config['enabled_languages'] as $language) { + if(isset($texts[$language][$i]) && $texts[$language][$i] !== '') { + $text .= ''.$texts[$language][$i].''; + } + } + } + return $text; +} + +function qtrans_disableLanguage($lang) { + global $q_config; + if(qtrans_isEnabled($lang)) { + $new_enabled = array(); + for($i = 0; $i < sizeof($q_config['enabled_languages']); $i++) { + if($q_config['enabled_languages'][$i] != $lang) { + $new_enabled[] = $q_config['enabled_languages'][$i]; + } + } + $q_config['enabled_languages'] = $new_enabled; + return true; + } + return false; +} + +function qtrans_enableLanguage($lang) { + global $q_config; + if(qtrans_isEnabled($lang) || !isset($q_config['language_name'][$lang])) { + return false; + } + $q_config['enabled_languages'][] = $lang; + // force update of .mo files + if ($q_config['auto_update_mo']) qtrans_updateGettextDatabases(true, $lang); + return true; +} + +function qtrans_use($lang, $text, $show_available=false) { + global $q_config; + // return full string if language is not enabled + if(!qtrans_isEnabled($lang)) return $text; + if(is_array($text)) { + // handle arrays recursively + foreach($text as $key => $t) { + $text[$key] = qtrans_use($lang,$text[$key],$show_available); + } + return $text; + } + + if(is_object($text)||@get_class($text) == '__PHP_Incomplete_Class') { + foreach(get_object_vars($text) as $key => $t) { + $text->$key = qtrans_use($lang,$text->$key,$show_available); + } + return $text; + } + + // prevent filtering weird data types and save some resources + if(!is_string($text) || $text == '') { + return $text; + } + + // get content + $content = qtrans_split($text); + // find available languages + $available_languages = array(); + foreach($content as $language => $lang_text) { + $lang_text = trim($lang_text); + if(!empty($lang_text)) $available_languages[] = $language; + } + + // if no languages available show full text + if(sizeof($available_languages)==0) return $text; + // if content is available show the content in the requested language + if(!empty($content[$lang])) { + return $content[$lang]; + } + // content not available in requested language (bad!!) what now? + if(!$show_available){ + // check if content is available in default language, if not return first language found. (prevent empty result) + if($lang!=$q_config['default_language']) + return "(".$q_config['language_name'][$q_config['default_language']].") ".qtrans_use($q_config['default_language'], $text, $show_available); + foreach($content as $language => $lang_text) { + $lang_text = trim($lang_text); + if(!empty($lang_text)) { + return "(".$q_config['language_name'][$language].") ".$lang_text; + } + } + } + // display selection for available languages + $available_languages = array_unique($available_languages); + $language_list = ""; + if(preg_match('/%LANG:([^:]*):([^%]*)%/',$q_config['not_available'][$lang],$match)) { + $normal_seperator = $match[1]; + $end_seperator = $match[2]; + // build available languages string backward + $i = 0; + foreach($available_languages as $language) { + if($i==1) $language_list = $end_seperator.$language_list; + if($i>1) $language_list = $normal_seperator.$language_list; + $language_list = "".$q_config['language_name'][$language]."".$language_list; + $i++; + } + } + return "

".preg_replace('/%LANG:([^:]*):([^%]*)%/', $language_list, $q_config['not_available'][$lang])."

"; +} + +function qtrans_showAllSeperated($text) { + if(empty($text)) return $text; + global $q_config; + $result = ""; + foreach(qtrans_getSortedLanguages() as $language) { + $result .= $q_config['language_name'][$language].":\n".qtrans_use($language, $text)."\n\n"; + } + return $result; +} + +?> \ No newline at end of file diff --git a/htdocs/wp-content/plugins/qtranslate/qtranslate_hooks.php b/htdocs/wp-content/plugins/qtranslate/qtranslate_hooks.php new file mode 100644 index 0000000..4e40543 --- /dev/null +++ b/htdocs/wp-content/plugins/qtranslate/qtranslate_hooks.php @@ -0,0 +1,366 @@ +\n"; + $css = "\n"; + echo apply_filters('qtranslate_header_css',$css); + // skip the rest if 404 + if(is_404()) return; + // set links to translations of current page + foreach($q_config['enabled_languages'] as $language) { + if($language != qtrans_getLanguage()) + echo ''."\n"; + } +} + +function qtrans_localeForCurrentLanguage($locale){ + global $q_config; + // try to figure out the correct locale + $locale = array(); + $locale[] = $q_config['locale'][$q_config['language']].".utf8"; + $locale[] = $q_config['locale'][$q_config['language']]."@euro"; + $locale[] = $q_config['locale'][$q_config['language']]; + $locale[] = $q_config['windows_locale'][$q_config['language']]; + $locale[] = $q_config['language']; + + // return the correct locale and most importantly set it (wordpress doesn't, which is bad) + // only set LC_TIME as everyhing else doesn't seem to work with windows + setlocale(LC_TIME, $locale); + + return $q_config['locale'][$q_config['language']]; +} + +function qtrans_optionFilter($do='enable') { + $options = array( 'option_widget_pages', + 'option_widget_archives', + 'option_widget_meta', + 'option_widget_calendar', + 'option_widget_text', + 'option_widget_categories', + 'option_widget_recent_entries', + 'option_widget_recent_comments', + 'option_widget_rss', + 'option_widget_tag_cloud' + ); + foreach($options as $option) { + if($do!='disable') { + add_filter($option, 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); + } else { + remove_filter($option, 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage'); + } + } +} + +function qtrans_adminHeader() { + echo "\n"; + return qtrans_optionFilter('disable'); +} + +function qtrans_useCurrentLanguageIfNotFoundShowAvailable($content) { + global $q_config; + return qtrans_use($q_config['language'], $content, true); +} + +function qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($content) { + global $q_config; + return qtrans_use($q_config['language'], $content, false); +} + +function qtrans_useDefaultLanguage($content) { + global $q_config; + return qtrans_use($q_config['default_language'], $content, false); +} + +function qtrans_excludeUntranslatedPosts($where) { + global $q_config, $wpdb; + if($q_config['hide_untranslated'] && !is_singular()) { + $where .= " AND $wpdb->posts.post_content LIKE '%%'"; + } + return $where; +} + +function qtrans_excludePages($pages) { + global $wpdb, $q_config; + static $exclude = 0; + if(!$q_config['hide_untranslated']) return $pages; + if(is_array($exclude)) return array_merge($exclude, $pages); + $query = "SELECT id FROM $wpdb->posts WHERE post_type = 'page' AND post_status = 'publish' AND NOT ($wpdb->posts.post_content LIKE '%%')" ; + $hide_pages = $wpdb->get_results($query); + $exclude = array(); + foreach($hide_pages as $page) { + $exclude[] = $page->id; + } + return array_merge($exclude, $pages); +} + +function qtrans_postsFilter($posts) { + if(is_array($posts)) { + foreach($posts as $post) { + $post->post_content = qtrans_useCurrentLanguageIfNotFoundShowAvailable($post->post_content); + $post = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($post); + } + } + return $posts; +} + +function qtrans_links($links, $file){ // copied from Sociable Plugin + //Static so we don't call plugin_basename on every plugin row. + static $this_plugin; + if (!$this_plugin) $this_plugin = plugin_basename(dirname(__FILE__).'/qtranslate.php'); + + if ($file == $this_plugin){ + $settings_link = '' . __('Settings', 'qtranslate') . ''; + array_unshift( $links, $settings_link ); // before other links + } + return $links; +} + +function qtrans_languageColumnHeader($columns){ + $new_columns = array(); + if(isset($columns['cb'])) $new_columns['cb'] = ''; + if(isset($columns['title'])) $new_columns['title'] = ''; + if(isset($columns['author'])) $new_columns['author'] = ''; + if(isset($columns['categories'])) $new_columns['categories'] = ''; + if(isset($columns['tags'])) $new_columns['tags'] = ''; + $new_columns['language'] = __('Languages', 'qtranslate'); + return array_merge($new_columns, $columns);; +} + +function qtrans_languageColumn($column) { + global $q_config, $post; + if ($column == 'language') { + $available_languages = qtrans_getAvailableLanguages($post->post_content); + $missing_languages = array_diff($q_config['enabled_languages'], $available_languages); + $available_languages_name = array(); + $missing_languages_name = array(); + foreach($available_languages as $language) { + $available_languages_name[] = $q_config['language_name'][$language]; + } + $available_languages_names = join(", ", $available_languages_name); + + echo apply_filters('qtranslate_available_languages_names',$available_languages_names); + do_action('qtranslate_languageColumn', $available_languages, $missing_languages); + } + return $column; +} + +function qtrans_versionLocale() { + return 'en_US'; +} + +function qtrans_esc_html($text) { + return qtrans_useDefaultLanguage($text); +} + +function qtrans_useRawTitle($title, $raw_title = '', $context = 'save') { + if($raw_title=='') $raw_title = $title; + if('save'==$context) { + $raw_title = qtrans_useDefaultLanguage($raw_title); + $title = remove_accents($raw_title); + } + return $title; +} + +function qtrans_checkCanonical($redirect_url, $requested_url) { + // fix canonical conflicts with language urls + if(qtrans_convertURL($redirect_url)==qtrans_convertURL($requested_url)) + return false; + return $redirect_url; +} + +function qtrans_fixSearchForm($form) { + $form = preg_replace('#action="[^"]*"#','action="'.trailingslashit(qtrans_convertURL(get_home_url())).'"',$form); + return $form; +} + +function qtrans_fixAdminBar($wp_admin_bar) { + global $wp_admin_bar; + foreach($wp_admin_bar->get_nodes() as $node) { + $wp_admin_bar->add_node(qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($node)); + } +} + +// Hooks for Plugin compatibility + +function wpsupercache_supercache_dir($uri) { + global $q_config; + if(isset($q_config['url_info']['original_url'])) { + $uri = $q_config['url_info']['original_url']; + } else { + $uri = $_SERVER['REQUEST_URI']; + } + $uri = preg_replace('/[ <>\'\"\r\n\t\(\)]/', '', str_replace( '/index.php', '/', str_replace( '..', '', preg_replace("/(\?.*)?$/", '', $uri ) ) ) ); + $uri = str_replace( '\\', '', $uri ); + $uri = strtolower(preg_replace('/:.*$/', '', $_SERVER["HTTP_HOST"])) . $uri; // To avoid XSS attacs + return $uri; +} +add_filter('supercache_dir', 'wpsupercache_supercache_dir',0); + +// Hooks (Actions) +add_action('wp_head', 'qtrans_header'); +add_action('category_edit_form', 'qtrans_modifyTermFormFor'); +add_action('post_tag_edit_form', 'qtrans_modifyTermFormFor'); +add_action('link_category_edit_form', 'qtrans_modifyTermFormFor'); +add_action('category_add_form', 'qtrans_modifyTermFormFor'); +add_action('post_tag_add_form', 'qtrans_modifyTermFormFor'); +add_action('link_category_add_form', 'qtrans_modifyTermFormFor'); +add_action('widgets_init', 'qtrans_widget_init'); +add_action('plugins_loaded', 'qtrans_init', 2); +add_action('admin_head', 'qtrans_adminHeader'); +add_action('admin_menu', 'qtrans_adminMenu'); +add_action('wp_before_admin_bar_render', 'qtrans_fixAdminBar'); + +// Hooks (execution time critical filters) +add_filter('the_content', 'qtrans_useCurrentLanguageIfNotFoundShowAvailable', 0); +add_filter('the_excerpt', 'qtrans_useCurrentLanguageIfNotFoundShowAvailable', 0); +add_filter('the_excerpt_rss', 'qtrans_useCurrentLanguageIfNotFoundShowAvailable', 0); +add_filter('sanitize_title', 'qtrans_useRawTitle',0, 3); +add_filter('comment_moderation_subject', 'qtrans_useDefaultLanguage',0); +add_filter('comment_moderation_text', 'qtrans_useDefaultLanguage',0); +add_filter('get_comment_date', 'qtrans_dateFromCommentForCurrentLanguage',0,2); +add_filter('get_comment_time', 'qtrans_timeFromCommentForCurrentLanguage',0,4); +add_filter('get_post_modified_time', 'qtrans_timeModifiedFromPostForCurrentLanguage',0,3); +add_filter('get_the_time', 'qtrans_timeFromPostForCurrentLanguage',0,3); +add_filter('get_the_date', 'qtrans_dateFromPostForCurrentLanguage',0,4); +add_filter('locale', 'qtrans_localeForCurrentLanguage',99); +add_filter('the_title', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage', 0); +add_filter('term_name', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('tag_rows', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('list_cats', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('wp_list_categories', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('wp_dropdown_cats', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('wp_title', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('single_post_title', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('bloginfo', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('get_others_drafts', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('get_bloginfo_rss', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('get_wp_title_rss', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('wp_title_rss', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('the_title_rss', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('the_content_rss', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('gettext', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('get_pages', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('category_description', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('bloginfo_rss', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('the_category_rss', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('wp_generate_tag_cloud', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('term_links-post_tag', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('link_name', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('link_description', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter('pre_option_rss_language', 'qtrans_getLanguage',0); +add_filter('the_author', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +add_filter( "_wp_post_revision_field_post_title", 'qtrans_showAllSeperated', 0); +add_filter( "_wp_post_revision_field_post_content", 'qtrans_showAllSeperated', 0); +add_filter( "_wp_post_revision_field_post_excerpt", 'qtrans_showAllSeperated', 0); + +// Hooks (execution time non-critical filters) +add_filter('author_feed_link', 'qtrans_convertURL'); +add_filter('author_link', 'qtrans_convertURL'); +add_filter('author_feed_link', 'qtrans_convertURL'); +add_filter('day_link', 'qtrans_convertURL'); +add_filter('get_comment_author_url_link', 'qtrans_convertURL'); +add_filter('month_link', 'qtrans_convertURL'); +add_filter('page_link', 'qtrans_convertURL'); +add_filter('post_link', 'qtrans_convertURL'); +add_filter('year_link', 'qtrans_convertURL'); +add_filter('category_feed_link', 'qtrans_convertURL'); +add_filter('category_link', 'qtrans_convertURL'); +add_filter('tag_link', 'qtrans_convertURL'); +add_filter('term_link', 'qtrans_convertURL'); +add_filter('the_permalink', 'qtrans_convertURL'); +add_filter('feed_link', 'qtrans_convertURL'); +add_filter('post_comments_feed_link', 'qtrans_convertURL'); +add_filter('tag_feed_link', 'qtrans_convertURL'); +add_filter('get_pagenum_link', 'qtrans_convertURL'); +add_filter('get_search_form', 'qtrans_fixSearchForm', 10, 1); +add_filter('manage_posts_columns', 'qtrans_languageColumnHeader'); +add_filter('manage_posts_custom_column', 'qtrans_languageColumn'); +add_filter('manage_pages_columns', 'qtrans_languageColumnHeader'); +add_filter('manage_pages_custom_column', 'qtrans_languageColumn'); +add_filter('wp_list_pages_excludes', 'qtrans_excludePages'); +add_filter('comment_notification_text', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage'); +add_filter('comment_notification_headers', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage'); +add_filter('comment_notification_subject', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage'); + +add_filter('the_editor', 'qtrans_modifyRichEditor'); +add_filter('admin_footer', 'qtrans_modifyExcerpt'); +add_filter('bloginfo_url', 'qtrans_convertBlogInfoURL',10,2); +add_filter('plugin_action_links', 'qtrans_links', 10, 2); +add_filter('manage_language_columns', 'qtrans_language_columns'); +add_filter('core_version_check_locale', 'qtrans_versionLocale'); +add_filter('redirect_canonical', 'qtrans_checkCanonical', 10, 2); +// skip this filters if on backend +if(!defined('WP_ADMIN')) { + add_filter('the_posts', 'qtrans_postsFilter'); + add_filter('wp_setup_nav_menu_item', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage'); + + // Compability with Default Widgets + qtrans_optionFilter(); + add_filter('widget_title', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); + add_filter('widget_text', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); + + // filter options + add_filter('esc_html', 'qtrans_esc_html', 0); + // don't filter untranslated posts in admin + add_filter('posts_where_request', 'qtrans_excludeUntranslatedPosts'); + + // leave terms in default language + add_filter('cat_row', 'qtrans_useTermLib',0); + add_filter('cat_rows', 'qtrans_useTermLib',0); + add_filter('wp_get_object_terms', 'qtrans_useTermLib',0); + add_filter('single_tag_title', 'qtrans_useTermLib',0); + add_filter('single_cat_title', 'qtrans_useTermLib',0); + add_filter('the_category', 'qtrans_useTermLib',0); + add_filter('get_term', 'qtrans_useTermLib',0); + add_filter('get_terms', 'qtrans_useTermLib',0); + add_filter('get_category', 'qtrans_useTermLib',0); + add_filter('get_comment_author', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); + add_filter('the_author', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); +} + +?> \ No newline at end of file diff --git a/htdocs/wp-content/plugins/qtranslate/qtranslate_javascript.php b/htdocs/wp-content/plugins/qtranslate/qtranslate_javascript.php new file mode 100644 index 0000000..f4f4f04 --- /dev/null +++ b/htdocs/wp-content/plugins/qtranslate/qtranslate_javascript.php @@ -0,0 +1,404 @@ + 1) arr.push(result[1]); + start = _regEx.lastIndex; + } + if(start < this.length) arr.push(this.slice(start)); + if(start == this.length) arr.push(''); //delim at the end + return arr; + }; + "; + + $q_config['js']['qtrans_is_array'] = " + qtrans_isArray = function(obj) { + if (obj.constructor.toString().indexOf('Array') == -1) + return false; + else + return true; + } + "; + + $q_config['js']['qtrans_split'] = " + qtrans_split = function(text) { + var split_regex = /()/gi; + var lang_begin_regex = //gi; + var lang_end_regex = //gi; + var morenextpage_regex = /(|)+$/gi; + var matches = null; + var result = new Object; + var matched = false; + "; + foreach($q_config['enabled_languages'] as $language) + $q_config['js']['qtrans_split'].= " + result['".$language."'] = ''; + "; + $q_config['js']['qtrans_split'].= " + + var blocks = text.xsplit(split_regex); + if(qtrans_isArray(blocks)) { + for (var i = 0;i \ No newline at end of file diff --git a/htdocs/wp-content/plugins/qtranslate/qtranslate_services.php b/htdocs/wp-content/plugins/qtranslate/qtranslate_services.php new file mode 100644 index 0000000..b8a56b3 --- /dev/null +++ b/htdocs/wp-content/plugins/qtranslate/qtranslate_services.php @@ -0,0 +1,911 @@ + $value) { + $var[$key] = qs_base64_serialize($value); + } + } + $var = serialize($var); + $var = strtr(base64_encode($var), '-_,', '+/='); + return $var; +} + +function qs_base64_unserialize($var) { + $var = base64_decode(strtr($var, '-_,', '+/=')); + $var = unserialize($var); + if(is_array($var)) { + foreach($var as $key => $value) { + $var[$key] = qs_base64_unserialize($value); + } + } + return $var; +} + +// sends a encrypted message to qTranslate Services and decrypts the received data +function qs_queryQS($action, $data='', $fast = false) { + global $qs_public_key; + // generate new private key + $key = openssl_pkey_new(); + openssl_pkey_export($key, $private_key); + $public_key=openssl_pkey_get_details($key); + $public_key=$public_key["key"]; + $message = qs_base64_serialize(array('key'=>$public_key, 'data'=>$data)); + openssl_seal($message, $message, $server_key, array($qs_public_key)); + $message = qs_base64_serialize(array('key'=>$server_key[0], 'data'=>$message)); + $data = "message=".$message; + + // connect to qts + if($fast) { + $fp = fsockopen('www.qianqin.de', 80, $errno, $errstr, QS_FAST_TIMEOUT); + stream_set_timeout($fp, QS_FAST_TIMEOUT); + } else { + $fp = fsockopen('www.qianqin.de', 80); + } + if(!$fp) return false; + + fputs($fp, "POST /qtranslate/services/$action HTTP/1.1\r\n"); + fputs($fp, "Host: www.qianqin.de\r\n"); + fputs($fp, "Content-type: application/x-www-form-urlencoded\r\n"); + fputs($fp, "Content-length: ". strlen($data) ."\r\n"); + fputs($fp, "Connection: close\r\n\r\n"); + fputs($fp, $data); + $res = ''; + while(!feof($fp)) { + $res .= fgets($fp, 128); + } + // check for timeout + $info = stream_get_meta_data($fp); + if($info['timed_out']) return false; + fclose($fp); + + preg_match("#^Content-Length:\s*([0-9]+)\s*$#ism",$res, $match); + if(isset($match[1])) { + $content_length = $match[1]; + $content = substr($res, -$content_length, $content_length); + } else { + $content = $res; + } + $debug = $content; + $content = qs_base64_unserialize($content); + openssl_open($content['data'], $content, $content['key'], $private_key); + if($content===false) { + echo "
DEBUG:\n";
+		echo $debug;
+		echo "
"; + } + openssl_free_key($key); + return qs_cleanup(qs_base64_unserialize($content), $action); +} + +function qs_clean_uri($clean_uri) { + return preg_replace("/&(qs_delete|qs_cron)=[^&#]*/i","",$clean_uri); +} + +function qs_translateButtons($available_languages, $missing_languages) { + global $q_config, $post; + if(sizeof($missing_languages)==0) return; + $missing_languages_name = array(); + foreach($missing_languages as $language) { + $missing_languages_name[] = ''.$q_config['language_name'][$language].''; + } + $missing_languages_names = join(', ', $missing_languages_name); + printf(__('
Translate to %s
', 'qtranslate') ,$missing_languages_names); +} + +function qs_css() { +?> +p.error {background-color:#ffebe8;border-color:#c00;border-width:1px;border-style:solid;padding:0 .6em;margin:5px 15px 2px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;} +p.error a{color:#c00;} +#qs_boxes { margin-right:300px } +#qs_boxes .postbox h3.hndle, #submitboxcontainer .postbox h3.hndle {cursor:auto} +#qs_boxes div.inside {margin: 6px 6px 8px;} +#submitboxcontainer { float:right; width:280px } +#qs_content_preview { width:100%; height:200px } +.service_description { margin-left:20px; margin-top:0 } +#qtranslate-services h4 { margin-top:0 } +#qtranslate-services h5 { margin-bottom:0 } +#qtranslate-services .description { font-size:11px } +#qtrans_select_translate { margin-right:11px } +.qs_status { border:0 } +.qs_no-bottom-border { border-bottom:0 !important } +#submitboxcontainer p { margin:6px 6px ; } +.qs_submit { text-align:right; padding:6px } + $service) { + // make array out ouf serialized field + $fields = array(); + $required_fields = explode('|',$service['service_required_fields']); + foreach($required_fields as $required_field) { + if(strpos($required_field, " ")!==false) { + list($fieldname, $title) = explode(' ', $required_field, 2); + if($fieldname!='') { + $fields[] = array('name' => $fieldname, 'value' => '', 'title' => $title); + } + } + } + $var[$service_id]['service_required_fields'] = $fields; + } + break; + } + if(isset($var['error']) && $var['error'] == QS_DEBUG) { + echo "
Debug message received from Server: \n";
+		var_dump($var['message']);
+		echo "
"; + } + return $var; +} + +function qs_config_pre_hook($message) { + global $q_config; + if(isset($_POST['default_language'])) { + qtrans_checkSetting('qtranslate_services', true, QT_BOOLEAN); + qs_load(); + if($q_config['qtranslate_services']) { + $services = qs_queryQS(QS_GET_SERVICES); + $service_settings = get_option('qs_service_settings'); + if(!is_array($service_settings)) $service_settings = array(); + + foreach($services as $service_id => $service) { + // check if there are already settings for the field + if(!isset($service_settings[$service_id])||!is_array($service_settings[$service_id])) $service_settings[$service_id] = array(); + + // update fields + foreach($service['service_required_fields'] as $field) { + if(isset($_POST['qs_'.$service_id.'_'.$field['name']])) { + // skip empty passwords to keep the old value + if($_POST['qs_'.$service_id.'_'.$field['name']]=='' && $field['name']=='password') continue; + $service_settings[$service_id][$field['name']] = $_POST['qs_'.$service_id.'_'.$field['name']]; + } + } + } + update_option('qs_service_settings', $service_settings); + } + } + if(isset($_GET['qs_delete'])) { + $_GET['qs_delete'] = intval($_GET['qs_delete']); + $orders = get_option('qs_orders'); + if(is_array($orders)) { + foreach($orders as $key => $order) { + if($orders[$key]['order']['order_id'] == $_GET['qs_delete']) { + unset($orders[$key]); + update_option('qs_orders',$orders); + } + } + } + $message = __('Order deleted.','qtranslate'); + } + if(isset($_GET['qs_cron'])) { + qs_cron(); + $message = __('Status updated for all open orders.','qtranslate'); + } + return $message; +} + +function qs_translate_box($post) { + global $q_config; + $languages = qtrans_getSortedLanguages(); +?> +
    + +
  • <?php echo $q_config['language_name'][$language]; ?>
  • +'.__('Please save your post first.','qtranslate').''; + break; + } + } +?> +
+ + + __('Post Title', 'qtranslate'), + 'service' => __('Service', 'qtranslate'), + 'source_language' => __('Source Language', 'qtranslate'), + 'target_language' => __('Target Language', 'qtranslate'), + 'action' => __('Action', 'qtranslate') + ); +} + +function qs_config_hook($request_uri) { + global $q_config; +?> +

+ + + + + + + + + + + + + +0) { +?> + + + + + + + + + +
+

qTranslate Services could not load OpenSSL!

'), 'http://www.php.net/manual/book.openssl.php'); } ?> + +
+
+

+0) { ?> + + + + + + + + + + + + +post_title = esc_html(qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($post->post_title)); +?> + + + + + + + + + + + + +
post_title; ?>Delete
+ +
+

check manually.','qtranslate'),'options-general.php?page=qtranslate&qs_cron=true#qtranslate_service_settings'); ?>

+

+ +

+ +
+

+

+
+
( )
+

+
+ " value="" style="width:100%"/> +
+ + $order) { + qs_UpdateOrder($order['order']['order_id']); + } +} + +function qs_UpdateOrder($order_id) { + global $wpdb; + $orders = get_option('qs_orders'); + if(!is_array($orders)) return false; + foreach($orders as $key => $order) { + // search for wanted order + if($order['order']['order_id']!=$order_id) continue; + + // query server for updates + $order['order']['order_url'] = get_option('home'); + $result = qs_queryQS(QS_RETRIEVE_TRANSLATION, $order['order']); + if(isset($result['order_comment'])) $orders[$key]['status'] = $result['order_comment']; + // update db if post is updated + if(isset($result['order_status']) && $result['order_status']==QS_STATE_CLOSED) { + $order['post_id'] = intval($order['post_id']); + $post = &get_post($order['post_id']); + $title = qtrans_split($post->post_title); + $content = qtrans_split($post->post_content); + $title[$order['target_language']] = $result['order_translated_title']; + $content[$order['target_language']] = $result['order_translated_text']; + $post->post_title = qtrans_join($title); + $post->post_content = qtrans_join($content); + $wpdb->show_errors(); + $wpdb->query('UPDATE '.$wpdb->posts.' SET post_title="'.mysql_escape_string($post->post_title).'", post_content = "'.mysql_escape_string($post->post_content).'" WHERE ID = "'.$post->ID.'"'); + wp_cache_add($post->ID, $post, 'posts'); + unset($orders[$key]); + } + update_option('qs_orders',$orders); + return true; + } + return false; +} + +function qs_service() { + global $q_config, $qs_public_key, $qs_error_messages; + if(!isset($_REQUEST['post'])) { + echo ''; + printf(__('To translate a post, please go to the edit posts overview.','qtranslate'), 'edit.php'); + exit(); + } + $post_id = intval($_REQUEST['post']); + $confirm = isset($_GET['confirm'])?true:false; + $translate_from = ''; + $translate_to = ''; + $translate_from_name = ''; + $translate_to_name = ''; + if(isset($_REQUEST['source_language'])&&qtrans_isEnabled($_REQUEST['source_language'])) + $translate_from = $_REQUEST['source_language']; + if(isset($_REQUEST['target_language'])&&qtrans_isEnabled($_REQUEST['target_language'])) + $translate_to = $_REQUEST['target_language']; + if($translate_to == $translate_from) $translate_to = ''; + $post = &get_post($post_id); + if(!$post) { + printf(__('Post with id "%s" not found!','qtranslate'), $post_id); + return; + } + $default_service = intval(get_option('qs_default_service')); + $service_settings = get_option('qs_service_settings'); + // Detect available Languages and possible target languages + $available_languages = qtrans_getAvailableLanguages($post->post_content); + if(sizeof($available_languages)==0) { + $error = __('The requested Post has no content, no Translation possible.', 'qtranslate'); + } + + // try to guess source and target language + if(!in_array($translate_from, $available_languages)) $translate_from = ''; + $missing_languages = array_diff($q_config['enabled_languages'], $available_languages); + if(empty($translate_from) && in_array($q_config['default_language'], $available_languages) && $translate_to!=$q_config['default_language']) $translate_from = $q_config['default_language']; + if(empty($translate_to) && sizeof($missing_languages)==1) $translate_to = $missing_languages[0]; + if(in_array($translate_to, $available_languages)) { + $message = __('The Post already has content for the selected target language. If a translation request is send, the current text for the target language will be overwritten.','qtranslate'); + } + if(sizeof($available_languages)==1) { + if($available_languages[0] == $translate_to) { + unset($translate_to); + } + $translate_from = $available_languages[0]; + } elseif($translate_from == '' && sizeof($available_languages) > 1) { + $languages = qtrans_getSortedLanguages(); + foreach($languages as $language) { + if($language != $translate_to && in_array($language, $available_languages)) { + $translate_from = $language; + break; + } + } + } + + // link to current page with get variables + $url_link = add_query_arg('post', $post_id); + if(!empty($translate_to)) $url_link = add_query_arg('target_language', $translate_to, $url_link); + if(!empty($translate_from)) $url_link = add_query_arg('source_language', $translate_from, $url_link); + + // get correct title and content + $post_title = qtrans_use($translate_from,$post->post_title); + $post_content = qtrans_use($translate_from,$post->post_content); + $post_excerpt = qtrans_use($translate_from,$post->post_excerpt); + if(!empty($translate_from)) $translate_from_name = $q_config['language_name'][$translate_from]; + if(!empty($translate_to)) $translate_to_name = $q_config['language_name'][$translate_to]; + if(!empty($translate_from) && !empty($translate_to)) { + $title = sprintf('Translate "%1$s" from %2$s to %3$s', htmlspecialchars($post_title), $translate_from_name, $translate_to_name); + } elseif(!empty($translate_from)) { + $title = sprintf('Translate "%1$s" from %2$s', htmlspecialchars($post_title), $translate_from_name); + } else { + $title = sprintf('Translate "%1$s"', htmlspecialchars($post_title)); + } + + // Check data + if(isset($_POST['service_id'])) { + $service_id = intval($_POST['service_id']); + $default_service = $service_id; + update_option('qs_default_service', $service_id); + $order_key = substr(md5(time().AUTH_KEY),0,20); + $request = array( + 'order_service_id' => $service_id, + 'order_url' => get_option('home'), + 'order_key' => $order_key, + 'order_title' => $post_title, + 'order_text' => $post_content, + 'order_excerpt' => $post_excerpt, + 'order_source_language' => $translate_from, + 'order_source_locale' => $q_config['locale'][$translate_from], + 'order_target_language' => $translate_to, + 'order_target_locale' => $q_config['locale'][$translate_to] + ); + // check for additional fields + if(isset($service_settings[$service_id]) && is_array($service_settings[$service_id])) { + $request['order_required_field'] = array(); + foreach($service_settings[$service_id] as $setting => $value) { + $request['order_required_field'][$setting] = $value; + } + } + if(isset($_POST['token'])) $request['order_token'] = $_POST['token']; + $answer = qs_queryQS(QS_INIT_TRANSLATION, $request); + if(isset($answer['error'])) { + $error = sprintf(__('An error occured: %s', 'qtranslate'), $qs_error_messages[$answer['error']]); + if($answer['message']!='') { + $error.='
'.sprintf(__('Additional information: %s', 'qtranslate'), qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($answer['message'])); + } + } + if(isset($answer['order_id'])) { + $orders = get_option('qs_orders'); + if(!is_array($orders)) $orders = array(); + $orders[] = array('post_id'=>$post_id, 'service_id' => $service_id, 'source_language'=>$translate_from, 'target_language'=>$translate_to, 'order' => array('order_key' => $order_key, 'order_id' => $answer['order_id'])); + update_option('qs_orders', $orders); + if(empty($answer['message'])) { + $order_completed_message = ''; + } else { + $order_completed_message = htmlspecialchars($answer['message']); + } + qs_UpdateOrder($answer['order_id']); + } + } + if(isset($error)) { +?> +
+

+

+

Support Forum','qtranslate'), 'http://www.qianqin.de/qtranslate/forum/');?>

+
+ +
+

+

+

+ +

+ +

+
    +
  • +
  • +
  • +
  • +
  • +
+
+ +
+

+ +

+ +

+
+

1) { + $available_languages_name = array(); + foreach(array_diff($available_languages,array($translate_from)) as $language) { + $available_languages_name[] = ''.$q_config['language_name'][$language].''; + } + $available_languages_names = join(", ", $available_languages_name); + printf(__('Your article is available in multiple languages. If you do not want to translate from %1$s, you can switch to one of the following languages: %2$s', 'qtranslate'),$q_config['language_name'][$translate_from],$available_languages_names); + } +?>

+ + + +

+
    + +
  • + +
+

+ +

+ + + + + +
+
+

+
+

+
+
+
+
+ +
+
+

+
+ +

+
+
+
+ + +

+ +
+
+

+
+ +
    + $service) { + // check if we have data for all required fields + $requirements_matched = true; + foreach($service['service_required_fields'] as $field) { + if(!isset($service_settings[$service_id][$field['name']]) || $service_settings[$service_id][$field['name']] == '') $requirements_matched = false; + } + if(!$requirements_matched) { +?> +
  • + +

    required fields filled in for this service.','qtranslate'), 'options-general.php?page=qtranslate#qs_service_'.$service_id); ?>

    +

    +
  • + +
  • + +
+ +
+
+
+

+

+
+ +
+
+ +

+ +
+ +
+ +post_title; + $post_content = $post->post_content; + $post_excerpt = $post->post_excerpt; + $request = array( + 'order_service_id' => $service_id, + 'order_title' => $post_title, + 'order_text' => $post_content, + 'order_excerpt' => $post_excerpt, + 'order_source_language' => $translate_from, + 'order_source_locale' => $q_config['locale'][$translate_from], + 'order_target_language' => $translate_to, + 'order_target_locale' => $q_config['locale'][$translate_to], + 'order_confirm_url' => get_admin_url(null, 'edit.php?page=qtranslate_services&confirm=1&post='.$_POST['post_id'].'&source_language='.$translate_from.'&target_language='.$translate_to.'&service_id='.$service_id), + 'order_failure_url' => get_admin_url(null, 'edit.php?page=qtranslate_services&post='.$_POST['post_id'].'&source_language='.$translate_from.'&target_language='.$translate_to.'&service_id='.$service_id) + ); + $answer = qs_queryQS(QS_QUOTE, $request); + $price = __('unavailable', 'qtranslate'); + $currency = ''; + $short = ''; + if(isset($answer['price'])) { + if($answer['price'] == 0) { + $price = __('free', 'qtranslate'); + } else if($answer['price'] < 0) { + $price = __('unavailable', 'qtranslate'); + } else { + $price = number_format_i18n($answer['price'],2); + $currency = $answer['currency']; + } + $content = sprintf(__('

Price: %1$s %2$s

','qtranslate'), $currency, $price); + $short = sprintf(__('~ %1$s %2$s','qtranslate'), $currency, $price); + if(!empty($answer['paypalurl'])) { + $content .= '
'; + } else { + $content .= ''; + } + } else { + $content = '

'.__('An error occured!', 'qtranslate'); + if(isset($answer['error'])) $content .= '
'.$answer['message']; + $content .= '

'; + } + if($mode == 'full') { + echo "jQuery('#submitdiv .request').html('"; + echo $content; + echo "');"; + } else if($mode == 'price_only') { + echo "jQuery('.qsprice').html('"; + echo $short; + echo "');"; + } + die(); +} + +function qs_toobar($content) { + // Create Translate Button + $content .= qtrans_createEditorToolbarButton('translate', 'translate', 'init_qs', __('Translate')); + return $content; +} + +function qs_editor_js($content) { + $content .= " + init_qs = function(action, id) { + document.location.href = 'edit.php?page=qtranslate_services&post=".intval($_REQUEST['post'])."'; + } + "; + return $content; +} + +?> \ No newline at end of file diff --git a/htdocs/wp-content/plugins/qtranslate/qtranslate_utils.php b/htdocs/wp-content/plugins/qtranslate/qtranslate_utils.php new file mode 100644 index 0000000..db83d34 --- /dev/null +++ b/htdocs/wp-content/plugins/qtranslate/qtranslate_utils.php @@ -0,0 +1,239 @@ + $out[1], + "host" => $out[4].(($out[5]=='')?'':':'.$out[5]), + "user" => $out[2], + "pass" => $out[3], + "path" => $out[6], + "query" => $out[7], + "fragment" => $out[8] + ); + return $result; +} + +function qtrans_stripSlashesIfNecessary($str) { + if(1==get_magic_quotes_gpc()) { + $str = stripslashes($str); + } + return $str; +} + +function qtrans_insertDropDownElement($language, $url, $id){ + global $q_config; + $html =" + var sb = document.getElementById('qtrans_select_".$id."'); + var o = document.createElement('option'); + var l = document.createTextNode('".$q_config['language_name'][$language]."'); + "; + if($q_config['language']==$language) + $html .= "o.selected = 'selected';"; + $html .= " + o.value = '".addslashes(htmlspecialchars_decode($url, ENT_NOQUOTES))."'; + o.appendChild(l); + sb.appendChild(o); + "; + return $html; +} + +function qtrans_getLanguage() { + global $q_config; + return $q_config['language']; +} + +function qtrans_getLanguageName($lang = '') { + global $q_config; + if($lang=='' || !qtrans_isEnabled($lang)) $lang = $q_config['language']; + return $q_config['language_name'][$lang]; +} + +function qtrans_isEnabled($lang) { + global $q_config; + return in_array($lang, $q_config['enabled_languages']); +} + +function qtrans_startsWith($s, $n) { + if(strlen($n)>strlen($s)) return false; + if($n == substr($s,0,strlen($n))) return true; + return false; +} + +function qtrans_getAvailableLanguages($text) { + global $q_config; + $result = array(); + $content = qtrans_split($text); + foreach($content as $language => $lang_text) { + $lang_text = trim($lang_text); + if(!empty($lang_text)) $result[] = $language; + } + if(sizeof($result)==0) { + // add default language to keep default URL + $result[] = $q_config['language']; + } + return $result; +} + +function qtrans_isAvailableIn($post_id, $language='') { + global $q_config; + if($language == '') $language = $q_config['default_language']; + $post = &get_post($post_id); + $languages = qtrans_getAvailableLanguages($post->post_content); + return in_array($language,$languages); +} + +function qtrans_convertDateFormatToStrftimeFormat($format) { + $mappings = array( + 'd' => '%d', + 'D' => '%a', + 'j' => '%E', + 'l' => '%A', + 'N' => '%u', + 'S' => '%q', + 'w' => '%f', + 'z' => '%F', + 'W' => '%V', + 'F' => '%B', + 'm' => '%m', + 'M' => '%b', + 'n' => '%i', + 't' => '%J', + 'L' => '%k', + 'o' => '%G', + 'Y' => '%Y', + 'y' => '%y', + 'a' => '%P', + 'A' => '%p', + 'B' => '%K', + 'g' => '%l', + 'G' => '%L', + 'h' => '%I', + 'H' => '%H', + 'i' => '%M', + 's' => '%S', + 'u' => '%N', + 'e' => '%Q', + 'I' => '%o', + 'O' => '%O', + 'P' => '%s', + 'T' => '%v', + 'Z' => '%1', + 'c' => '%2', + 'r' => '%3', + 'U' => '%4' + ); + + $date_parameters = array(); + $strftime_parameters = array(); + $date_parameters[] = '#%#'; $strftime_parameters[] = '%%'; + foreach($mappings as $df => $sf) { + $date_parameters[] = '#(([^%\\\\])'.$df.'|^'.$df.')#'; $strftime_parameters[] = '${2}'.$sf; + } + // convert everything + $format = preg_replace($date_parameters, $strftime_parameters, $format); + // remove single backslashes from dates + $format = preg_replace('#\\\\([^\\\\]{1})#','${1}',$format); + // remove double backslashes from dates + $format = preg_replace('#\\\\\\\\#','\\\\',$format); + return $format; +} + +function qtrans_convertFormat($format, $default_format) { + global $q_config; + // check for multilang formats + $format = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($format); + $default_format = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($default_format); + switch($q_config['use_strftime']) { + case QT_DATE: + if($format=='') $format = $default_format; + return qtrans_convertDateFormatToStrftimeFormat($format); + case QT_DATE_OVERRIDE: + return qtrans_convertDateFormatToStrftimeFormat($default_format); + case QT_STRFTIME: + return $format; + case QT_STRFTIME_OVERRIDE: + return $default_format; + } +} + +function qtrans_convertDateFormat($format) { + global $q_config; + if(isset($q_config['date_format'][$q_config['language']])) { + $default_format = $q_config['date_format'][$q_config['language']]; + } elseif(isset($q_config['date_format'][$q_config['default_language']])) { + $default_format = $q_config['date_format'][$q_config['default_language']]; + } else { + $default_format = ''; + } + return qtrans_convertFormat($format, $default_format); +} + +function qtrans_convertTimeFormat($format) { + global $q_config; + if(isset($q_config['time_format'][$q_config['language']])) { + $default_format = $q_config['time_format'][$q_config['language']]; + } elseif(isset($q_config['time_format'][$q_config['default_language']])) { + $default_format = $q_config['time_format'][$q_config['default_language']]; + } else { + $default_format = ''; + } + return qtrans_convertFormat($format, $default_format); +} + +function qtrans_formatCommentDateTime($format) { + global $comment; + return qtrans_strftime(qtrans_convertFormat($format, $format), mysql2date('U',$comment->comment_date), '', $before, $after); +} + +function qtrans_formatPostDateTime($format) { + global $post; + return qtrans_strftime(qtrans_convertFormat($format, $format), mysql2date('U',$post->post_date), '', $before, $after); +} + +function qtrans_formatPostModifiedDateTime($format) { + global $post; + return qtrans_strftime(qtrans_convertFormat($format, $format), mysql2date('U',$post->post_modified), '', $before, $after); +} + +function qtrans_realURL($url = '') { + global $q_config; + return $q_config['url_info']['original_url']; +} + +function qtrans_getSortedLanguages($reverse = false) { + global $q_config; + $languages = $q_config['enabled_languages']; + ksort($languages); + // fix broken order + $clean_languages = array(); + foreach($languages as $lang) { + $clean_languages[] = $lang; + } + if($reverse) krsort($clean_languages); + return $clean_languages; +} + +?> \ No newline at end of file diff --git a/htdocs/wp-content/plugins/qtranslate/qtranslate_widget.php b/htdocs/wp-content/plugins/qtranslate/qtranslate_widget.php new file mode 100644 index 0000000..1be8877 --- /dev/null +++ b/htdocs/wp-content/plugins/qtranslate/qtranslate_widget.php @@ -0,0 +1,131 @@ + 'widget_qtranslate', 'description' => __('Allows your visitors to choose a Language.','qtranslate') ); + $this->WP_Widget('qtranslate', __('qTranslate Language Chooser','qtranslate'), $widget_ops); + } + + function widget($args, $instance) { + extract($args); + + echo $before_widget; + $title = empty($instance['title']) ? __('Language', 'qtranslate') : apply_filters('widget_title', $instance['title']); + $hide_title = empty($instance['hide-title']) ? false : 'on'; + $type = $instance['type']; + if($type!='text'&&$type!='image'&&$type!='both'&&$type!='dropdown') $type='text'; + + if($hide_title!='on') { echo $before_title . $title . $after_title; }; + qtrans_generateLanguageSelectCode($type, $this->id); + echo $after_widget; + } + + function update($new_instance, $old_instance) { + $instance = $old_instance; + $instance['title'] = $new_instance['title']; + if(isset($new_instance['hide-title'])) $instance['hide-title'] = $new_instance['hide-title']; + $instance['type'] = $new_instance['type']; + + return $instance; + } + + function form($instance) { + $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'hide-title' => false, 'type' => 'text' ) ); + $title = $instance['title']; + $hide_title = $instance['hide-title']; + $type = $instance['type']; +?> +

+

+

+

+

+

+

+'; + foreach(qtrans_getSortedLanguages() as $language) { + $classes = array('lang-'.$language); + if($language == $q_config['language']) + $classes[] = 'active'; + echo '
  • '.$q_config['language_name'][$language].'
  • '; + } + echo "
    "; + if($style=='dropdown') { + echo "\n"; + } + break; + case 'both': + echo '
    "; + break; + } +} + +function qtrans_widget_init() { + register_widget('qTranslateWidget'); +} + +?> diff --git a/htdocs/wp-content/plugins/qtranslate/qtranslate_wphacks.php b/htdocs/wp-content/plugins/qtranslate/qtranslate_wphacks.php new file mode 100644 index 0000000..9987de5 --- /dev/null +++ b/htdocs/wp-content/plugins/qtranslate/qtranslate_wphacks.php @@ -0,0 +1,351 @@ +\n// name)) { + $termname = $term->name; + } else { + $termname = ""; + } + // create input fields for each language + foreach($q_config['enabled_languages'] as $language) { + if(isset($_GET['action']) && $_GET['action']=='edit') { + echo qtrans_insertTermInput2($id, $name, $termname, $language); + } else { + echo qtrans_insertTermInput($id, $name, $termname, $language); + } + } + // hide real category text + echo "ins.style.display='none';\n"; + echo "// ]]>\n\n"; +} + +function qtrans_modifyTermFormFor($term) { + qtrans_modifyTermForm('name', __('Name'), $term); + qtrans_modifyTermForm('tag-name', __('Name'), $term); +} + +// Modifys TinyMCE to edit multilingual content +function qtrans_modifyRichEditor($old_content) { + global $q_config; + $init_editor = true; + if($GLOBALS['wp_version'] != QT_SUPPORTED_WP_VERSION) { + if(!(isset($_REQUEST['qtranslateincompatiblemessage'])&&$_REQUEST['qtranslateincompatiblemessage']=="shown")) { + echo '
    '.__('The qTranslate Editor has disabled itself because it hasn\'t been tested with your Wordpress version yet. This is done to prevent Wordpress from malfunctioning. You can reenable it by clicking here (may cause data loss! Use at own risk!). To remove this message permanently, please update qTranslate to the corresponding version.', 'qtranslate').'
    '; + } + $init_editor = false; + } + // save callback hook + + preg_match("/]*id=\"([^']+)\"/",$old_content,$matches); + $id = $matches[1]; + preg_match("/cols=\"([^\"]+)\"/",$old_content,$matches); + $cols = $matches[1]; + // don't do anything if not editing the content + if($id!="content") return $old_content; + + // don't do anything to the editor if it's not rich + if(!user_can_richedit()) { + //echo '

    '.__('The qTranslate Editor could not be loaded because WYSIWYG/TinyMCE is not activated in your profile.').'

    '; + return $old_content; + } + + // remove wpautop + if('html' != wp_default_editor()) { + remove_filter('the_editor_content', 'wp_richedit_pre'); + } + + $content = ""; + $content_append = ""; + + // create editing field for selected languages + $qt_textarea = ''; + $old_content = preg_replace('#(]*>.*)#', '$1'.$qt_textarea, $old_content); + + // do some crazy js to alter the admin view + $content .="\n"; + + $content_append .="\n"; + + return $content.$old_content.$content_append; +} + +function qtrans_modifyExcerpt() { + global $q_config; + echo "\n"; +} + +function qtrans_createTitlebarButton($parent, $language, $target, $id) { + global $q_config; + $html = " + jQuery('#".$parent." .handlediv').after('
    \"".$language."\"
    '); + jQuery('#".$id."').click(function() {qtrans_switch_postbox('".$parent."','".$target."','".$language."');}); + "; + return $html; +} + +function qtrans_createTextArea($parent, $language, $target, $id) { + global $q_config; + $html = " + jQuery('#".$target."').after(''); + jQuery('#qtrans_textarea_".$target."_".$language."').attr('cols', jQuery('#".$target."').attr('cols')); + jQuery('#qtrans_textarea_".$target."_".$language."').attr('rows', jQuery('#".$target."').attr('rows')); + jQuery('#qtrans_textarea_".$target."_".$language."').attr('tabindex', jQuery('#".$target."').attr('tabindex')); + jQuery('#qtrans_textarea_".$target."_".$language."').blur(function() {qtrans_switch_postbox('".$parent."','".$target."',false);}); + jQuery('#qtrans_textarea_".$target."_".$language."').val(qtrans_use('".$language."',jQuery('#".$target."').val())); + "; + return $html; +} + +function qtrans_insertTermInput($id,$name,$term,$language){ + global $q_config; + $html =" + var il = document.getElementsByTagName('input'); + var d = document.createElement('div'); + var l = document.createTextNode('".$name." (".$q_config['language_name'][$language].")'); + var ll = document.createElement('label'); + var i = document.createElement('input'); + var ins = null; + for(var j = 0; j < il.length; j++) { + if(il[j].id=='".$id."') { + ins = il[j]; + break; + } + } + i.type = 'text'; + i.id = i.name = ll.htmlFor ='qtrans_term_".$language."'; + "; + if(isset($q_config['term_name'][$term][$language])) { + $html .=" + i.value = '".addslashes(htmlspecialchars_decode($q_config['term_name'][$term][$language], ENT_NOQUOTES))."'; + "; + } else { + $html .=" + i.value = ins.value; + "; + } + if($language == $q_config['default_language']) { + $html .=" + i.onchange = function() { + var il = document.getElementsByTagName('input'); + var ins = null; + for(var j = 0; j < il.length; j++) { + if(il[j].id=='".$id."') { + ins = il[j]; + break; + } + } + ins.value = document.getElementById('qtrans_term_".$language."').value; + }; + "; + } + $html .=" + ins = ins.parentNode; + d.className = 'form-field form-required'; + ll.appendChild(l); + d.appendChild(ll); + d.appendChild(i); + ins.parentNode.insertBefore(d,ins); + "; + return $html; +} + +function qtrans_insertTermInput2($id,$name,$term,$language){ + global $q_config; + $html =" + var tr = document.createElement('tr'); + var th = document.createElement('th'); + var ll = document.createElement('label'); + var l = document.createTextNode('".$name." (".$q_config['language_name'][$language].")'); + var td = document.createElement('td'); + var i = document.createElement('input'); + var ins = document.getElementById('".$id."'); + i.type = 'text'; + i.id = i.name = ll.htmlFor ='qtrans_term_".$language."'; + "; + if(isset($q_config['term_name'][$term][$language])) { + $html .=" + i.value = '".addslashes(htmlspecialchars_decode($q_config['term_name'][$term][$language], ENT_QUOTES))."'; + "; + } else { + $html .=" + i.value = ins.value; + "; + } + if($language == $q_config['default_language']) { + $html .=" + i.onchange = function() { + var il = document.getElementsByTagName('input'); + var ins = null; + for(var j = 0; j < il.length; j++) { + if(il[j].id=='".$id."') { + ins = il[j]; + break; + } + } + ins.value = document.getElementById('qtrans_term_".$language."').value; + }; + "; + } + $html .=" + ins = ins.parentNode.parentNode; + tr.className = 'form-field form-required'; + th.scope = 'row'; + th.vAlign = 'top'; + ll.appendChild(l); + th.appendChild(ll); + tr.appendChild(th); + td.appendChild(i); + tr.appendChild(td); + ins.parentNode.insertBefore(tr,ins); + "; + return $html; +} + +function qtrans_insertTitleInput($language){ + global $q_config; + $html =" + var td = document.getElementById('titlediv'); + var qtd = document.createElement('div'); + var h = document.createElement('h3'); + var l = document.createTextNode('".__("Title", 'qtranslate')." (".$q_config['language_name'][$language].")'); + var tw = document.createElement('div'); + var ti = document.createElement('input'); + var slug = document.getElementById('edit-slug-box'); + + ti.type = 'text'; + ti.id = 'qtrans_title_".$language."'; + ti.tabIndex = '1'; + ti.value = qtrans_use('".$language."', document.getElementById('title').value); + ti.onchange = qtrans_integrate_title; + ti.className = 'qtrans_title_input'; + h.className = 'qtrans_title'; + tw.className = 'qtrans_title_wrap'; + + qtd.className = 'postarea'; + + h.appendChild(l); + tw.appendChild(ti); + qtd.appendChild(h); + qtd.appendChild(tw);"; + if($q_config['default_language'] == $language) + $html.="if(slug) qtd.appendChild(slug);"; + $html.=" + td.parentNode.insertBefore(qtd,td); + + "; + return $html; +} + +function qtrans_createEditorToolbarButton($language, $id, $js_function = 'switchEditors.go', $label = ''){ + global $q_config; + $html = " + var bc = document.getElementById('wp-".$id."-editor-tools'); + var mb = document.getElementById('wp-".$id."-media-buttons'); + var ls = document.createElement('a'); + var l = document.createTextNode('".(($label==='')?$q_config['language_name'][$language]:$label)."'); + ls.id = 'qtrans_select_".$language."'; + ls.className = 'wp-switch-editor'; + ls.onclick = function() { ".$js_function."('".$id."','".$language."'); }; + ls.appendChild(l); + bc.insertBefore(ls,mb); + "; + return $html; +} +?> diff --git a/htdocs/wp-content/plugins/qtranslate/readme.txt b/htdocs/wp-content/plugins/qtranslate/readme.txt new file mode 100644 index 0000000..a9616da --- /dev/null +++ b/htdocs/wp-content/plugins/qtranslate/readme.txt @@ -0,0 +1,63 @@ +=== qTranslate === +Contributors: chineseleper +Tags: multilingual, language, admin, tinymce, bilingual, widget, switcher, i18n, l10n, multilanguage, professional, translation, service, human +Requires at least: 3.8.1 +Tested up to: 3.8.1 +Stable tag: 2.5.39 +Donate Link: http://www.qianqin.de/qtranslate/contribute/ + +Adds userfriendly multilingual content management and translation support into Wordpress. + +== Description == + +Writing multilingual content is already hard enough, why make using a plugin even more complicated? I created qTranslate to let Wordpress have an easy to use interface for managing a fully multilingual web site. + +qTranslate makes creation of multilingual content as easy as working with a single language. Here are some features: + +- qTranslate Services - Professional human translation with two clicks +- One-Click-Switching between the languages - Change the language as easy as switching between Visual and HTML +- Language customizations without changing the .mo files - Use Quick-Tags instead for easy localization +- Multilingual dates out of the box - Translates dates and time for you +- Comes with a lot of languages already builtin! - English, German, Simplified Chinese and a lot of others +- No more juggling with .mo-files! - qTranslate will download them automatically for you +- Choose one of 3 Modes to make your URLs pretty and SEO-friendly. - The everywhere compatible `?lang=en`, simple and beautiful `/en/foo/` or nice and neat `en.yoursite.com` +- One language for each URL - Users and SEO will thank you for not mixing multilingual content + +qTranslate supports infinite languages, which can be easily added/modified/deleted via the comfortable Configuration Page. +All you need to do is activate the plugin and start writing the content! + +For more Information visit the [Plugin Homepage](http://www.qianqin.de/qtranslate/) + +Please be aware of slow updates currently. I will continue supporting qTranslate, but I wouldn't mind some help. ;) + +Most flags in flags directory are made by Luc Balemans and downloaded from FOTW Flags Of The World website at +[http://flagspot.net/flags/](http://www.crwflags.com/FOTW/FLAGS/wflags.html) + +== Installation == + +Install via your WordPress admin interface or follow these instructions: + +For more detailed instructions, take a look at the [Installation Guide](http://www.qianqin.de/qtranslate/installation-guide/) + +Installation of this plugin is fairly easy: + +1. Download the plugin from [here](http://wordpress.org/extend/plugins/qtranslate/ "qTranslate"). +1. Extract all the files. +1. Upload everything (keeping the directory structure) to the `/wp-content/plugins/` directory. +1. There should be a `/wp-content/plugins/qtranslate` directory now with `qtranslate.php` in it. +1. Activate the plugin through the 'Plugins' menu in WordPress. +1. Add the qTranslate Widget to let your visitors switch the language. + +== Frequently Asked Questions == + +The FAQ is available at the [Plugin Homepage](http://www.qianqin.de/qtranslate/) + +For Problems visits the [WordPress Support Forum](http://wordpress.org/support/forum/plugins-and-hacks) + +The old forum has been closed due to too much spam. + +== Screenshots == + +1. Wordpress Editor with qTranslate +2. Language Management Interface +3. qTranslate Services (Translation) diff --git a/htdocs/wp-content/plugins/qtranslate/screenshot-1.png b/htdocs/wp-content/plugins/qtranslate/screenshot-1.png new file mode 100644 index 0000000..f164c69 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/screenshot-1.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/screenshot-2.png b/htdocs/wp-content/plugins/qtranslate/screenshot-2.png new file mode 100644 index 0000000..bd7ea80 Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/screenshot-2.png differ diff --git a/htdocs/wp-content/plugins/qtranslate/screenshot-3.png b/htdocs/wp-content/plugins/qtranslate/screenshot-3.png new file mode 100644 index 0000000..1c1841b Binary files /dev/null and b/htdocs/wp-content/plugins/qtranslate/screenshot-3.png differ