Browse Source

Made everything translatable.

Nathaniel van Diepen 10 năm trước cách đây
mục cha
commit
cc8fb25145

BIN
lang/en/C/LC_MESSAGES/omninet.mo


+ 181 - 42
lang/en/C/LC_MESSAGES/omninet.po

@@ -1,8 +1,8 @@
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Project-Id-Version: Omninet\n"
 "Project-Id-Version: Omninet\n"
-"POT-Creation-Date: 2014-02-20 22:02-0700\n"
-"PO-Revision-Date: 2014-02-20 22:02-0700\n"
+"POT-Creation-Date: 2014-02-20 22:21-0700\n"
+"PO-Revision-Date: 2014-02-20 22:21-0700\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: en\n"
 "Language: en\n"
@@ -14,18 +14,117 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 "X-Poedit-SearchPath-0: ../../../..\n"
 "X-Poedit-SearchPath-0: ../../../..\n"
 
 
-#: ../../../../site/api/index.php:22
-msgid "Missing username and/or password"
+#: ../../../../lib/configuration.php:133 ../../../../lib/users.php:163
+msgid "Save"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:23
-msgid "Missing user type"
+#: ../../../../lib/irc.php:37
+msgid "Insufficient Parameters to login"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:32
-msgid "No token set"
+#: ../../../../lib/irc.php:40
+msgid "Account is not registered"
+msgstr ""
+
+#: ../../../../lib/irc.php:43
+msgid "Invalid Username/Password"
+msgstr ""
+
+#: ../../../../lib/irc.php:46
+msgid "Account is frozen"
+msgstr ""
+
+#: ../../../../lib/irc.php:49
+msgid "Could not log in"
+msgstr ""
+
+#: ../../../../lib/irc.php:132
+msgid "Could not connect."
+msgstr ""
+
+#: ../../../../lib/irc.php:133
+msgid "Could not set timeout."
+msgstr ""
+
+#: ../../../../lib/irc.php:143 ../../../../lib/irc.php:160
+#: ../../../../lib/irc.php:177
+msgid "RehashServ is already running."
+msgstr ""
+
+#: ../../../../lib/irc.php:145 ../../../../lib/irc.php:162
+#: ../../../../lib/irc.php:179
+msgid "IRC Server refused the connection."
+msgstr ""
+
+#: ../../../../lib/irc.php:166
+msgid "Failed to authenticate with NickServ"
+msgstr ""
+
+#: ../../../../lib/irc.php:183
+msgid "vhost not set."
+msgstr ""
+
+#: ../../../../lib/irc.php:203
+msgid "There is an error in the config. See console for output."
+msgstr ""
+
+#: ../../../../lib/irc.php:205
+msgid "Rehashed. View console for output."
+msgstr ""
+
+#: ../../../../lib/opers.php:56
+msgid "Managed Oper"
 msgstr ""
 msgstr ""
 
 
+#: ../../../../lib/opers.php:56
+msgid "Personal Oper"
+msgstr ""
+
+#: ../../../../lib/opers.php:59 ../../../../lib/servers.php:111
+#: ../../../../lib/users.php:143
+msgid "Nick"
+msgstr ""
+
+#: ../../../../lib/opers.php:65
+msgid "Omnimaga Profile"
+msgstr ""
+
+#: ../../../../lib/opers.php:71 ../../../../site/index.php:336
+msgid "New Password"
+msgstr ""
+
+#: ../../../../lib/security.php:63
+msgid "Invalid credentials"
+msgstr ""
+
+#: ../../../../lib/security.php:67 ../../../../lib/security.php:81
+#: ../../../../site/api/index.php:159 ../../../../site/index.php:349
+#: ../../../../site/index.php:403
+msgid "User"
+msgstr ""
+
+#: ../../../../lib/security.php:67 ../../../../lib/security.php:81
+#: ../../../../site/api/index.php:159
+msgid "does not exist"
+msgstr ""
+
+#: ../../../../lib/security.php:73
+msgid "Invalid persona email"
+msgstr ""
+
+#: ../../../../lib/security.php:84 ../../../../site/api/index.php:258
+msgid "Invalid password"
+msgstr ""
+
+#: ../../../../lib/security.php:102 ../../../../lib/security.php:171
+msgid "Failed to create Authy user"
+msgstr ""
+
+#: ../../../../lib/security.php:115
+msgid "Token didn't match "
+msgstr ""
+
+#: ../../../../lib/security.php:122 ../../../../lib/security.php:204
 #: ../../../../site/api/index.php:44 ../../../../site/api/index.php:77
 #: ../../../../site/api/index.php:44 ../../../../site/api/index.php:77
 #: ../../../../site/api/index.php:105 ../../../../site/api/index.php:154
 #: ../../../../site/api/index.php:105 ../../../../site/api/index.php:154
 #: ../../../../site/api/index.php:168 ../../../../site/api/index.php:230
 #: ../../../../site/api/index.php:168 ../../../../site/api/index.php:230
@@ -33,6 +132,71 @@ msgstr ""
 msgid "You have been logged out"
 msgid "You have been logged out"
 msgstr ""
 msgstr ""
 
 
+#: ../../../../lib/security.php:137 ../../../../lib/security.php:140
+#: ../../../../lib/security.php:150
+msgid "Failed to disable 2-factor authentication"
+msgstr ""
+
+#: ../../../../lib/security.php:178
+msgid "No cell number set"
+msgstr ""
+
+#: ../../../../lib/security.php:181
+msgid "No country code set"
+msgstr ""
+
+#: ../../../../lib/security.php:191
+msgid "Could not register"
+msgstr ""
+
+#: ../../../../lib/security.php:194
+msgid "No secret key defined"
+msgstr ""
+
+#: ../../../../lib/security.php:197
+msgid "No token provided"
+msgstr ""
+
+#: ../../../../lib/servers.php:104 ../../../../site/api/index.php:124
+msgid "Owner"
+msgstr ""
+
+#: ../../../../lib/servers.php:105 ../../../../lib/users.php:137
+msgid "Real Name"
+msgstr ""
+
+#: ../../../../lib/servers.php:105 ../../../../lib/users.php:149
+msgid "Email"
+msgstr ""
+
+#: ../../../../lib/servers.php:108 ../../../../site/index.php:182
+msgid "Opers"
+msgstr ""
+
+#: ../../../../lib/servers.php:111
+msgid "Role"
+msgstr ""
+
+#: ../../../../lib/servers.php:119
+msgid "Parent"
+msgstr ""
+
+#: ../../../../lib/servers.php:123
+msgid "Children"
+msgstr ""
+
+#: ../../../../site/api/index.php:22
+msgid "Missing username and/or password"
+msgstr ""
+
+#: ../../../../site/api/index.php:23
+msgid "Missing user type"
+msgstr ""
+
+#: ../../../../site/api/index.php:32
+msgid "No token set"
+msgstr ""
+
 #: ../../../../site/api/index.php:73
 #: ../../../../site/api/index.php:73
 msgid "Cannot fetch memos"
 msgid "Cannot fetch memos"
 msgstr ""
 msgstr ""
@@ -69,10 +233,6 @@ msgstr ""
 msgid "Admin"
 msgid "Admin"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:124
-msgid "Owner"
-msgstr ""
-
 #: ../../../../site/api/index.php:125
 #: ../../../../site/api/index.php:125
 msgid "Set"
 msgid "Set"
 msgstr ""
 msgstr ""
@@ -117,15 +277,6 @@ msgstr ""
 msgid "No message or user entered"
 msgid "No message or user entered"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:159 ../../../../site/index.php:349
-#: ../../../../site/index.php:403
-msgid "User"
-msgstr ""
-
-#: ../../../../site/api/index.php:159
-msgid "does not exist"
-msgstr ""
-
 #: ../../../../site/api/index.php:161
 #: ../../../../site/api/index.php:161
 msgid "Memo Sent"
 msgid "Memo Sent"
 msgstr ""
 msgstr ""
@@ -167,10 +318,6 @@ msgstr ""
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:258
-msgid "Invalid password"
-msgstr ""
-
 #: ../../../../site/api/index.php:263
 #: ../../../../site/api/index.php:263
 msgid "Could not update password with nickserv"
 msgid "Could not update password with nickserv"
 msgstr ""
 msgstr ""
@@ -311,10 +458,6 @@ msgstr ""
 msgid "Servers"
 msgid "Servers"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/index.php:182
-msgid "Opers"
-msgstr ""
-
 #: ../../../../site/index.php:183
 #: ../../../../site/index.php:183
 msgid "Configuration"
 msgid "Configuration"
 msgstr ""
 msgstr ""
@@ -379,10 +522,6 @@ msgstr ""
 msgid "Password"
 msgid "Password"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/index.php:336
-msgid "New Password"
-msgstr ""
-
 #: ../../../../site/index.php:360
 #: ../../../../site/index.php:360
 msgid "Switch"
 msgid "Switch"
 msgstr ""
 msgstr ""
@@ -435,35 +574,35 @@ msgstr ""
 msgid "Could not remove persona address"
 msgid "Could not remove persona address"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:327
+#: ../../../../site/js/index.js:338
 msgid "Server Ping"
 msgid "Server Ping"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:342 ../../../../site/js/index.js:425
+#: ../../../../site/js/index.js:353 ../../../../site/js/index.js:436
 msgid "Could not ping server"
 msgid "Could not ping server"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:350
+#: ../../../../site/js/index.js:361
 msgid "Fetching Memos"
 msgid "Fetching Memos"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:379 ../../../../site/js/index.js:462
-#: ../../../../site/js/index.js:496
+#: ../../../../site/js/index.js:390 ../../../../site/js/index.js:474
+#: ../../../../site/js/index.js:509
 msgid "Could not contact server"
 msgid "Could not contact server"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:406
+#: ../../../../site/js/index.js:417
 msgid "Deleting memo"
 msgid "Deleting memo"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:432
+#: ../../../../site/js/index.js:443
 msgid "Fetching News"
 msgid "Fetching News"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:454
+#: ../../../../site/js/index.js:465
 msgid "New news item"
 msgid "New news item"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:472
+#: ../../../../site/js/index.js:484
 msgid "Fetching Channels"
 msgid "Fetching Channels"
 msgstr ""
 msgstr ""

BIN
lang/en_CA/C/LC_MESSAGES/omninet.mo


+ 181 - 42
lang/en_CA/C/LC_MESSAGES/omninet.po

@@ -1,8 +1,8 @@
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Project-Id-Version: Omninet Control panel\n"
 "Project-Id-Version: Omninet Control panel\n"
-"POT-Creation-Date: 2014-02-20 22:01-0700\n"
-"PO-Revision-Date: 2014-02-20 22:01-0700\n"
+"POT-Creation-Date: 2014-02-20 22:21-0700\n"
+"PO-Revision-Date: 2014-02-20 22:21-0700\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: en_CA\n"
 "Language: en_CA\n"
@@ -14,18 +14,117 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 "X-Poedit-SearchPath-0: ../../../..\n"
 "X-Poedit-SearchPath-0: ../../../..\n"
 
 
