reverted change of r72366 and fixed the real cause for the mainscreen_message problem: YOU SHOULD NOT HAVE TRANSLATIONS FOR mainscreen_message; You may have to force the reload of new language file-information

This commit is contained in:
Klaus Leithoff 2009-07-06 11:11:40 +00:00
parent 1e43e837c0
commit 3307109a1c
18 changed files with 1 additions and 24 deletions

View File

@ -1,5 +1,4 @@
displays home home cs Zobrazuje hlavní stranu displays home home cs Zobrazuje hlavní stranu
egroupware home cs eGroupWare egroupware home cs eGroupWare
home home cs Hlavní strana home home cs Hlavní strana
mainscreen_message home cs mainscreen_message
there is a new version of egroupware available home cs Je k dispozici nová verze eGroupWare there is a new version of egroupware available home cs Je k dispozici nová verze eGroupWare

View File

@ -1,5 +1,4 @@
displays home home de Home anzeigen displays home home de Home anzeigen
egroupware home de EGRoupware egroupware home de EGRoupware
home home de Home home home de Home
mainscreen_message home de Meldung auf dem Hauptbildschirm
there is a new version of egroupware available home de Es steht eine neuere Version von EGroupware zur Verfügung there is a new version of egroupware available home de Es steht eine neuere Version von EGroupware zur Verfügung

View File

@ -1,5 +1,4 @@
displays home home en Displays home displays home home en Displays home
egroupware home en eGroupWare egroupware home en eGroupWare
home home en Home home home en Home
mainscreen_message home en mainscreen_message
there is a new version of egroupware available home en There is a new version of eGroupWare available there is a new version of egroupware available home en There is a new version of eGroupWare available

View File

@ -1,5 +1,4 @@
displays home home es-es Muestra el inicio displays home home es-es Muestra el inicio
egroupware home es-es eGroupWare egroupware home es-es eGroupWare
home home es-es Inicio home home es-es Inicio
mainscreen_message home es-es Mensaje de la pantalla principal
there is a new version of egroupware available home es-es Hay disponible una nueva versión de eGroupWare there is a new version of egroupware available home es-es Hay disponible una nueva versión de eGroupWare

View File

@ -1,5 +1,4 @@
displays home home fi Näytä etusivu displays home home fi Näytä etusivu
egroupware home fi eGroupWare egroupware home fi eGroupWare
home home fi Etusivu home home fi Etusivu
mainscreen_message home fi mainscreen_message
there is a new version of egroupware available home fi Uudempi versio eGroupWaresta on saatavilla there is a new version of egroupware available home fi Uudempi versio eGroupWaresta on saatavilla

View File

@ -1,5 +1,4 @@
displays home home fr Afficher l'écran d'accueil displays home home fr Afficher l'écran d'accueil
egroupware home fr eGroupWare egroupware home fr eGroupWare
home home fr Accueil home home fr Accueil
mainscreen_message home fr Ecran principal des messages
there is a new version of egroupware available home fr Une nouvelle version de eGroupWare est disponible there is a new version of egroupware available home fr Une nouvelle version de eGroupWare est disponible

View File

@ -1,5 +1,4 @@
displays home home it Mostra home displays home home it Mostra home
egroupware home it eGroupware egroupware home it eGroupware
home home it Home home home it Home
mainscreen_message home it Messaggio principale
there is a new version of egroupware available home it C'è una nuova versione di eGroupWare disponibile there is a new version of egroupware available home it C'è una nuova versione di eGroupWare disponibile

View File

@ -1,5 +1,4 @@
displays home home iw test displays home home iw test
egroupware home iw sdg egroupware home iw sdg
home home iw gsg home home iw gsg
mainscreen_message home iw sgs
there is a new version of egroupware available home iw sgsg there is a new version of egroupware available home iw sgsg

View File

@ -1,5 +1,4 @@
displays home home nl Toont start displays home home nl Toont start
egroupware home nl eGroupware egroupware home nl eGroupware
home home nl Start home home nl Start
mainscreen_message home nl Bericht op startscherm
there is a new version of egroupware available home nl Er is een nieuwe versie van eGroupWare beschikbaar there is a new version of egroupware available home nl Er is een nieuwe versie van eGroupWare beschikbaar

View File

@ -1,5 +1,4 @@
displays home home pt-br Exibe Página Inicial displays home home pt-br Exibe Página Inicial
egroupware home pt-br eGroupWare egroupware home pt-br eGroupWare
home home pt-br Página Inicial home home pt-br Página Inicial
mainscreen_message home pt-br Mensagem da tela principal
there is a new version of egroupware available home pt-br Há uma nova versão do eGroupWare disponível there is a new version of egroupware available home pt-br Há uma nova versão do eGroupWare disponível

