History log of /plugin/autotranslation/action.php (Results 1 – 25 of 36)
Revision Date Author Comments
# b0afc21c 21-Jan-2026 Gerry Weißbach <gerry.w@gammaproduction.de>

Fix PHP 8 compatibility issues

- Add null safety check for $_SERVER['HTTP_ACCEPT_LANGUAGE'] in getBrowserLang() to prevent PHP 8.1+ deprecation warnings
- Add global $JSINFO declaration in helper co

Fix PHP 8 compatibility issues

- Add null safety check for $_SERVER['HTTP_ACCEPT_LANGUAGE'] in getBrowserLang() to prevent PHP 8.1+ deprecation warnings
- Add global $JSINFO declaration in helper constructor
- Remove extra parameter from buildTransID() call (function only accepts 2 params)
- Add null coalescing operators for $_SERVER['PHP_SELF'] and $_SERVER['REQUEST_URI'] in action.php
- Remove reference assignment operator from plugin_load() call in syntax/notrans.php (PHP 8 compatibility)

show more ...


# 3b18cb70 15-Jun-2023 Gerry Weißbach <gerry.w@gammaproduction.de>

Do not use require any more


# 5aa700ab 05-Aug-2020 Gerry Weißbach <gerry.w@gammaproduction.de>

Variable without referencing


# 020650e9 24-Oct-2017 Gerry Weißbach <gerry.w@gammaproduction.de>

Syntax Update


# 5ceaa3d5 15-May-2017 Gerry Weißbach <gerry.w@gammaproduction.de>

Update "var" to public/private vars. see [DokuWiki](https://github.com/splitbrain/dokuwiki/issues/1971)


# 25fca7bd 30-Aug-2016 Gerry Weißbach <gerry.w@gammaproduction.de>

Rename Plugin.


# e33449a8 30-Aug-2016 Gerry Weißbach <gerry.w@gammaproduction.de>

Merge remote-tracking branch 'splitbrain/master' into HEAD

# Conflicts:
# action.php
# conf/default.php
# conf/metadata.php
# helper.php
# lang/en/settings.php


# 488e4722 11-Mar-2016 Andreas Gohr <andi@splitbrain.org>

renamed constructors for PHP7 compatibility


# 5fa510d2 03-Feb-2016 Andreas Gohr <andi@splitbrain.org>

Adjust method signatures to match parent


# f7999a74 12-Aug-2015 Gerry Weißbach <gerry.w@gammaproduction.de>

Merge splitbrain/master into master


# ba82fb96 30-Jun-2015 Andreas Gohr <andi@splitbrain.org>

readd support for old PHP4 style constructor. closes #74


# 4e6ef383 28-May-2015 Gerry Weißbach <gerry.w@gammaproduction.de>

Merge original master into PR


# 00e50232 22-May-2015 Andreas Gohr <andi@splitbrain.org>

use PHP5 style constructor of the cache object


# 5e1f71ac 20-Dec-2014 Guillaume Turri <guillaume.turri@gmail.com>

Renamed a few members in helper.php

Give full name to make the code easier to read
by a newcomer


# c54240ef 20-Dec-2014 Guillaume Turri <guillaume.turri@gmail.com>

Updated action.php

* Fixed a few typos
* Renamed member "hlp" to "helper": it's longer to type
but easier to read for a newcomer


# 3161f1cb 18-Jul-2014 Gerry Weißbach <gerry.w@gammaproduction.de>

Fix indentations from tab to space.


# 43ffc77d 18-Jul-2014 Gerry Weißbach <gerry.w@gammaproduction.de>

Fix PHP Strict messages.


# a4491bec 06-May-2014 Gerry Weißbach <gerry.w@gammaproduction.de>

Autodetect namespace and redirect localized

When sub-namespaces are translated and use (they have to) the language
as namespace, this can be detected and supersedes the default namespace
configurati

Autodetect namespace and redirect localized

When sub-namespaces are translated and use (they have to) the language
as namespace, this can be detected and supersedes the default namespace
configuration.
Redirect Localized makes shure that you are bound to your language as
long as you travel to pages that support this language.

show more ...


# e5e7e41d 27-Mar-2014 Andreas Gohr <gohr@cosmocode.de>

fixed problem on ajax translation. closes #47


# 5fd0d0d1 26-Sep-2013 Andreas Gohr <gohr@cosmocode.de>

some code reformatting


# a198a703 26-Sep-2013 Andreas Gohr <gohr@cosmocode.de>

fixed constant as string problem


# bbe70520 25-Sep-2013 Andreas Gohr <gohr@cosmocode.de>

Added option to copy original into the editor on new translation


# cabcc95d 01-Jul-2013 Dominik Eckelmann <eckelmann@cosmocode.de>

added namespace template variables @TRANS@ and @LANG@


# 34591120 07-Jan-2013 Dominik Eckelmann <eckelmann@cosmocode.de>

always set the current language in the session


# db7c51b4 08-Feb-2012 Andreas Gohr <andi@splitbrain.org>

use JS_CACHE_USE for JavaScript translation


12