-#: ../../../../site/api/index.php:22
-msgid "Missing username and/or password"
+#: ../../../../lib/configuration.php:133 ../../../../lib/users.php:163
+msgid "Save"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:23
-msgid "Missing user type"
+#: ../../../../lib/irc.php:37
+msgid "Insufficient Parameters to login"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:32
-msgid "No token set"
+#: ../../../../lib/irc.php:40
+msgid "Account is not registered"
+msgstr ""
+
+#: ../../../../lib/irc.php:43
+msgid "Invalid Username/Password"
+msgstr ""
+
+#: ../../../../lib/irc.php:46
+msgid "Account is frozen"
+msgstr ""
+
+#: ../../../../lib/irc.php:49
+msgid "Could not log in"
+msgstr ""
+
+#: ../../../../lib/irc.php:132
+msgid "Could not connect."
+msgstr ""
+
+#: ../../../../lib/irc.php:133
+msgid "Could not set timeout."
+msgstr ""
+
+#: ../../../../lib/irc.php:143 ../../../../lib/irc.php:160
+#: ../../../../lib/irc.php:177
+msgid "RehashServ is already running."
+msgstr ""
+
+#: ../../../../lib/irc.php:145 ../../../../lib/irc.php:162
+#: ../../../../lib/irc.php:179
+msgid "IRC Server refused the connection."
+msgstr ""
+
+#: ../../../../lib/irc.php:166
+msgid "Failed to authenticate with NickServ"
+msgstr ""
+
+#: ../../../../lib/irc.php:183
+msgid "vhost not set."
+msgstr ""
+
+#: ../../../../lib/irc.php:203
+msgid "There is an error in the config. See console for output."
+msgstr ""
+
+#: ../../../../lib/irc.php:205
+msgid "Rehashed. View console for output."
+msgstr ""
+
+#: ../../../../lib/opers.php:56
+msgid "Managed Oper"
 msgstr ""
 msgstr ""
 
 
+#: ../../../../lib/opers.php:56
+msgid "Personal Oper"
+msgstr ""
+
+#: ../../../../lib/opers.php:59 ../../../../lib/servers.php:111
+#: ../../../../lib/users.php:143
+msgid "Nick"
+msgstr ""
+
+#: ../../../../lib/opers.php:65
+msgid "Omnimaga Profile"
+msgstr ""
+
+#: ../../../../lib/opers.php:71 ../../../../site/index.php:336
+msgid "New Password"
+msgstr ""
+
+#: ../../../../lib/security.php:63
+msgid "Invalid credentials"
+msgstr ""
+
+#: ../../../../lib/security.php:67 ../../../../lib/security.php:81
+#: ../../../../site/api/index.php:159 ../../../../site/index.php:349
+#: ../../../../site/index.php:403
+msgid "User"
+msgstr ""
+
+#: ../../../../lib/security.php:67 ../../../../lib/security.php:81
+#: ../../../../site/api/index.php:159
+msgid "does not exist"
+msgstr ""
+
+#: ../../../../lib/security.php:73
+msgid "Invalid persona email"
+msgstr ""
+
+#: ../../../../lib/security.php:84 ../../../../site/api/index.php:258
+msgid "Invalid password"
+msgstr ""
+
+#: ../../../../lib/security.php:102 ../../../../lib/security.php:171
+msgid "Failed to create Authy user"
+msgstr ""
+
+#: ../../../../lib/security.php:115
+msgid "Token didn't match "
+msgstr ""
+
+#: ../../../../lib/security.php:122 ../../../../lib/security.php:204
 #: ../../../../site/api/index.php:44 ../../../../site/api/index.php:77
 #: ../../../../site/api/index.php:44 ../../../../site/api/index.php:77
 #: ../../../../site/api/index.php:105 ../../../../site/api/index.php:154
 #: ../../../../site/api/index.php:105 ../../../../site/api/index.php:154
 #: ../../../../site/api/index.php:168 ../../../../site/api/index.php:230
 #: ../../../../site/api/index.php:168 ../../../../site/api/index.php:230
@@ -33,6 +132,71 @@ msgstr ""
 msgid "You have been logged out"
 msgid "You have been logged out"
 msgstr ""
 msgstr ""
 
 
+#: ../../../../lib/security.php:137 ../../../../lib/security.php:140
+#: ../../../../lib/security.php:150
+msgid "Failed to disable 2-factor authentication"
+msgstr ""
+
+#: ../../../../lib/security.php:178
+msgid "No cell number set"
+msgstr ""
+
+#: ../../../../lib/security.php:181
+msgid "No country code set"
+msgstr ""
+
+#: ../../../../lib/security.php:191
+msgid "Could not register"
+msgstr ""
+
+#: ../../../../lib/security.php:194
+msgid "No secret key defined"
+msgstr ""
+
+#: ../../../../lib/security.php:197
+msgid "No token provided"
+msgstr ""
+
+#: ../../../../lib/servers.php:104 ../../../../site/api/index.php:124
+msgid "Owner"
+msgstr ""
+
+#: ../../../../lib/servers.php:105 ../../../../lib/users.php:137
+msgid "Real Name"
+msgstr ""
+
+#: ../../../../lib/servers.php:105 ../../../../lib/users.php:149
+msgid "Email"
+msgstr ""
+
+#: ../../../../lib/servers.php:108 ../../../../site/index.php:182
+msgid "Opers"
+msgstr ""
+
+#: ../../../../lib/servers.php:111
+msgid "Role"
+msgstr ""
+
+#: ../../../../lib/servers.php:119
+msgid "Parent"
+msgstr ""
+
+#: ../../../../lib/servers.php:123
+msgid "Children"
+msgstr ""
+
+#: ../../../../site/api/index.php:22
+msgid "Missing username and/or password"
+msgstr ""
+
+#: ../../../../site/api/index.php:23
+msgid "Missing user type"
+msgstr ""
+
+#: ../../../../site/api/index.php:32
+msgid "No token set"
+msgstr ""
+
 #: ../../../../site/api/index.php:73
 #: ../../../../site/api/index.php:73
 msgid "Cannot fetch memos"
 msgid "Cannot fetch memos"
 msgstr ""
 msgstr ""
@@ -69,10 +233,6 @@ msgstr ""
 msgid "Admin"
 msgid "Admin"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:124
-msgid "Owner"
-msgstr ""
-
 #: ../../../../site/api/index.php:125
 #: ../../../../site/api/index.php:125
 msgid "Set"
 msgid "Set"
 msgstr ""
 msgstr ""
@@ -117,15 +277,6 @@ msgstr ""
 msgid "No message or user entered"
 msgid "No message or user entered"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:159 ../../../../site/index.php:349
-#: ../../../../site/index.php:403
-msgid "User"
-msgstr ""
-
-#: ../../../../site/api/index.php:159
-msgid "does not exist"
-msgstr ""
-
 #: ../../../../site/api/index.php:161
 #: ../../../../site/api/index.php:161
 msgid "Memo Sent"
 msgid "Memo Sent"
 msgstr ""
 msgstr ""
@@ -167,10 +318,6 @@ msgstr ""
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:258
-msgid "Invalid password"
-msgstr ""
-
 #: ../../../../site/api/index.php:263
 #: ../../../../site/api/index.php:263
 msgid "Could not update password with nickserv"
 msgid "Could not update password with nickserv"
 msgstr ""
 msgstr ""
@@ -311,10 +458,6 @@ msgstr ""
 msgid "Servers"
 msgid "Servers"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/index.php:182
-msgid "Opers"
-msgstr ""
-
 #: ../../../../site/index.php:183
 #: ../../../../site/index.php:183
 msgid "Configuration"
 msgid "Configuration"
 msgstr ""
 msgstr ""
@@ -379,10 +522,6 @@ msgstr ""
 msgid "Password"
 msgid "Password"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/index.php:336
-msgid "New Password"
-msgstr ""
-
 #: ../../../../site/index.php:360
 #: ../../../../site/index.php:360
 msgid "Switch"
 msgid "Switch"
 msgstr ""
 msgstr ""
@@ -435,35 +574,35 @@ msgstr ""
 msgid "Could not remove persona address"
 msgid "Could not remove persona address"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:327
+#: ../../../../site/js/index.js:338
 msgid "Server Ping"
 msgid "Server Ping"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:342 ../../../../site/js/index.js:425
+#: ../../../../site/js/index.js:353 ../../../../site/js/index.js:436
 msgid "Could not ping server"
 msgid "Could not ping server"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:350
+#: ../../../../site/js/index.js:361
 msgid "Fetching Memos"
 msgid "Fetching Memos"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:379 ../../../../site/js/index.js:462
-#: ../../../../site/js/index.js:496
+#: ../../../../site/js/index.js:390 ../../../../site/js/index.js:474
+#: ../../../../site/js/index.js:509
 msgid "Could not contact server"
 msgid "Could not contact server"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:406
+#: ../../../../site/js/index.js:417
 msgid "Deleting memo"
 msgid "Deleting memo"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:432
+#: ../../../../site/js/index.js:443
 msgid "Fetching News"
 msgid "Fetching News"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:454
+#: ../../../../site/js/index.js:465
 msgid "New news item"
 msgid "New news item"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:472
+#: ../../../../site/js/index.js:484
 msgid "Fetching Channels"
 msgid "Fetching Channels"
 msgstr ""
 msgstr ""

BIN
lang/en_US/C/LC_MESSAGES/omninet.mo


+ 181 - 42
lang/en_US/C/LC_MESSAGES/omninet.po

@@ -1,8 +1,8 @@
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Project-Id-Version: Omninet Control panel\n"
 "Project-Id-Version: Omninet Control panel\n"
-"POT-Creation-Date: 2014-02-20 22:01-0700\n"
-"PO-Revision-Date: 2014-02-20 22:01-0700\n"
+"POT-Creation-Date: 2014-02-20 22:21-0700\n"
+"PO-Revision-Date: 2014-02-20 22:21-0700\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: en_US\n"
 "Language: en_US\n"
@@ -14,18 +14,117 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 "X-Poedit-SearchPath-0: ../../../..\n"
 "X-Poedit-SearchPath-0: ../../../..\n"
 
 
-#: ../../../../site/api/index.php:22
-msgid "Missing username and/or password"
+#: ../../../../lib/configuration.php:133 ../../../../lib/users.php:163
+msgid "Save"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:23
-msgid "Missing user type"
+#: ../../../../lib/irc.php:37
+msgid "Insufficient Parameters to login"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:32
-msgid "No token set"
+#: ../../../../lib/irc.php:40
+msgid "Account is not registered"
+msgstr ""
+
+#: ../../../../lib/irc.php:43
+msgid "Invalid Username/Password"
+msgstr ""
+
+#: ../../../../lib/irc.php:46
+msgid "Account is frozen"
+msgstr ""
+
+#: ../../../../lib/irc.php:49
+msgid "Could not log in"
+msgstr ""
+
+#: ../../../../lib/irc.php:132
+msgid "Could not connect."
+msgstr ""
+
+#: ../../../../lib/irc.php:133
+msgid "Could not set timeout."
+msgstr ""
+
+#: ../../../../lib/irc.php:143 ../../../../lib/irc.php:160
+#: ../../../../lib/irc.php:177
+msgid "RehashServ is already running."
+msgstr ""
+
+#: ../../../../lib/irc.php:145 ../../../../lib/irc.php:162
+#: ../../../../lib/irc.php:179
+msgid "IRC Server refused the connection."
+msgstr ""
+
+#: ../../../../lib/irc.php:166
+msgid "Failed to authenticate with NickServ"
+msgstr ""
+
+#: ../../../../lib/irc.php:183
+msgid "vhost not set."
+msgstr ""
+
+#: ../../../../lib/irc.php:203
+msgid "There is an error in the config. See console for output."
+msgstr ""
+
+#: ../../../../lib/irc.php:205
+msgid "Rehashed. View console for output."
+msgstr ""
+
+#: ../../../../lib/opers.php:56
+msgid "Managed Oper"
 msgstr ""
 msgstr ""
 
 
