aboutsummaryrefslogtreecommitdiffstats
path: root/include/language.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-13 17:18:42 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-13 17:18:42 +0200
commitc36773674ec0e918ca7d56dcee7ee461e7d45e98 (patch)
tree4b571c9d732737ebdaf52242cf93262720e579ec /include/language.php
parentcf277261dce699f89c75c198d1db4d30d6bf02b1 (diff)
downloadvolse-hubzilla-c36773674ec0e918ca7d56dcee7ee461e7d45e98.tar.gz
volse-hubzilla-c36773674ec0e918ca7d56dcee7ee461e7d45e98.tar.bz2
volse-hubzilla-c36773674ec0e918ca7d56dcee7ee461e7d45e98.zip
Revert "Merge branch 'patch-11' into 'dev'"
This reverts commit e5184458530bb0394e12026c82ee89257115f690, reversing changes made to 8ce240b95c62f4b702b60977f63b0223a8ec0849.
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.
*