From 4e4395b00fa8d7b06b11bdbb95da86ae15b1eb71 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 22 Jul 2012 17:25:26 -0700 Subject: more registration functions plus ability to over-ride individual strings plus upstream merges plus rev update --- include/language.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/language.php') diff --git a/include/language.php b/include/language.php index 823fd3c96..dc54fbd2e 100644 --- a/include/language.php +++ b/include/language.php @@ -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 -- cgit v1.2.3