+#: ../../../../lib/opers.php:56
+msgid "Personal Oper"
+msgstr ""
+
+#: ../../../../lib/opers.php:59 ../../../../lib/servers.php:111
+#: ../../../../lib/users.php:143
+msgid "Nick"
+msgstr ""
+
+#: ../../../../lib/opers.php:65
+msgid "Omnimaga Profile"
+msgstr ""
+
+#: ../../../../lib/opers.php:71 ../../../../site/index.php:336
+msgid "New Password"
+msgstr ""
+
+#: ../../../../lib/security.php:63
+msgid "Invalid credentials"
+msgstr ""
+
+#: ../../../../lib/security.php:67 ../../../../lib/security.php:81
+#: ../../../../site/api/index.php:159 ../../../../site/index.php:349
+#: ../../../../site/index.php:403
+msgid "User"
+msgstr ""
+
+#: ../../../../lib/security.php:67 ../../../../lib/security.php:81
+#: ../../../../site/api/index.php:159
+msgid "does not exist"
+msgstr ""
+
+#: ../../../../lib/security.php:73
+msgid "Invalid persona email"
+msgstr ""
+
+#: ../../../../lib/security.php:84 ../../../../site/api/index.php:258
+msgid "Invalid password"
+msgstr ""
+
+#: ../../../../lib/security.php:102 ../../../../lib/security.php:171
+msgid "Failed to create Authy user"
+msgstr ""
+
+#: ../../../../lib/security.php:115
+msgid "Token didn't match "
+msgstr ""
+
+#: ../../../../lib/security.php:122 ../../../../lib/security.php:204
 #: ../../../../site/api/index.php:44 ../../../../site/api/index.php:77
 #: ../../../../site/api/index.php:44 ../../../../site/api/index.php:77
 #: ../../../../site/api/index.php:105 ../../../../site/api/index.php:154
 #: ../../../../site/api/index.php:105 ../../../../site/api/index.php:154
 #: ../../../../site/api/index.php:168 ../../../../site/api/index.php:230
 #: ../../../../site/api/index.php:168 ../../../../site/api/index.php:230
@@ -33,6 +132,71 @@ msgstr ""
 msgid "You have been logged out"
 msgid "You have been logged out"
 msgstr ""
 msgstr ""
 
 
+#: ../../../../lib/security.php:137 ../../../../lib/security.php:140
+#: ../../../../lib/security.php:150
+msgid "Failed to disable 2-factor authentication"
+msgstr ""
+
+#: ../../../../lib/security.php:178
+msgid "No cell number set"
+msgstr ""
+
+#: ../../../../lib/security.php:181
+msgid "No country code set"
+msgstr ""
+
+#: ../../../../lib/security.php:191
+msgid "Could not register"
+msgstr ""
+
+#: ../../../../lib/security.php:194
+msgid "No secret key defined"
+msgstr ""
+
+#: ../../../../lib/security.php:197
+msgid "No token provided"
+msgstr ""
+
+#: ../../../../lib/servers.php:104 ../../../../site/api/index.php:124
+msgid "Owner"
+msgstr ""
+
+#: ../../../../lib/servers.php:105 ../../../../lib/users.php:137
+msgid "Real Name"
+msgstr ""
+
+#: ../../../../lib/servers.php:105 ../../../../lib/users.php:149
+msgid "Email"
+msgstr ""
+
+#: ../../../../lib/servers.php:108 ../../../../site/index.php:182
+msgid "Opers"
+msgstr ""
+
+#: ../../../../lib/servers.php:111
+msgid "Role"
+msgstr ""
+
+#: ../../../../lib/servers.php:119
+msgid "Parent"
+msgstr ""
+
+#: ../../../../lib/servers.php:123
+msgid "Children"
+msgstr ""
+
+#: ../../../../site/api/index.php:22
+msgid "Missing username and/or password"
+msgstr ""
+
+#: ../../../../site/api/index.php:23
+msgid "Missing user type"
+msgstr ""
+
+#: ../../../../site/api/index.php:32
+msgid "No token set"
+msgstr ""
+
 #: ../../../../site/api/index.php:73
 #: ../../../../site/api/index.php:73
 msgid "Cannot fetch memos"
 msgid "Cannot fetch memos"
 msgstr ""
 msgstr ""
@@ -69,10 +233,6 @@ msgstr ""
 msgid "Admin"
 msgid "Admin"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:124
-msgid "Owner"
-msgstr ""
-
 #: ../../../../site/api/index.php:125
 #: ../../../../site/api/index.php:125
 msgid "Set"
 msgid "Set"
 msgstr ""
 msgstr ""
@@ -117,15 +277,6 @@ msgstr ""
 msgid "No message or user entered"
 msgid "No message or user entered"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:159 ../../../../site/index.php:349
-#: ../../../../site/index.php:403
-msgid "User"
-msgstr ""
-
-#: ../../../../site/api/index.php:159
-msgid "does not exist"
-msgstr ""
-
 #: ../../../../site/api/index.php:161
 #: ../../../../site/api/index.php:161
 msgid "Memo Sent"
 msgid "Memo Sent"
 msgstr ""
 msgstr ""
@@ -167,10 +318,6 @@ msgstr ""
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/api/index.php:258
-msgid "Invalid password"
-msgstr ""
-
 #: ../../../../site/api/index.php:263
 #: ../../../../site/api/index.php:263
 msgid "Could not update password with nickserv"
 msgid "Could not update password with nickserv"
 msgstr ""
 msgstr ""
@@ -311,10 +458,6 @@ msgstr ""
 msgid "Servers"
 msgid "Servers"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/index.php:182
-msgid "Opers"
-msgstr ""
-
 #: ../../../../site/index.php:183
 #: ../../../../site/index.php:183
 msgid "Configuration"
 msgid "Configuration"
 msgstr ""
 msgstr ""
@@ -379,10 +522,6 @@ msgstr ""
 msgid "Password"
 msgid "Password"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/index.php:336
-msgid "New Password"
-msgstr ""
-
 #: ../../../../site/index.php:360
 #: ../../../../site/index.php:360
 msgid "Switch"
 msgid "Switch"
 msgstr ""
 msgstr ""
@@ -435,35 +574,35 @@ msgstr ""
 msgid "Could not remove persona address"
 msgid "Could not remove persona address"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:327
+#: ../../../../site/js/index.js:338
 msgid "Server Ping"
 msgid "Server Ping"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:342 ../../../../site/js/index.js:425
+#: ../../../../site/js/index.js:353 ../../../../site/js/index.js:436
 msgid "Could not ping server"
 msgid "Could not ping server"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:350
+#: ../../../../site/js/index.js:361
 msgid "Fetching Memos"
 msgid "Fetching Memos"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:379 ../../../../site/js/index.js:462
-#: ../../../../site/js/index.js:496
+#: ../../../../site/js/index.js:390 ../../../../site/js/index.js:474
+#: ../../../../site/js/index.js:509
 msgid "Could not contact server"
 msgid "Could not contact server"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:406
+#: ../../../../site/js/index.js:417
 msgid "Deleting memo"
 msgid "Deleting memo"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:432
+#: ../../../../site/js/index.js:443
 msgid "Fetching News"
 msgid "Fetching News"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:454
+#: ../../../../site/js/index.js:465
 msgid "New news item"
 msgid "New news item"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:472
+#: ../../../../site/js/index.js:484
 msgid "Fetching Channels"
 msgid "Fetching Channels"
 msgstr ""
 msgstr ""

BIN
lang/fr/C/LC_MESSAGES/omninet.mo


+ 196 - 43
lang/fr/C/LC_MESSAGES/omninet.po

@@ -1,8 +1,8 @@
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Project-Id-Version: Omninet Control panel\n"
 "Project-Id-Version: Omninet Control panel\n"
-"POT-Creation-Date: 2014-02-20 22:01-0700\n"
-"PO-Revision-Date: 2014-02-20 22:01-0700\n"
+"POT-Creation-Date: 2014-02-20 22:21-0700\n"
+"PO-Revision-Date: 2014-02-20 22:21-0700\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: fr\n"
 "Language: fr\n"
@@ -14,6 +14,191 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 "X-Poedit-SearchPath-0: ../../../..\n"
 "X-Poedit-SearchPath-0: ../../../..\n"
 
 
