Enhance - Convert all languages to 2-2 digit (#2581)

Convert all languages to use the en-us style codes
Where an installation is using a 2 digit code, use the legacy map to find
the mapped language and provide that text correctly
Have escape_str strip \' before converting or we end up with a double
encode
Update organzie_languages to understand how to convert legacy languages
automatically
updated flags
This commit is contained in:
Mafoo
2017-05-13 20:13:38 +01:00
committed by FusionPBX
parent 882868520c
commit 55ae0b2b42
67 changed files with 10209 additions and 10936 deletions

View File

@@ -1,5 +1,5 @@
<?php
#This file was last reorganized on 11th of May 2017 12:21:56 PM UTC
#This file was last reorganized on 13th of May 2017 07:32:22 AM UTC
$text['title-status']['en-us'] = "Status";
$text['title-status']['ar-eg'] = "";
@@ -7,15 +7,15 @@ $text['title-status']['de-at'] = "Status";
$text['title-status']['de-de'] = "Status";
$text['title-status']['es-cl'] = "Estado";
$text['title-status']['fr-fr'] = "Statut";
$text['title-status']['he' ] = "";
$text['title-status']['he-il'] = "";
$text['title-status']['it-it'] = "Stato";
$text['title-status']['nl-nl'] = "";
$text['title-status']['pl' ] = "Status ";
$text['title-status']['pl-pl'] = "Status ";
$text['title-status']['pt-br'] = "Estado";
$text['title-status']['pt-pt'] = "Estado";
$text['title-status']['ru-ru'] = "Статус";
$text['title-status']['sv-se'] = "Status";
$text['title-status']['uk' ] = "Стан";
$text['title-status']['uk-ua'] = "Стан";
$text['title-sofia-status-profile']['en-us'] = "sofia status profile";
$text['title-sofia-status-profile']['ar-eg'] = "";
@@ -23,15 +23,15 @@ $text['title-sofia-status-profile']['de-at'] = "sofia status profile";
$text['title-sofia-status-profile']['de-de'] = "sofia status profile";
$text['title-sofia-status-profile']['es-cl'] = "perfil de estado sofia";
$text['title-sofia-status-profile']['fr-fr'] = "profile statut sofia";
$text['title-sofia-status-profile']['he' ] = "";
$text['title-sofia-status-profile']['he-il'] = "";
$text['title-sofia-status-profile']['it-it'] = "stato profilo sofia";
$text['title-sofia-status-profile']['nl-nl'] = "";
$text['title-sofia-status-profile']['pl' ] = "Status profilu sofia";
$text['title-sofia-status-profile']['pl-pl'] = "Status profilu sofia";
$text['title-sofia-status-profile']['pt-br'] = "Perfil associado ao estado do módulo Sofia";
$text['title-sofia-status-profile']['pt-pt'] = "perfil associado ao estado do módulo sofia";
$text['title-sofia-status-profile']['ru-ru'] = "Профиль статуса sofia";
$text['title-sofia-status-profile']['sv-se'] = "sofia status profil";
$text['title-sofia-status-profile']['uk' ] = "sofia status profile ";
$text['title-sofia-status-profile']['uk-ua'] = "sofia status profile ";
$text['title-sofia-status']['en-us'] = "sofia status";
$text['title-sofia-status']['ar-eg'] = "";
@@ -39,15 +39,15 @@ $text['title-sofia-status']['de-at'] = "sofia status";
$text['title-sofia-status']['de-de'] = "sofia status";
$text['title-sofia-status']['es-cl'] = "estado sofia";
$text['title-sofia-status']['fr-fr'] = "sofia statut";
$text['title-sofia-status']['he' ] = "";
$text['title-sofia-status']['he-il'] = "";
$text['title-sofia-status']['it-it'] = "stato sofia";
$text['title-sofia-status']['nl-nl'] = "";
$text['title-sofia-status']['pl' ] = "status sofi";
$text['title-sofia-status']['pl-pl'] = "status sofi";
$text['title-sofia-status']['pt-br'] = "Estado do módulo Sofia";
$text['title-sofia-status']['pt-pt'] = "estado do módulo sofia";
$text['title-sofia-status']['ru-ru'] = "sofia статус";
$text['title-sofia-status']['sv-se'] = "sofia status";
$text['title-sofia-status']['uk' ] = "sofia status ";
$text['title-sofia-status']['uk-ua'] = "sofia status ";
$text['title-sip-status']['en-us'] = "SIP Status";
$text['title-sip-status']['ar-eg'] = "";
@@ -55,15 +55,15 @@ $text['title-sip-status']['de-at'] = "SIP Status";
$text['title-sip-status']['de-de'] = "SIP Status";
$text['title-sip-status']['es-cl'] = "SIP Estado";
$text['title-sip-status']['fr-fr'] = "SIP État";
$text['title-sip-status']['he' ] = "";
$text['title-sip-status']['he-il'] = "";
$text['title-sip-status']['it-it'] = "Stato SIP";
$text['title-sip-status']['nl-nl'] = "";
$text['title-sip-status']['pl' ] = "Status SIP";
$text['title-sip-status']['pl-pl'] = "Status SIP";
$text['title-sip-status']['pt-br'] = "Estado SIP";
$text['title-sip-status']['pt-pt'] = "SIP Estado";
$text['title-sip-status']['ru-ru'] = "SIP Статус";
$text['title-sip-status']['sv-se'] = "SIP Status";
$text['title-sip-status']['uk' ] = "Стан SIP";
$text['title-sip-status']['uk-ua'] = "Стан SIP";
$text['label-state']['en-us'] = "State";
$text['label-state']['ar-eg'] = "";
@@ -71,15 +71,15 @@ $text['label-state']['de-at'] = "Status";
$text['label-state']['de-de'] = "Status";
$text['label-state']['es-cl'] = "Estado";
$text['label-state']['fr-fr'] = "Etat";
$text['label-state']['he' ] = "";
$text['label-state']['he-il'] = "";
$text['label-state']['it-it'] = "Stato";
$text['label-state']['nl-nl'] = "";
$text['label-state']['pl' ] = "Status";
$text['label-state']['pl-pl'] = "Status";
$text['label-state']['pt-br'] = "Estado";
$text['label-state']['pt-pt'] = "Estado";
$text['label-state']['ru-ru'] = "Состояние";
$text['label-state']['sv-se'] = "Status";
$text['label-state']['uk' ] = "Стан";
$text['label-state']['uk-ua'] = "Стан";
$text['label-message']['en-us'] = "Message";
$text['label-message']['ar-eg'] = "";
@@ -87,15 +87,15 @@ $text['label-message']['de-at'] = "Nachricht";
$text['label-message']['de-de'] = "Nachricht";
$text['label-message']['es-cl'] = "Mensaje";
$text['label-message']['fr-fr'] = "Message";
$text['label-message']['he' ] = "";
$text['label-message']['he-il'] = "";
$text['label-message']['it-it'] = "Messaggio";
$text['label-message']['nl-nl'] = "";
$text['label-message']['pl' ] = "Wiadomość";
$text['label-message']['pl-pl'] = "Wiadomość";
$text['label-message']['pt-br'] = "Mensagem";
$text['label-message']['pt-pt'] = "Mensagem";
$text['label-message']['ru-ru'] = "Сообщение";
$text['label-message']['sv-se'] = "Meddelande";
$text['label-message']['uk' ] = "Повідомлення";
$text['label-message']['uk-ua'] = "Повідомлення";
$text['label-data']['en-us'] = "Data";
$text['label-data']['ar-eg'] = "";
@@ -103,15 +103,15 @@ $text['label-data']['de-at'] = "Daten";
$text['label-data']['de-de'] = "Daten";
$text['label-data']['es-cl'] = "Datos";
$text['label-data']['fr-fr'] = "Données";
$text['label-data']['he' ] = "";
$text['label-data']['he-il'] = "";
$text['label-data']['it-it'] = "Dato";
$text['label-data']['nl-nl'] = "";
$text['label-data']['pl' ] = "Dane";
$text['label-data']['pl-pl'] = "Dane";
$text['label-data']['pt-br'] = "Data";
$text['label-data']['pt-pt'] = "Dados";
$text['label-data']['ru-ru'] = "Дата";
$text['label-data']['sv-se'] = "Data";
$text['label-data']['uk' ] = "Дані";
$text['label-data']['uk-ua'] = "Дані";
$text['header-sip-status']['en-us'] = "SIP Status";
$text['header-sip-status']['ar-eg'] = "";
@@ -119,15 +119,15 @@ $text['header-sip-status']['de-at'] = "SIP Status";
$text['header-sip-status']['de-de'] = "SIP Status";
$text['header-sip-status']['es-cl'] = "SIP Estado";
$text['header-sip-status']['fr-fr'] = "SIP État";
$text['header-sip-status']['he' ] = "";
$text['header-sip-status']['he-il'] = "";
$text['header-sip-status']['it-it'] = "Stato SIP";
$text['header-sip-status']['nl-nl'] = "";
$text['header-sip-status']['pl' ] = "Status SIP";
$text['header-sip-status']['pl-pl'] = "Status SIP";
$text['header-sip-status']['pt-br'] = "SIP Estado";
$text['header-sip-status']['pt-pt'] = "SIP Estado";
$text['header-sip-status']['ru-ru'] = "Статус SIP";
$text['header-sip-status']['sv-se'] = "SIP Status";
$text['header-sip-status']['uk' ] = "Стан SIP";
$text['header-sip-status']['uk-ua'] = "Стан SIP";
$text['error-event-socket']['en-us'] = "Connection to Event Socket failed.";
$text['error-event-socket']['ar-eg'] = "";
@@ -135,15 +135,15 @@ $text['error-event-socket']['de-at'] = "Verbindung zum Event Socket fehlgeschlag
$text['error-event-socket']['de-de'] = "Verbindung zum Event Socket fehlgeschlagen.";
$text['error-event-socket']['es-cl'] = "Conexión a Socket de Eventos fallida.";
$text['error-event-socket']['fr-fr'] = "Connexion à l'Event Socket en echec.";
$text['error-event-socket']['he' ] = "";
$text['error-event-socket']['he-il'] = "";
$text['error-event-socket']['it-it'] = "Connessione al Socket Eventi fallita.";
$text['error-event-socket']['nl-nl'] = "";
$text['error-event-socket']['pl' ] = "Połączenie do “Event Socket” nie powiodło się";
$text['error-event-socket']['pl-pl'] = "Połączenie do “Event Socket” nie powiodło się";
$text['error-event-socket']['pt-br'] = "A conexão do evento socket falhou";
$text['error-event-socket']['pt-pt'] = "A ligação ao Event Socket falhou.";
$text['error-event-socket']['ru-ru'] = "Не удалось подключиться к сокету событий.";
$text['error-event-socket']['sv-se'] = "Kontakten till 'Event Socket' misslyckades.";
$text['error-event-socket']['uk' ] = "Помилка підключення до сокета подій";
$text['error-event-socket']['uk-ua'] = "Помилка підключення до сокета подій";
$text['button-rescan']['en-us'] = "Rescan";
$text['button-rescan']['ar-eg'] = "";
@@ -151,15 +151,15 @@ $text['button-rescan']['de-at'] = "Neu scannen";
$text['button-rescan']['de-de'] = "Neu scannen";
$text['button-rescan']['es-cl'] = "Vuelva a Explorar";
$text['button-rescan']['fr-fr'] = "Rescan";
$text['button-rescan']['he' ] = "";
$text['button-rescan']['he-il'] = "";
$text['button-rescan']['it-it'] = "Nuova scansione";
$text['button-rescan']['nl-nl'] = "";
$text['button-rescan']['pl' ] = "Przeskanuj";
$text['button-rescan']['pl-pl'] = "Przeskanuj";
$text['button-rescan']['pt-br'] = "Digite novamente";
$text['button-rescan']['pt-pt'] = "Redigitalize";
$text['button-rescan']['ru-ru'] = "Пересканировать";
$text['button-rescan']['sv-se'] = "Sök Igen";
$text['button-rescan']['uk' ] = "Пересканувати";
$text['button-rescan']['uk-ua'] = "Пересканувати";
$text['button-reload_xml']['en-us'] = "Reload XML";
$text['button-reload_xml']['ar-eg'] = "";
@@ -167,15 +167,15 @@ $text['button-reload_xml']['de-at'] = "XML neu laden";
$text['button-reload_xml']['de-de'] = "XML neu laden";
$text['button-reload_xml']['es-cl'] = "Actualizar XML";
$text['button-reload_xml']['fr-fr'] = "Reload XML";
$text['button-reload_xml']['he' ] = "";
$text['button-reload_xml']['he-il'] = "";
$text['button-reload_xml']['it-it'] = "Ricarica XML";
$text['button-reload_xml']['nl-nl'] = "";
$text['button-reload_xml']['pl' ] = "Przeładuj XML";
$text['button-reload_xml']['pl-pl'] = "Przeładuj XML";
$text['button-reload_xml']['pt-br'] = "Carregar novamente XML";
$text['button-reload_xml']['pt-pt'] = "Recarregar XML";
$text['button-reload_xml']['ru-ru'] = "перезагрузить XML";
$text['button-reload_xml']['sv-se'] = "Ladda Om XML";
$text['button-reload_xml']['uk' ] = "Перезагрузити XML";
$text['button-reload_xml']['uk-ua'] = "Перезагрузити XML";
$text['button-reload_acl']['en-us'] = "Reload ACL";
$text['button-reload_acl']['ar-eg'] = "";
@@ -183,15 +183,15 @@ $text['button-reload_acl']['de-at'] = "ACL neu laden";
$text['button-reload_acl']['de-de'] = "ACL neu laden";
$text['button-reload_acl']['es-cl'] = "Actualizar ACL";
$text['button-reload_acl']['fr-fr'] = "Reload ACL";
$text['button-reload_acl']['he' ] = "";
$text['button-reload_acl']['he-il'] = "";
$text['button-reload_acl']['it-it'] = "Ricarica ACL";
$text['button-reload_acl']['nl-nl'] = "";
$text['button-reload_acl']['pl' ] = "Przeładuj listę kontroli dostępu";
$text['button-reload_acl']['pl-pl'] = "Przeładuj listę kontroli dostępu";
$text['button-reload_acl']['pt-br'] = "Carregar novamente ACL";
$text['button-reload_acl']['pt-pt'] = "Recarregar ACL";
$text['button-reload_acl']['ru-ru'] = "Перезагрузить ACL ";
$text['button-reload_acl']['sv-se'] = "Ladda Om ACL";
$text['button-reload_acl']['uk' ] = "Перезагрузити ACL ";
$text['button-reload_acl']['uk-ua'] = "Перезагрузити ACL ";
$text['button-registrations']['en-us'] = "Registrations";
$text['button-registrations']['ar-eg'] = "";
@@ -199,15 +199,15 @@ $text['button-registrations']['de-at'] = "Registrierungen";
$text['button-registrations']['de-de'] = "Registrierungen";
$text['button-registrations']['es-cl'] = "Inscripciones";
$text['button-registrations']['fr-fr'] = "Enregistrements";
$text['button-registrations']['he' ] = "";
$text['button-registrations']['he-il'] = "";
$text['button-registrations']['it-it'] = "Registrazioni SIP";
$text['button-registrations']['nl-nl'] = "";
$text['button-registrations']['pl' ] = "Rejestracje";
$text['button-registrations']['pl-pl'] = "Rejestracje";
$text['button-registrations']['pt-br'] = "Inscrições";
$text['button-registrations']['pt-pt'] = "Inscrições";
$text['button-registrations']['ru-ru'] = "Регистрация";
$text['button-registrations']['sv-se'] = "Registreringar";
$text['button-registrations']['uk' ] = "Реєстрації";
$text['button-registrations']['uk-ua'] = "Реєстрації";
$text['button-flush_registrations']['en-us'] = "Flush Registrations";
$text['button-flush_registrations']['ar-eg'] = "";
@@ -215,15 +215,15 @@ $text['button-flush_registrations']['de-at'] = "Registrierungen verwerfen";
$text['button-flush_registrations']['de-de'] = "Registrierungen verwerfen";
$text['button-flush_registrations']['es-cl'] = "Inscripciones Flush";
$text['button-flush_registrations']['fr-fr'] = "Nettoyer enregistrements";
$text['button-flush_registrations']['he' ] = "";
$text['button-flush_registrations']['he-il'] = "";
$text['button-flush_registrations']['it-it'] = "Aggiorna registrazioni";
$text['button-flush_registrations']['nl-nl'] = "";
$text['button-flush_registrations']['pl' ] = "Wyrejestruj";
$text['button-flush_registrations']['pl-pl'] = "Wyrejestruj";
$text['button-flush_registrations']['pt-br'] = "Nivelar Inscrições ";
$text['button-flush_registrations']['pt-pt'] = "Inscrições Lavar";
$text['button-flush_registrations']['ru-ru'] = "Сбросить регистрацию";
$text['button-flush_registrations']['sv-se'] = "'Flush' Registreringar";
$text['button-flush_registrations']['uk' ] = "Скинути реєстрації";
$text['button-flush_registrations']['uk-ua'] = "Скинути реєстрації";
$text['button-flush_memcache']['en-us'] = "Flush Memcache";
$text['button-flush_memcache']['ar-eg'] = "";
@@ -231,14 +231,14 @@ $text['button-flush_memcache']['de-at'] = "Memcache leeren";
$text['button-flush_memcache']['de-de'] = "Memcache leeren";
$text['button-flush_memcache']['es-cl'] = "Memcache Flush";
$text['button-flush_memcache']['fr-fr'] = "Vider Memcache";
$text['button-flush_memcache']['he' ] = "";
$text['button-flush_memcache']['he-il'] = "";
$text['button-flush_memcache']['it-it'] = "Aggiorna Memcache";
$text['button-flush_memcache']['nl-nl'] = "";
$text['button-flush_memcache']['pl' ] = "Opróżnij pamięć podręczną (memcache)";
$text['button-flush_memcache']['pl-pl'] = "Opróżnij pamięć podręczną (memcache)";
$text['button-flush_memcache']['pt-br'] = "Nivelar memória cache";
$text['button-flush_memcache']['pt-pt'] = "Memcache Lavar";
$text['button-flush_memcache']['ru-ru'] = "Сбросить кеш память";
$text['button-flush_memcache']['sv-se'] = "Flush Memcache ";
$text['button-flush_memcache']['uk' ] = "Скинути кеш";
$text['button-flush_memcache']['uk-ua'] = "Скинути кеш";
?>