diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-13 17:07:12 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-13 17:07:12 -0700 |
commit | 475dc7b686d6939d88c79dd58df1ff751356a922 (patch) | |
tree | 1271d12c627d8bd3826119df08e9d2c9477be3aa /include/language.php | |
parent | 4ca06ebd79b5258c5cb6ccb0871d98c9180f91b2 (diff) | |
parent | c82082d2bbb00294d62330d577dcdbc9ec6b9d1c (diff) | |
download | volse-hubzilla-475dc7b686d6939d88c79dd58df1ff751356a922.tar.gz volse-hubzilla-475dc7b686d6939d88c79dd58df1ff751356a922.tar.bz2 volse-hubzilla-475dc7b686d6939d88c79dd58df1ff751356a922.zip |
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts:
boot.php
include/api.php
include/enotify.php
Diffstat (limited to 'include/language.php')
-rw-r--r-- | include/language.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/language.php b/include/language.php index 0af72142f..7dbe3dd02 100644 --- a/include/language.php +++ b/include/language.php @@ -159,10 +159,10 @@ function t($s, $ctx = '') { if (x($a->strings, $cs)) { $t = $a->strings[$cs]; - return ((is_array($t)) ? translate_product($t[0]) : translate_product($t)); + return ((is_array($t)) ? translate_projectname($t[0]) : translate_projectname($t)); } - return translate_product($s); + return translate_projectname($s); } /** @@ -170,9 +170,9 @@ function t($s, $ctx = '') { * Merging strings from different project names is problematic so we'll do that with a string replacement */ -function translate_product($s) { +function translate_projectname($s) { - return str_replace(array('$product','$Product'),array(RED_PLATFORM,ucfirst(RED_PLATFORM)),$s); + return str_replace(array('$projectname','$Projectname'),array(PLATFORM_NAME,ucfirst(PLATFORM_NAME)),$s); } |