+#: ../../../../lib/configuration.php:133 ../../../../lib/users.php:163
+msgid "Save"
+msgstr ""
+
+#: ../../../../lib/irc.php:37
+msgid "Insufficient Parameters to login"
+msgstr ""
+
+#: ../../../../lib/irc.php:40
+msgid "Account is not registered"
+msgstr ""
+
+#: ../../../../lib/irc.php:43
+#, fuzzy
+msgid "Invalid Username/Password"
+msgstr "Mot de passe invalide"
+
+#: ../../../../lib/irc.php:46
+msgid "Account is frozen"
+msgstr ""
+
+#: ../../../../lib/irc.php:49
+#, fuzzy
+msgid "Could not log in"
+msgstr "Ne peut vérifier avec NickServ"
+
+#: ../../../../lib/irc.php:132
+#, fuzzy
+msgid "Could not connect."
+msgstr "Ne peut vérifier avec NickServ"
+
+#: ../../../../lib/irc.php:133
+#, fuzzy
+msgid "Could not set timeout."
+msgstr "Ne peut vérifier avec NickServ"
+
+#: ../../../../lib/irc.php:143 ../../../../lib/irc.php:160
+#: ../../../../lib/irc.php:177
+msgid "RehashServ is already running."
+msgstr ""
+
+#: ../../../../lib/irc.php:145 ../../../../lib/irc.php:162
+#: ../../../../lib/irc.php:179
+msgid "IRC Server refused the connection."
+msgstr ""
+
+#: ../../../../lib/irc.php:166
+msgid "Failed to authenticate with NickServ"
+msgstr ""
+
+#: ../../../../lib/irc.php:183
+#, fuzzy
+msgid "vhost not set."
+msgstr "n'existe pas"
+
+#: ../../../../lib/irc.php:203
+msgid "There is an error in the config. See console for output."
+msgstr ""
+
+#: ../../../../lib/irc.php:205
+msgid "Rehashed. View console for output."
+msgstr ""
+
+#: ../../../../lib/opers.php:56
+msgid "Managed Oper"
+msgstr ""
+
+#: ../../../../lib/opers.php:56
+#, fuzzy
+msgid "Personal Oper"
+msgstr "Persona"
+
+#: ../../../../lib/opers.php:59 ../../../../lib/servers.php:111
+#: ../../../../lib/users.php:143
+msgid "Nick"
+msgstr ""
+
+#: ../../../../lib/opers.php:65
+#, fuzzy
+msgid "Omnimaga Profile"
+msgstr "Profil"
+
+#: ../../../../lib/opers.php:71 ../../../../site/index.php:336
+msgid "New Password"
+msgstr "Nouveau mot de passe"
+
+#: ../../../../lib/security.php:63
+#, fuzzy
+msgid "Invalid credentials"
+msgstr "Action invalide"
+
+#: ../../../../lib/security.php:67 ../../../../lib/security.php:81
+#: ../../../../site/api/index.php:159 ../../../../site/index.php:349
+#: ../../../../site/index.php:403
+msgid "User"
+msgstr "Utilisateur"
+
+#: ../../../../lib/security.php:67 ../../../../lib/security.php:81
+#: ../../../../site/api/index.php:159
+msgid "does not exist"
+msgstr "n'existe pas"
+
+#: ../../../../lib/security.php:73
+#, fuzzy
+msgid "Invalid persona email"
+msgstr "Impossible d'ajouter le courriel"
+
+#: ../../../../lib/security.php:84 ../../../../site/api/index.php:258
+msgid "Invalid password"
+msgstr "Mot de passe invalide"
+
+#: ../../../../lib/security.php:102 ../../../../lib/security.php:171
+#, fuzzy
+msgid "Failed to create Authy user"
+msgstr "Impossible de mettre à jour le réglage"
+
+#: ../../../../lib/security.php:115
+msgid "Token didn't match "
+msgstr ""
+
+#: ../../../../lib/security.php:122 ../../../../lib/security.php:204
+#: ../../../../site/api/index.php:44 ../../../../site/api/index.php:77
+#: ../../../../site/api/index.php:105 ../../../../site/api/index.php:154
+#: ../../../../site/api/index.php:168 ../../../../site/api/index.php:230
+#: ../../../../site/api/index.php:245 ../../../../site/api/index.php:253
+msgid "You have been logged out"
+msgstr "Vous avez été déconnecté"
+
+#: ../../../../lib/security.php:137 ../../../../lib/security.php:140
+#: ../../../../lib/security.php:150
+msgid "Failed to disable 2-factor authentication"
+msgstr ""
+
+#: ../../../../lib/security.php:178
+#, fuzzy
+msgid "No cell number set"
+msgstr "Aucun vrai nom défini."
+
+#: ../../../../lib/security.php:181
+#, fuzzy
+msgid "No country code set"
+msgstr "Aucun jeton défini"
+
+#: ../../../../lib/security.php:191
+#, fuzzy
+msgid "Could not register"
+msgstr "Ne peut vérifier avec NickServ"
+
+#: ../../../../lib/security.php:194
+msgid "No secret key defined"
+msgstr ""
+
+#: ../../../../lib/security.php:197
+#, fuzzy
+msgid "No token provided"
+msgstr "Aucun jeton défini"
+
+#: ../../../../lib/servers.php:104 ../../../../site/api/index.php:124
+msgid "Owner"
+msgstr "Propriétaire"
+
+#: ../../../../lib/servers.php:105 ../../../../lib/users.php:137
+msgid "Real Name"
+msgstr ""
+
+#: ../../../../lib/servers.php:105 ../../../../lib/users.php:149
+msgid "Email"
+msgstr ""
+
+#: ../../../../lib/servers.php:108 ../../../../site/index.php:182
+msgid "Opers"
+msgstr "Opérateurs"
+
+#: ../../../../lib/servers.php:111
+msgid "Role"
+msgstr ""
+
+#: ../../../../lib/servers.php:119
+msgid "Parent"
+msgstr ""
+
+#: ../../../../lib/servers.php:123
+msgid "Children"
+msgstr ""
+
 #: ../../../../site/api/index.php:22
 #: ../../../../site/api/index.php:22
 msgid "Missing username and/or password"
 msgid "Missing username and/or password"
 msgstr "Nom d'utilisateur et/ou mot de passe manquant"
 msgstr "Nom d'utilisateur et/ou mot de passe manquant"
@@ -26,13 +211,6 @@ msgstr "Type d'utilisateur manquant"
 msgid "No token set"
 msgid "No token set"
 msgstr "Aucun jeton défini"
 msgstr "Aucun jeton défini"
 
 
-#: ../../../../site/api/index.php:44 ../../../../site/api/index.php:77
-#: ../../../../site/api/index.php:105 ../../../../site/api/index.php:154
-#: ../../../../site/api/index.php:168 ../../../../site/api/index.php:230
-#: ../../../../site/api/index.php:245 ../../../../site/api/index.php:253
-msgid "You have been logged out"
-msgstr "Vous avez été déconnecté"
-
 #: ../../../../site/api/index.php:73
 #: ../../../../site/api/index.php:73
 msgid "Cannot fetch memos"
 msgid "Cannot fetch memos"
 msgstr "Impossible de récupérer les mémos"
 msgstr "Impossible de récupérer les mémos"
@@ -69,10 +247,6 @@ msgstr "Opérateur automatique"
 msgid "Admin"
 msgid "Admin"
 msgstr "Administrateur"
 msgstr "Administrateur"
 
 
-#: ../../../../site/api/index.php:124
-msgid "Owner"
-msgstr "Propriétaire"
-
 #: ../../../../site/api/index.php:125
 #: ../../../../site/api/index.php:125
 msgid "Set"
 msgid "Set"
 msgstr "Définir"
 msgstr "Définir"
@@ -117,15 +291,6 @@ msgstr "Impossible de récupérer les canaux"
 msgid "No message or user entered"
 msgid "No message or user entered"
 msgstr "Aucun message ou utilisateur entré"
 msgstr "Aucun message ou utilisateur entré"
 
 
-#: ../../../../site/api/index.php:159 ../../../../site/index.php:349
-#: ../../../../site/index.php:403
-msgid "User"
-msgstr "Utilisateur"
-
-#: ../../../../site/api/index.php:159
-msgid "does not exist"
-msgstr "n'existe pas"
-
 #: ../../../../site/api/index.php:161
 #: ../../../../site/api/index.php:161
 msgid "Memo Sent"
 msgid "Memo Sent"
 msgstr "Mémo envoyé"
 msgstr "Mémo envoyé"
@@ -169,10 +334,6 @@ msgstr ""
 "Assurez-vous que tous les champs sont remplis. Essayez de recharger si c'est "
 "Assurez-vous que tous les champs sont remplis. Essayez de recharger si c'est "
 "le cas."
 "le cas."
 
 
-#: ../../../../site/api/index.php:258
-msgid "Invalid password"
-msgstr "Mot de passe invalide"
-
 #: ../../../../site/api/index.php:263
 #: ../../../../site/api/index.php:263
 msgid "Could not update password with nickserv"
 msgid "Could not update password with nickserv"
 msgstr "Impossible de mettre à jour le mot de passe avec NickServ"
 msgstr "Impossible de mettre à jour le mot de passe avec NickServ"
@@ -315,10 +476,6 @@ msgstr "Canaux"
 msgid "Servers"
 msgid "Servers"
 msgstr "Serveurs"
 msgstr "Serveurs"
 
 
-#: ../../../../site/index.php:182
-msgid "Opers"
-msgstr "Opérateurs"
-
 #: ../../../../site/index.php:183
 #: ../../../../site/index.php:183
 msgid "Configuration"
 msgid "Configuration"
 msgstr "Configuration"
 msgstr "Configuration"
@@ -383,10 +540,6 @@ msgstr "Se déconnecter"
 msgid "Password"
 msgid "Password"
 msgstr "Mot de passe"
 msgstr "Mot de passe"
 
 
-#: ../../../../site/index.php:336
-msgid "New Password"
-msgstr "Nouveau mot de passe"
-
 #: ../../../../site/index.php:360
 #: ../../../../site/index.php:360
 msgid "Switch"
 msgid "Switch"
 msgstr "Changer"
 msgstr "Changer"
@@ -441,39 +594,39 @@ msgstr ""
 msgid "Could not remove persona address"
 msgid "Could not remove persona address"
 msgstr "Ne peut enlever le courriel"
 msgstr "Ne peut enlever le courriel"
 
 
-#: ../../../../site/js/index.js:327
+#: ../../../../site/js/index.js:338
 #, fuzzy
 #, fuzzy
 msgid "Server Ping"
 msgid "Server Ping"
 msgstr "Serveurs"
 msgstr "Serveurs"
 
 
-#: ../../../../site/js/index.js:342 ../../../../site/js/index.js:425
+#: ../../../../site/js/index.js:353 ../../../../site/js/index.js:436
 #, fuzzy
 #, fuzzy
 msgid "Could not ping server"
 msgid "Could not ping server"
 msgstr "Ne peut vérifier avec NickServ"
 msgstr "Ne peut vérifier avec NickServ"
 
 
-#: ../../../../site/js/index.js:350
+#: ../../../../site/js/index.js:361
 msgid "Fetching Memos"
 msgid "Fetching Memos"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:379 ../../../../site/js/index.js:462
-#: ../../../../site/js/index.js:496
+#: ../../../../site/js/index.js:390 ../../../../site/js/index.js:474
+#: ../../../../site/js/index.js:509
 msgid "Could not contact server"
 msgid "Could not contact server"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:406
+#: ../../../../site/js/index.js:417
 #, fuzzy
 #, fuzzy
 msgid "Deleting memo"
 msgid "Deleting memo"
 msgstr "Supprimer"
 msgstr "Supprimer"
 
 
-#: ../../../../site/js/index.js:432
+#: ../../../../site/js/index.js:443
 msgid "Fetching News"
 msgid "Fetching News"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:454
+#: ../../../../site/js/index.js:465
 msgid "New news item"
 msgid "New news item"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:472
+#: ../../../../site/js/index.js:484
 #, fuzzy
 #, fuzzy
 msgid "Fetching Channels"
 msgid "Fetching Channels"
 msgstr "Nouveau canal"
 msgstr "Nouveau canal"

BIN
lang/fr_CA/C/LC_MESSAGES/omninet.mo


+ 196 - 43
lang/fr_CA/C/LC_MESSAGES/omninet.po

@@ -1,8 +1,8 @@
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Project-Id-Version: Omninet Control panel\n"
 "Project-Id-Version: Omninet Control panel\n"
-"POT-Creation-Date: 2014-02-20 22:00-0700\n"
-"PO-Revision-Date: 2014-02-20 22:00-0700\n"
+"POT-Creation-Date: 2014-02-20 22:22-0700\n"
+"PO-Revision-Date: 2014-02-20 22:22-0700\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: fr_CA\n"
 "Language: fr_CA\n"
@@ -14,6 +14,191 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 "X-Poedit-SearchPath-0: ../../../..\n"
 "X-Poedit-SearchPath-0: ../../../..\n"
 
 
