From 7fc8f4738ee12383b2d4c16817c5a37fe83ab13f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaussoin=20Timoth=C3=A9e?= Date: Wed, 11 Jun 2014 08:39:38 +0200 Subject: [PATCH 1/6] - Fix left column --- app/widgets/ContactInfo/ContactInfo.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/widgets/ContactInfo/ContactInfo.php b/app/widgets/ContactInfo/ContactInfo.php index 46fcc0084..89e327bd6 100644 --- a/app/widgets/ContactInfo/ContactInfo.php +++ b/app/widgets/ContactInfo/ContactInfo.php @@ -74,7 +74,7 @@ class ContactInfo extends WidgetCommon '&format=json' ); - $json = json_decode(file_get_contents($l)); + $json = json_decode(requestURL($l, 2)); $img = $json->album->image[2]->{'#text'}; $url = $json->album->url; @@ -122,6 +122,8 @@ class ContactInfo extends WidgetCommon } } + $html .= '
'; + // Accounts if($c->twitter && $c->twitter != '') { $html .= ' From c13afe340a8907c701a3a63d718c64617668b682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaussoin=20Timoth=C3=A9e?= Date: Fri, 13 Jun 2014 15:59:04 +0200 Subject: [PATCH 2/6] - Add a exist method in PostnDAO to check if a post exist in the database --- app/models/postn/PostnDAO.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/app/models/postn/PostnDAO.php b/app/models/postn/PostnDAO.php index 69f16194d..42bcefcb8 100644 --- a/app/models/postn/PostnDAO.php +++ b/app/models/postn/PostnDAO.php @@ -409,4 +409,26 @@ class PostnDAO extends SQL { if(is_array($arr) && isset($arr[0])) return $arr[0]['published']; } + + function exist($id) { + $this->_sql = ' + select count(*) from postn + where postn.session = :session + and postn.nodeid = :nodeid + '; + + $this->prepare( + 'Postn', + array( + 'session' => $this->_user, + 'nodeid' => $id + ) + ); + + $arr = $this->run(null, 'array'); + if(is_array($arr) && isset($arr[0])) { + $arr = array_values($arr[0]); + return (bool)$arr[0]; + } + } } From 65006403583ff82d2a5069211802edb722852e4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaussoin=20Timoth=C3=A9e?= Date: Sun, 15 Jun 2014 00:06:26 +0200 Subject: [PATCH 3/6] - Add a proper redirection on disconnection - Respect the BOSH rid default value (random) - Fix and clean some typos --- VERSION | 2 +- app/controllers/DisconnectController.php | 2 +- app/widgets/Login/Login.php | 4 +++- system/Route.php | 11 ++++++----- system/Sessionx.php | 2 +- system/controllers/BaseController.php | 5 +++++ 6 files changed, 17 insertions(+), 9 deletions(-) diff --git a/VERSION b/VERSION index 1407a1a43..4adb5059b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.8alpha13 +0.8alpha14 diff --git a/app/controllers/DisconnectController.php b/app/controllers/DisconnectController.php index 61e4233bb..69c086648 100644 --- a/app/controllers/DisconnectController.php +++ b/app/controllers/DisconnectController.php @@ -8,6 +8,6 @@ class DisconnectController extends BaseController { function dispatch() { $user = new User(); $user->desauth(); - $this->name = 'login'; + $this->redirect('login'); } } diff --git a/app/widgets/Login/Login.php b/app/widgets/Login/Login.php index 21b6b9504..5878d6670 100644 --- a/app/widgets/Login/Login.php +++ b/app/widgets/Login/Login.php @@ -289,7 +289,9 @@ class Login extends WidgetBase { $s = new moxl\StorageGet(); $s->setXmlns('movim:prefs') - ->request(); $evt = new \Event(); + ->request(); + + $evt = new \Event(); $evt->runEvent('nostream'); } } diff --git a/system/Route.php b/system/Route.php index 63295dd88..c5450964d 100644 --- a/system/Route.php +++ b/system/Route.php @@ -68,9 +68,9 @@ class Route extends \BaseController { $routes = $r->_routes; if(isset($routes[$page])) { - if($params != false && count($routes[$page]) != count($params)) - \system\Logs\Logger::log(__('error.route', $page)); - else { + if($params != false && count($routes[$page]) != count($params)) { + throw new Exception(__('error.route', $page)); + } else { if($tab != false) $tab = '#'.$tab; //We construct a classic URL if the rewriting is disabled @@ -98,7 +98,8 @@ class Route extends \BaseController { } return $uri.$tab; } - } else - \system\Logs\Logger::log(t('Route not set for the page %s', $page)); + } else { + throw new Exception(__('Route not set for the page %s', $page)); + } } } diff --git a/system/Sessionx.php b/system/Sessionx.php index 0eecde5b0..c3ab0bab1 100644 --- a/system/Sessionx.php +++ b/system/Sessionx.php @@ -107,7 +107,7 @@ class Sessionx { $this->_ressource = 'moxl'.\generateKey(6); $this->_start = date(DATE_ISO8601); - $this->_rid = 0; + $this->_rid = rand(1, 2048); $this->_id = 0; $sd = new modl\SessionxDAO(); diff --git a/system/controllers/BaseController.php b/system/controllers/BaseController.php index 8aecff379..41a467060 100644 --- a/system/controllers/BaseController.php +++ b/system/controllers/BaseController.php @@ -84,6 +84,11 @@ class BaseController { } } + function redirect($page) { + $url = Route::urlize($page, array($this->fetchGet('err'))); + header('Location: '. $url); + } + function display() { if($this->session_only) { $user = new User(); From 76464884af128194dfb9fe5e079ac9d2dc710fd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaussoin=20Timoth=C3=A9e?= Date: Mon, 16 Jun 2014 20:05:20 +0200 Subject: [PATCH 4/6] - Fix translations in Chat --- app/widgets/Chat/Chat.php | 4 +- app/widgets/Chat/locales.ini | 8 +- locales/messages.pot | 971 ++++++++++++++++++----------------- 3 files changed, 515 insertions(+), 468 deletions(-) diff --git a/app/widgets/Chat/Chat.php b/app/widgets/Chat/Chat.php index df88eadec..c31781e5a 100644 --- a/app/widgets/Chat/Chat.php +++ b/app/widgets/Chat/Chat.php @@ -64,9 +64,9 @@ class Chat extends WidgetBase { function onPresenceMuc($toggle) { if($toggle) { - Notification::appendNotification(t('Connected to the chatroom'), 'success'); + Notification::appendNotification($this->__('Connected to the chatroom'), 'success'); } else { - Notification::appendNotification(t('Disconnected to the chatroom'), 'success'); + Notification::appendNotification($this->__('Disconnected to the chatroom'), 'success'); } RPC::call('movim_fill', 'chats', $this->prepareChats()); diff --git a/app/widgets/Chat/locales.ini b/app/widgets/Chat/locales.ini index fb56be3be..1bbd8abe3 100644 --- a/app/widgets/Chat/locales.ini +++ b/app/widgets/Chat/locales.ini @@ -1,3 +1,5 @@ -message.published = 'Message Published' -message.encrypted = 'Encrypted message' -chat.attention = '%s needs your attention'' +message.published = 'Message Published' +message.encrypted = 'Encrypted message' +chat.attention = '%s needs your attention' +chatroom.connected = 'Connected to the chatroom' +chatroom.disconnected = 'Disconnected to the chatroom' diff --git a/locales/messages.pot b/locales/messages.pot index 5d648bb25..917381428 100644 --- a/locales/messages.pot +++ b/locales/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-05-28 22:54+0200\n" +"POT-Creation-Date: 2014-06-15 00:15+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -37,7 +37,7 @@ msgstr "" msgid "Resources" msgstr "" -#: ../cache/locales.php:7 +#: ../cache/locales.php:7 ../cache/locales.php:69 msgid "API" msgstr "" @@ -45,7 +45,7 @@ msgstr "" msgid "Movim is an XMPP-based communication platform. All the project, except the following software and resources, is under" msgstr "" -#: ../cache/locales.php:9 ../cache/locales.php:163 +#: ../cache/locales.php:9 ../cache/locales.php:172 msgid "Some data are missing !" msgstr "" @@ -81,7 +81,7 @@ msgstr "" msgid "Unknown error" msgstr "" -#: ../cache/locales.php:18 ../cache/locales.php:243 +#: ../cache/locales.php:18 ../cache/locales.php:252 msgid "Create a new account" msgstr "" @@ -89,7 +89,7 @@ msgstr "" msgid "No account creation form found on the server" msgstr "" -#: ../cache/locales.php:20 ../cache/locales.php:122 +#: ../cache/locales.php:20 ../cache/locales.php:131 msgid "on" msgstr "" @@ -98,1805 +98,1850 @@ msgid "Loading" msgstr "" #: ../cache/locales.php:22 -msgid "Compatibility Check" +msgid "Database Settings" msgstr "" #: ../cache/locales.php:23 -msgid "General Settings" +msgid "Modl wasn't able to connect to the database" msgstr "" #: ../cache/locales.php:24 -msgid "Theme" +msgid "Movim is connected to the database" msgstr "" #: ../cache/locales.php:25 -msgid "Default language" +msgid "The database need to be updated" msgstr "" #: ../cache/locales.php:26 -msgid "Environment" +msgid "Movim database is up to date" msgstr "" #: ../cache/locales.php:27 -msgid "Log verbosity" +msgid "Database Type" msgstr "" -#: ../cache/locales.php:28 -msgid "Server Timezone" +#: ../cache/locales.php:28 ../cache/locales.php:48 ../cache/locales.php:346 +msgid "Username" msgstr "" -#: ../cache/locales.php:29 -msgid "User folder size limit (in bytes)" +#: ../cache/locales.php:29 ../cache/locales.php:49 ../cache/locales.php:188 +#: ../cache/locales.php:347 +msgid "Password" msgstr "" #: ../cache/locales.php:30 -msgid "Bosh Configuration" +msgid "Host" msgstr "" #: ../cache/locales.php:31 -msgid "Enter here the BOSH-URL in the form: http(s)://domain:port/path." +msgid "Port" msgstr "" #: ../cache/locales.php:32 -msgid "If you enter an open BOSH-Server, you can connect to many XMPP-Servers." +msgid "Database Name" msgstr "" #: ../cache/locales.php:33 -msgid "If it is closed, you have to specify the corresponding Server on the next page." +msgid "General Settings" msgstr "" #: ../cache/locales.php:34 -#, php-format -msgid "If you are unsure about this config option visit the %swiki%s" +msgid "Theme" msgstr "" #: ../cache/locales.php:35 -msgid "Your Bosh URL is not reachable" +msgid "Default language" msgstr "" #: ../cache/locales.php:36 -msgid "Bosh URL" +msgid "Environment" msgstr "" #: ../cache/locales.php:37 -msgid "Administration Credential" +msgid "Log verbosity" msgstr "" #: ../cache/locales.php:38 -msgid "Change the default credentials admin/password" +msgid "Server Timezone" msgstr "" -#: ../cache/locales.php:39 ../cache/locales.php:65 ../cache/locales.php:335 -msgid "Username" +#: ../cache/locales.php:39 +msgid "User folder size limit (in bytes)" msgstr "" -#: ../cache/locales.php:40 ../cache/locales.php:66 ../cache/locales.php:179 -#: ../cache/locales.php:336 -msgid "Password" +#: ../cache/locales.php:40 +msgid "Bosh Configuration" msgstr "" #: ../cache/locales.php:41 -msgid "Retype password" +msgid "Enter here the BOSH-URL in the form: http(s)://domain:port/path." msgstr "" #: ../cache/locales.php:42 -msgid "Whitelist - XMPP Server" +#, php-format +msgid "If you are unsure about this config option visit the %swiki%s." msgstr "" #: ../cache/locales.php:43 -msgid "If you want to specify a list of authorized XMPP servers on your Movim pod and forbid the connection on all the others please put their domain name here, with comma (ex: movim.eu,jabber.fr)" +msgid "Your Bosh URL is not reachable" msgstr "" #: ../cache/locales.php:44 -msgid "Leave this field blank if you allow the access to all the XMPP accounts." +msgid "Bosh URL" msgstr "" #: ../cache/locales.php:45 -msgid "List of whitelisted XMPP servers" +msgid "Public BOSH" msgstr "" -#: ../cache/locales.php:46 ../cache/locales.php:49 -msgid "Information Message" +#: ../cache/locales.php:46 +msgid "Administration Credential" msgstr "" #: ../cache/locales.php:47 -msgid "This message will be displayed on the login page" -msgstr "" - -#: ../cache/locales.php:48 -msgid "Leave this field blank if you don't want to show any message." +msgid "Change the default credentials admin/password" msgstr "" #: ../cache/locales.php:50 -msgid "Description" +msgid "Retype password" msgstr "" #: ../cache/locales.php:51 -msgid "Movim requires certain external components. Please install them before you can succeed:" +msgid "Whitelist - XMPP Server" msgstr "" #: ../cache/locales.php:52 -#, php-format -msgid "Your PHP-Version: %s
Required: 5.3.0" +msgid "If you want to specify a list of authorized XMPP servers on your Movim pod and forbid the connection on all the others please put their domain name here, with comma (ex: movim.eu,jabber.fr)" msgstr "" #: ../cache/locales.php:53 -msgid "CURL-Library" +msgid "Leave this field blank if you allow the access to all the XMPP accounts." msgstr "" #: ../cache/locales.php:54 -msgid "GD" +msgid "List of whitelisted XMPP servers" msgstr "" -#: ../cache/locales.php:55 -msgid "SimpleXML" +#: ../cache/locales.php:55 ../cache/locales.php:59 +msgid "Information Message" msgstr "" #: ../cache/locales.php:56 -msgid "Read and write rights for the webserver in Movim's root directory" +msgid "Description" msgstr "" #: ../cache/locales.php:57 -msgid "OpenSSL" +msgid "This message will be displayed on the login page" msgstr "" #: ../cache/locales.php:58 -msgid "URL Rewriting support" -msgstr "" - -#: ../cache/locales.php:59 -msgid "Database Settings" +msgid "Leave this field blank if you don't want to show any message." msgstr "" #: ../cache/locales.php:60 -msgid "Modl wasn't able to connect to the database" +msgid "Compatibility Check" msgstr "" #: ../cache/locales.php:61 -msgid "Movim is connected to the database" +msgid "Movim requires certain external components. Please install them before you can succeed:" msgstr "" #: ../cache/locales.php:62 -msgid "The database need to be updated" +#, php-format +msgid "Your PHP-Version: %s
Required: 5.3.0" msgstr "" #: ../cache/locales.php:63 -msgid "Movim database is up to date" +msgid "CURL-Library" msgstr "" #: ../cache/locales.php:64 -msgid "Database Type" +msgid "GD" +msgstr "" + +#: ../cache/locales.php:65 +msgid "SimpleXML" +msgstr "" + +#: ../cache/locales.php:66 +msgid "Read and write rights for the webserver in Movim's root directory" msgstr "" #: ../cache/locales.php:67 -msgid "Host" +msgid "OpenSSL" msgstr "" #: ../cache/locales.php:68 -msgid "Port" +msgid "URL Rewriting support" msgstr "" -#: ../cache/locales.php:69 -msgid "Database Name" +#: ../cache/locales.php:70 +#, php-format +msgid "Here you can register your pod on the official %sMovim API%s and be listed on %sthe pods page%s." msgstr "" -#: ../cache/locales.php:70 +#: ../cache/locales.php:71 +msgid "Your pod is not registered on the API" +msgstr "" + +#: ../cache/locales.php:72 +msgid "Your pod is registered on the API" +msgstr "" + +#: ../cache/locales.php:73 +msgid "Your pod is not yet validated" +msgstr "" + +#: ../cache/locales.php:74 +msgid "Your pod is validated" +msgstr "" + +#: ../cache/locales.php:75 +msgid "You asked to be removed from the API, this request will be processed in a couple of hours" +msgstr "" + +#: ../cache/locales.php:76 msgid "Webcam" msgstr "" -#: ../cache/locales.php:71 +#: ../cache/locales.php:77 msgid "Cheese !" msgstr "" -#: ../cache/locales.php:72 +#: ../cache/locales.php:78 msgid "Take a webcam snapshot" msgstr "" -#: ../cache/locales.php:73 +#: ../cache/locales.php:79 msgid "Avatar Updated" msgstr "" -#: ../cache/locales.php:74 +#: ../cache/locales.php:80 msgid "Avatar Not Updated" msgstr "" -#: ../cache/locales.php:75 +#: ../cache/locales.php:81 msgid "Conferences" msgstr "" -#: ../cache/locales.php:76 ../cache/locales.php:135 +#: ../cache/locales.php:82 ../cache/locales.php:144 msgid "Groups" msgstr "" -#: ../cache/locales.php:77 +#: ../cache/locales.php:83 msgid "Add a new Chat Room" msgstr "" -#: ../cache/locales.php:78 +#: ../cache/locales.php:84 msgid "Chat Room ID" msgstr "" -#: ../cache/locales.php:79 ../cache/locales.php:108 ../cache/locales.php:186 -#: ../cache/locales.php:221 ../cache/locales.php:255 +#: ../cache/locales.php:85 ../cache/locales.php:117 ../cache/locales.php:195 +#: ../cache/locales.php:230 ../cache/locales.php:264 msgid "Name" msgstr "" -#: ../cache/locales.php:80 ../cache/locales.php:109 ../cache/locales.php:256 +#: ../cache/locales.php:86 ../cache/locales.php:118 ../cache/locales.php:265 msgid "Nickname" msgstr "" -#: ../cache/locales.php:81 +#: ../cache/locales.php:87 msgid "Do you want do join automaticaly this Chat Room ?" msgstr "" -#: ../cache/locales.php:82 +#: ../cache/locales.php:88 msgid "Bad Chatroom ID" msgstr "" -#: ../cache/locales.php:83 +#: ../cache/locales.php:89 msgid "Empty name" msgstr "" -#: ../cache/locales.php:84 +#: ../cache/locales.php:90 msgid "Bookmarks updated" msgstr "" -#: ../cache/locales.php:85 ../cache/locales.php:139 +#: ../cache/locales.php:91 ../cache/locales.php:148 msgid "An error occured : " msgstr "" -#: ../cache/locales.php:86 +#: ../cache/locales.php:92 msgid "Message Published" msgstr "" -#: ../cache/locales.php:87 +#: ../cache/locales.php:93 msgid "Encrypted message" msgstr "" -#: ../cache/locales.php:88 +#: ../cache/locales.php:94 #, php-format msgid "%s needs your attention" msgstr "" -#: ../cache/locales.php:89 +#: ../cache/locales.php:95 +msgid "Connected to the chatroom" +msgstr "" + +#: ../cache/locales.php:96 +msgid "Disconnected to the chatroom" +msgstr "" + +#: ../cache/locales.php:97 msgid "Feed Configuration" msgstr "" -#: ../cache/locales.php:90 +#: ../cache/locales.php:98 msgid "General" msgstr "" -#: ../cache/locales.php:91 +#: ../cache/locales.php:99 msgid "Language" msgstr "" -#: ../cache/locales.php:92 +#: ../cache/locales.php:100 msgid "Appearence" msgstr "" -#: ../cache/locales.php:93 +#: ../cache/locales.php:101 msgid "Background color" msgstr "" -#: ../cache/locales.php:94 +#: ../cache/locales.php:102 msgid "Font size" msgstr "" -#: ../cache/locales.php:95 +#: ../cache/locales.php:103 msgid "Pattern" msgstr "" -#: ../cache/locales.php:96 +#: ../cache/locales.php:104 msgid "This configuration is shared wherever you are connected !" msgstr "" -#: ../cache/locales.php:97 ../cache/locales.php:249 +#: ../cache/locales.php:105 +msgid "Configuration updated" +msgstr "" + +#: ../cache/locales.php:106 ../cache/locales.php:258 msgid "Data" msgstr "" -#: ../cache/locales.php:98 +#: ../cache/locales.php:107 msgid "Cache" msgstr "" -#: ../cache/locales.php:99 +#: ../cache/locales.php:108 msgid "Contacts" msgstr "" -#: ../cache/locales.php:100 ../cache/locales.php:295 +#: ../cache/locales.php:109 ../cache/locales.php:304 msgid "Posts" msgstr "" -#: ../cache/locales.php:101 +#: ../cache/locales.php:110 msgid "Messages" msgstr "" -#: ../cache/locales.php:102 +#: ../cache/locales.php:111 msgid "Please wait" msgstr "" -#: ../cache/locales.php:103 ../cache/locales.php:105 +#: ../cache/locales.php:112 ../cache/locales.php:114 msgid "Actions" msgstr "" -#: ../cache/locales.php:104 +#: ../cache/locales.php:113 msgid "Chat" msgstr "" -#: ../cache/locales.php:106 +#: ../cache/locales.php:115 msgid "Invite this user" msgstr "" -#: ../cache/locales.php:107 ../cache/locales.php:254 +#: ../cache/locales.php:116 ../cache/locales.php:263 msgid "General Informations" msgstr "" -#: ../cache/locales.php:110 ../cache/locales.php:258 +#: ../cache/locales.php:119 ../cache/locales.php:267 msgid "Date of Birth" msgstr "" -#: ../cache/locales.php:111 ../cache/locales.php:259 +#: ../cache/locales.php:120 ../cache/locales.php:268 msgid "Gender" msgstr "" -#: ../cache/locales.php:112 ../cache/locales.php:260 +#: ../cache/locales.php:121 ../cache/locales.php:269 msgid "Marital Status" msgstr "" -#: ../cache/locales.php:113 ../cache/locales.php:257 +#: ../cache/locales.php:122 ../cache/locales.php:266 msgid "Email" msgstr "" -#: ../cache/locales.php:114 ../cache/locales.php:261 +#: ../cache/locales.php:123 ../cache/locales.php:270 msgid "Website" msgstr "" -#: ../cache/locales.php:115 ../cache/locales.php:262 +#: ../cache/locales.php:124 ../cache/locales.php:271 msgid "About Me" msgstr "" -#: ../cache/locales.php:116 ../cache/locales.php:263 +#: ../cache/locales.php:125 ../cache/locales.php:272 msgid "Geographic Position" msgstr "" -#: ../cache/locales.php:117 ../cache/locales.php:264 +#: ../cache/locales.php:126 ../cache/locales.php:273 msgid "Locality" msgstr "" -#: ../cache/locales.php:118 ../cache/locales.php:265 +#: ../cache/locales.php:127 ../cache/locales.php:274 msgid "Country" msgstr "" -#: ../cache/locales.php:119 +#: ../cache/locales.php:128 msgid "Mood" msgstr "" -#: ../cache/locales.php:120 +#: ../cache/locales.php:129 msgid "I'm " msgstr "" -#: ../cache/locales.php:121 +#: ../cache/locales.php:130 msgid "Listening" msgstr "" -#: ../cache/locales.php:123 +#: ../cache/locales.php:132 msgid "Last seen" msgstr "" -#: ../cache/locales.php:124 +#: ../cache/locales.php:133 msgid "Client Informations" msgstr "" -#: ../cache/locales.php:125 +#: ../cache/locales.php:134 msgid "Manage" msgstr "" -#: ../cache/locales.php:126 +#: ../cache/locales.php:135 msgid "Alias" msgstr "" -#: ../cache/locales.php:127 +#: ../cache/locales.php:136 msgid "Group" msgstr "" -#: ../cache/locales.php:128 +#: ../cache/locales.php:137 msgid "Contact updated" msgstr "" -#: ../cache/locales.php:129 +#: ../cache/locales.php:138 msgid "Public groups" msgstr "" -#: ../cache/locales.php:130 +#: ../cache/locales.php:139 msgid "No public groups found" msgstr "" -#: ../cache/locales.php:131 ../cache/locales.php:134 +#: ../cache/locales.php:140 ../cache/locales.php:143 msgid "Last registered" msgstr "" -#: ../cache/locales.php:132 +#: ../cache/locales.php:141 msgid "Discover my server" msgstr "" -#: ../cache/locales.php:133 +#: ../cache/locales.php:142 msgid "Discussion Servers" msgstr "" -#: ../cache/locales.php:136 +#: ../cache/locales.php:145 msgid "Chatrooms" msgstr "" -#: ../cache/locales.php:137 +#: ../cache/locales.php:146 msgid "My Posts" msgstr "" -#: ../cache/locales.php:138 +#: ../cache/locales.php:147 msgid "Your server doesn't support post publication, you can only read contact's feeds" msgstr "" -#: ../cache/locales.php:140 +#: ../cache/locales.php:149 msgid "Creating your feed..." msgstr "" -#: ../cache/locales.php:141 +#: ../cache/locales.php:150 msgid "What is Movim?" msgstr "" -#: ../cache/locales.php:142 +#: ../cache/locales.php:151 #, php-format msgid "Visit the page %s What is Movim ? %s to know more about the project, its aims and understand how it works." msgstr "" -#: ../cache/locales.php:143 +#: ../cache/locales.php:152 msgid "What do the little banners refer to ?" msgstr "" -#: ../cache/locales.php:144 +#: ../cache/locales.php:153 msgid "Thanks to these five little banners, you can quickly identitfy the level of confdentiality applied to the information you provide." msgstr "" -#: ../cache/locales.php:145 +#: ../cache/locales.php:154 msgid "White, only you can see the information" msgstr "" -#: ../cache/locales.php:146 +#: ../cache/locales.php:155 msgid "Green, you have chosen some contacts who can see your information" msgstr "" -#: ../cache/locales.php:147 +#: ../cache/locales.php:156 msgid "Orange, all your contact list can see your information" msgstr "" -#: ../cache/locales.php:148 +#: ../cache/locales.php:157 msgid "Red, everybody in the XMPP network can see your information" msgstr "" -#: ../cache/locales.php:149 +#: ../cache/locales.php:158 msgid "Black, the whole Internet can see your information" msgstr "" -#: ../cache/locales.php:150 +#: ../cache/locales.php:159 msgid "Some features are missing/I can't do everything I used to do on other social networks" msgstr "" -#: ../cache/locales.php:151 +#: ../cache/locales.php:160 #, php-format msgid "Although Movim is evolving fast, many (many) features are missing. Be patient ;). You can have a look %sat next versions's roadmaps%s to know if the one you want is on its way." msgstr "" -#: ../cache/locales.php:152 +#: ../cache/locales.php:161 #, php-format msgid "Don't forget that Movim is an open source project, a helping hand is always welcome (see %sCan I participate%s)" msgstr "" -#: ../cache/locales.php:153 +#: ../cache/locales.php:162 msgid "I can't find the answer to my question here" msgstr "" -#: ../cache/locales.php:154 +#: ../cache/locales.php:163 #, php-format msgid "Go to the %sto the Frequently Asked Questions%s or come ask your question on the official chatroom %s or via our mailing-list (%ssee the dedicated page%s)." msgstr "" -#: ../cache/locales.php:155 +#: ../cache/locales.php:164 msgid "Location" msgstr "" -#: ../cache/locales.php:156 +#: ../cache/locales.php:165 msgid "Wrong position" msgstr "" -#: ../cache/locales.php:157 +#: ../cache/locales.php:166 msgid "Location updated" msgstr "" -#: ../cache/locales.php:158 +#: ../cache/locales.php:167 msgid "Wrong username" msgstr "" -#: ../cache/locales.php:159 +#: ../cache/locales.php:168 msgid "Invalid JID" msgstr "" -#: ../cache/locales.php:160 +#: ../cache/locales.php:169 msgid "Authentication mechanism not supported by Movim" msgstr "" -#: ../cache/locales.php:161 +#: ../cache/locales.php:170 msgid "Empty Challenge from the server" msgstr "" -#: ../cache/locales.php:162 +#: ../cache/locales.php:171 msgid "XMPP Domain error, your account is not a correct Jabber ID" msgstr "" -#: ../cache/locales.php:164 +#: ../cache/locales.php:173 msgid "Wrong password" msgstr "" -#: ../cache/locales.php:165 +#: ../cache/locales.php:174 msgid "The XMPP authentification failed" msgstr "" -#: ../cache/locales.php:166 +#: ../cache/locales.php:175 msgid "The current BOSH URL is invalid" msgstr "" -#: ../cache/locales.php:167 +#: ../cache/locales.php:176 msgid "Internal server error" msgstr "" -#: ../cache/locales.php:168 +#: ../cache/locales.php:177 msgid "Session error" msgstr "" -#: ../cache/locales.php:169 +#: ../cache/locales.php:178 msgid "Account successfully created" msgstr "" -#: ../cache/locales.php:170 +#: ../cache/locales.php:179 msgid "Movim failed to authenticate. You entered wrong data" msgstr "" -#: ../cache/locales.php:171 +#: ../cache/locales.php:180 msgid "Your XMPP server is unauthorized" msgstr "" -#: ../cache/locales.php:172 +#: ../cache/locales.php:181 msgid "The server takes too much time to respond" msgstr "" -#: ../cache/locales.php:173 +#: ../cache/locales.php:182 msgid "Your web browser is too old to use with Movim." msgstr "" -#: ../cache/locales.php:174 +#: ../cache/locales.php:183 #, php-format msgid "You can login with Facebook (chat only) using %syour.id@chat.facebook.com%s and your password" msgstr "" -#: ../cache/locales.php:175 +#: ../cache/locales.php:184 #, php-format msgid "%sGmail accounts are also compatible%s but are not fully supported" msgstr "" -#: ../cache/locales.php:176 +#: ../cache/locales.php:185 msgid "You can login using your favorite Jabber account" msgstr "" -#: ../cache/locales.php:177 +#: ../cache/locales.php:186 msgid "or with our demonstration account" msgstr "" -#: ../cache/locales.php:178 +#: ../cache/locales.php:187 msgid "My address" msgstr "" -#: ../cache/locales.php:180 +#: ../cache/locales.php:189 msgid "Create one !" msgstr "" -#: ../cache/locales.php:181 +#: ../cache/locales.php:190 msgid "No account yet ?" msgstr "" -#: ../cache/locales.php:182 +#: ../cache/locales.php:191 msgid "This server accept only connection with xmpp accounts from these servers :" msgstr "" -#: ../cache/locales.php:183 +#: ../cache/locales.php:192 #, php-format msgid "If you don't have such xmpp account, you can try %sanother public Movim%s client." msgstr "" -#: ../cache/locales.php:184 +#: ../cache/locales.php:193 msgid "Connected" msgstr "" -#: ../cache/locales.php:185 +#: ../cache/locales.php:194 msgid "Population" msgstr "" -#: ../cache/locales.php:187 +#: ../cache/locales.php:196 msgid "Resolution" msgstr "" -#: ../cache/locales.php:188 +#: ../cache/locales.php:197 msgid "Size" msgstr "" -#: ../cache/locales.php:189 +#: ../cache/locales.php:198 msgid "Date" msgstr "" -#: ../cache/locales.php:190 +#: ../cache/locales.php:199 msgid "ISO" msgstr "" -#: ../cache/locales.php:191 +#: ../cache/locales.php:200 msgid "Camera" msgstr "" -#: ../cache/locales.php:192 +#: ../cache/locales.php:201 msgid "Artist" msgstr "" -#: ../cache/locales.php:193 +#: ../cache/locales.php:202 msgid "Original" msgstr "" -#: ../cache/locales.php:194 +#: ../cache/locales.php:203 msgid "Link" msgstr "" -#: ../cache/locales.php:195 +#: ../cache/locales.php:204 msgid "Please select image file" msgstr "" -#: ../cache/locales.php:196 +#: ../cache/locales.php:205 msgid "You should select valid image files only!" msgstr "" -#: ../cache/locales.php:197 +#: ../cache/locales.php:206 msgid "An error occurred while uploading the file" msgstr "" -#: ../cache/locales.php:198 +#: ../cache/locales.php:207 msgid "The upload has been canceled by the user or the browser dropped the connection" msgstr "" -#: ../cache/locales.php:199 +#: ../cache/locales.php:208 msgid "Your file is very big. We can't accept it. Please select a smaller file" msgstr "" -#: ../cache/locales.php:200 +#: ../cache/locales.php:209 msgid "Subscribe" msgstr "" -#: ../cache/locales.php:201 +#: ../cache/locales.php:210 msgid "Unsubscribe" msgstr "" -#: ../cache/locales.php:202 +#: ../cache/locales.php:211 msgid "Make your membership to this group public to your friends" msgstr "" -#: ../cache/locales.php:203 +#: ../cache/locales.php:212 msgid "Give a nickname to this group if you want" msgstr "" -#: ../cache/locales.php:204 +#: ../cache/locales.php:213 msgid "Are you sure ?" msgstr "" -#: ../cache/locales.php:205 +#: ../cache/locales.php:214 msgid "Manage your members" msgstr "" -#: ../cache/locales.php:206 +#: ../cache/locales.php:215 msgid "Get the members" msgstr "" -#: ../cache/locales.php:207 +#: ../cache/locales.php:216 msgid "Affiliations saved" msgstr "" -#: ../cache/locales.php:208 +#: ../cache/locales.php:217 msgid "Configure your group" msgstr "" -#: ../cache/locales.php:209 +#: ../cache/locales.php:218 msgid "Group configuration saved" msgstr "" -#: ../cache/locales.php:210 +#: ../cache/locales.php:219 msgid "Delete this group" msgstr "" -#: ../cache/locales.php:211 +#: ../cache/locales.php:220 #, php-format msgid "Return to %s's list of groups" msgstr "" -#: ../cache/locales.php:212 +#: ../cache/locales.php:221 msgid "Manage your subscriptions" msgstr "" -#: ../cache/locales.php:213 +#: ../cache/locales.php:222 msgid "Manage the subscriptions" msgstr "" -#: ../cache/locales.php:214 +#: ../cache/locales.php:223 msgid "Get the subscriptions" msgstr "" -#: ../cache/locales.php:215 +#: ../cache/locales.php:224 #, php-format msgid "%s wants to talk with you" msgstr "" -#: ../cache/locales.php:216 +#: ../cache/locales.php:225 msgid "Disconnect" msgstr "" -#: ../cache/locales.php:217 +#: ../cache/locales.php:226 msgid "Status updated" msgstr "" -#: ../cache/locales.php:218 +#: ../cache/locales.php:227 msgid "Saved" msgstr "" -#: ../cache/locales.php:219 +#: ../cache/locales.php:228 msgid "Your status here !" msgstr "" -#: ../cache/locales.php:220 +#: ../cache/locales.php:229 msgid "Shared" msgstr "" -#: ../cache/locales.php:222 +#: ../cache/locales.php:231 #, php-format msgid "%s has been added to your public groups" msgstr "" -#: ../cache/locales.php:223 +#: ../cache/locales.php:232 #, php-format msgid "%s has been removed from your public groups" msgstr "" -#: ../cache/locales.php:224 +#: ../cache/locales.php:233 msgid "Ungrouped" msgstr "" -#: ../cache/locales.php:225 +#: ../cache/locales.php:234 msgid "Show disconnected contacts" msgstr "" -#: ../cache/locales.php:226 +#: ../cache/locales.php:235 msgid "Hide disconnected contacts" msgstr "" -#: ../cache/locales.php:227 +#: ../cache/locales.php:236 #, php-format msgid "Show group %s" msgstr "" -#: ../cache/locales.php:228 +#: ../cache/locales.php:237 #, php-format msgid "Hide group %s" msgstr "" -#: ../cache/locales.php:229 +#: ../cache/locales.php:238 msgid "Please enter a valid Jabber ID" msgstr "" -#: ../cache/locales.php:230 +#: ../cache/locales.php:239 msgid "No contacts ? You can add one using the + button bellow or going to the Explore page" msgstr "" -#: ../cache/locales.php:231 +#: ../cache/locales.php:240 msgid "Search" msgstr "" -#: ../cache/locales.php:232 +#: ../cache/locales.php:241 msgid "Show/Hide" msgstr "" -#: ../cache/locales.php:233 +#: ../cache/locales.php:242 msgid "Enter the Jabber ID of your contact." msgstr "" -#: ../cache/locales.php:234 +#: ../cache/locales.php:243 msgid "Press enter to validate." msgstr "" -#: ../cache/locales.php:235 +#: ../cache/locales.php:244 msgid "JID" msgstr "" -#: ../cache/locales.php:236 +#: ../cache/locales.php:245 msgid "Give a friendly name to your group" msgstr "" -#: ../cache/locales.php:237 +#: ../cache/locales.php:246 msgid "My Little Pony - Fan Club" msgstr "" -#: ../cache/locales.php:238 +#: ../cache/locales.php:247 msgid "Subscribed" msgstr "" -#: ../cache/locales.php:239 +#: ../cache/locales.php:248 msgid "Topics" msgstr "" -#: ../cache/locales.php:240 +#: ../cache/locales.php:249 msgid "Statistics" msgstr "" -#: ../cache/locales.php:241 +#: ../cache/locales.php:250 msgid "Since" msgstr "" -#: ../cache/locales.php:242 +#: ../cache/locales.php:251 msgid "Sessions" msgstr "" -#: ../cache/locales.php:244 +#: ../cache/locales.php:253 msgid "Movim is a decentralized social network, before creating a new account you need to choose a server to register." msgstr "" -#: ../cache/locales.php:245 +#: ../cache/locales.php:254 msgid "Your server here ?" msgstr "" -#: ../cache/locales.php:246 +#: ../cache/locales.php:255 msgid "Contact us to add yours to the officially supported servers list" msgstr "" -#: ../cache/locales.php:247 +#: ../cache/locales.php:256 msgid "No public feed for this contact" msgstr "" -#: ../cache/locales.php:248 +#: ../cache/locales.php:257 msgid "No contact specified" msgstr "" -#: ../cache/locales.php:250 +#: ../cache/locales.php:259 msgid "Profile Updated" msgstr "" -#: ../cache/locales.php:251 +#: ../cache/locales.php:260 msgid "Profile Not Updated" msgstr "" -#: ../cache/locales.php:252 +#: ../cache/locales.php:261 msgid "Your profile is now public" msgstr "" -#: ../cache/locales.php:253 +#: ../cache/locales.php:262 msgid "Your profile is now restricted" msgstr "" -#: ../cache/locales.php:266 +#: ../cache/locales.php:275 msgid "Accounts" msgstr "" -#: ../cache/locales.php:267 +#: ../cache/locales.php:276 msgid "Twitter" msgstr "" -#: ../cache/locales.php:268 +#: ../cache/locales.php:277 msgid "Skype" msgstr "" -#: ../cache/locales.php:269 +#: ../cache/locales.php:278 msgid "Yahoo" msgstr "" -#: ../cache/locales.php:270 +#: ../cache/locales.php:279 msgid "Privacy Level" msgstr "" -#: ../cache/locales.php:271 +#: ../cache/locales.php:280 msgid "Is this profile public ?" msgstr "" -#: ../cache/locales.php:272 +#: ../cache/locales.php:281 msgid "Please pay attention ! By making your profile public, all the information listed above will be available for all the Movim users and on the whole Internet." msgstr "" -#: ../cache/locales.php:273 ../cache/locales.php:294 +#: ../cache/locales.php:282 ../cache/locales.php:303 msgid "Feed" msgstr "" -#: ../cache/locales.php:274 ../cache/locales.php:290 +#: ../cache/locales.php:283 ../cache/locales.php:299 msgid "Blog" msgstr "" -#: ../cache/locales.php:275 +#: ../cache/locales.php:284 msgid "You don't have javascript enabled. Good luck with that." msgstr "" -#: ../cache/locales.php:276 +#: ../cache/locales.php:285 msgid "Movim is a kickass distributed social networking platform that protect your privacy an comes with a set of awesome features." msgstr "" -#: ../cache/locales.php:277 +#: ../cache/locales.php:286 msgid "Administration" msgstr "" -#: ../cache/locales.php:278 +#: ../cache/locales.php:287 msgid "Home" msgstr "" -#: ../cache/locales.php:279 +#: ../cache/locales.php:288 msgid "Discover" msgstr "" -#: ../cache/locales.php:280 +#: ../cache/locales.php:289 msgid "Explore" msgstr "" -#: ../cache/locales.php:281 +#: ../cache/locales.php:290 msgid "Account Creation" msgstr "" -#: ../cache/locales.php:282 +#: ../cache/locales.php:291 msgid "News" msgstr "" -#: ../cache/locales.php:283 +#: ../cache/locales.php:292 msgid "Avatar" msgstr "" -#: ../cache/locales.php:284 +#: ../cache/locales.php:293 msgid "Configuration" msgstr "" -#: ../cache/locales.php:285 +#: ../cache/locales.php:294 msgid "Server" msgstr "" -#: ../cache/locales.php:286 +#: ../cache/locales.php:295 msgid "Public Groups" msgstr "" -#: ../cache/locales.php:287 +#: ../cache/locales.php:296 msgid "Viewer" msgstr "" -#: ../cache/locales.php:288 +#: ../cache/locales.php:297 msgid "Profile" msgstr "" -#: ../cache/locales.php:289 +#: ../cache/locales.php:298 msgid "Media" msgstr "" -#: ../cache/locales.php:291 +#: ../cache/locales.php:300 msgid "About" msgstr "" -#: ../cache/locales.php:292 +#: ../cache/locales.php:301 msgid "Login" msgstr "" -#: ../cache/locales.php:293 +#: ../cache/locales.php:302 msgid "Help" msgstr "" -#: ../cache/locales.php:296 +#: ../cache/locales.php:305 msgid "Gallery" msgstr "" -#: ../cache/locales.php:297 +#: ../cache/locales.php:306 msgid "Preview" msgstr "" -#: ../cache/locales.php:298 +#: ../cache/locales.php:307 msgid "Visio-conference" msgstr "" -#: ../cache/locales.php:299 +#: ../cache/locales.php:308 msgid "Pods" msgstr "" -#: ../cache/locales.php:300 +#: ../cache/locales.php:309 #, php-format msgid "Error: %s" msgstr "" -#: ../cache/locales.php:301 +#: ../cache/locales.php:310 #, php-format msgid "Cannot load file '%s'" msgstr "" -#: ../cache/locales.php:302 +#: ../cache/locales.php:311 #, php-format msgid "Route error, please set all the parameters for the page %s" msgstr "" -#: ../cache/locales.php:303 +#: ../cache/locales.php:312 #, php-format msgid "%s - About" msgstr "" -#: ../cache/locales.php:304 +#: ../cache/locales.php:313 #, php-format msgid "%s - Account" msgstr "" -#: ../cache/locales.php:305 +#: ../cache/locales.php:314 #, php-format msgid "%s - Administration Panel" msgstr "" -#: ../cache/locales.php:306 +#: ../cache/locales.php:315 #, php-format msgid "%s - Blog" msgstr "" -#: ../cache/locales.php:307 +#: ../cache/locales.php:316 #, php-format msgid "%s - Configuration" msgstr "" -#: ../cache/locales.php:308 +#: ../cache/locales.php:317 #, php-format msgid "%s - Discover" msgstr "" -#: ../cache/locales.php:309 +#: ../cache/locales.php:318 #, php-format msgid "%s - Explore" msgstr "" -#: ../cache/locales.php:310 +#: ../cache/locales.php:319 #, php-format msgid "%s - Help Page" msgstr "" -#: ../cache/locales.php:311 +#: ../cache/locales.php:320 #, php-format msgid "%s - Login to Movim" msgstr "" -#: ../cache/locales.php:312 +#: ../cache/locales.php:321 #, php-format msgid "%s - Welcome to Movim" msgstr "" -#: ../cache/locales.php:313 +#: ../cache/locales.php:322 #, php-format msgid "%s - Media" msgstr "" -#: ../cache/locales.php:314 +#: ../cache/locales.php:323 #, php-format msgid "%s - News" msgstr "" -#: ../cache/locales.php:315 +#: ../cache/locales.php:324 #, php-format msgid "%s - Group Configuration" msgstr "" -#: ../cache/locales.php:316 +#: ../cache/locales.php:325 #, php-format msgid "%s - Group" msgstr "" -#: ../cache/locales.php:317 +#: ../cache/locales.php:326 #, php-format msgid "%s - 404" msgstr "" -#: ../cache/locales.php:318 +#: ../cache/locales.php:327 #, php-format msgid "%s - Profile" msgstr "" -#: ../cache/locales.php:319 +#: ../cache/locales.php:328 #, php-format msgid "%s - Server" msgstr "" -#: ../cache/locales.php:320 +#: ../cache/locales.php:329 msgid "Validate" msgstr "" -#: ../cache/locales.php:321 +#: ../cache/locales.php:330 msgid "Refresh" msgstr "" -#: ../cache/locales.php:322 +#: ../cache/locales.php:331 msgid "Add" msgstr "" -#: ../cache/locales.php:323 +#: ../cache/locales.php:332 msgid "Close" msgstr "" -#: ../cache/locales.php:324 +#: ../cache/locales.php:333 msgid "Update" msgstr "" -#: ../cache/locales.php:325 +#: ../cache/locales.php:334 msgid "Updating" msgstr "" -#: ../cache/locales.php:326 +#: ../cache/locales.php:335 msgid "Submit" msgstr "" -#: ../cache/locales.php:327 +#: ../cache/locales.php:336 msgid "Reset" msgstr "" -#: ../cache/locales.php:328 +#: ../cache/locales.php:337 +msgid "Register" +msgstr "" + +#: ../cache/locales.php:338 +msgid "Unregister" +msgstr "" + +#: ../cache/locales.php:339 msgid "Save" msgstr "" -#: ../cache/locales.php:329 +#: ../cache/locales.php:340 msgid "Clear" msgstr "" -#: ../cache/locales.php:330 +#: ../cache/locales.php:341 msgid "Upload" msgstr "" -#: ../cache/locales.php:331 +#: ../cache/locales.php:342 msgid "Come in!" msgstr "" -#: ../cache/locales.php:332 +#: ../cache/locales.php:343 msgid "Connecting..." msgstr "" -#: ../cache/locales.php:333 +#: ../cache/locales.php:344 msgid "Yes" msgstr "" -#: ../cache/locales.php:334 +#: ../cache/locales.php:345 msgid "No" msgstr "" -#: ../cache/locales.php:337 +#: ../cache/locales.php:348 msgid "Day" msgstr "" -#: ../cache/locales.php:338 +#: ../cache/locales.php:349 msgid "Monday" msgstr "" -#: ../cache/locales.php:339 +#: ../cache/locales.php:350 msgid "Tuesday" msgstr "" -#: ../cache/locales.php:340 +#: ../cache/locales.php:351 msgid "Wednesday" msgstr "" -#: ../cache/locales.php:341 +#: ../cache/locales.php:352 msgid "Thursday" msgstr "" -#: ../cache/locales.php:342 +#: ../cache/locales.php:353 msgid "Friday" msgstr "" -#: ../cache/locales.php:343 +#: ../cache/locales.php:354 msgid "Saturday" msgstr "" -#: ../cache/locales.php:344 +#: ../cache/locales.php:355 msgid "Sunday" msgstr "" -#: ../cache/locales.php:345 ../cache/locales.php:354 +#: ../cache/locales.php:356 ../cache/locales.php:365 msgid "None" msgstr "" -#: ../cache/locales.php:346 +#: ../cache/locales.php:357 msgid "Male" msgstr "" -#: ../cache/locales.php:347 +#: ../cache/locales.php:358 msgid "Female" msgstr "" -#: ../cache/locales.php:348 +#: ../cache/locales.php:359 msgid "Other" msgstr "" -#: ../cache/locales.php:349 +#: ../cache/locales.php:360 msgid "Bot" msgstr "" -#: ../cache/locales.php:350 +#: ../cache/locales.php:361 msgid "Desktop" msgstr "" -#: ../cache/locales.php:351 +#: ../cache/locales.php:362 msgid "Phone" msgstr "" -#: ../cache/locales.php:352 +#: ../cache/locales.php:363 msgid "Web" msgstr "" -#: ../cache/locales.php:353 +#: ../cache/locales.php:364 msgid "Registered" msgstr "" -#: ../cache/locales.php:355 +#: ../cache/locales.php:366 msgid "Single" msgstr "" -#: ../cache/locales.php:356 +#: ../cache/locales.php:367 msgid "In a relationship" msgstr "" -#: ../cache/locales.php:357 +#: ../cache/locales.php:368 msgid "Married" msgstr "" -#: ../cache/locales.php:358 +#: ../cache/locales.php:369 msgid "Divorced" msgstr "" -#: ../cache/locales.php:359 +#: ../cache/locales.php:370 msgid "Widowed" msgstr "" -#: ../cache/locales.php:360 +#: ../cache/locales.php:371 msgid "Cohabiting" msgstr "" -#: ../cache/locales.php:361 +#: ../cache/locales.php:372 msgid "Civil Union" msgstr "" -#: ../cache/locales.php:362 +#: ../cache/locales.php:373 msgid "Not shared" msgstr "" -#: ../cache/locales.php:363 +#: ../cache/locales.php:374 msgid "Shared with one contact" msgstr "" -#: ../cache/locales.php:364 +#: ../cache/locales.php:375 msgid "Shared with all contacts" msgstr "" -#: ../cache/locales.php:365 +#: ../cache/locales.php:376 msgid "Shared with the XMPP network" msgstr "" -#: ../cache/locales.php:366 +#: ../cache/locales.php:377 msgid "Shared with the whole Internet" msgstr "" -#: ../cache/locales.php:367 +#: ../cache/locales.php:378 msgid "Online" msgstr "" -#: ../cache/locales.php:368 +#: ../cache/locales.php:379 msgid "Away" msgstr "" -#: ../cache/locales.php:369 +#: ../cache/locales.php:380 msgid "Do Not Disturb" msgstr "" -#: ../cache/locales.php:370 +#: ../cache/locales.php:381 msgid "Extended Away" msgstr "" -#: ../cache/locales.php:371 +#: ../cache/locales.php:382 msgid "Offline" msgstr "" -#: ../cache/locales.php:372 +#: ../cache/locales.php:383 msgid "Error" msgstr "" -#: ../cache/locales.php:373 +#: ../cache/locales.php:384 msgid "afraid" msgstr "" -#: ../cache/locales.php:374 +#: ../cache/locales.php:385 msgid "amazed" msgstr "" -#: ../cache/locales.php:375 +#: ../cache/locales.php:386 msgid "amorous" msgstr "" -#: ../cache/locales.php:376 +#: ../cache/locales.php:387 msgid "angry" msgstr "" -#: ../cache/locales.php:377 +#: ../cache/locales.php:388 msgid "annoyed" msgstr "" -#: ../cache/locales.php:378 +#: ../cache/locales.php:389 msgid "anxious" msgstr "" -#: ../cache/locales.php:379 +#: ../cache/locales.php:390 msgid "aroused" msgstr "" -#: ../cache/locales.php:380 +#: ../cache/locales.php:391 msgid "ashamed" msgstr "" -#: ../cache/locales.php:381 +#: ../cache/locales.php:392 msgid "bored" msgstr "" -#: ../cache/locales.php:382 +#: ../cache/locales.php:393 msgid "brave" msgstr "" -#: ../cache/locales.php:383 +#: ../cache/locales.php:394 msgid "calm" msgstr "" -#: ../cache/locales.php:384 +#: ../cache/locales.php:395 msgid "cautious" msgstr "" -#: ../cache/locales.php:385 +#: ../cache/locales.php:396 msgid "cold" msgstr "" -#: ../cache/locales.php:386 +#: ../cache/locales.php:397 msgid "confident" msgstr "" -#: ../cache/locales.php:387 +#: ../cache/locales.php:398 msgid "confused" msgstr "" -#: ../cache/locales.php:388 +#: ../cache/locales.php:399 msgid "contemplative" msgstr "" -#: ../cache/locales.php:389 +#: ../cache/locales.php:400 msgid "contented" msgstr "" -#: ../cache/locales.php:390 +#: ../cache/locales.php:401 msgid "cranky" msgstr "" -#: ../cache/locales.php:391 +#: ../cache/locales.php:402 msgid "crazy" msgstr "" -#: ../cache/locales.php:392 +#: ../cache/locales.php:403 msgid "creative" msgstr "" -#: ../cache/locales.php:393 +#: ../cache/locales.php:404 msgid "curious" msgstr "" -#: ../cache/locales.php:394 +#: ../cache/locales.php:405 msgid "dejected" msgstr "" -#: ../cache/locales.php:395 +#: ../cache/locales.php:406 msgid "depressed" msgstr "" -#: ../cache/locales.php:396 +#: ../cache/locales.php:407 msgid "disappointed" msgstr "" -#: ../cache/locales.php:397 +#: ../cache/locales.php:408 msgid "disgusted" msgstr "" -#: ../cache/locales.php:398 +#: ../cache/locales.php:409 msgid "dismayed" msgstr "" -#: ../cache/locales.php:399 +#: ../cache/locales.php:410 msgid "distracted" msgstr "" -#: ../cache/locales.php:400 +#: ../cache/locales.php:411 msgid "embarrassed" msgstr "" -#: ../cache/locales.php:401 +#: ../cache/locales.php:412 msgid "envious" msgstr "" -#: ../cache/locales.php:402 +#: ../cache/locales.php:413 msgid "excited" msgstr "" -#: ../cache/locales.php:403 +#: ../cache/locales.php:414 msgid "flirtatious" msgstr "" -#: ../cache/locales.php:404 +#: ../cache/locales.php:415 msgid "frustated" msgstr "" -#: ../cache/locales.php:405 +#: ../cache/locales.php:416 msgid "grateful" msgstr "" -#: ../cache/locales.php:406 +#: ../cache/locales.php:417 msgid "grieving" msgstr "" -#: ../cache/locales.php:407 +#: ../cache/locales.php:418 msgid "grumpy" msgstr "" -#: ../cache/locales.php:408 +#: ../cache/locales.php:419 msgid "guilty" msgstr "" -#: ../cache/locales.php:409 +#: ../cache/locales.php:420 msgid "happy" msgstr "" -#: ../cache/locales.php:410 +#: ../cache/locales.php:421 msgid "hopeful" msgstr "" -#: ../cache/locales.php:411 +#: ../cache/locales.php:422 msgid "hot" msgstr "" -#: ../cache/locales.php:412 +#: ../cache/locales.php:423 msgid "humbled" msgstr "" -#: ../cache/locales.php:413 +#: ../cache/locales.php:424 msgid "humiliated" msgstr "" -#: ../cache/locales.php:414 +#: ../cache/locales.php:425 msgid "hungry" msgstr "" -#: ../cache/locales.php:415 +#: ../cache/locales.php:426 msgid "hurt" msgstr "" -#: ../cache/locales.php:416 +#: ../cache/locales.php:427 msgid "impressed" msgstr "" -#: ../cache/locales.php:417 +#: ../cache/locales.php:428 msgid "in awe" msgstr "" -#: ../cache/locales.php:418 +#: ../cache/locales.php:429 msgid "in love" msgstr "" -#: ../cache/locales.php:419 +#: ../cache/locales.php:430 msgid "indignant" msgstr "" -#: ../cache/locales.php:420 +#: ../cache/locales.php:431 msgid "interested" msgstr "" -#: ../cache/locales.php:421 +#: ../cache/locales.php:432 msgid "intoxicated" msgstr "" -#: ../cache/locales.php:422 +#: ../cache/locales.php:433 msgid "invincible" msgstr "" -#: ../cache/locales.php:423 +#: ../cache/locales.php:434 msgid "jealous" msgstr "" -#: ../cache/locales.php:424 +#: ../cache/locales.php:435 msgid "lonely" msgstr "" -#: ../cache/locales.php:425 +#: ../cache/locales.php:436 msgid "lost" msgstr "" -#: ../cache/locales.php:426 +#: ../cache/locales.php:437 msgid "lucky" msgstr "" -#: ../cache/locales.php:427 +#: ../cache/locales.php:438 msgid "mean" msgstr "" -#: ../cache/locales.php:428 +#: ../cache/locales.php:439 msgid "moody" msgstr "" -#: ../cache/locales.php:429 +#: ../cache/locales.php:440 msgid "nervous" msgstr "" -#: ../cache/locales.php:430 +#: ../cache/locales.php:441 msgid "neutral" msgstr "" -#: ../cache/locales.php:431 +#: ../cache/locales.php:442 msgid "offended" msgstr "" -#: ../cache/locales.php:432 +#: ../cache/locales.php:443 msgid "outraged" msgstr "" -#: ../cache/locales.php:433 +#: ../cache/locales.php:444 msgid "playful" msgstr "" -#: ../cache/locales.php:434 +#: ../cache/locales.php:445 msgid "proud" msgstr "" -#: ../cache/locales.php:435 +#: ../cache/locales.php:446 msgid "relaxed" msgstr "" -#: ../cache/locales.php:436 +#: ../cache/locales.php:447 msgid "relieved" msgstr "" -#: ../cache/locales.php:437 +#: ../cache/locales.php:448 msgid "remorseful" msgstr "" -#: ../cache/locales.php:438 +#: ../cache/locales.php:449 msgid "restless" msgstr "" -#: ../cache/locales.php:439 +#: ../cache/locales.php:450 msgid "sad" msgstr "" -#: ../cache/locales.php:440 +#: ../cache/locales.php:451 msgid "sarcastic" msgstr "" -#: ../cache/locales.php:441 +#: ../cache/locales.php:452 msgid "satisfied" msgstr "" -#: ../cache/locales.php:442 +#: ../cache/locales.php:453 msgid "serious" msgstr "" -#: ../cache/locales.php:443 +#: ../cache/locales.php:454 msgid "shocked" msgstr "" -#: ../cache/locales.php:444 +#: ../cache/locales.php:455 msgid "shy" msgstr "" -#: ../cache/locales.php:445 +#: ../cache/locales.php:456 msgid "sick" msgstr "" -#: ../cache/locales.php:446 +#: ../cache/locales.php:457 msgid "sleepy" msgstr "" -#: ../cache/locales.php:447 +#: ../cache/locales.php:458 msgid "spontaneous" msgstr "" -#: ../cache/locales.php:448 +#: ../cache/locales.php:459 msgid "stressed" msgstr "" -#: ../cache/locales.php:449 +#: ../cache/locales.php:460 msgid "strong" msgstr "" -#: ../cache/locales.php:450 +#: ../cache/locales.php:461 msgid "surprised" msgstr "" -#: ../cache/locales.php:451 +#: ../cache/locales.php:462 msgid "thankful" msgstr "" -#: ../cache/locales.php:452 +#: ../cache/locales.php:463 msgid "thirsty" msgstr "" -#: ../cache/locales.php:453 +#: ../cache/locales.php:464 msgid "tired" msgstr "" -#: ../cache/locales.php:454 +#: ../cache/locales.php:465 msgid "undefined" msgstr "" -#: ../cache/locales.php:455 +#: ../cache/locales.php:466 msgid "weak" msgstr "" -#: ../cache/locales.php:456 +#: ../cache/locales.php:467 msgid "worried" msgstr "" -#: ../cache/locales.php:457 +#: ../cache/locales.php:468 msgid "Month" msgstr "" -#: ../cache/locales.php:458 +#: ../cache/locales.php:469 msgid "January" msgstr "" -#: ../cache/locales.php:459 +#: ../cache/locales.php:470 msgid "February" msgstr "" -#: ../cache/locales.php:460 +#: ../cache/locales.php:471 msgid "March" msgstr "" -#: ../cache/locales.php:461 +#: ../cache/locales.php:472 msgid "April" msgstr "" -#: ../cache/locales.php:462 +#: ../cache/locales.php:473 msgid "May" msgstr "" -#: ../cache/locales.php:463 +#: ../cache/locales.php:474 msgid "June" msgstr "" -#: ../cache/locales.php:464 +#: ../cache/locales.php:475 msgid "July" msgstr "" -#: ../cache/locales.php:465 +#: ../cache/locales.php:476 msgid "August" msgstr "" -#: ../cache/locales.php:466 +#: ../cache/locales.php:477 msgid "September" msgstr "" -#: ../cache/locales.php:467 +#: ../cache/locales.php:478 msgid "October" msgstr "" -#: ../cache/locales.php:468 +#: ../cache/locales.php:479 msgid "November" msgstr "" -#: ../cache/locales.php:469 +#: ../cache/locales.php:480 msgid "December" msgstr "" -#: ../cache/locales.php:470 +#: ../cache/locales.php:481 msgid "Year" msgstr "" -#: ../cache/locales.php:471 +#: ../cache/locales.php:482 msgid "Today" msgstr "" -#: ../cache/locales.php:472 +#: ../cache/locales.php:483 msgid "Tomorrow" msgstr "" -#: ../cache/locales.php:473 +#: ../cache/locales.php:484 msgid "Yesterday" msgstr "" -#: ../cache/locales.php:474 +#: ../cache/locales.php:485 #, php-format msgid " %d days ago" msgstr "" -#: ../cache/locales.php:475 +#: ../cache/locales.php:486 msgid "day" msgstr "" -#: ../cache/locales.php:476 +#: ../cache/locales.php:487 msgid "Title" msgstr "" -#: ../cache/locales.php:477 +#: ../cache/locales.php:488 msgid "What's new ?" msgstr "" -#: ../cache/locales.php:478 +#: ../cache/locales.php:489 msgid "Place" msgstr "" -#: ../cache/locales.php:479 +#: ../cache/locales.php:490 msgid "by" msgstr "" -#: ../cache/locales.php:480 +#: ../cache/locales.php:491 msgid "Geolocalisation" msgstr "" -#: ../cache/locales.php:481 +#: ../cache/locales.php:492 msgid "email" msgstr "" -#: ../cache/locales.php:482 +#: ../cache/locales.php:493 msgid "No content" msgstr "" -#: ../cache/locales.php:483 +#: ../cache/locales.php:494 msgid "No comments" msgstr "" -#: ../cache/locales.php:484 +#: ../cache/locales.php:495 msgid "No comments stream" msgstr "" -#: ../cache/locales.php:485 +#: ../cache/locales.php:496 msgid "Your feed cannot be loaded." msgstr "" -#: ../cache/locales.php:486 +#: ../cache/locales.php:497 msgid "Get older posts" msgstr "" -#: ../cache/locales.php:487 +#: ../cache/locales.php:498 #, php-format msgid "%s new items" msgstr "" -#: ../cache/locales.php:488 +#: ../cache/locales.php:499 msgid "Comment publication error" msgstr "" -#: ../cache/locales.php:489 +#: ../cache/locales.php:500 msgid "Show the older comments" msgstr "" -#: ../cache/locales.php:490 +#: ../cache/locales.php:501 msgid "Loading comments ..." msgstr "" -#: ../cache/locales.php:491 +#: ../cache/locales.php:502 msgid "Get the comments" msgstr "" -#: ../cache/locales.php:492 +#: ../cache/locales.php:503 msgid "Add a comment" msgstr "" -#: ../cache/locales.php:493 +#: ../cache/locales.php:504 msgid "Share with" msgstr "" -#: ../cache/locales.php:494 +#: ../cache/locales.php:505 msgid "Everyone" msgstr "" -#: ../cache/locales.php:495 +#: ../cache/locales.php:506 msgid "Your contacts" msgstr "" -#: ../cache/locales.php:496 +#: ../cache/locales.php:507 msgid "Delete this post" msgstr "" + +#: ../cache/locales.php:508 +msgid "The API is not reachable, try again later" +msgstr "" From ee5428693b992f22c57e07bb48cffde2c1490633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaussoin=20Timoth=C3=A9e?= Date: Mon, 16 Jun 2014 23:57:32 +0200 Subject: [PATCH 5/6] - Fax fix for the login reload issue --- app/controllers/DisconnectController.php | 4 ++-- app/widgets/System/System.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/DisconnectController.php b/app/controllers/DisconnectController.php index 69c086648..60aa374ba 100644 --- a/app/controllers/DisconnectController.php +++ b/app/controllers/DisconnectController.php @@ -5,9 +5,9 @@ class DisconnectController extends BaseController { $this->session_only = false; } - function dispatch() { + function dispatch() { $user = new User(); $user->desauth(); - $this->redirect('login'); + $this->redirect('main'); } } diff --git a/app/widgets/System/System.php b/app/widgets/System/System.php index 10641d7a0..b107c24f8 100644 --- a/app/widgets/System/System.php +++ b/app/widgets/System/System.php @@ -25,7 +25,7 @@ class System extends WidgetBase { else $this->view->assign('page_key_uri', ''); - if(FAIL_SAFE) + if(FAIL_SAFE != null) $this->view->assign('fail_safe', FAIL_SAFE); else $this->view->assign('fail_safe', ''); From 62f5ea9446206be22a0cd1502225c2d03597984c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaussoin=20Timoth=C3=A9e?= Date: Thu, 19 Jun 2014 11:26:05 +0200 Subject: [PATCH 6/6] - Create a cache file + generator in the timezone helper to boost the execution --- app/helpers/TimezoneHelper.php | 13 +- app/helpers/TimezoneList.php | 417 +++++++++++++++++++++++++++++++++ mud.php | 22 ++ 3 files changed, 450 insertions(+), 2 deletions(-) create mode 100644 app/helpers/TimezoneList.php diff --git a/app/helpers/TimezoneHelper.php b/app/helpers/TimezoneHelper.php index fcdbfbe7f..f09ecf306 100644 --- a/app/helpers/TimezoneHelper.php +++ b/app/helpers/TimezoneHelper.php @@ -3,9 +3,18 @@ /* * Get the timezone list */ - function getTimezoneList() +function getTimezoneList() +{ + require_once(HELPERS_PATH.'TimezoneList.php'); + return $timezones; +} + +/* + * Generate the timezone list + */ + function generateTimezoneList() { - static $regions = array( + $regions = array( DateTimeZone::AFRICA, DateTimeZone::AMERICA, DateTimeZone::ANTARCTICA, diff --git a/app/helpers/TimezoneList.php b/app/helpers/TimezoneList.php new file mode 100644 index 000000000..610eb2711 --- /dev/null +++ b/app/helpers/TimezoneList.php @@ -0,0 +1,417 @@ + "Abidjan/Africa (UTC+00:00)", +"Africa/Accra" => "Accra/Africa (UTC+00:00)", +"America/Adak" => "Adak/America (UTC-09:00)", +"Africa/Addis_Ababa" => "Addis_Ababa/Africa (UTC+03:00)", +"Australia/Adelaide" => "Adelaide/Australia (UTC+09:30)", +"Asia/Aden" => "Aden/Asia (UTC+03:00)", +"Africa/Algiers" => "Algiers/Africa (UTC+01:00)", +"Asia/Almaty" => "Almaty/Asia (UTC+06:00)", +"Asia/Amman" => "Amman/Asia (UTC+03:00)", +"Europe/Amsterdam" => "Amsterdam/Europe (UTC+02:00)", +"Asia/Anadyr" => "Anadyr/Asia (UTC+12:00)", +"America/Anchorage" => "Anchorage/America (UTC-08:00)", +"Europe/Andorra" => "Andorra/Europe (UTC+02:00)", +"America/Anguilla" => "Anguilla/America (UTC-04:00)", +"Indian/Antananarivo" => "Antananarivo/Indian (UTC+03:00)", +"America/Antigua" => "Antigua/America (UTC-04:00)", +"Pacific/Apia" => "Apia/Pacific (UTC+13:00)", +"Asia/Aqtau" => "Aqtau/Asia (UTC+05:00)", +"Asia/Aqtobe" => "Aqtobe/Asia (UTC+05:00)", +"America/Araguaina" => "Araguaina/America (UTC-03:00)", +"America/Argentina/Buenos_Aires" => "Argentina/America (UTC-03:00)", +"America/Argentina/Rio_Gallegos" => "Argentina/America (UTC-03:00)", +"America/Argentina/San_Luis" => "Argentina/America (UTC-03:00)", +"America/Argentina/Tucuman" => "Argentina/America (UTC-03:00)", +"America/Argentina/Ushuaia" => "Argentina/America (UTC-03:00)", +"America/Argentina/Salta" => "Argentina/America (UTC-03:00)", +"America/Argentina/Mendoza" => "Argentina/America (UTC-03:00)", +"America/Argentina/Cordoba" => "Argentina/America (UTC-03:00)", +"America/Argentina/Jujuy" => "Argentina/America (UTC-03:00)", +"America/Argentina/La_Rioja" => "Argentina/America (UTC-03:00)", +"America/Argentina/Catamarca" => "Argentina/America (UTC-03:00)", +"America/Argentina/San_Juan" => "Argentina/America (UTC-03:00)", +"America/Aruba" => "Aruba/America (UTC-04:00)", +"Asia/Ashgabat" => "Ashgabat/Asia (UTC+05:00)", +"Africa/Asmara" => "Asmara/Africa (UTC+03:00)", +"America/Asuncion" => "Asuncion/America (UTC-04:00)", +"Europe/Athens" => "Athens/Europe (UTC+03:00)", +"America/Atikokan" => "Atikokan/America (UTC-05:00)", +"Pacific/Auckland" => "Auckland/Pacific (UTC+12:00)", +"Atlantic/Azores" => "Azores/Atlantic (UTC+00:00)", +"Asia/Baghdad" => "Baghdad/Asia (UTC+03:00)", +"America/Bahia" => "Bahia/America (UTC-03:00)", +"America/Bahia_Banderas" => "Bahia_Banderas/America (UTC-05:00)", +"Asia/Bahrain" => "Bahrain/Asia (UTC+03:00)", +"Asia/Baku" => "Baku/Asia (UTC+05:00)", +"Africa/Bamako" => "Bamako/Africa (UTC+00:00)", +"Asia/Bangkok" => "Bangkok/Asia (UTC+07:00)", +"Africa/Bangui" => "Bangui/Africa (UTC+01:00)", +"Africa/Banjul" => "Banjul/Africa (UTC+00:00)", +"America/Barbados" => "Barbados/America (UTC-04:00)", +"Asia/Beirut" => "Beirut/Asia (UTC+03:00)", +"America/Belem" => "Belem/America (UTC-03:00)", +"Europe/Belgrade" => "Belgrade/Europe (UTC+02:00)", +"America/Belize" => "Belize/America (UTC-06:00)", +"Europe/Berlin" => "Berlin/Europe (UTC+02:00)", +"Atlantic/Bermuda" => "Bermuda/Atlantic (UTC-03:00)", +"Asia/Bishkek" => "Bishkek/Asia (UTC+06:00)", +"Africa/Bissau" => "Bissau/Africa (UTC+00:00)", +"America/Blanc-Sablon" => "Blanc-Sablon/America (UTC-04:00)", +"Africa/Blantyre" => "Blantyre/Africa (UTC+02:00)", +"America/Boa_Vista" => "Boa_Vista/America (UTC-04:00)", +"America/Bogota" => "Bogota/America (UTC-05:00)", +"America/Boise" => "Boise/America (UTC-06:00)", +"Europe/Bratislava" => "Bratislava/Europe (UTC+02:00)", +"Africa/Brazzaville" => "Brazzaville/Africa (UTC+01:00)", +"Australia/Brisbane" => "Brisbane/Australia (UTC+10:00)", +"Australia/Broken_Hill" => "Broken_Hill/Australia (UTC+09:30)", +"Asia/Brunei" => "Brunei/Asia (UTC+08:00)", +"Europe/Brussels" => "Brussels/Europe (UTC+02:00)", +"Europe/Bucharest" => "Bucharest/Europe (UTC+03:00)", +"Europe/Budapest" => "Budapest/Europe (UTC+02:00)", +"Africa/Bujumbura" => "Bujumbura/Africa (UTC+02:00)", +"Europe/Busingen" => "Busingen/Europe (UTC+02:00)", +"Africa/Cairo" => "Cairo/Africa (UTC+03:00)", +"America/Cambridge_Bay" => "Cambridge_Bay/America (UTC-06:00)", +"America/Campo_Grande" => "Campo_Grande/America (UTC-04:00)", +"Atlantic/Canary" => "Canary/Atlantic (UTC+01:00)", +"America/Cancun" => "Cancun/America (UTC-05:00)", +"Atlantic/Cape_Verde" => "Cape_Verde/Atlantic (UTC-01:00)", +"America/Caracas" => "Caracas/America (UTC-04:30)", +"Africa/Casablanca" => "Casablanca/Africa (UTC+01:00)", +"Antarctica/Casey" => "Casey/Antarctica (UTC+08:00)", +"America/Cayenne" => "Cayenne/America (UTC-03:00)", +"America/Cayman" => "Cayman/America (UTC-05:00)", +"Africa/Ceuta" => "Ceuta/Africa (UTC+02:00)", +"Indian/Chagos" => "Chagos/Indian (UTC+06:00)", +"Pacific/Chatham" => "Chatham/Pacific (UTC+12:45)", +"America/Chicago" => "Chicago/America (UTC-05:00)", +"America/Chihuahua" => "Chihuahua/America (UTC-06:00)", +"Europe/Chisinau" => "Chisinau/Europe (UTC+03:00)", +"Asia/Choibalsan" => "Choibalsan/Asia (UTC+08:00)", +"Asia/Chongqing" => "Chongqing/Asia (UTC+08:00)", +"Indian/Christmas" => "Christmas/Indian (UTC+07:00)", +"Pacific/Chuuk" => "Chuuk/Pacific (UTC+10:00)", +"Indian/Cocos" => "Cocos/Indian (UTC+06:30)", +"Asia/Colombo" => "Colombo/Asia (UTC+05:30)", +"Indian/Comoro" => "Comoro/Indian (UTC+03:00)", +"Africa/Conakry" => "Conakry/Africa (UTC+00:00)", +"Europe/Copenhagen" => "Copenhagen/Europe (UTC+02:00)", +"America/Costa_Rica" => "Costa_Rica/America (UTC-06:00)", +"America/Creston" => "Creston/America (UTC-07:00)", +"America/Cuiaba" => "Cuiaba/America (UTC-04:00)", +"America/Curacao" => "Curacao/America (UTC-04:00)", +"Australia/Currie" => "Currie/Australia (UTC+10:00)", +"Africa/Dakar" => "Dakar/Africa (UTC+00:00)", +"Asia/Damascus" => "Damascus/Asia (UTC+03:00)", +"America/Danmarkshavn" => "Danmarkshavn/America (UTC+00:00)", +"Africa/Dar_es_Salaam" => "Dar_es_Salaam/Africa (UTC+03:00)", +"Australia/Darwin" => "Darwin/Australia (UTC+09:30)", +"Antarctica/Davis" => "Davis/Antarctica (UTC+07:00)", +"America/Dawson" => "Dawson/America (UTC-07:00)", +"America/Dawson_Creek" => "Dawson_Creek/America (UTC-07:00)", +"America/Denver" => "Denver/America (UTC-06:00)", +"America/Detroit" => "Detroit/America (UTC-04:00)", +"Asia/Dhaka" => "Dhaka/Asia (UTC+06:00)", +"Asia/Dili" => "Dili/Asia (UTC+09:00)", +"Africa/Djibouti" => "Djibouti/Africa (UTC+03:00)", +"America/Dominica" => "Dominica/America (UTC-04:00)", +"Africa/Douala" => "Douala/Africa (UTC+01:00)", +"Asia/Dubai" => "Dubai/Asia (UTC+04:00)", +"Europe/Dublin" => "Dublin/Europe (UTC+01:00)", +"Antarctica/DumontDUrville" => "DumontDUrville/Antarctica (UTC+10:00)", +"Asia/Dushanbe" => "Dushanbe/Asia (UTC+05:00)", +"Pacific/Easter" => "Easter/Pacific (UTC-06:00)", +"America/Edmonton" => "Edmonton/America (UTC-06:00)", +"Pacific/Efate" => "Efate/Pacific (UTC+11:00)", +"America/Eirunepe" => "Eirunepe/America (UTC-05:00)", +"Africa/El_Aaiun" => "El_Aaiun/Africa (UTC+01:00)", +"America/El_Salvador" => "El_Salvador/America (UTC-06:00)", +"Pacific/Enderbury" => "Enderbury/Pacific (UTC+13:00)", +"Australia/Eucla" => "Eucla/Australia (UTC+08:45)", +"Pacific/Fakaofo" => "Fakaofo/Pacific (UTC+13:00)", +"Atlantic/Faroe" => "Faroe/Atlantic (UTC+01:00)", +"Pacific/Fiji" => "Fiji/Pacific (UTC+12:00)", +"America/Fortaleza" => "Fortaleza/America (UTC-03:00)", +"Africa/Freetown" => "Freetown/Africa (UTC+00:00)", +"Pacific/Funafuti" => "Funafuti/Pacific (UTC+12:00)", +"Africa/Gaborone" => "Gaborone/Africa (UTC+02:00)", +"Pacific/Galapagos" => "Galapagos/Pacific (UTC-06:00)", +"Pacific/Gambier" => "Gambier/Pacific (UTC-09:00)", +"Asia/Gaza" => "Gaza/Asia (UTC+03:00)", +"Europe/Gibraltar" => "Gibraltar/Europe (UTC+02:00)", +"America/Glace_Bay" => "Glace_Bay/America (UTC-03:00)", +"America/Godthab" => "Godthab/America (UTC-02:00)", +"America/Goose_Bay" => "Goose_Bay/America (UTC-03:00)", +"America/Grand_Turk" => "Grand_Turk/America (UTC-04:00)", +"America/Grenada" => "Grenada/America (UTC-04:00)", +"Pacific/Guadalcanal" => "Guadalcanal/Pacific (UTC+11:00)", +"America/Guadeloupe" => "Guadeloupe/America (UTC-04:00)", +"Pacific/Guam" => "Guam/Pacific (UTC+10:00)", +"America/Guatemala" => "Guatemala/America (UTC-06:00)", +"America/Guayaquil" => "Guayaquil/America (UTC-05:00)", +"Europe/Guernsey" => "Guernsey/Europe (UTC+01:00)", +"America/Guyana" => "Guyana/America (UTC-04:00)", +"America/Halifax" => "Halifax/America (UTC-03:00)", +"Africa/Harare" => "Harare/Africa (UTC+02:00)", +"Asia/Harbin" => "Harbin/Asia (UTC+08:00)", +"America/Havana" => "Havana/America (UTC-04:00)", +"Asia/Hebron" => "Hebron/Asia (UTC+03:00)", +"Europe/Helsinki" => "Helsinki/Europe (UTC+03:00)", +"America/Hermosillo" => "Hermosillo/America (UTC-07:00)", +"Asia/Ho_Chi_Minh" => "Ho_Chi_Minh/Asia (UTC+07:00)", +"Australia/Hobart" => "Hobart/Australia (UTC+10:00)", +"Asia/Hong_Kong" => "Hong_Kong/Asia (UTC+08:00)", +"Pacific/Honolulu" => "Honolulu/Pacific (UTC-10:00)", +"Asia/Hovd" => "Hovd/Asia (UTC+07:00)", +"America/Indiana/Vincennes" => "Indiana/America (UTC-04:00)", +"America/Indiana/Winamac" => "Indiana/America (UTC-04:00)", +"America/Indiana/Indianapolis" => "Indiana/America (UTC-04:00)", +"America/Indiana/Marengo" => "Indiana/America (UTC-04:00)", +"America/Indiana/Petersburg" => "Indiana/America (UTC-04:00)", +"America/Indiana/Vevay" => "Indiana/America (UTC-04:00)", +"America/Indiana/Knox" => "Indiana/America (UTC-05:00)", +"America/Indiana/Tell_City" => "Indiana/America (UTC-05:00)", +"America/Inuvik" => "Inuvik/America (UTC-06:00)", +"America/Iqaluit" => "Iqaluit/America (UTC-04:00)", +"Asia/Irkutsk" => "Irkutsk/Asia (UTC+09:00)", +"Europe/Isle_of_Man" => "Isle_of_Man/Europe (UTC+01:00)", +"Europe/Istanbul" => "Istanbul/Europe (UTC+03:00)", +"Asia/Jakarta" => "Jakarta/Asia (UTC+07:00)", +"America/Jamaica" => "Jamaica/America (UTC-05:00)", +"Asia/Jayapura" => "Jayapura/Asia (UTC+09:00)", +"Europe/Jersey" => "Jersey/Europe (UTC+01:00)", +"Asia/Jerusalem" => "Jerusalem/Asia (UTC+03:00)", +"Africa/Johannesburg" => "Johannesburg/Africa (UTC+02:00)", +"Pacific/Johnston" => "Johnston/Pacific (UTC-10:00)", +"Africa/Juba" => "Juba/Africa (UTC+03:00)", +"America/Juneau" => "Juneau/America (UTC-08:00)", +"Asia/Kabul" => "Kabul/Asia (UTC+04:30)", +"Europe/Kaliningrad" => "Kaliningrad/Europe (UTC+03:00)", +"Asia/Kamchatka" => "Kamchatka/Asia (UTC+12:00)", +"Africa/Kampala" => "Kampala/Africa (UTC+03:00)", +"Asia/Karachi" => "Karachi/Asia (UTC+05:00)", +"Asia/Kashgar" => "Kashgar/Asia (UTC+08:00)", +"Asia/Kathmandu" => "Kathmandu/Asia (UTC+05:45)", +"America/Kentucky/Monticello" => "Kentucky/America (UTC-04:00)", +"America/Kentucky/Louisville" => "Kentucky/America (UTC-04:00)", +"Indian/Kerguelen" => "Kerguelen/Indian (UTC+05:00)", +"Asia/Khandyga" => "Khandyga/Asia (UTC+10:00)", +"Africa/Khartoum" => "Khartoum/Africa (UTC+03:00)", +"Europe/Kiev" => "Kiev/Europe (UTC+03:00)", +"Africa/Kigali" => "Kigali/Africa (UTC+02:00)", +"Africa/Kinshasa" => "Kinshasa/Africa (UTC+01:00)", +"Pacific/Kiritimati" => "Kiritimati/Pacific (UTC+14:00)", +"Asia/Kolkata" => "Kolkata/Asia (UTC+05:30)", +"Pacific/Kosrae" => "Kosrae/Pacific (UTC+11:00)", +"America/Kralendijk" => "Kralendijk/America (UTC-04:00)", +"Asia/Krasnoyarsk" => "Krasnoyarsk/Asia (UTC+08:00)", +"Asia/Kuala_Lumpur" => "Kuala_Lumpur/Asia (UTC+08:00)", +"Asia/Kuching" => "Kuching/Asia (UTC+08:00)", +"Asia/Kuwait" => "Kuwait/Asia (UTC+03:00)", +"Pacific/Kwajalein" => "Kwajalein/Pacific (UTC+12:00)", +"America/La_Paz" => "La_Paz/America (UTC-04:00)", +"Africa/Lagos" => "Lagos/Africa (UTC+01:00)", +"Africa/Libreville" => "Libreville/Africa (UTC+01:00)", +"America/Lima" => "Lima/America (UTC-05:00)", +"Australia/Lindeman" => "Lindeman/Australia (UTC+10:00)", +"Europe/Lisbon" => "Lisbon/Europe (UTC+01:00)", +"Europe/Ljubljana" => "Ljubljana/Europe (UTC+02:00)", +"Africa/Lome" => "Lome/Africa (UTC+00:00)", +"Europe/London" => "London/Europe (UTC+01:00)", +"Australia/Lord_Howe" => "Lord_Howe/Australia (UTC+10:30)", +"America/Los_Angeles" => "Los_Angeles/America (UTC-07:00)", +"America/Lower_Princes" => "Lower_Princes/America (UTC-04:00)", +"Africa/Luanda" => "Luanda/Africa (UTC+01:00)", +"Africa/Lubumbashi" => "Lubumbashi/Africa (UTC+02:00)", +"Africa/Lusaka" => "Lusaka/Africa (UTC+02:00)", +"Europe/Luxembourg" => "Luxembourg/Europe (UTC+02:00)", +"Asia/Macau" => "Macau/Asia (UTC+08:00)", +"America/Maceio" => "Maceio/America (UTC-03:00)", +"Antarctica/Macquarie" => "Macquarie/Antarctica (UTC+11:00)", +"Atlantic/Madeira" => "Madeira/Atlantic (UTC+01:00)", +"Europe/Madrid" => "Madrid/Europe (UTC+02:00)", +"Asia/Magadan" => "Magadan/Asia (UTC+12:00)", +"Indian/Mahe" => "Mahe/Indian (UTC+04:00)", +"Pacific/Majuro" => "Majuro/Pacific (UTC+12:00)", +"Asia/Makassar" => "Makassar/Asia (UTC+08:00)", +"Africa/Malabo" => "Malabo/Africa (UTC+01:00)", +"Indian/Maldives" => "Maldives/Indian (UTC+05:00)", +"Europe/Malta" => "Malta/Europe (UTC+02:00)", +"America/Managua" => "Managua/America (UTC-06:00)", +"America/Manaus" => "Manaus/America (UTC-04:00)", +"Asia/Manila" => "Manila/Asia (UTC+08:00)", +"Africa/Maputo" => "Maputo/Africa (UTC+02:00)", +"Europe/Mariehamn" => "Mariehamn/Europe (UTC+03:00)", +"America/Marigot" => "Marigot/America (UTC-04:00)", +"Pacific/Marquesas" => "Marquesas/Pacific (UTC-09:30)", +"America/Martinique" => "Martinique/America (UTC-04:00)", +"Africa/Maseru" => "Maseru/Africa (UTC+02:00)", +"America/Matamoros" => "Matamoros/America (UTC-05:00)", +"Indian/Mauritius" => "Mauritius/Indian (UTC+04:00)", +"Antarctica/Mawson" => "Mawson/Antarctica (UTC+05:00)", +"Indian/Mayotte" => "Mayotte/Indian (UTC+03:00)", +"America/Mazatlan" => "Mazatlan/America (UTC-06:00)", +"Africa/Mbabane" => "Mbabane/Africa (UTC+02:00)", +"Antarctica/McMurdo" => "McMurdo/Antarctica (UTC+12:00)", +"Australia/Melbourne" => "Melbourne/Australia (UTC+10:00)", +"America/Menominee" => "Menominee/America (UTC-05:00)", +"America/Merida" => "Merida/America (UTC-05:00)", +"America/Metlakatla" => "Metlakatla/America (UTC-08:00)", +"America/Mexico_City" => "Mexico_City/America (UTC-05:00)", +"Pacific/Midway" => "Midway/Pacific (UTC-11:00)", +"Europe/Minsk" => "Minsk/Europe (UTC+03:00)", +"America/Miquelon" => "Miquelon/America (UTC-02:00)", +"Africa/Mogadishu" => "Mogadishu/Africa (UTC+03:00)", +"Europe/Monaco" => "Monaco/Europe (UTC+02:00)", +"America/Moncton" => "Moncton/America (UTC-03:00)", +"Africa/Monrovia" => "Monrovia/Africa (UTC+00:00)", +"America/Monterrey" => "Monterrey/America (UTC-05:00)", +"America/Montevideo" => "Montevideo/America (UTC-03:00)", +"America/Montserrat" => "Montserrat/America (UTC-04:00)", +"Europe/Moscow" => "Moscow/Europe (UTC+04:00)", +"Asia/Muscat" => "Muscat/Asia (UTC+04:00)", +"Africa/Nairobi" => "Nairobi/Africa (UTC+03:00)", +"America/Nassau" => "Nassau/America (UTC-04:00)", +"Pacific/Nauru" => "Nauru/Pacific (UTC+12:00)", +"Africa/Ndjamena" => "Ndjamena/Africa (UTC+01:00)", +"America/New_York" => "New_York/America (UTC-04:00)", +"Africa/Niamey" => "Niamey/Africa (UTC+01:00)", +"Asia/Nicosia" => "Nicosia/Asia (UTC+03:00)", +"America/Nipigon" => "Nipigon/America (UTC-04:00)", +"Pacific/Niue" => "Niue/Pacific (UTC-11:00)", +"America/Nome" => "Nome/America (UTC-08:00)", +"Pacific/Norfolk" => "Norfolk/Pacific (UTC+11:30)", +"America/Noronha" => "Noronha/America (UTC-02:00)", +"America/North_Dakota/Center" => "North_Dakota/America (UTC-05:00)", +"America/North_Dakota/Beulah" => "North_Dakota/America (UTC-05:00)", +"America/North_Dakota/New_Salem" => "North_Dakota/America (UTC-05:00)", +"Africa/Nouakchott" => "Nouakchott/Africa (UTC+00:00)", +"Pacific/Noumea" => "Noumea/Pacific (UTC+11:00)", +"Asia/Novokuznetsk" => "Novokuznetsk/Asia (UTC+07:00)", +"Asia/Novosibirsk" => "Novosibirsk/Asia (UTC+07:00)", +"America/Ojinaga" => "Ojinaga/America (UTC-06:00)", +"Asia/Omsk" => "Omsk/Asia (UTC+07:00)", +"Asia/Oral" => "Oral/Asia (UTC+05:00)", +"Europe/Oslo" => "Oslo/Europe (UTC+02:00)", +"Africa/Ouagadougou" => "Ouagadougou/Africa (UTC+00:00)", +"Pacific/Pago_Pago" => "Pago_Pago/Pacific (UTC-11:00)", +"Pacific/Palau" => "Palau/Pacific (UTC+09:00)", +"Antarctica/Palmer" => "Palmer/Antarctica (UTC-04:00)", +"America/Panama" => "Panama/America (UTC-05:00)", +"America/Pangnirtung" => "Pangnirtung/America (UTC-04:00)", +"America/Paramaribo" => "Paramaribo/America (UTC-03:00)", +"Europe/Paris" => "Paris/Europe (UTC+02:00)", +"Australia/Perth" => "Perth/Australia (UTC+08:00)", +"Asia/Phnom_Penh" => "Phnom_Penh/Asia (UTC+07:00)", +"America/Phoenix" => "Phoenix/America (UTC-07:00)", +"Pacific/Pitcairn" => "Pitcairn/Pacific (UTC-08:00)", +"Europe/Podgorica" => "Podgorica/Europe (UTC+02:00)", +"Pacific/Pohnpei" => "Pohnpei/Pacific (UTC+11:00)", +"Asia/Pontianak" => "Pontianak/Asia (UTC+07:00)", +"America/Port-au-Prince" => "Port-au-Prince/America (UTC-04:00)", +"Pacific/Port_Moresby" => "Port_Moresby/Pacific (UTC+10:00)", +"America/Port_of_Spain" => "Port_of_Spain/America (UTC-04:00)", +"Africa/Porto-Novo" => "Porto-Novo/Africa (UTC+01:00)", +"America/Porto_Velho" => "Porto_Velho/America (UTC-04:00)", +"Europe/Prague" => "Prague/Europe (UTC+02:00)", +"America/Puerto_Rico" => "Puerto_Rico/America (UTC-04:00)", +"Asia/Pyongyang" => "Pyongyang/Asia (UTC+09:00)", +"Asia/Qatar" => "Qatar/Asia (UTC+03:00)", +"Asia/Qyzylorda" => "Qyzylorda/Asia (UTC+06:00)", +"America/Rainy_River" => "Rainy_River/America (UTC-05:00)", +"Asia/Rangoon" => "Rangoon/Asia (UTC+06:30)", +"America/Rankin_Inlet" => "Rankin_Inlet/America (UTC-05:00)", +"Pacific/Rarotonga" => "Rarotonga/Pacific (UTC-10:00)", +"America/Recife" => "Recife/America (UTC-03:00)", +"America/Regina" => "Regina/America (UTC-06:00)", +"America/Resolute" => "Resolute/America (UTC-05:00)", +"Indian/Reunion" => "Reunion/Indian (UTC+04:00)", +"Atlantic/Reykjavik" => "Reykjavik/Atlantic (UTC+00:00)", +"Europe/Riga" => "Riga/Europe (UTC+03:00)", +"America/Rio_Branco" => "Rio_Branco/America (UTC-05:00)", +"Asia/Riyadh" => "Riyadh/Asia (UTC+03:00)", +"Europe/Rome" => "Rome/Europe (UTC+02:00)", +"Antarctica/Rothera" => "Rothera/Antarctica (UTC-03:00)", +"Pacific/Saipan" => "Saipan/Pacific (UTC+10:00)", +"Asia/Sakhalin" => "Sakhalin/Asia (UTC+11:00)", +"Europe/Samara" => "Samara/Europe (UTC+04:00)", +"Asia/Samarkand" => "Samarkand/Asia (UTC+05:00)", +"Europe/San_Marino" => "San_Marino/Europe (UTC+02:00)", +"America/Santa_Isabel" => "Santa_Isabel/America (UTC-07:00)", +"America/Santarem" => "Santarem/America (UTC-03:00)", +"America/Santiago" => "Santiago/America (UTC-04:00)", +"America/Santo_Domingo" => "Santo_Domingo/America (UTC-04:00)", +"America/Sao_Paulo" => "Sao_Paulo/America (UTC-03:00)", +"Africa/Sao_Tome" => "Sao_Tome/Africa (UTC+00:00)", +"Europe/Sarajevo" => "Sarajevo/Europe (UTC+02:00)", +"America/Scoresbysund" => "Scoresbysund/America (UTC+00:00)", +"Asia/Seoul" => "Seoul/Asia (UTC+09:00)", +"Asia/Shanghai" => "Shanghai/Asia (UTC+08:00)", +"Europe/Simferopol" => "Simferopol/Europe (UTC+04:00)", +"Asia/Singapore" => "Singapore/Asia (UTC+08:00)", +"America/Sitka" => "Sitka/America (UTC-08:00)", +"Europe/Skopje" => "Skopje/Europe (UTC+02:00)", +"Europe/Sofia" => "Sofia/Europe (UTC+03:00)", +"Atlantic/South_Georgia" => "South_Georgia/Atlantic (UTC-02:00)", +"America/St_Barthelemy" => "St_Barthelemy/America (UTC-04:00)", +"Atlantic/St_Helena" => "St_Helena/Atlantic (UTC+00:00)", +"America/St_Johns" => "St_Johns/America (UTC-02:30)", +"America/St_Kitts" => "St_Kitts/America (UTC-04:00)", +"America/St_Lucia" => "St_Lucia/America (UTC-04:00)", +"America/St_Thomas" => "St_Thomas/America (UTC-04:00)", +"America/St_Vincent" => "St_Vincent/America (UTC-04:00)", +"Atlantic/Stanley" => "Stanley/Atlantic (UTC-03:00)", +"Europe/Stockholm" => "Stockholm/Europe (UTC+02:00)", +"America/Swift_Current" => "Swift_Current/America (UTC-06:00)", +"Australia/Sydney" => "Sydney/Australia (UTC+10:00)", +"Antarctica/Syowa" => "Syowa/Antarctica (UTC+03:00)", +"Pacific/Tahiti" => "Tahiti/Pacific (UTC-10:00)", +"Asia/Taipei" => "Taipei/Asia (UTC+08:00)", +"Europe/Tallinn" => "Tallinn/Europe (UTC+03:00)", +"Pacific/Tarawa" => "Tarawa/Pacific (UTC+12:00)", +"Asia/Tashkent" => "Tashkent/Asia (UTC+05:00)", +"Asia/Tbilisi" => "Tbilisi/Asia (UTC+04:00)", +"America/Tegucigalpa" => "Tegucigalpa/America (UTC-06:00)", +"Asia/Tehran" => "Tehran/Asia (UTC+04:30)", +"Asia/Thimphu" => "Thimphu/Asia (UTC+06:00)", +"America/Thule" => "Thule/America (UTC-03:00)", +"America/Thunder_Bay" => "Thunder_Bay/America (UTC-04:00)", +"America/Tijuana" => "Tijuana/America (UTC-07:00)", +"Europe/Tirane" => "Tirane/Europe (UTC+02:00)", +"Asia/Tokyo" => "Tokyo/Asia (UTC+09:00)", +"Pacific/Tongatapu" => "Tongatapu/Pacific (UTC+13:00)", +"America/Toronto" => "Toronto/America (UTC-04:00)", +"America/Tortola" => "Tortola/America (UTC-04:00)", +"Africa/Tripoli" => "Tripoli/Africa (UTC+02:00)", +"Antarctica/Troll" => "Troll/Antarctica (UTC+02:00)", +"Africa/Tunis" => "Tunis/Africa (UTC+01:00)", +"Asia/Ulaanbaatar" => "Ulaanbaatar/Asia (UTC+08:00)", +"Asia/Urumqi" => "Urumqi/Asia (UTC+08:00)", +"Asia/Ust-Nera" => "Ust-Nera/Asia (UTC+11:00)", +"Europe/Uzhgorod" => "Uzhgorod/Europe (UTC+03:00)", +"Europe/Vaduz" => "Vaduz/Europe (UTC+02:00)", +"America/Vancouver" => "Vancouver/America (UTC-07:00)", +"Europe/Vatican" => "Vatican/Europe (UTC+02:00)", +"Europe/Vienna" => "Vienna/Europe (UTC+02:00)", +"Asia/Vientiane" => "Vientiane/Asia (UTC+07:00)", +"Europe/Vilnius" => "Vilnius/Europe (UTC+03:00)", +"Asia/Vladivostok" => "Vladivostok/Asia (UTC+11:00)", +"Europe/Volgograd" => "Volgograd/Europe (UTC+04:00)", +"Antarctica/Vostok" => "Vostok/Antarctica (UTC+06:00)", +"Pacific/Wake" => "Wake/Pacific (UTC+12:00)", +"Pacific/Wallis" => "Wallis/Pacific (UTC+12:00)", +"Europe/Warsaw" => "Warsaw/Europe (UTC+02:00)", +"America/Whitehorse" => "Whitehorse/America (UTC-07:00)", +"Africa/Windhoek" => "Windhoek/Africa (UTC+01:00)", +"America/Winnipeg" => "Winnipeg/America (UTC-05:00)", +"America/Yakutat" => "Yakutat/America (UTC-08:00)", +"Asia/Yakutsk" => "Yakutsk/Asia (UTC+10:00)", +"Asia/Yekaterinburg" => "Yekaterinburg/Asia (UTC+06:00)", +"America/Yellowknife" => "Yellowknife/America (UTC-06:00)", +"Asia/Yerevan" => "Yerevan/Asia (UTC+04:00)", +"Europe/Zagreb" => "Zagreb/Europe (UTC+02:00)", +"Europe/Zaporozhye" => "Zaporozhye/Europe (UTC+03:00)", +"Europe/Zurich" => "Zurich/Europe (UTC+02:00)", +); \ No newline at end of file diff --git a/mud.php b/mud.php index 26b16990a..9147d6429 100644 --- a/mud.php +++ b/mud.php @@ -24,6 +24,9 @@ Here some requests you can do with me : case 'comploc': comploc(); break; + case 'comptz': + comptz(); + break; } } @@ -95,4 +98,23 @@ function comploc() { } } +function comptz() { + $file = HELPERS_PATH.'TimezoneList.php'; + $tz = generateTimezoneList(); + + $out = ' $value) + $out .= '"'.$key.'" => "'. $value . '",'."\n"; + + $out .= ');'; + + $fp = fopen($file, 'w'); + fwrite($fp, $out); + fclose($fp); + + echo "- Timezones compiled in $file\n"; +} + echo "\n";