aboutsummaryrefslogtreecommitdiffstats
path: root/include/language.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-13 17:21:12 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-13 17:21:12 +0200
commit2c961328f1898e080cf5053f74f8bb0f2f2369f7 (patch)
tree19ae66f4b7b6f41d267569f190d993a80da52b4c /include/language.php
parent54c615dbc28ffe3dbf02499cf08ee60f43c1d3af (diff)
parentc36773674ec0e918ca7d56dcee7ee461e7d45e98 (diff)
downloadvolse-hubzilla-2c961328f1898e080cf5053f74f8bb0f2f2369f7.tar.gz
volse-hubzilla-2c961328f1898e080cf5053f74f8bb0f2f2369f7.tar.bz2
volse-hubzilla-2c961328f1898e080cf5053f74f8bb0f2f2369f7.zip
Merge branch 'dev' into 3.8RC
Diffstat (limited to 'include/language.php')
-rw-r--r--include/language.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/include/language.php b/include/language.php
index c56d5acda..69a7e3004 100644
--- a/include/language.php
+++ b/include/language.php
@@ -255,34 +255,6 @@ function tt($singular, $plural, $count, $ctx = ''){
}
/**
- * @brief Return slash separated string of plurals translation forms
- *
- * @param string $k key in translations array
- * @return string
- */
-function ta($k){
-
- $t = App::$strings[$k];
- if (is_array($t))
- $t = implode("/", $t);
- return ($t == "" ? $k : $t);
-}
-
-/**
- * @brief Return string_plural_select_xx function code
- *
- * @return string
- */
-function tf() {
-
- $r = "";
- $lang = str_replace('-', '_', App::$language);
- if(function_exists("string_plural_select_".$lang))
- $r = trim(shell_exec("sed -n '5p' view/".$lang."/hstrings.php | grep 'return' | tr -d '$'"));
- return ($r != "" ? $r : "return 0;");
-}
-
-/**
* @brief Provide a fallback which will not collide with a function defined in
* any language file.
*