+#: ../../../../lib/configuration.php:133 ../../../../lib/users.php:163
+msgid "Save"
+msgstr ""
+
+#: ../../../../lib/irc.php:37
+msgid "Insufficient Parameters to login"
+msgstr ""
+
+#: ../../../../lib/irc.php:40
+msgid "Account is not registered"
+msgstr ""
+
+#: ../../../../lib/irc.php:43
+#, fuzzy
+msgid "Invalid Username/Password"
+msgstr "Mot de passe invalide"
+
+#: ../../../../lib/irc.php:46
+msgid "Account is frozen"
+msgstr ""
+
+#: ../../../../lib/irc.php:49
+#, fuzzy
+msgid "Could not log in"
+msgstr "Ne peut vérifier avec NickServ"
+
+#: ../../../../lib/irc.php:132
+#, fuzzy
+msgid "Could not connect."
+msgstr "Ne peut vérifier avec NickServ"
+
+#: ../../../../lib/irc.php:133
+#, fuzzy
+msgid "Could not set timeout."
+msgstr "Ne peut vérifier avec NickServ"
+
+#: ../../../../lib/irc.php:143 ../../../../lib/irc.php:160
+#: ../../../../lib/irc.php:177
+msgid "RehashServ is already running."
+msgstr ""
+
+#: ../../../../lib/irc.php:145 ../../../../lib/irc.php:162
+#: ../../../../lib/irc.php:179
+msgid "IRC Server refused the connection."
+msgstr ""
+
+#: ../../../../lib/irc.php:166
+msgid "Failed to authenticate with NickServ"
+msgstr ""
+
+#: ../../../../lib/irc.php:183
+#, fuzzy
+msgid "vhost not set."
+msgstr "n'existe pas"
+
+#: ../../../../lib/irc.php:203
+msgid "There is an error in the config. See console for output."
+msgstr ""
+
+#: ../../../../lib/irc.php:205
+msgid "Rehashed. View console for output."
+msgstr ""
+
+#: ../../../../lib/opers.php:56
+msgid "Managed Oper"
+msgstr ""
+
+#: ../../../../lib/opers.php:56
+#, fuzzy
+msgid "Personal Oper"
+msgstr "Persona"
+
+#: ../../../../lib/opers.php:59 ../../../../lib/servers.php:111
+#: ../../../../lib/users.php:143
+msgid "Nick"
+msgstr ""
+
+#: ../../../../lib/opers.php:65
+#, fuzzy
+msgid "Omnimaga Profile"
+msgstr "Profil"
+
+#: ../../../../lib/opers.php:71 ../../../../site/index.php:336
+msgid "New Password"
+msgstr "Nouveau mot de passe"
+
+#: ../../../../lib/security.php:63
+#, fuzzy
+msgid "Invalid credentials"
+msgstr "Action invalide"
+
+#: ../../../../lib/security.php:67 ../../../../lib/security.php:81
+#: ../../../../site/api/index.php:159 ../../../../site/index.php:349
+#: ../../../../site/index.php:403
+msgid "User"
+msgstr "Utilisateur"
+
+#: ../../../../lib/security.php:67 ../../../../lib/security.php:81
+#: ../../../../site/api/index.php:159
+msgid "does not exist"
+msgstr "n'existe pas"
+
+#: ../../../../lib/security.php:73
+#, fuzzy
+msgid "Invalid persona email"
+msgstr "Impossible d'ajouter le courriel"
+
+#: ../../../../lib/security.php:84 ../../../../site/api/index.php:258
+msgid "Invalid password"
+msgstr "Mot de passe invalide"
+
+#: ../../../../lib/security.php:102 ../../../../lib/security.php:171
+#, fuzzy
+msgid "Failed to create Authy user"
+msgstr "Impossible de mettre à jour le réglage"
+
+#: ../../../../lib/security.php:115
+msgid "Token didn't match "
+msgstr ""
+
+#: ../../../../lib/security.php:122 ../../../../lib/security.php:204
+#: ../../../../site/api/index.php:44 ../../../../site/api/index.php:77
+#: ../../../../site/api/index.php:105 ../../../../site/api/index.php:154
+#: ../../../../site/api/index.php:168 ../../../../site/api/index.php:230
+#: ../../../../site/api/index.php:245 ../../../../site/api/index.php:253
+msgid "You have been logged out"
+msgstr "Vous avez été déconnecté"
+
+#: ../../../../lib/security.php:137 ../../../../lib/security.php:140
+#: ../../../../lib/security.php:150
+msgid "Failed to disable 2-factor authentication"
+msgstr ""
+
+#: ../../../../lib/security.php:178
+#, fuzzy
+msgid "No cell number set"
+msgstr "Aucun vrai nom défini."
+
+#: ../../../../lib/security.php:181
+#, fuzzy
+msgid "No country code set"
+msgstr "Aucun jeton défini"
+
+#: ../../../../lib/security.php:191
+#, fuzzy
+msgid "Could not register"
+msgstr "Ne peut vérifier avec NickServ"
+
+#: ../../../../lib/security.php:194
+msgid "No secret key defined"
+msgstr ""
+
+#: ../../../../lib/security.php:197
+#, fuzzy
+msgid "No token provided"
+msgstr "Aucun jeton défini"
+
+#: ../../../../lib/servers.php:104 ../../../../site/api/index.php:124
+msgid "Owner"
+msgstr "Propriétaire"
+
+#: ../../../../lib/servers.php:105 ../../../../lib/users.php:137
+msgid "Real Name"
+msgstr ""
+
+#: ../../../../lib/servers.php:105 ../../../../lib/users.php:149
+msgid "Email"
+msgstr ""
+
+#: ../../../../lib/servers.php:108 ../../../../site/index.php:182
+msgid "Opers"
+msgstr "Opérateurs"
+
+#: ../../../../lib/servers.php:111
+msgid "Role"
+msgstr ""
+
+#: ../../../../lib/servers.php:119
+msgid "Parent"
+msgstr ""
+
+#: ../../../../lib/servers.php:123
+msgid "Children"
+msgstr ""
+
 #: ../../../../site/api/index.php:22
 #: ../../../../site/api/index.php:22
 msgid "Missing username and/or password"
 msgid "Missing username and/or password"
 msgstr "Nom d'utilisateur et/ou mot de passe manquant"
 msgstr "Nom d'utilisateur et/ou mot de passe manquant"
@@ -26,13 +211,6 @@ msgstr "Type d'utilisateur manquant"
 msgid "No token set"
 msgid "No token set"
 msgstr "Aucun jeton défini"
 msgstr "Aucun jeton défini"
 
 
-#: ../../../../site/api/index.php:44 ../../../../site/api/index.php:77
-#: ../../../../site/api/index.php:105 ../../../../site/api/index.php:154
-#: ../../../../site/api/index.php:168 ../../../../site/api/index.php:230
-#: ../../../../site/api/index.php:245 ../../../../site/api/index.php:253
-msgid "You have been logged out"
-msgstr "Vous avez été déconnecté"
-
 #: ../../../../site/api/index.php:73
 #: ../../../../site/api/index.php:73
 msgid "Cannot fetch memos"
 msgid "Cannot fetch memos"
 msgstr "Impossible de récupérer les mémos"
 msgstr "Impossible de récupérer les mémos"
@@ -69,10 +247,6 @@ msgstr "Opérateur automatique"
 msgid "Admin"
 msgid "Admin"
 msgstr "Administrateur"
 msgstr "Administrateur"
 
 
-#: ../../../../site/api/index.php:124
-msgid "Owner"
-msgstr "Propriétaire"
-
 #: ../../../../site/api/index.php:125
 #: ../../../../site/api/index.php:125
 msgid "Set"
 msgid "Set"
 msgstr "Définir"
 msgstr "Définir"
@@ -117,15 +291,6 @@ msgstr "Impossible de récupérer les canaux"
 msgid "No message or user entered"
 msgid "No message or user entered"
 msgstr "Aucun message ou utilisateur entré"
 msgstr "Aucun message ou utilisateur entré"
 
 
-#: ../../../../site/api/index.php:159 ../../../../site/index.php:349
-#: ../../../../site/index.php:403
-msgid "User"
-msgstr "Utilisateur"
-
-#: ../../../../site/api/index.php:159
-msgid "does not exist"
-msgstr "n'existe pas"
-
 #: ../../../../site/api/index.php:161
 #: ../../../../site/api/index.php:161
 msgid "Memo Sent"
 msgid "Memo Sent"
 msgstr "Mémo envoyé"
 msgstr "Mémo envoyé"
@@ -169,10 +334,6 @@ msgstr ""
 "Assurez-vous que tous les champs sont remplis. Essayez de recharger si c'est "
 "Assurez-vous que tous les champs sont remplis. Essayez de recharger si c'est "
 "le cas."
 "le cas."
 
 
-#: ../../../../site/api/index.php:258
-msgid "Invalid password"
-msgstr "Mot de passe invalide"
-
 #: ../../../../site/api/index.php:263
 #: ../../../../site/api/index.php:263
 msgid "Could not update password with nickserv"
 msgid "Could not update password with nickserv"
 msgstr "Impossible de mettre à jour le mot de passe avec NickServ"
 msgstr "Impossible de mettre à jour le mot de passe avec NickServ"
@@ -315,10 +476,6 @@ msgstr "Canaux"
 msgid "Servers"
 msgid "Servers"
 msgstr "Serveurs"
 msgstr "Serveurs"
 
 
-#: ../../../../site/index.php:182
-msgid "Opers"
-msgstr "Opérateurs"
-
 #: ../../../../site/index.php:183
 #: ../../../../site/index.php:183
 msgid "Configuration"
 msgid "Configuration"
 msgstr "Configuration"
 msgstr "Configuration"
@@ -383,10 +540,6 @@ msgstr "Se déconnecter"
 msgid "Password"
 msgid "Password"
 msgstr "Mot de passe"
 msgstr "Mot de passe"
 
 
-#: ../../../../site/index.php:336
-msgid "New Password"
-msgstr "Nouveau mot de passe"
-
 #: ../../../../site/index.php:360
 #: ../../../../site/index.php:360
 msgid "Switch"
 msgid "Switch"
 msgstr "Changer"
 msgstr "Changer"
@@ -441,39 +594,39 @@ msgstr ""
 msgid "Could not remove persona address"
 msgid "Could not remove persona address"
 msgstr "Ne peut enlever le courriel"
 msgstr "Ne peut enlever le courriel"
 
 
-#: ../../../../site/js/index.js:327
+#: ../../../../site/js/index.js:338
 #, fuzzy
 #, fuzzy
 msgid "Server Ping"
 msgid "Server Ping"
 msgstr "Serveurs"
 msgstr "Serveurs"
 
 
-#: ../../../../site/js/index.js:342 ../../../../site/js/index.js:425
+#: ../../../../site/js/index.js:353 ../../../../site/js/index.js:436
 #, fuzzy
 #, fuzzy
 msgid "Could not ping server"
 msgid "Could not ping server"
 msgstr "Ne peut vérifier avec NickServ"
 msgstr "Ne peut vérifier avec NickServ"
 
 
-#: ../../../../site/js/index.js:350
+#: ../../../../site/js/index.js:361
 msgid "Fetching Memos"
 msgid "Fetching Memos"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:379 ../../../../site/js/index.js:462
-#: ../../../../site/js/index.js:496
+#: ../../../../site/js/index.js:390 ../../../../site/js/index.js:474
+#: ../../../../site/js/index.js:509
 msgid "Could not contact server"
 msgid "Could not contact server"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:406
+#: ../../../../site/js/index.js:417
 #, fuzzy
 #, fuzzy
 msgid "Deleting memo"
 msgid "Deleting memo"
 msgstr "Supprimer"
 msgstr "Supprimer"
 
 
-#: ../../../../site/js/index.js:432
+#: ../../../../site/js/index.js:443
 msgid "Fetching News"
 msgid "Fetching News"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:454
+#: ../../../../site/js/index.js:465
 msgid "New news item"
 msgid "New news item"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:472
+#: ../../../../site/js/index.js:484
 #, fuzzy
 #, fuzzy
 msgid "Fetching Channels"
 msgid "Fetching Channels"
 msgstr "Nouveau canal"
 msgstr "Nouveau canal"

BIN
lang/fr_FR/C/LC_MESSAGES/omninet.mo


+ 196 - 43
lang/fr_FR/C/LC_MESSAGES/omninet.po

@@ -1,8 +1,8 @@
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Project-Id-Version: Omninet Control panel\n"
 "Project-Id-Version: Omninet Control panel\n"
-"POT-Creation-Date: 2014-02-20 22:00-0700\n"
-"PO-Revision-Date: 2014-02-20 22:00-0700\n"
+"POT-Creation-Date: 2014-02-20 22:22-0700\n"
+"PO-Revision-Date: 2014-02-20 22:22-0700\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: fr\n"
 "Language: fr\n"
