diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2010-12-23 21:33:45 +0100 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2010-12-23 21:33:45 +0100 |
commit | dd83923057643888cc1c6dbb8ded9d52e766f525 (patch) | |
tree | 564a7b150cc2118ac5a040cfafdcaa8b7950b4ce | |
parent | fa756ffcb987a37dae888bf84c9519d55a484da5 (diff) | |
download | volse-hubzilla-dd83923057643888cc1c6dbb8ded9d52e766f525.tar.gz volse-hubzilla-dd83923057643888cc1c6dbb8ded9d52e766f525.tar.bz2 volse-hubzilla-dd83923057643888cc1c6dbb8ded9d52e766f525.zip |
Translatable "Welcome to" in home
-rw-r--r-- | mod/home.php | 4 | ||||
-rw-r--r-- | util/strings.php | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mod/home.php b/mod/home.php index 59cc31d3b..53b111bdf 100644 --- a/mod/home.php +++ b/mod/home.php @@ -19,7 +19,7 @@ function home_content(&$a) { * $a->page['footer'] = ''; * $a->page['footer'] .= "<div class=\"powered\" >Powered by <a href=\"http://friendika.com\" title=\"friendika\" >friendika</a></div>"; */ - $o .= '<h1>Welcome' . ((x($a->config,'sitename')) ? " to {$a->config['sitename']}" : "" ) . '</h1>'; + $o .= '<h1>' . ((x($a->config,'sitename')) ? t("Welcome to ").$a->config['sitename'] : "" ) . '</h1>'; if(file_exists('home.html')) $o .= file_get_contents('home.html'); @@ -27,4 +27,4 @@ function home_content(&$a) { return $o; -}}
\ No newline at end of file +}} diff --git a/util/strings.php b/util/strings.php index 39d66a3a9..6e6c4b27c 100644 --- a/util/strings.php +++ b/util/strings.php @@ -4,6 +4,7 @@ $a->strings['Page not found.' ] = 'Page not found.' ; $a->strings['Permission denied'] = 'Permission denied'; $a->strings['Permission denied.'] = 'Permission denied.'; $a->strings['Nickname or Email address: '] = 'Nickname or Email address: '; +$a->strings['Welcome to '] = 'Welcome to '; $a->strings['Password: '] = 'Password: '; $a->strings['Login'] = 'Login'; $a->strings['Nickname/Email/OpenID: '] = 'Nickname/Email/OpenID: '; |