View File

@ -1,2 +1 @@
mainscreen_message home pt Mensagem de boas vindas!
there is a new version of egroupware available home pt Existe uma nova versão do eGroupWare disponível there is a new version of egroupware available home pt Existe uma nova versão do eGroupWare disponível

View File

@ -1,5 +1,4 @@
displays home home ru Показать дом displays home home ru Показать дом
egroupware home ru eGroupWare egroupware home ru eGroupWare
home home ru Домой home home ru Домой
mainscreen_message home ru Сообщение основного экрана (?)
there is a new version of egroupware available home ru Доступна новая версия eGroupWare there is a new version of egroupware available home ru Доступна новая версия eGroupWare

View File

@ -1,5 +1,4 @@
displays home home sk Zobrazí Domov displays home home sk Zobrazí Domov
egroupware home sk eGroupWare egroupware home sk eGroupWare
home home sk Domov home home sk Domov
mainscreen_message home sk -domovská stránka-
there is a new version of egroupware available home sk Existuje už novšia verzia eGroupWare there is a new version of egroupware available home sk Existuje už novšia verzia eGroupWare

View File

@ -1,5 +1,4 @@
displays home home sl Prikaže domačo stran displays home home sl Prikaže domačo stran
egroupware home sl eGroupWare egroupware home sl eGroupWare
home home sl Domov home home sl Domov
mainscreen_message home sl Sporočilo uvodnega zaslona
there is a new version of egroupware available home sl Na voljo je nova različica eGroupWare-a there is a new version of egroupware available home sl Na voljo je nova različica eGroupWare-a

View File

@ -1,5 +1,4 @@
displays home home sv Visar Hemsidan displays home home sv Visar Hemsidan
egroupware home sv eGroupWare egroupware home sv eGroupWare
home home sv Hem home home sv Hem
mainscreen_message home sv Hemsidan meddelanden
there is a new version of egroupware available home sv En uppdaterad version av eGroupWare är tillgänglig there is a new version of egroupware available home sv En uppdaterad version av eGroupWare är tillgänglig

View File

@ -1,5 +1,4 @@
displays home home zh-tw 顯示首頁 displays home home zh-tw 顯示首頁
egroupware home zh-tw eGroupWare egroupware home zh-tw eGroupWare
home home zh-tw 首頁 home home zh-tw 首頁
mainscreen_message home zh-tw 首頁訊息
there is a new version of egroupware available home zh-tw eGroupWare 有新版本推出了 there is a new version of egroupware available home zh-tw eGroupWare 有新版本推出了

View File

@ -1,5 +1,4 @@
displays home home zh 显示首页 displays home home zh 显示首页
egroupware home zh eGroupWare egroupware home zh eGroupWare
home home zh 首页 home home zh 首页
mainscreen_message home zh 主窗口讯息
there is a new version of egroupware available home zh eGroupWare 有最新版本推出 there is a new version of egroupware available home zh eGroupWare 有最新版本推出

View File

@ -251,13 +251,7 @@ class translation
// for loginscreen we have to use a instance specific cache! // for loginscreen we have to use a instance specific cache!
$loaded =& egw_cache::getCache(in_array($app,self::$instance_specific_translations) ? egw_cache::INSTANCE : egw_cache::TREE, $loaded =& egw_cache::getCache(in_array($app,self::$instance_specific_translations) ? egw_cache::INSTANCE : egw_cache::TREE,
__CLASS__,$app.':'.$lang,array(__CLASS__,'load_app'),array($app,$lang)); __CLASS__,$app.':'.$lang,array(__CLASS__,'load_app'),array($app,$lang));
foreach(array_keys($loaded) as $key) self::$lang_arr += $loaded; // use += instead of array_merge, as we have phrases with numerical index, which get renumbered by array_merge
{
// as array_merge does renumber, and the padding of the loaded langs to the existing langs does lead to strange phenomenons
// regarding the mainscreen_message, we do that the old fashioned way.
if (!empty($loaded[$key])) self::$lang_arr[$key] = $loaded[$key];
}
//self::$lang_arr += $loaded; // use += instead of array_merge, as we have phrases with numerical index, which get renumbered by array_merge
self::$loaded_apps[$app] = $lang; self::$loaded_apps[$app] = $lang;
//error_log(__METHOD__."($app,$lang) took ".(1000*(microtime(true)-$start))." ms, loaded ".count($loaded)." phrases -> total=".count(self::$lang_arr).": ".function_backtrace()); //error_log(__METHOD__."($app,$lang) took ".(1000*(microtime(true)-$start))." ms, loaded ".count($loaded)." phrases -> total=".count(self::$lang_arr).": ".function_backtrace());
} }