@@ -14,6 +14,191 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 "X-Poedit-SearchPath-0: ../../../..\n"
 "X-Poedit-SearchPath-0: ../../../..\n"
 
 
+#: ../../../../lib/configuration.php:133 ../../../../lib/users.php:163
+msgid "Save"
+msgstr ""
+
+#: ../../../../lib/irc.php:37
+msgid "Insufficient Parameters to login"
+msgstr ""
+
+#: ../../../../lib/irc.php:40
+msgid "Account is not registered"
+msgstr ""
+
+#: ../../../../lib/irc.php:43
+#, fuzzy
+msgid "Invalid Username/Password"
+msgstr "Mot de passe invalide"
+
+#: ../../../../lib/irc.php:46
+msgid "Account is frozen"
+msgstr ""
+
+#: ../../../../lib/irc.php:49
+#, fuzzy
+msgid "Could not log in"
+msgstr "Ne peut vérifier avec NickServ"
+
+#: ../../../../lib/irc.php:132
+#, fuzzy
+msgid "Could not connect."
+msgstr "Ne peut vérifier avec NickServ"
+
+#: ../../../../lib/irc.php:133
+#, fuzzy
+msgid "Could not set timeout."
+msgstr "Ne peut vérifier avec NickServ"
+
+#: ../../../../lib/irc.php:143 ../../../../lib/irc.php:160
+#: ../../../../lib/irc.php:177
+msgid "RehashServ is already running."
+msgstr ""
+
+#: ../../../../lib/irc.php:145 ../../../../lib/irc.php:162
+#: ../../../../lib/irc.php:179
+msgid "IRC Server refused the connection."
+msgstr ""
+
+#: ../../../../lib/irc.php:166
+msgid "Failed to authenticate with NickServ"
+msgstr ""
+
+#: ../../../../lib/irc.php:183
+#, fuzzy
+msgid "vhost not set."
+msgstr "n'existe pas"
+
+#: ../../../../lib/irc.php:203
+msgid "There is an error in the config. See console for output."
+msgstr ""
+
+#: ../../../../lib/irc.php:205
+msgid "Rehashed. View console for output."
+msgstr ""
+
+#: ../../../../lib/opers.php:56
+msgid "Managed Oper"
+msgstr ""
+
+#: ../../../../lib/opers.php:56
+#, fuzzy
+msgid "Personal Oper"
+msgstr "Persona"
+
+#: ../../../../lib/opers.php:59 ../../../../lib/servers.php:111
+#: ../../../../lib/users.php:143
+msgid "Nick"
+msgstr ""
+
+#: ../../../../lib/opers.php:65
+#, fuzzy
+msgid "Omnimaga Profile"
+msgstr "Profil"
+
+#: ../../../../lib/opers.php:71 ../../../../site/index.php:336
+msgid "New Password"
+msgstr "Nouveau mot de passe"
+
+#: ../../../../lib/security.php:63
+#, fuzzy
+msgid "Invalid credentials"
+msgstr "Action invalide"
+
+#: ../../../../lib/security.php:67 ../../../../lib/security.php:81
+#: ../../../../site/api/index.php:159 ../../../../site/index.php:349
+#: ../../../../site/index.php:403
+msgid "User"
+msgstr "Utilisateur"
+
+#: ../../../../lib/security.php:67 ../../../../lib/security.php:81
+#: ../../../../site/api/index.php:159
+msgid "does not exist"
+msgstr "n'existe pas"
+
+#: ../../../../lib/security.php:73
+#, fuzzy
+msgid "Invalid persona email"
+msgstr "Impossible d'ajouter le courriel"
+
+#: ../../../../lib/security.php:84 ../../../../site/api/index.php:258
+msgid "Invalid password"
+msgstr "Mot de passe invalide"
+
+#: ../../../../lib/security.php:102 ../../../../lib/security.php:171
+#, fuzzy
+msgid "Failed to create Authy user"
+msgstr "Impossible de mettre à jour le réglage"
+
+#: ../../../../lib/security.php:115
+msgid "Token didn't match "
+msgstr ""
+
+#: ../../../../lib/security.php:122 ../../../../lib/security.php:204
+#: ../../../../site/api/index.php:44 ../../../../site/api/index.php:77
+#: ../../../../site/api/index.php:105 ../../../../site/api/index.php:154
+#: ../../../../site/api/index.php:168 ../../../../site/api/index.php:230
+#: ../../../../site/api/index.php:245 ../../../../site/api/index.php:253
+msgid "You have been logged out"
+msgstr "Vous avez été déconnecté"
+
+#: ../../../../lib/security.php:137 ../../../../lib/security.php:140
+#: ../../../../lib/security.php:150
+msgid "Failed to disable 2-factor authentication"
+msgstr ""
+
+#: ../../../../lib/security.php:178
+#, fuzzy
+msgid "No cell number set"
+msgstr "Aucun vrai nom défini."
+
+#: ../../../../lib/security.php:181
+#, fuzzy
+msgid "No country code set"
+msgstr "Aucun jeton défini"
+
+#: ../../../../lib/security.php:191
+#, fuzzy
+msgid "Could not register"
+msgstr "Ne peut vérifier avec NickServ"
+
+#: ../../../../lib/security.php:194
+msgid "No secret key defined"
+msgstr ""
+
+#: ../../../../lib/security.php:197
+#, fuzzy
+msgid "No token provided"
+msgstr "Aucun jeton défini"
+
+#: ../../../../lib/servers.php:104 ../../../../site/api/index.php:124
+msgid "Owner"
+msgstr "Propriétaire"
+
+#: ../../../../lib/servers.php:105 ../../../../lib/users.php:137
+msgid "Real Name"
+msgstr ""
+
+#: ../../../../lib/servers.php:105 ../../../../lib/users.php:149
+msgid "Email"
+msgstr ""
+
+#: ../../../../lib/servers.php:108 ../../../../site/index.php:182
+msgid "Opers"
+msgstr "Opérateurs"
+
+#: ../../../../lib/servers.php:111
+msgid "Role"
+msgstr ""
+
+#: ../../../../lib/servers.php:119
+msgid "Parent"
+msgstr ""
+
+#: ../../../../lib/servers.php:123
+msgid "Children"
+msgstr ""
+
 #: ../../../../site/api/index.php:22
 #: ../../../../site/api/index.php:22
 msgid "Missing username and/or password"
 msgid "Missing username and/or password"
 msgstr "Nom d'utilisateur et/ou mot de passe manquant"
 msgstr "Nom d'utilisateur et/ou mot de passe manquant"
@@ -26,13 +211,6 @@ msgstr "Type d'utilisateur manquant"
 msgid "No token set"
 msgid "No token set"
 msgstr "Aucun jeton défini"
 msgstr "Aucun jeton défini"
 
 
-#: ../../../../site/api/index.php:44 ../../../../site/api/index.php:77
-#: ../../../../site/api/index.php:105 ../../../../site/api/index.php:154
-#: ../../../../site/api/index.php:168 ../../../../site/api/index.php:230
-#: ../../../../site/api/index.php:245 ../../../../site/api/index.php:253
-msgid "You have been logged out"
-msgstr "Vous avez été déconnecté"
-
 #: ../../../../site/api/index.php:73
 #: ../../../../site/api/index.php:73
 msgid "Cannot fetch memos"
 msgid "Cannot fetch memos"
 msgstr "Impossible de récupérer les mémos"
 msgstr "Impossible de récupérer les mémos"
@@ -69,10 +247,6 @@ msgstr "Opérateur automatique"
 msgid "Admin"
 msgid "Admin"
 msgstr "Administrateur"
 msgstr "Administrateur"
 
 
-#: ../../../../site/api/index.php:124
-msgid "Owner"
-msgstr "Propriétaire"
-
 #: ../../../../site/api/index.php:125
 #: ../../../../site/api/index.php:125
 msgid "Set"
 msgid "Set"
 msgstr "Définir"
 msgstr "Définir"
@@ -117,15 +291,6 @@ msgstr "Impossible de récupérer les canaux"
 msgid "No message or user entered"
 msgid "No message or user entered"
 msgstr "Aucun message ou utilisateur entré"
 msgstr "Aucun message ou utilisateur entré"
 
 
-#: ../../../../site/api/index.php:159 ../../../../site/index.php:349
-#: ../../../../site/index.php:403
-msgid "User"
-msgstr "Utilisateur"
-
-#: ../../../../site/api/index.php:159
-msgid "does not exist"
-msgstr "n'existe pas"
-
 #: ../../../../site/api/index.php:161
 #: ../../../../site/api/index.php:161
 msgid "Memo Sent"
 msgid "Memo Sent"
 msgstr "Mémo envoyé"
 msgstr "Mémo envoyé"
@@ -169,10 +334,6 @@ msgstr ""
 "Assurez-vous que tous les champs sont remplis. Essayez de recharger si c'est "
 "Assurez-vous que tous les champs sont remplis. Essayez de recharger si c'est "
 "le cas."
 "le cas."
 
 
-#: ../../../../site/api/index.php:258
-msgid "Invalid password"
-msgstr "Mot de passe invalide"
-
 #: ../../../../site/api/index.php:263
 #: ../../../../site/api/index.php:263
 msgid "Could not update password with nickserv"
 msgid "Could not update password with nickserv"
 msgstr "Impossible de mettre à jour le mot de passe avec NickServ"
 msgstr "Impossible de mettre à jour le mot de passe avec NickServ"
@@ -315,10 +476,6 @@ msgstr "Canaux"
 msgid "Servers"
 msgid "Servers"
 msgstr "Serveurs"
 msgstr "Serveurs"
 
 
-#: ../../../../site/index.php:182
-msgid "Opers"
-msgstr "Opérateurs"
-
 #: ../../../../site/index.php:183
 #: ../../../../site/index.php:183
 msgid "Configuration"
 msgid "Configuration"
 msgstr "Configuration"
 msgstr "Configuration"
@@ -383,10 +540,6 @@ msgstr "Se déconnecter"
 msgid "Password"
 msgid "Password"
 msgstr "Mot de passe"
 msgstr "Mot de passe"
 
 
-#: ../../../../site/index.php:336
-msgid "New Password"
-msgstr "Nouveau mot de passe"
-
 #: ../../../../site/index.php:360
 #: ../../../../site/index.php:360
 msgid "Switch"
 msgid "Switch"
 msgstr "Changer"
 msgstr "Changer"
@@ -441,39 +594,39 @@ msgstr ""
 msgid "Could not remove persona address"
 msgid "Could not remove persona address"
 msgstr "Ne peut enlever le courriel"
 msgstr "Ne peut enlever le courriel"
 
 
-#: ../../../../site/js/index.js:327
+#: ../../../../site/js/index.js:338
 #, fuzzy
 #, fuzzy
 msgid "Server Ping"
 msgid "Server Ping"
 msgstr "Serveurs"
 msgstr "Serveurs"
 
 
-#: ../../../../site/js/index.js:342 ../../../../site/js/index.js:425
+#: ../../../../site/js/index.js:353 ../../../../site/js/index.js:436
 #, fuzzy
 #, fuzzy
 msgid "Could not ping server"
 msgid "Could not ping server"
 msgstr "Ne peut vérifier avec NickServ"
 msgstr "Ne peut vérifier avec NickServ"
 
 
-#: ../../../../site/js/index.js:350
+#: ../../../../site/js/index.js:361
 msgid "Fetching Memos"
 msgid "Fetching Memos"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:379 ../../../../site/js/index.js:462
