more registration functions plus ability to over-ride individual strings plus upstream merges plus rev update

This commit is contained in:
friendica
2012-07-22 17:25:26 -07:00
parent e9fa579666
commit 4e4395b00f
4 changed files with 121 additions and 73 deletions

View File

@@ -110,6 +110,14 @@ function load_translation_table($lang) {
}
else
$a->strings = array();
// Allow individual strings to be over-ridden on this site
// Either for the default language or for all languages
if(file_exists("view/local-$lang/strings.php")) {
include("view/local-$lang/strings.php");
}
}}
// translate string if translation exists