-#: ../../../../site/js/index.js:496
+#: ../../../../site/js/index.js:390 ../../../../site/js/index.js:474
+#: ../../../../site/js/index.js:509
 msgid "Could not contact server"
 msgid "Could not contact server"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:406
+#: ../../../../site/js/index.js:417
 #, fuzzy
 #, fuzzy
 msgid "Deleting memo"
 msgid "Deleting memo"
 msgstr "Supprimer"
 msgstr "Supprimer"
 
 
-#: ../../../../site/js/index.js:432
+#: ../../../../site/js/index.js:443
 msgid "Fetching News"
 msgid "Fetching News"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:454
+#: ../../../../site/js/index.js:465
 msgid "New news item"
 msgid "New news item"
 msgstr ""
 msgstr ""
 
 
-#: ../../../../site/js/index.js:472
+#: ../../../../site/js/index.js:484
 #, fuzzy
 #, fuzzy
 msgid "Fetching Channels"
 msgid "Fetching Channels"
 msgstr "Nouveau canal"
 msgstr "Nouveau canal"

+ 1 - 1
lib/configuration.php

@@ -130,6 +130,6 @@
 			}
 			}
 			array_push($items,$item);
 			array_push($items,$item);
 		}
 		}
-		return get_form_html('configuration',$items,'Save');
+		return get_form_html('configuration',$items,_('Save'));
 	}
 	}
 ?>
 ?>

+ 17 - 17
lib/irc.php

@@ -34,19 +34,19 @@
 		}else{
 		}else{
 			switch($response->faultCode()){
 			switch($response->faultCode()){
 				case 1:
 				case 1:
-					$m = 'Insufficient Parameters to login';
+					$m = _('Insufficient Parameters to login');
 				break;
 				break;
 				case 3:
 				case 3:
-					$m = "Account is not registered";
+					$m = _("Account is not registered");
 				break;
 				break;
 				case 5:
 				case 5:
-					$m = "Invalid Username/Password";
+					$m = _("Invalid Username/Password");
 				break;
 				break;
 				case 6:
 				case 6:
-					$m = "Account is frozen";
+					$m = _("Account is frozen");
 				break;
 				break;
 				default:
 				default:
-					$m = "Could not log in";
+					$m = _("Could not log in");
 			}
 			}
 			return Array(false,$m);
 			return Array(false,$m);
 		}
 		}
@@ -129,8 +129,8 @@
 			$u = $user;
 			$u = $user;
 		}
 		}
 		$msg = '';
 		$msg = '';
-		if(!$irc = fsockopen(get_conf('irc-server'),get_conf('irc-port'))){return ircclose(1,"Could not connect.");}
-		stream_set_timeout($irc,1) or ircclose(2,"Could not set timeout.");
+		if(!$irc = fsockopen(get_conf('irc-server'),get_conf('irc-port'))){return ircclose(1,_("Could not connect."));}
+		stream_set_timeout($irc,1) or ircclose(2,_("Could not set timeout."));
 		while(!feof($irc)&&!$msg = fgets($irc,128)){}
 		while(!feof($irc)&&!$msg = fgets($irc,128)){}
 		if(!ircputs("NICK RehashServ\r\n")){return $ircret;}
 		if(!ircputs("NICK RehashServ\r\n")){return $ircret;}
 		if(!ircputs("USER RehashServ omni.irc.omnimaga.org RehashServ :RehashServ\r\n")){return $ircret;}
 		if(!ircputs("USER RehashServ omni.irc.omnimaga.org RehashServ :RehashServ\r\n")){return $ircret;}
@@ -140,9 +140,9 @@
 				$msg .= $line;
 				$msg .= $line;
 				$data = explode(' ',$line);
 				$data = explode(' ',$line);
 				if(isval($data,1,'433')){
 				if(isval($data,1,'433')){
-					return ircclose(4,"RehashServ is already running.");
+					return ircclose(4,_("RehashServ is already running."));
 				}elseif(strrpos($line,'ERROR :Closing Link:') !== false){
 				}elseif(strrpos($line,'ERROR :Closing Link:') !== false){
-					return ircclose(3,"IRC Server refused the connection.");
+					return ircclose(3,_("IRC Server refused the connection."));
 				}elseif($data[0] == 'PING'){
 				}elseif($data[0] == 'PING'){
 					if(!ircputs("PONG {$data[1]}")){return $ircret;}
 					if(!ircputs("PONG {$data[1]}")){return $ircret;}
 				}elseif(isval($data,1,'001')){
 				}elseif(isval($data,1,'001')){
@@ -157,13 +157,13 @@
 				$msg .= $line;
 				$msg .= $line;
 				$data = explode(' ',$line);
 				$data = explode(' ',$line);
 				if(isval($data,1,'433')){
 				if(isval($data,1,'433')){
-					return ircclose(4,"RehashServ is already running.");
+					return ircclose(4,_("RehashServ is already running."));
 				}elseif(strrpos($line,'ERROR :Closing Link:') !== false){
 				}elseif(strrpos($line,'ERROR :Closing Link:') !== false){
-					return ircclose(3,"IRC Server refused the connection.");
+					return ircclose(3,_("IRC Server refused the connection."));
 				}elseif(strrpos($line,":You are now identified for") !== false){
 				}elseif(strrpos($line,":You are now identified for") !== false){
 					break;
 					break;
 				}elseif(strrpos($line,'Password incorrect.') !== false){
 				}elseif(strrpos($line,'Password incorrect.') !== false){
-					return ircclose(5,"Failed to authenticate with NickServ");
+					return ircclose(5,_("Failed to authenticate with NickServ"));
 				}
 				}
 			}
 			}
 		}
 		}
@@ -174,13 +174,13 @@
 				$msg .= $line;
 				$msg .= $line;
 				$data = explode(' ',$line);
 				$data = explode(' ',$line);
 				if(isval($data,1,'433')){
 				if(isval($data,1,'433')){
-					return ircclose(4,"RehashServ is already running.");
+					return ircclose(4,_("RehashServ is already running."));
 				}elseif(strrpos($line,'ERROR :Closing Link:') !== false){
 				}elseif(strrpos($line,'ERROR :Closing Link:') !== false){
-					return ircclose(3,"IRC Server refused the connection.");
+					return ircclose(3,_("IRC Server refused the connection."));
 				}elseif(strrpos($line,':Your vhost of') !== false && strrpos($line,'is now activated') !== false){
 				}elseif(strrpos($line,':Your vhost of') !== false && strrpos($line,'is now activated') !== false){
 					break;
 					break;
 				}elseif(strrpos($line,"Please contact an Operator to get a vhost assigned to this nick") !== false){
 				}elseif(strrpos($line,"Please contact an Operator to get a vhost assigned to this nick") !== false){
-					return ircclose(6,"vhost not set.");
+					return ircclose(6,_("vhost not set."));
 				}
 				}
 			}
 			}
 		}
 		}
@@ -200,8 +200,8 @@
 		}
 		}
 		fclose($irc);
 		fclose($irc);
 		if(strrpos($msg,':*** Notice -- Configuration loaded without any problems ..') === false){
 		if(strrpos($msg,':*** Notice -- Configuration loaded without any problems ..') === false){
-			return '{"code":6,"message":"There is an error in the config. See console for output.","log":'.json_encode($msg).'}';
+			return '{"code":6,"message":"'._('There is an error in the config. See console for output.').'","log":'.json_encode($msg).'}';
 		}
 		}
-		return '{"code":0,"message":"Rehashed. View console for output.","log":'.json_encode($msg).'}';
+		return '{"code":0,"message":"'._('Rehashed. View console for output.').'","log":'.json_encode($msg).'}';
 	}
 	}
 ?>
 ?>

+ 4 - 4
lib/opers.php

@@ -53,22 +53,22 @@
 		}
 		}
 		$ret = "";
 		$ret = "";
 		foreach($opers as $k => $oper){
 		foreach($opers as $k => $oper){
-			$ret .= "<h3>".($u['id'] != $oper['user_id']?"Managed Oper:":"Personal Oper:")."</h3>".get_form_html('oper-form-'.$oper['id'],Array(
+			$ret .= "<h3>".($u['id'] != $oper['user_id']?_("Managed Oper").":":_("Personal Oper").":")."</h3>".get_form_html('oper-form-'.$oper['id'],Array(
 				Array(
 				Array(
 					'name'=>'nick',
 					'name'=>'nick',
-					'label'=>'Nick',
+					'label'=>_('Nick'),
 					'type'=>'text',
 					'type'=>'text',
 					'value'=>$oper['nick']
 					'value'=>$oper['nick']
 				),
 				),
 				Array(
 				Array(
 					'name'=>'swhois',
 					'name'=>'swhois',
-					'label'=>'Omnimaga Profile',
+					'label'=>_('Omnimaga Profile'),
 					'type'=>'text',
 					'type'=>'text',
 					'value'=>$oper['swhois']
 					'value'=>$oper['swhois']
 				),
 				),
 				Array(
 				Array(
 					'name'=>'password',
 					'name'=>'password',
-					'label'=>'New Password',
+					'label'=>_('New Password'),
 					'type'=>'password',
 					'type'=>'password',
 					'value'=>''
 					'value'=>''
 				),
 				),

+ 18 - 18
lib/security.php

@@ -60,17 +60,17 @@
 				setcookie('type','user',null,'/');
 				setcookie('type','user',null,'/');
 				return true;
 				return true;
 			}else{
 			}else{
-				return "Invalid credentials";
+				return _("Invalid credentials");
 			}
 			}
 		}elseif($type=='persona'){
 		}elseif($type=='persona'){
 			if(!$user = get_user_obj($nick,$effective_role)){
 			if(!$user = get_user_obj($nick,$effective_role)){
-				return "User {$nick} does not exist";
+				return _("User")." {$nick} "._("does not exist");
 			}
 			}
 			if(!isset($_COOKIE['personaUser'])){
 			if(!isset($_COOKIE['personaUser'])){
 				return false;
 				return false;
 			}
 			}
 			if(!in_array($_COOKIE['personaUser'],get_emails($user['id']))){
 			if(!in_array($_COOKIE['personaUser'],get_emails($user['id']))){
-				return "Invalid persona email";
+				return _("Invalid persona email");
 			}
 			}
 			setcookie('user',$nick,null,'/');
 			setcookie('user',$nick,null,'/');
 			setcookie('key',$user['api_key'],null,'/');
 			setcookie('key',$user['api_key'],null,'/');
@@ -78,10 +78,10 @@
 			return true;
 			return true;
 		}else{
 		}else{
 			if(!$user = get_user_obj($nick,$type)){
 			if(!$user = get_user_obj($nick,$type)){
-				return "User {$nick} does not exist";
+				return _("User")." {$nick} "._("does not exist");
 			}
 			}
 			if($user['password'] != mkpasswd($pass,$user['salt'])){
 			if($user['password'] != mkpasswd($pass,$user['salt'])){
-				return "Invalid password";
+				return _("Invalid password");
 			}
 			}
 			setcookie('user',$nick,null,'/');
 			setcookie('user',$nick,null,'/');
 			setcookie('key',$user['api_key'],null,'/');
 			setcookie('key',$user['api_key'],null,'/');
@@ -99,7 +99,7 @@
 						setcookie('token',$u['secret_key'],null,'/');
 						setcookie('token',$u['secret_key'],null,'/');
 						$r = true;
 						$r = true;
 					}else{
 					}else{
-						$r = 'Failed to create Authy user: ';
+						$r = _('Failed to create Authy user').': ';
 						foreach($verification->errors() as $field => $message){
 						foreach($verification->errors() as $field => $message){
 							$message = json_decode($message);
 							$message = json_decode($message);
 							$r .= $message['message'];
 							$r .= $message['message'];
@@ -112,14 +112,14 @@
 						$_SESSION['secret_key'] = $u['secret_key'];
 						$_SESSION['secret_key'] = $u['secret_key'];
 						$r = true;
 						$r = true;
 					}else{
 					}else{
-						$r = "Token didn't match ".$u['secret_key'];
+						$r = _("Token didn't match ").$u['secret_key'];
 					}
 					}
 				break;
 				break;
 				default:
 				default:
 					$r = true;
 					$r = true;
 			}
 			}
 		}else{
 		}else{
-			$r = "You have been logged out";
+			$r = _("You have been logged out");
 		}
 		}
 		return $r;
 		return $r;
 	}
 	}
@@ -134,10 +134,10 @@
 					if($deletion->ok()){
 					if($deletion->ok()){
 						setcookie('secret_key','',time() - 3600,'/');
 						setcookie('secret_key','',time() - 3600,'/');
 						if(!query("UPDATE users u SET u.secret_key=NULL WHERE u.id=%d",Array($u['id']))){
 						if(!query("UPDATE users u SET u.secret_key=NULL WHERE u.id=%d",Array($u['id']))){
-							$r = 'Failed to disable 2-factor authentication';
+							$r = _('Failed to disable 2-factor authentication');
 						}
 						}
 					}else{
 					}else{
-						$r = 'Failed to disable 2-factor authentication: ';
+						$r = _('Failed to disable 2-factor authentication').': ';
 						foreach($deletion->errors() as $field => $message){
 						foreach($deletion->errors() as $field => $message){
 							$message = json_decode($message);
 							$message = json_decode($message);
 							$r .= $message->message;
 							$r .= $message->message;
@@ -147,7 +147,7 @@
 				case 'google-authenticator':
 				case 'google-authenticator':
 					setcookie('secret_key','',time() - 3600,'/');
 					setcookie('secret_key','',time() - 3600,'/');
 					if(!query("UPDATE users u SET u.secret_key=NULL WHERE u.id=%d",Array($u['id']))){
 					if(!query("UPDATE users u SET u.secret_key=NULL WHERE u.id=%d",Array($u['id']))){
-						$r = 'Failed to disable 2-factor authentication';
+						$r = _('Failed to disable 2-factor authentication');
 					}
 					}
 				break;
 				break;
 				default:
 				default:
@@ -168,17 +168,17 @@
 								query("UPDATE users u SET u.secret_key='%s' WHERE u.id=%d",Array($user->id(),$u['id']));
 								query("UPDATE users u SET u.secret_key='%s' WHERE u.id=%d",Array($user->id(),$u['id']));
 								$r = true;
 								$r = true;
 							}else{
 							}else{
-								$r = 'Failed to create Authy user: ';
+								$r = _('Failed to create Authy user').': ';
 								foreach($user->errors() as $field => $message){
 								foreach($user->errors() as $field => $message){
 									$message = json_decode($message);
 									$message = json_decode($message);
 									$r .= $message['message'];
 									$r .= $message['message'];
 								}
 								}
 							}
 							}
 						}else{
 						}else{
-							$r = "No cell number set";
+							$r = _("No cell number set");
 						}
 						}
 					}else{
 					}else{
-						$r = "No country code set";
+						$r = _("No country code set");
 					}
 					}
 				break;
 				break;
 				case 'google-authenticator':
 				case 'google-authenticator':
@@ -188,20 +188,20 @@
 								query("UPDATE users u SET u.secret_key='%s' WHERE u.id=%d",Array($_SESSION['secret_key'],$u['id']));
 								query("UPDATE users u SET u.secret_key='%s' WHERE u.id=%d",Array($_SESSION['secret_key'],$u['id']));
 								$r = true;
 								$r = true;
 							}else{
 							}else{
-								$r = 'Could not register';
+								$r = _('Could not register');
 							}
 							}
 						}else{
 						}else{
-							$r = 'No secret key defined';
+							$r = _('No secret key defined');
 						}
 						}
 					}else{
 					}else{
-						$r = 'No token provided';
+						$r = _('No token provided');
 					}
 					}
 				break;
 				break;
 				default:
 				default:
 					$r = true;
 					$r = true;
 			}
 			}
 		}else{
 		}else{
-			$r = "You have been logged out";
+			$r = _("You have been logged out");
 		}
 		}
 		return $r;
 		return $r;
 	}
 	}

+ 6 - 6
lib/servers.php

@@ -101,14 +101,14 @@
 		foreach($servers as $k => $server){
 		foreach($servers as $k => $server){
 			$r .= "<h3>{$server['name']} ({$server['host']}) - {$server['description']}</h3><div>";
 			$r .= "<h3>{$server['name']} ({$server['host']}) - {$server['description']}</h3><div>";
 			$suser = get_user_from_id_obj($server['user_id']);
 			$suser = get_user_from_id_obj($server['user_id']);
-			$r .= "<h4>Owner:</h4>{$suser['nick']}<ul>";
-			$r .= "<li>Real Name: {$suser['real_name']}</li><li>Email: {$suser['email']}</li></ul>";
+			$r .= "<h4>"._('Owner').":</h4>{$suser['nick']}<ul>";
+			$r .= "<li>"._('Real Name').": {$suser['real_name']}</li><li>"._('Email').": {$suser['email']}</li></ul>";
 			$id = 0;
 			$id = 0;
 			if(count($server['opers']) > 0){
 			if(count($server['opers']) > 0){
-				$r .= "<h4>Opers:</h4><table class='tree'>";
+				$r .= "<h4>"._('Opers').":</h4><table class='tree'>";
 				$id++;
 				$id++;
 				$pid = $id;
 				$pid = $id;
-				$r .= "<tr style='font-weight:bold;' class='treegrid-".($id)."'><td>Nick</td><td>Role</td></tr>";
+				$r .= "<tr style='font-weight:bold;' class='treegrid-".($id)."'><td>"._('Nick')."</td><td>"._('Role')."</td></tr>";
 				foreach($server['opers'] as $kk => $oper){
 				foreach($server['opers'] as $kk => $oper){
 					$id++;
 					$id++;
 					$r .= "<tr class='treegrid-{$id} treegrid-parent-{$pid}'><td>{$oper['nick']}</td><td>{$oper['role']}</td></tr>";
 					$r .= "<tr class='treegrid-{$id} treegrid-parent-{$pid}'><td>{$oper['nick']}</td><td>{$oper['role']}</td></tr>";
@@ -116,11 +116,11 @@
 				$r .= "</table>";
 				$r .= "</table>";
 			}
 			}
 			if(isset($server['parent'])){
 			if(isset($server['parent'])){
-				$r .= "<h4>Parent</h4>";
+				$r .= "<h4>"._('Parent')."</h4>";
 				$r .= get_servers_list_html(Array($server['parent']),$depth+1);
 				$r .= get_servers_list_html(Array($server['parent']),$depth+1);
 			}
 			}
 			if(count($server['children']) > 0){
 			if(count($server['children']) > 0){
-				$r .= "<h4>Children</h4>";
+				$r .= "<h4>"._('Children')."</h4>";
 				$r .= get_servers_list_html($server['children'],$depth+1);
 				$r .= get_servers_list_html($server['children'],$depth+1);
 			}
 			}
 			$r .="</div>";
 			$r .="</div>";

+ 4 - 4
lib/users.php

@@ -134,19 +134,19 @@
 		return get_form_html('user-form-'.$user['id'],Array(
 		return get_form_html('user-form-'.$user['id'],Array(
 			Array(
 			Array(
 				'name'=>'real_name',
 				'name'=>'real_name',
-				'label'=>'Real Name',
+				'label'=>_('Real Name'),
 				'type'=>'text',
 				'type'=>'text',
 				'value'=>$user['real_name']
 				'value'=>$user['real_name']
 			),
 			),
 			Array(
 			Array(
 				'name'=>'nick',
 				'name'=>'nick',
-				'label'=>'Nick',
+				'label'=>_('Nick'),
 				'type'=>'text',
 				'type'=>'text',
 				'value'=>$user['nick']
 				'value'=>$user['nick']
 			),
 			),
 			Array(
 			Array(
 				'name'=>'email',
 				'name'=>'email',
-				'label'=>'Email',
+				'label'=>_('Email'),
 				'type'=>'text',
 				'type'=>'text',
 				'value'=>$user['email']
 				'value'=>$user['email']
 			),
 			),
@@ -160,7 +160,7 @@
 				'type'=>'hidden',
 				'type'=>'hidden',
 				'value'=>'user'
 				'value'=>'user'
 			)
 			)
-		),'Save');
+		),_('Save'));
 	}
 	}
 	function has_flag($user,$flag){
 	function has_flag($user,$flag){
 		return strpos($user['flags'],$flag)!==false;
 		return strpos($user['flags'],$flag)!==false;

+ 13 - 6
site/js/index.js

@@ -264,6 +264,17 @@ $(function(){
 				History.pushState({},document.title,url.attr('path')+'?'+$.param(params)+url.attr('anchor'));
 				History.pushState({},document.title,url.attr('path')+'?'+$.param(params)+url.attr('anchor'));
 			}
 			}
 		}).trigger('statechange').resize(function(){
 		}).trigger('statechange').resize(function(){
+			$('body').find('*').contents().filter(function(){
+				return this.nodeType === 3;
+			}).each(function(){
+				console.log(_($(this).text()));
+				this.nodeValue = _($(this).text());
+			});
+			$('body').find('input[type=submit],input[type=button]').each(function(){
+				if(this.tagName == 'INPUT' && this.type == 'submit'){
+					this.value = _(this.value);
+				}
+			});
 			dialogs.each(function(){
 			dialogs.each(function(){
 				var d = $(this);
 				var d = $(this);
 				if(d.dialog('isOpen')){
 				if(d.dialog('isOpen')){
@@ -456,6 +467,7 @@ $(function(){
 						news = d.news;
 						news = d.news;
 					}
 					}
 					$('#news').html(templates.news(d)).find('button').button();
 					$('#news').html(templates.news(d)).find('button').button();
+					$('body').resize();
 				},
 				},
 				error: function(xhr,msg,e){
 				error: function(xhr,msg,e){
 					console.error(e);
 					console.error(e);
@@ -490,6 +502,7 @@ $(function(){
 						}
 						}
 					}
 					}
 					$('#channels').html(templates.channels(d)).find('button').button();
 					$('#channels').html(templates.channels(d)).find('button').button();
+					$('body').resize();
 				},
 				},
 				error: function(xhr,msg,e){
 				error: function(xhr,msg,e){
 					console.error(e);
 					console.error(e);
@@ -502,12 +515,6 @@ $(function(){
 				setTimeout(window.ServerPing,1000*60); // Every minute
 				setTimeout(window.ServerPing,1000*60); // Every minute
 			}
 			}
 		};
 		};
-		$('body').find('*').contents().filter(function(){
-			return this.nodeType === 3;
-		}).each(function(){
-			console.log(_($(this).text()));
-			this.nodeValue = _($(this).text());
-		});
 		$('body').resize();
 		$('body').resize();
 	});
 	});
 });
 });