Browse Source

Chanel Access List management.

Nathaniel van Diepen 10 years ago
parent
commit
22a527c3b2

+ 1 - 0
header.php

@@ -8,6 +8,7 @@
 	require_once(DIR."/lib/irc.php");
 	require_once(DIR."/lib/security.php");
 	require_once(DIR."/lib/users.php");
+	require_once(DIR."/lib/channels.php");
 	require_once(DIR."/lib/servers.php");
 	require_once(DIR."/lib/opers.php");
 	require_once(DIR."/lib/forms.php");

BIN
lang/en/LC_MESSAGES/omninet.mo


+ 232 - 200
lang/en/LC_MESSAGES/omninet.po

@@ -1,8 +1,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Omninet\n"
-"POT-Creation-Date: 2014-02-23 00:09-0700\n"
-"PO-Revision-Date: 2014-02-23 00:16-0700\n"
+"POT-Creation-Date: 2014-02-23 18:35-0700\n"
+"PO-Revision-Date: 2014-02-23 18:35-0700\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: en\n"
@@ -15,630 +15,662 @@ msgstr ""
 "X-Poedit-KeywordsList: __\n"
 "X-Poedit-SearchPath-0: ../../..\n"
 
-#: ../lib/configuration.php:133 ../lib/users.php:163
-msgid "Save"
+#: ../../../lib/channels.php:5
+msgid "Voice"
 msgstr ""
 
-#: ../lib/irc.php:37
-msgid "Insufficient Parameters to login"
+#: ../../../lib/channels.php:6
+msgid "Automatic voice"
 msgstr ""
 
-#: ../lib/irc.php:40
-msgid "Account is not registered"
+#: ../../../lib/channels.php:7
+msgid "Halfop"
 msgstr ""
 
-#: ../lib/irc.php:43
-msgid "Invalid Username/Password"
+#: ../../../lib/channels.php:8
+msgid "Automatic Halfop"
 msgstr ""
 
-#: ../lib/irc.php:46
-msgid "Account is frozen"
+#: ../../../lib/channels.php:9
+msgid "Op"
 msgstr ""
 
-#: ../lib/irc.php:49
-msgid "Could not log in"
+#: ../../../lib/channels.php:10
+msgid "Automatic Op"
 msgstr ""
 
-#: ../lib/irc.php:140 ../lib/irc.php:228
-msgid "Could not connect."
+#: ../../../lib/channels.php:11
+msgid "Admin"
 msgstr ""
 
-#: ../lib/irc.php:141 ../lib/irc.php:229
-msgid "Could not set timeout."
+#: ../../../lib/channels.php:12 ../../../lib/servers.php:104
+msgid "Owner"
 msgstr ""
 
-#: ../lib/irc.php:151 ../lib/irc.php:168 ../lib/irc.php:185
-msgid "RehashServ is already running."
+#: ../../../lib/channels.php:13
+msgid "Set"
 msgstr ""
 
-#: ../lib/irc.php:153 ../lib/irc.php:170 ../lib/irc.php:187 ../lib/irc.php:246
-#: ../lib/irc.php:279 ../lib/irc.php:297
-msgid "IRC Server refused the connection."
+#: ../../../lib/channels.php:14
+msgid "Invite/Getkey"
 msgstr ""
 
-#: ../lib/irc.php:174 ../lib/irc.php:283
-msgid "Failed to authenticate with NickServ"
+#: ../../../lib/channels.php:15
+msgid "Kick/Ban"
 msgstr ""
 
-#: ../lib/irc.php:191 ../lib/irc.php:301
-msgid "vhost not set."
+#: ../../../lib/channels.php:16
+msgid "Recover/Clear"
 msgstr ""
 
-#: ../lib/irc.php:211
-msgid "There is an error in the config. See console for output."
+#: ../../../lib/channels.php:17
+msgid "Modify access lists"
 msgstr ""
 
-#: ../lib/irc.php:213
-msgid "Rehashed. View console for output."
+#: ../../../lib/channels.php:18
+msgid "Topic"
 msgstr ""
 
-#: ../lib/irc.php:244 ../lib/irc.php:266 ../lib/irc.php:295
-msgid "RunServ is already running."
+#: ../../../lib/channels.php:19
+msgid "View access lists"
 msgstr ""
 
-#: ../lib/irc.php:328
-msgid "Voice"
+#: ../../../lib/channels.php:20
+msgid "Founder"
 msgstr ""
 
-#: ../lib/irc.php:329
-msgid "Automatic voice"
+#: ../../../lib/channels.php:21
+msgid "Banned"
 msgstr ""
 
-#: ../lib/irc.php:330
-msgid "Halfop"
+#: ../../../lib/configuration.php:133 ../../../lib/users.php:163
+msgid "Save"
 msgstr ""
 
-#: ../lib/irc.php:331
-msgid "Automatic Halfop"
+#: ../../../lib/irc.php:37
+msgid "Insufficient Parameters to login"
 msgstr ""
 
-#: ../lib/irc.php:332
-msgid "Op"
+#: ../../../lib/irc.php:40
+msgid "Account is not registered"
 msgstr ""
 
-#: ../lib/irc.php:333
-msgid "Automatic Op"
+#: ../../../lib/irc.php:43
+msgid "Invalid Username/Password"
 msgstr ""
 
-#: ../lib/irc.php:334
-msgid "Admin"
+#: ../../../lib/irc.php:46
+msgid "Account is frozen"
 msgstr ""
 
-#: ../lib/irc.php:335 ../lib/servers.php:104
-msgid "Owner"
+#: ../../../lib/irc.php:49
+msgid "Could not log in"
 msgstr ""
 
-#: ../lib/irc.php:336
-msgid "Set"
+#: ../../../lib/irc.php:129 ../../../lib/irc.php:217
+msgid "Could not connect."
 msgstr ""
 
-#: ../lib/irc.php:337
-msgid "Invite/Getkey"
+#: ../../../lib/irc.php:130 ../../../lib/irc.php:218
+msgid "Could not set timeout."
 msgstr ""
 
-#: ../lib/irc.php:338
-msgid "Kick/Ban"
+#: ../../../lib/irc.php:140 ../../../lib/irc.php:157 ../../../lib/irc.php:174
+msgid "RehashServ is already running."
 msgstr ""
 
-#: ../lib/irc.php:339
-msgid "Recover/Clear"
+#: ../../../lib/irc.php:142 ../../../lib/irc.php:159 ../../../lib/irc.php:176
+#: ../../../lib/irc.php:235 ../../../lib/irc.php:268 ../../../lib/irc.php:286
+msgid "IRC Server refused the connection."
 msgstr ""
 
-#: ../lib/irc.php:340
-msgid "Modify access lists"
+#: ../../../lib/irc.php:163 ../../../lib/irc.php:272
+msgid "Failed to authenticate with NickServ"
 msgstr ""
 
-#: ../lib/irc.php:341
-msgid "Topic"
+#: ../../../lib/irc.php:180 ../../../lib/irc.php:290
+msgid "vhost not set."
 msgstr ""
 
-#: ../lib/irc.php:342
-msgid "View access lists"
+#: ../../../lib/irc.php:200
+msgid "There is an error in the config. See console for output."
 msgstr ""
 
-#: ../lib/irc.php:343
-msgid "Founder"
+#: ../../../lib/irc.php:202
+msgid "Rehashed. View console for output."
 msgstr ""
 
-#: ../lib/irc.php:344
-msgid "Banned"
+#: ../../../lib/irc.php:233 ../../../lib/irc.php:255 ../../../lib/irc.php:284
+msgid "RunServ is already running."
 msgstr ""
 
-#: ../lib/opers.php:56
+#: ../../../lib/opers.php:56
 msgid "Managed Oper"
 msgstr ""
 
-#: ../lib/opers.php:56
+#: ../../../lib/opers.php:56
 msgid "Personal Oper"
 msgstr ""
 
-#: ../lib/opers.php:59 ../lib/servers.php:111 ../lib/users.php:143
+#: ../../../lib/opers.php:59 ../../../lib/servers.php:111
+#: ../../../lib/users.php:143
 msgid "Nick"
 msgstr ""
 
-#: ../lib/opers.php:65
+#: ../../../lib/opers.php:65
 msgid "Omnimaga Profile"
 msgstr ""
 
-#: ../lib/opers.php:71 ../site/index.php:389
+#: ../../../lib/opers.php:71 ../../../site/index.php:450
 msgid "New Password"
 msgstr ""
 
-#: ../lib/security.php:63
+#: ../../../lib/security.php:63
 msgid "Invalid credentials"
 msgstr ""
 
-#: ../lib/security.php:67 ../lib/security.php:81 ../site/api/index.php:158
-#: ../site/index.php:402 ../site/index.php:456
+#: ../../../lib/security.php:67 ../../../lib/security.php:81
+#: ../../../site/api/index.php:162 ../../../site/index.php:312
+#: ../../../site/index.php:463 ../../../site/index.php:517
 msgid "User"
 msgstr ""
 
-#: ../lib/security.php:67 ../lib/security.php:81 ../site/api/index.php:158
+#: ../../../lib/security.php:67 ../../../lib/security.php:81
+#: ../../../site/api/index.php:162
 msgid "does not exist"
 msgstr ""
 
-#: ../lib/security.php:73
+#: ../../../lib/security.php:73
 msgid "Invalid persona email"
 msgstr ""
 
-#: ../lib/security.php:84 ../site/api/index.php:289
+#: ../../../lib/security.php:84 ../../../site/api/index.php:323
 msgid "Invalid password"
 msgstr ""
 
-#: ../lib/security.php:102 ../lib/security.php:171
+#: ../../../lib/security.php:102 ../../../lib/security.php:171
 msgid "Failed to create Authy user"
 msgstr ""
 
-#: ../lib/security.php:115
+#: ../../../lib/security.php:115
 msgid "Token didn't match "
 msgstr ""
 
-#: ../lib/security.php:122 ../lib/security.php:204 ../site/api/index.php:43
-#: ../site/api/index.php:76 ../site/api/index.php:104
-#: ../site/api/index.php:153 ../site/api/index.php:167
-#: ../site/api/index.php:176 ../site/api/index.php:185
-#: ../site/api/index.php:261 ../site/api/index.php:276
-#: ../site/api/index.php:284
+#: ../../../lib/security.php:122 ../../../lib/security.php:204
+#: ../../../site/api/index.php:43 ../../../site/api/index.php:76
+#: ../../../site/api/index.php:104 ../../../site/api/index.php:157
+#: ../../../site/api/index.php:171 ../../../site/api/index.php:180
+#: ../../../site/api/index.php:189 ../../../site/api/index.php:218
+#: ../../../site/api/index.php:295 ../../../site/api/index.php:310
+#: ../../../site/api/index.php:318
 msgid "You have been logged out"
 msgstr ""
 
-#: ../lib/security.php:137 ../lib/security.php:140 ../lib/security.php:150
+#: ../../../lib/security.php:137 ../../../lib/security.php:140
+#: ../../../lib/security.php:150
 msgid "Failed to disable 2-factor authentication"
 msgstr ""
 
-#: ../lib/security.php:178
+#: ../../../lib/security.php:178
 msgid "No cell number set"
 msgstr ""
 
-#: ../lib/security.php:181
+#: ../../../lib/security.php:181
 msgid "No country code set"
 msgstr ""
 
-#: ../lib/security.php:191
+#: ../../../lib/security.php:191
 msgid "Could not register"
 msgstr ""
 
-#: ../lib/security.php:194
+#: ../../../lib/security.php:194
 msgid "No secret key defined"
 msgstr ""
 
-#: ../lib/security.php:197
+#: ../../../lib/security.php:197
 msgid "No token provided"
 msgstr ""
 
-#: ../lib/servers.php:105 ../lib/users.php:137
+#: ../../../lib/servers.php:105 ../../../lib/users.php:137
 msgid "Real Name"
 msgstr ""
 
-#: ../lib/servers.php:105 ../lib/users.php:149
+#: ../../../lib/servers.php:105 ../../../lib/users.php:149
 msgid "Email"
 msgstr ""
 
-#: ../lib/servers.php:108 ../site/index.php:216
+#: ../../../lib/servers.php:108 ../../../site/index.php:230
 msgid "Opers"
 msgstr ""
 
-#: ../lib/servers.php:111
+#: ../../../lib/servers.php:111
 msgid "Role"
 msgstr ""
 
-#: ../lib/servers.php:119
+#: ../../../lib/servers.php:119
 msgid "Parent"
 msgstr ""
 
-#: ../lib/servers.php:123
+#: ../../../lib/servers.php:123
 msgid "Children"
 msgstr ""
 
-#: ../site/api/index.php:21
+#: ../../../site/api/index.php:21
 msgid "Missing username and/or password"
 msgstr ""
 
-#: ../site/api/index.php:22
+#: ../../../site/api/index.php:22
 msgid "Missing user type"
 msgstr ""
 
-#: ../site/api/index.php:31
+#: ../../../site/api/index.php:31
 msgid "No token set"
 msgstr ""
 
-#: ../site/api/index.php:72
+#: ../../../site/api/index.php:72
 msgid "Cannot fetch memos"
 msgstr ""
 
-#: ../site/api/index.php:100
+#: ../../../site/api/index.php:100
 msgid "Cannot fetch news"
 msgstr ""
 
-#: ../site/api/index.php:149
+#: ../../../site/api/index.php:153
 msgid "Cannot fetch channels"
 msgstr ""
 
-#: ../site/api/index.php:154
+#: ../../../site/api/index.php:158
 msgid "No message or user entered"
 msgstr ""
 
-#: ../site/api/index.php:160
+#: ../../../site/api/index.php:164
 msgid "Memo Sent"
 msgstr ""
 
-#: ../site/api/index.php:163
+#: ../../../site/api/index.php:167
 msgid "Cannot send memo"
 msgstr ""
 
-#: ../site/api/index.php:168
+#: ../../../site/api/index.php:172
 msgid "No id given"
 msgstr ""
 
-#: ../site/api/index.php:171
+#: ../../../site/api/index.php:175
 msgid "Cannot delete memo"
 msgstr ""
 
-#: ../site/api/index.php:177 ../site/api/index.php:186
+#: ../../../site/api/index.php:181 ../../../site/api/index.php:190
+#: ../../../site/api/index.php:219
 msgid "No channel given"
 msgstr ""
 
-#: ../site/api/index.php:180
+#: ../../../site/api/index.php:184
 msgid "Cannot drop channel"
 msgstr ""
 
-#: ../site/api/index.php:236
+#: ../../../site/api/index.php:191
+msgid "No user given"
+msgstr ""
+
+#: ../../../site/api/index.php:209 ../../../site/api/index.php:213
+msgid "Cannot change flag"
+msgstr ""
+
+#: ../../../site/api/index.php:270
 msgid "Failed to add email"
 msgstr ""
 
-#: ../site/api/index.php:236
+#: ../../../site/api/index.php:270
 msgid "to user"
 msgstr ""
 
-#: ../site/api/index.php:238
+#: ../../../site/api/index.php:272
 msgid "Email does not match any users"
 msgstr ""
 
-#: ../site/api/index.php:262
+#: ../../../site/api/index.php:296
 msgid "No ID set"
 msgstr ""
 
-#: ../site/api/index.php:264
+#: ../../../site/api/index.php:298
 msgid "Could not remove email address"
 msgstr ""
 
-#: ../site/api/index.php:281
+#: ../../../site/api/index.php:315
 msgid "2-factor disabled."
 msgstr ""
 
-#: ../site/api/index.php:288 ../site/api/index.php:303
-#: ../site/api/index.php:314
+#: ../../../site/api/index.php:322 ../../../site/api/index.php:337
+#: ../../../site/api/index.php:348
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgstr ""
 
-#: ../site/api/index.php:294
+#: ../../../site/api/index.php:328
 msgid "Could not update password with nickserv"
 msgstr ""
 
-#: ../site/api/index.php:304
+#: ../../../site/api/index.php:338
 msgid "Not Logged in to use"
 msgstr ""
 
-#: ../site/api/index.php:304
+#: ../../../site/api/index.php:338
 msgid "with key"
 msgstr ""
 
-#: ../site/api/index.php:305
+#: ../../../site/api/index.php:339
 msgid "Must be logged in with type user to sync pass"
 msgstr ""
 
-#: ../site/api/index.php:308
+#: ../../../site/api/index.php:342
 msgid "Could not verify with nickserv"
 msgstr ""
 
-#: ../site/api/index.php:311
+#: ../../../site/api/index.php:345
 msgid "Nickserv password synchronized with main account"
 msgstr ""
 
-#: ../site/api/index.php:319 ../site/api/index.php:332
-#: ../site/api/index.php:351
+#: ../../../site/api/index.php:353 ../../../site/api/index.php:366
+#: ../../../site/api/index.php:385
 msgid "Not logged in"
 msgstr ""
 
-#: ../site/api/index.php:320 ../site/api/index.php:333
+#: ../../../site/api/index.php:354 ../../../site/api/index.php:367
 msgid "No user set."
 msgstr ""
 
-#: ../site/api/index.php:321
+#: ../../../site/api/index.php:355
 msgid "No email set."
 msgstr ""
 
-#: ../site/api/index.php:322
+#: ../../../site/api/index.php:356
 msgid "No real name set."
 msgstr ""
 
-#: ../site/api/index.php:323 ../site/api/index.php:334
+#: ../../../site/api/index.php:357 ../../../site/api/index.php:368
 msgid "No nick set."
 msgstr ""
 
-#: ../site/api/index.php:324
+#: ../../../site/api/index.php:358
 msgid "User with id"
 msgstr ""
 
-#: ../site/api/index.php:324 ../site/api/index.php:336
+#: ../../../site/api/index.php:358 ../../../site/api/index.php:370
 msgid "does not exist. You should reload the page."
 msgstr ""
 
-#: ../site/api/index.php:328
+#: ../../../site/api/index.php:362
 msgid "Unable to update user"
 msgstr ""
 
-#: ../site/api/index.php:335
+#: ../../../site/api/index.php:369
 msgid "No profile set."
 msgstr ""
 
-#: ../site/api/index.php:336
+#: ../../../site/api/index.php:370
 msgid "Oper with id"
 msgstr ""
 
-#: ../site/api/index.php:338 ../site/api/index.php:340
+#: ../../../site/api/index.php:372 ../../../site/api/index.php:374
 msgid "Unable to update oper"
 msgstr ""
 
-#: ../site/api/index.php:346
+#: ../../../site/api/index.php:380
 msgid "Failed to update setting"
 msgstr ""
 
-#: ../site/api/index.php:346
+#: ../../../site/api/index.php:380
 msgid "with value"
 msgstr ""
 
-#: ../site/api/index.php:355
+#: ../../../site/api/index.php:389
 msgid "Invalid Action"
 msgstr ""
 
-#: ../site/index.php:78 ../site/index.php:79 ../site/index.php:123
-#: ../site/index.php:124 ../site/index.php:154 ../site/index.php:155
+#: ../../../site/index.php:78 ../../../site/index.php:79
+#: ../../../site/index.php:123 ../../../site/index.php:124
+#: ../../../site/index.php:154 ../../../site/index.php:155
 msgid "Refresh"
 msgstr ""
 
-#: ../site/index.php:81 ../site/index.php:82
+#: ../../../site/index.php:81 ../../../site/index.php:82
 msgid "New Memo"
 msgstr ""
 
-#: ../site/index.php:84 ../site/index.php:85
+#: ../../../site/index.php:84 ../../../site/index.php:85
 msgid "Delete All"
 msgstr ""
 
-#: ../site/index.php:91 ../site/index.php:133
+#: ../../../site/index.php:91 ../../../site/index.php:133
 msgid "From"
 msgstr ""
 
-#: ../site/index.php:99 ../site/index.php:141
+#: ../../../site/index.php:99 ../../../site/index.php:141
 msgid "Sent"
 msgstr ""
 
-#: ../site/index.php:107
+#: ../../../site/index.php:107
 msgid "Body"
 msgstr ""
 
-#: ../site/index.php:113 ../site/index.php:114
+#: ../../../site/index.php:113 ../../../site/index.php:114
 msgid "Reply"
 msgstr ""
 
-#: ../site/index.php:116 ../site/index.php:117 ../site/index.php:191
-#: ../site/index.php:192
+#: ../../../site/index.php:116 ../../../site/index.php:117
+#: ../../../site/index.php:205 ../../../site/index.php:206
 msgid "Delete"
 msgstr ""
 
-#: ../site/index.php:157 ../site/index.php:158
+#: ../../../site/index.php:157 ../../../site/index.php:158
 msgid "New Channel"
 msgstr ""
 
-#: ../site/index.php:166
+#: ../../../site/index.php:166
 msgid "Access"
 msgstr ""
 
-#: ../site/index.php:176
+#: ../../../site/index.php:177 ../../../site/index.php:318
 msgid "Flags"
 msgstr ""
 
-#: ../site/index.php:211
+#: ../../../site/index.php:182 ../../../site/index.php:308
+msgid "Modify"
+msgstr ""
+
+#: ../../../site/index.php:200 ../../../site/index.php:201
+msgid "Add Access"
+msgstr ""
+
+#: ../../../site/index.php:225
 msgid "News"
 msgstr ""
 
-#: ../site/index.php:212
+#: ../../../site/index.php:226
 msgid "Memos"
 msgstr ""
 
-#: ../site/index.php:213
+#: ../../../site/index.php:227
 msgid "Channels"
 msgstr ""
 
-#: ../site/index.php:215
+#: ../../../site/index.php:229
 msgid "Servers"
 msgstr ""
 
-#: ../site/index.php:217
+#: ../../../site/index.php:231
 msgid "Configuration"
 msgstr ""
 
-#: ../site/index.php:219
+#: ../../../site/index.php:233
 msgid "Profile"
 msgstr ""
 
-#: ../site/index.php:254
+#: ../../../site/index.php:264
+msgid "Send"
+msgstr ""
+
+#: ../../../site/index.php:268
 msgid "To"
 msgstr ""
 
-#: ../site/index.php:260
+#: ../../../site/index.php:274
 msgid "Message"
 msgstr ""
 
-#: ../site/index.php:279
+#: ../../../site/index.php:289
+msgid "Register"
+msgstr ""
+
+#: ../../../site/index.php:293
 msgid "Channel Name"
 msgstr ""
 
-#: ../site/index.php:301
+#: ../../../site/index.php:362
 msgid "Country"
 msgstr ""
 
-#: ../site/index.php:309
+#: ../../../site/index.php:370
 msgid "Cell #"
 msgstr ""
 
-#: ../site/index.php:332
+#: ../../../site/index.php:393
 msgid "Token"
 msgstr ""
 
-#: ../site/index.php:347
+#: ../../../site/index.php:408
 msgid "Disable 2-factor"
 msgstr ""
 
-#: ../site/index.php:353
+#: ../../../site/index.php:414
 msgid "Link Persona"
 msgstr ""
 
-#: ../site/index.php:356
+#: ../../../site/index.php:417
 msgid "Remove"
 msgstr ""
 
-#: ../site/index.php:364
+#: ../../../site/index.php:425
 msgid "Switch Role"
 msgstr ""
 
-#: ../site/index.php:366
+#: ../../../site/index.php:427
 msgid "Rehash"
 msgstr ""
 
-#: ../site/index.php:368 ../site/index.php:379
+#: ../../../site/index.php:429 ../../../site/index.php:440
 msgid "Change Password"
 msgstr ""
 
-#: ../site/index.php:370
+#: ../../../site/index.php:431
 msgid "Sync Password"
 msgstr ""
 
-#: ../site/index.php:372
+#: ../../../site/index.php:433
 msgid "Logout"
 msgstr ""
 
-#: ../site/index.php:383 ../site/index.php:481
+#: ../../../site/index.php:444 ../../../site/index.php:542
 msgid "Password"
 msgstr ""
 
-#: ../site/index.php:413
+#: ../../../site/index.php:474
 msgid "Switch"
 msgstr ""
 
-#: ../site/index.php:417 ../site/index.php:487
+#: ../../../site/index.php:478 ../../../site/index.php:548
 msgid "Type"
 msgstr ""
 
-#: ../site/index.php:435 ../site/index.php:467
+#: ../../../site/index.php:496 ../../../site/index.php:528
 msgid "Login"
 msgstr ""
 
-#: ../site/index.php:439
+#: ../../../site/index.php:500
 msgid "2-Factor Verification"
 msgstr ""
 
-#: ../site/index.php:471
+#: ../../../site/index.php:532
 msgid "Persona"
 msgstr ""
 
-#: ../site/index.php:475
+#: ../../../site/index.php:536
 msgid "Username"
 msgstr ""
 
-#: ../site/js/index.js:123
+#: ../../../site/js/index.js:128
 msgid "Oper updated"
 msgstr ""
 
-#: ../site/js/index.js:134
+#: ../../../site/js/index.js:139
 msgid "Could not submit the form"
 msgstr ""
 
-#: ../site/js/index.js:160
+#: ../../../site/js/index.js:165
 msgid "Could not rehash the servers"
 msgstr ""
 
-#: ../site/js/index.js:201
+#: ../../../site/js/index.js:206
 msgid "Could not synchronize your password"
 msgstr ""
 
-#: ../site/js/index.js:214
+#: ../../../site/js/index.js:219
 msgid "This is an admin only feature. Continue?"
 msgstr ""
 
-#: ../site/js/index.js:241
+#: ../../../site/js/index.js:246
 msgid "Login failure"
 msgstr ""
 
-#: ../site/js/index.js:266
+#: ../../../site/js/index.js:271
 msgid "Could not remove persona address"
 msgstr ""
 
-#: ../site/js/index.js:386
+#: ../../../site/js/index.js:391
 msgid "Server Ping"
 msgstr ""
 
-#: ../site/js/index.js:401 ../site/js/index.js:478 ../site/js/index.js:589
-#: ../site/js/index.js:616
+#: ../../../site/js/index.js:406 ../../../site/js/index.js:483
+#: ../../../site/js/index.js:591 ../../../site/js/index.js:618
 msgid "Could not ping server"
 msgstr ""
 
-#: ../site/js/index.js:409
+#: ../../../site/js/index.js:414
 msgid "Fetching Memos"
 msgstr ""
 
-#: ../site/js/index.js:440 ../site/js/index.js:517 ../site/js/index.js:556
+#: ../../../site/js/index.js:445 ../../../site/js/index.js:522
+#: ../../../site/js/index.js:561
 msgid "Could not contact server"
 msgstr ""
 
-#: ../site/js/index.js:459
+#: ../../../site/js/index.js:464
 msgid "Deleting memo"
 msgstr ""
 
-#: ../site/js/index.js:485
+#: ../../../site/js/index.js:490
 msgid "Fetching News"
 msgstr ""
 
-#: ../site/js/index.js:507
+#: ../../../site/js/index.js:512
 msgid "New news item"
 msgstr ""
 
-#: ../site/js/index.js:527
+#: ../../../site/js/index.js:532
 msgid "Fetching Channels"
 msgstr ""
 
-#: ../site/js/index.js:566
+#: ../../../site/js/index.js:568
 msgid "Are you sure you want to delete channel"
 msgstr ""
 
-#: ../site/js/index.js:567
+#: ../../../site/js/index.js:569
 msgid "Deleting channel"
 msgstr ""
 
-#: ../site/js/index.js:597
+#: ../../../site/js/index.js:599
 msgid "Registering channel"
 msgstr ""
 
-#: ../site/js/index.js:624
+#: ../../../site/js/index.js:647
 msgid "Language change detected"
 msgstr ""

BIN
lang/en_CA/LC_MESSAGES/omninet.mo


+ 232 - 200
lang/en_CA/LC_MESSAGES/omninet.po

@@ -1,8 +1,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Omninet Control panel\n"
-"POT-Creation-Date: 2014-02-23 00:09-0700\n"
-"PO-Revision-Date: 2014-02-23 00:16-0700\n"
+"POT-Creation-Date: 2014-02-23 18:36-0700\n"
+"PO-Revision-Date: 2014-02-23 18:36-0700\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: en_CA\n"
@@ -15,630 +15,662 @@ msgstr ""
 "X-Poedit-KeywordsList: __\n"
 "X-Poedit-SearchPath-0: ../../..\n"
 
-#: ../lib/configuration.php:133 ../lib/users.php:163
-msgid "Save"
+#: ../../../lib/channels.php:5
+msgid "Voice"
 msgstr ""
 
-#: ../lib/irc.php:37
-msgid "Insufficient Parameters to login"
+#: ../../../lib/channels.php:6
+msgid "Automatic voice"
 msgstr ""
 
-#: ../lib/irc.php:40
-msgid "Account is not registered"
+#: ../../../lib/channels.php:7
+msgid "Halfop"
 msgstr ""
 
-#: ../lib/irc.php:43
-msgid "Invalid Username/Password"
+#: ../../../lib/channels.php:8
+msgid "Automatic Halfop"
 msgstr ""
 
-#: ../lib/irc.php:46
-msgid "Account is frozen"
+#: ../../../lib/channels.php:9
+msgid "Op"
 msgstr ""
 
-#: ../lib/irc.php:49
-msgid "Could not log in"
+#: ../../../lib/channels.php:10
+msgid "Automatic Op"
 msgstr ""
 
-#: ../lib/irc.php:140 ../lib/irc.php:228
-msgid "Could not connect."
+#: ../../../lib/channels.php:11
+msgid "Admin"
 msgstr ""
 
-#: ../lib/irc.php:141 ../lib/irc.php:229
-msgid "Could not set timeout."
+#: ../../../lib/channels.php:12 ../../../lib/servers.php:104
+msgid "Owner"
 msgstr ""
 
-#: ../lib/irc.php:151 ../lib/irc.php:168 ../lib/irc.php:185
-msgid "RehashServ is already running."
+#: ../../../lib/channels.php:13
+msgid "Set"
 msgstr ""
 
-#: ../lib/irc.php:153 ../lib/irc.php:170 ../lib/irc.php:187 ../lib/irc.php:246
-#: ../lib/irc.php:279 ../lib/irc.php:297
-msgid "IRC Server refused the connection."
+#: ../../../lib/channels.php:14
+msgid "Invite/Getkey"
 msgstr ""
 
-#: ../lib/irc.php:174 ../lib/irc.php:283
-msgid "Failed to authenticate with NickServ"
+#: ../../../lib/channels.php:15
+msgid "Kick/Ban"
 msgstr ""
 
-#: ../lib/irc.php:191 ../lib/irc.php:301
-msgid "vhost not set."
+#: ../../../lib/channels.php:16
+msgid "Recover/Clear"
 msgstr ""
 
-#: ../lib/irc.php:211
-msgid "There is an error in the config. See console for output."
+#: ../../../lib/channels.php:17
+msgid "Modify access lists"
 msgstr ""
 
-#: ../lib/irc.php:213
-msgid "Rehashed. View console for output."
+#: ../../../lib/channels.php:18
+msgid "Topic"
 msgstr ""
 
-#: ../lib/irc.php:244 ../lib/irc.php:266 ../lib/irc.php:295
-msgid "RunServ is already running."
+#: ../../../lib/channels.php:19
+msgid "View access lists"
 msgstr ""
 
-#: ../lib/irc.php:328
-msgid "Voice"
+#: ../../../lib/channels.php:20
+msgid "Founder"
 msgstr ""
 
-#: ../lib/irc.php:329
-msgid "Automatic voice"
+#: ../../../lib/channels.php:21
+msgid "Banned"
 msgstr ""
 
-#: ../lib/irc.php:330
-msgid "Halfop"
+#: ../../../lib/configuration.php:133 ../../../lib/users.php:163
+msgid "Save"
 msgstr ""
 
-#: ../lib/irc.php:331
-msgid "Automatic Halfop"
+#: ../../../lib/irc.php:37
+msgid "Insufficient Parameters to login"
 msgstr ""
 
-#: ../lib/irc.php:332
-msgid "Op"
+#: ../../../lib/irc.php:40
+msgid "Account is not registered"
 msgstr ""
 
-#: ../lib/irc.php:333
-msgid "Automatic Op"
+#: ../../../lib/irc.php:43
+msgid "Invalid Username/Password"
 msgstr ""
 
-#: ../lib/irc.php:334
-msgid "Admin"
+#: ../../../lib/irc.php:46
+msgid "Account is frozen"
 msgstr ""
 
-#: ../lib/irc.php:335 ../lib/servers.php:104
-msgid "Owner"
+#: ../../../lib/irc.php:49
+msgid "Could not log in"
 msgstr ""
 
-#: ../lib/irc.php:336
-msgid "Set"
+#: ../../../lib/irc.php:129 ../../../lib/irc.php:217
+msgid "Could not connect."
 msgstr ""
 
-#: ../lib/irc.php:337
-msgid "Invite/Getkey"
+#: ../../../lib/irc.php:130 ../../../lib/irc.php:218
+msgid "Could not set timeout."
 msgstr ""
 
-#: ../lib/irc.php:338
-msgid "Kick/Ban"
+#: ../../../lib/irc.php:140 ../../../lib/irc.php:157 ../../../lib/irc.php:174
+msgid "RehashServ is already running."
 msgstr ""
 
-#: ../lib/irc.php:339
-msgid "Recover/Clear"
+#: ../../../lib/irc.php:142 ../../../lib/irc.php:159 ../../../lib/irc.php:176
+#: ../../../lib/irc.php:235 ../../../lib/irc.php:268 ../../../lib/irc.php:286
+msgid "IRC Server refused the connection."
 msgstr ""
 
-#: ../lib/irc.php:340
-msgid "Modify access lists"
+#: ../../../lib/irc.php:163 ../../../lib/irc.php:272
+msgid "Failed to authenticate with NickServ"
 msgstr ""
 
-#: ../lib/irc.php:341
-msgid "Topic"
+#: ../../../lib/irc.php:180 ../../../lib/irc.php:290
+msgid "vhost not set."
 msgstr ""
 
-#: ../lib/irc.php:342
-msgid "View access lists"
+#: ../../../lib/irc.php:200
+msgid "There is an error in the config. See console for output."
 msgstr ""
 
-#: ../lib/irc.php:343
-msgid "Founder"
+#: ../../../lib/irc.php:202
+msgid "Rehashed. View console for output."
 msgstr ""
 
-#: ../lib/irc.php:344
-msgid "Banned"
+#: ../../../lib/irc.php:233 ../../../lib/irc.php:255 ../../../lib/irc.php:284
+msgid "RunServ is already running."
 msgstr ""
 
-#: ../lib/opers.php:56
+#: ../../../lib/opers.php:56
 msgid "Managed Oper"
 msgstr ""
 
-#: ../lib/opers.php:56
+#: ../../../lib/opers.php:56
 msgid "Personal Oper"
 msgstr ""
 
-#: ../lib/opers.php:59 ../lib/servers.php:111 ../lib/users.php:143
+#: ../../../lib/opers.php:59 ../../../lib/servers.php:111
+#: ../../../lib/users.php:143
 msgid "Nick"
 msgstr ""
 
-#: ../lib/opers.php:65
+#: ../../../lib/opers.php:65
 msgid "Omnimaga Profile"
 msgstr ""
 
-#: ../lib/opers.php:71 ../site/index.php:389
+#: ../../../lib/opers.php:71 ../../../site/index.php:450
 msgid "New Password"
 msgstr ""
 
-#: ../lib/security.php:63
+#: ../../../lib/security.php:63
 msgid "Invalid credentials"
 msgstr ""
 
-#: ../lib/security.php:67 ../lib/security.php:81 ../site/api/index.php:158
-#: ../site/index.php:402 ../site/index.php:456
+#: ../../../lib/security.php:67 ../../../lib/security.php:81
+#: ../../../site/api/index.php:162 ../../../site/index.php:312
+#: ../../../site/index.php:463 ../../../site/index.php:517
 msgid "User"
 msgstr ""
 
-#: ../lib/security.php:67 ../lib/security.php:81 ../site/api/index.php:158
+#: ../../../lib/security.php:67 ../../../lib/security.php:81
+#: ../../../site/api/index.php:162
 msgid "does not exist"
 msgstr ""
 
-#: ../lib/security.php:73
+#: ../../../lib/security.php:73
 msgid "Invalid persona email"
 msgstr ""
 
-#: ../lib/security.php:84 ../site/api/index.php:289
+#: ../../../lib/security.php:84 ../../../site/api/index.php:323
 msgid "Invalid password"
 msgstr ""
 
-#: ../lib/security.php:102 ../lib/security.php:171
+#: ../../../lib/security.php:102 ../../../lib/security.php:171
 msgid "Failed to create Authy user"
 msgstr ""
 
-#: ../lib/security.php:115
+#: ../../../lib/security.php:115
 msgid "Token didn't match "
 msgstr ""
 
-#: ../lib/security.php:122 ../lib/security.php:204 ../site/api/index.php:43
-#: ../site/api/index.php:76 ../site/api/index.php:104
-#: ../site/api/index.php:153 ../site/api/index.php:167
-#: ../site/api/index.php:176 ../site/api/index.php:185
-#: ../site/api/index.php:261 ../site/api/index.php:276
-#: ../site/api/index.php:284
+#: ../../../lib/security.php:122 ../../../lib/security.php:204
+#: ../../../site/api/index.php:43 ../../../site/api/index.php:76
+#: ../../../site/api/index.php:104 ../../../site/api/index.php:157
+#: ../../../site/api/index.php:171 ../../../site/api/index.php:180
+#: ../../../site/api/index.php:189 ../../../site/api/index.php:218
+#: ../../../site/api/index.php:295 ../../../site/api/index.php:310
+#: ../../../site/api/index.php:318
 msgid "You have been logged out"
 msgstr ""
 
-#: ../lib/security.php:137 ../lib/security.php:140 ../lib/security.php:150
+#: ../../../lib/security.php:137 ../../../lib/security.php:140
+#: ../../../lib/security.php:150
 msgid "Failed to disable 2-factor authentication"
 msgstr ""
 
-#: ../lib/security.php:178
+#: ../../../lib/security.php:178
 msgid "No cell number set"
 msgstr ""
 
-#: ../lib/security.php:181
+#: ../../../lib/security.php:181
 msgid "No country code set"
 msgstr ""
 
-#: ../lib/security.php:191
+#: ../../../lib/security.php:191
 msgid "Could not register"
 msgstr ""
 
-#: ../lib/security.php:194
+#: ../../../lib/security.php:194
 msgid "No secret key defined"
 msgstr ""
 
-#: ../lib/security.php:197
+#: ../../../lib/security.php:197
 msgid "No token provided"
 msgstr ""
 
-#: ../lib/servers.php:105 ../lib/users.php:137
+#: ../../../lib/servers.php:105 ../../../lib/users.php:137
 msgid "Real Name"
 msgstr ""
 
-#: ../lib/servers.php:105 ../lib/users.php:149
+#: ../../../lib/servers.php:105 ../../../lib/users.php:149
 msgid "Email"
 msgstr ""
 
-#: ../lib/servers.php:108 ../site/index.php:216
+#: ../../../lib/servers.php:108 ../../../site/index.php:230
 msgid "Opers"
 msgstr ""
 
-#: ../lib/servers.php:111
+#: ../../../lib/servers.php:111
 msgid "Role"
 msgstr ""
 
-#: ../lib/servers.php:119
+#: ../../../lib/servers.php:119
 msgid "Parent"
 msgstr ""
 
-#: ../lib/servers.php:123
+#: ../../../lib/servers.php:123
 msgid "Children"
 msgstr ""
 
-#: ../site/api/index.php:21
+#: ../../../site/api/index.php:21
 msgid "Missing username and/or password"
 msgstr ""
 
-#: ../site/api/index.php:22
+#: ../../../site/api/index.php:22
 msgid "Missing user type"
 msgstr ""
 
-#: ../site/api/index.php:31
+#: ../../../site/api/index.php:31
 msgid "No token set"
 msgstr ""
 
-#: ../site/api/index.php:72
+#: ../../../site/api/index.php:72
 msgid "Cannot fetch memos"
 msgstr ""
 
-#: ../site/api/index.php:100
+#: ../../../site/api/index.php:100
 msgid "Cannot fetch news"
 msgstr ""
 
-#: ../site/api/index.php:149
+#: ../../../site/api/index.php:153
 msgid "Cannot fetch channels"
 msgstr ""
 
-#: ../site/api/index.php:154
+#: ../../../site/api/index.php:158
 msgid "No message or user entered"
 msgstr ""
 
-#: ../site/api/index.php:160
+#: ../../../site/api/index.php:164
 msgid "Memo Sent"
 msgstr ""
 
-#: ../site/api/index.php:163
+#: ../../../site/api/index.php:167
 msgid "Cannot send memo"
 msgstr ""
 
-#: ../site/api/index.php:168
+#: ../../../site/api/index.php:172
 msgid "No id given"
 msgstr ""
 
-#: ../site/api/index.php:171
+#: ../../../site/api/index.php:175
 msgid "Cannot delete memo"
 msgstr ""
 
-#: ../site/api/index.php:177 ../site/api/index.php:186
+#: ../../../site/api/index.php:181 ../../../site/api/index.php:190
+#: ../../../site/api/index.php:219
 msgid "No channel given"
 msgstr ""
 
-#: ../site/api/index.php:180
+#: ../../../site/api/index.php:184
 msgid "Cannot drop channel"
 msgstr ""
 
-#: ../site/api/index.php:236
+#: ../../../site/api/index.php:191
+msgid "No user given"
+msgstr ""
+
+#: ../../../site/api/index.php:209 ../../../site/api/index.php:213
+msgid "Cannot change flag"
+msgstr ""
+
+#: ../../../site/api/index.php:270
 msgid "Failed to add email"
 msgstr ""
 
-#: ../site/api/index.php:236
+#: ../../../site/api/index.php:270
 msgid "to user"
 msgstr ""
 
-#: ../site/api/index.php:238
+#: ../../../site/api/index.php:272
 msgid "Email does not match any users"
 msgstr ""
 
-#: ../site/api/index.php:262
+#: ../../../site/api/index.php:296
 msgid "No ID set"
 msgstr ""
 
-#: ../site/api/index.php:264
+#: ../../../site/api/index.php:298
 msgid "Could not remove email address"
 msgstr ""
 
-#: ../site/api/index.php:281
+#: ../../../site/api/index.php:315
 msgid "2-factor disabled."
 msgstr ""
 
-#: ../site/api/index.php:288 ../site/api/index.php:303
-#: ../site/api/index.php:314
+#: ../../../site/api/index.php:322 ../../../site/api/index.php:337
+#: ../../../site/api/index.php:348
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgstr ""
 
-#: ../site/api/index.php:294
+#: ../../../site/api/index.php:328
 msgid "Could not update password with nickserv"
 msgstr ""
 
-#: ../site/api/index.php:304
+#: ../../../site/api/index.php:338
 msgid "Not Logged in to use"
 msgstr ""
 
-#: ../site/api/index.php:304
+#: ../../../site/api/index.php:338
 msgid "with key"
 msgstr ""
 
-#: ../site/api/index.php:305
+#: ../../../site/api/index.php:339
 msgid "Must be logged in with type user to sync pass"
 msgstr ""
 
-#: ../site/api/index.php:308
+#: ../../../site/api/index.php:342
 msgid "Could not verify with nickserv"
 msgstr ""
 
-#: ../site/api/index.php:311
+#: ../../../site/api/index.php:345
 msgid "Nickserv password synchronized with main account"
 msgstr ""
 
-#: ../site/api/index.php:319 ../site/api/index.php:332
-#: ../site/api/index.php:351
+#: ../../../site/api/index.php:353 ../../../site/api/index.php:366
+#: ../../../site/api/index.php:385
 msgid "Not logged in"
 msgstr ""
 
-#: ../site/api/index.php:320 ../site/api/index.php:333
+#: ../../../site/api/index.php:354 ../../../site/api/index.php:367
 msgid "No user set."
 msgstr ""
 
-#: ../site/api/index.php:321
+#: ../../../site/api/index.php:355
 msgid "No email set."
 msgstr ""
 
-#: ../site/api/index.php:322
+#: ../../../site/api/index.php:356
 msgid "No real name set."
 msgstr ""
 
-#: ../site/api/index.php:323 ../site/api/index.php:334
+#: ../../../site/api/index.php:357 ../../../site/api/index.php:368
 msgid "No nick set."
 msgstr ""
 
-#: ../site/api/index.php:324
+#: ../../../site/api/index.php:358
 msgid "User with id"
 msgstr ""
 
-#: ../site/api/index.php:324 ../site/api/index.php:336
+#: ../../../site/api/index.php:358 ../../../site/api/index.php:370
 msgid "does not exist. You should reload the page."
 msgstr ""
 
-#: ../site/api/index.php:328
+#: ../../../site/api/index.php:362
 msgid "Unable to update user"
 msgstr ""
 
-#: ../site/api/index.php:335
+#: ../../../site/api/index.php:369
 msgid "No profile set."
 msgstr ""
 
-#: ../site/api/index.php:336
+#: ../../../site/api/index.php:370
 msgid "Oper with id"
 msgstr ""
 
-#: ../site/api/index.php:338 ../site/api/index.php:340
+#: ../../../site/api/index.php:372 ../../../site/api/index.php:374
 msgid "Unable to update oper"
 msgstr ""
 
-#: ../site/api/index.php:346
+#: ../../../site/api/index.php:380
 msgid "Failed to update setting"
 msgstr ""
 
-#: ../site/api/index.php:346
+#: ../../../site/api/index.php:380
 msgid "with value"
 msgstr ""
 
-#: ../site/api/index.php:355
+#: ../../../site/api/index.php:389
 msgid "Invalid Action"
 msgstr ""
 
-#: ../site/index.php:78 ../site/index.php:79 ../site/index.php:123
-#: ../site/index.php:124 ../site/index.php:154 ../site/index.php:155
+#: ../../../site/index.php:78 ../../../site/index.php:79
+#: ../../../site/index.php:123 ../../../site/index.php:124
+#: ../../../site/index.php:154 ../../../site/index.php:155
 msgid "Refresh"
 msgstr ""
 
-#: ../site/index.php:81 ../site/index.php:82
+#: ../../../site/index.php:81 ../../../site/index.php:82
 msgid "New Memo"
 msgstr ""
 
-#: ../site/index.php:84 ../site/index.php:85
+#: ../../../site/index.php:84 ../../../site/index.php:85
 msgid "Delete All"
 msgstr ""
 
-#: ../site/index.php:91 ../site/index.php:133
+#: ../../../site/index.php:91 ../../../site/index.php:133
 msgid "From"
 msgstr ""
 
-#: ../site/index.php:99 ../site/index.php:141
+#: ../../../site/index.php:99 ../../../site/index.php:141
 msgid "Sent"
 msgstr ""
 
-#: ../site/index.php:107
+#: ../../../site/index.php:107
 msgid "Body"
 msgstr ""
 
-#: ../site/index.php:113 ../site/index.php:114
+#: ../../../site/index.php:113 ../../../site/index.php:114
 msgid "Reply"
 msgstr ""
 
-#: ../site/index.php:116 ../site/index.php:117 ../site/index.php:191
-#: ../site/index.php:192
+#: ../../../site/index.php:116 ../../../site/index.php:117
+#: ../../../site/index.php:205 ../../../site/index.php:206
 msgid "Delete"
 msgstr ""
 
-#: ../site/index.php:157 ../site/index.php:158
+#: ../../../site/index.php:157 ../../../site/index.php:158
 msgid "New Channel"
 msgstr ""
 
-#: ../site/index.php:166
+#: ../../../site/index.php:166
 msgid "Access"
 msgstr ""
 
-#: ../site/index.php:176
+#: ../../../site/index.php:177 ../../../site/index.php:318
 msgid "Flags"
 msgstr ""
 
-#: ../site/index.php:211
+#: ../../../site/index.php:182 ../../../site/index.php:308
+msgid "Modify"
+msgstr ""
+
+#: ../../../site/index.php:200 ../../../site/index.php:201
+msgid "Add Access"
+msgstr ""
+
+#: ../../../site/index.php:225
 msgid "News"
 msgstr ""
 
-#: ../site/index.php:212
+#: ../../../site/index.php:226
 msgid "Memos"
 msgstr ""
 
-#: ../site/index.php:213
+#: ../../../site/index.php:227
 msgid "Channels"
 msgstr ""
 
-#: ../site/index.php:215
+#: ../../../site/index.php:229
 msgid "Servers"
 msgstr ""
 
-#: ../site/index.php:217
+#: ../../../site/index.php:231
 msgid "Configuration"
 msgstr ""
 
-#: ../site/index.php:219
+#: ../../../site/index.php:233
 msgid "Profile"
 msgstr ""
 
-#: ../site/index.php:254
+#: ../../../site/index.php:264
+msgid "Send"
+msgstr ""
+
+#: ../../../site/index.php:268
 msgid "To"
 msgstr ""
 
-#: ../site/index.php:260
+#: ../../../site/index.php:274
 msgid "Message"
 msgstr ""
 
-#: ../site/index.php:279
+#: ../../../site/index.php:289
+msgid "Register"
+msgstr ""
+
+#: ../../../site/index.php:293
 msgid "Channel Name"
 msgstr ""
 
-#: ../site/index.php:301
+#: ../../../site/index.php:362
 msgid "Country"
 msgstr ""
 
-#: ../site/index.php:309
+#: ../../../site/index.php:370
 msgid "Cell #"
 msgstr ""
 
-#: ../site/index.php:332
+#: ../../../site/index.php:393
 msgid "Token"
 msgstr ""
 
-#: ../site/index.php:347
+#: ../../../site/index.php:408
 msgid "Disable 2-factor"
 msgstr ""
 
-#: ../site/index.php:353
+#: ../../../site/index.php:414
 msgid "Link Persona"
 msgstr ""
 
-#: ../site/index.php:356
+#: ../../../site/index.php:417
 msgid "Remove"
 msgstr ""
 
-#: ../site/index.php:364
+#: ../../../site/index.php:425
 msgid "Switch Role"
 msgstr ""
 
-#: ../site/index.php:366
+#: ../../../site/index.php:427
 msgid "Rehash"
 msgstr ""
 
-#: ../site/index.php:368 ../site/index.php:379
+#: ../../../site/index.php:429 ../../../site/index.php:440
 msgid "Change Password"
 msgstr ""
 
-#: ../site/index.php:370
+#: ../../../site/index.php:431
 msgid "Sync Password"
 msgstr ""
 
-#: ../site/index.php:372
+#: ../../../site/index.php:433
 msgid "Logout"
 msgstr ""
 
-#: ../site/index.php:383 ../site/index.php:481
+#: ../../../site/index.php:444 ../../../site/index.php:542
 msgid "Password"
 msgstr ""
 
-#: ../site/index.php:413
+#: ../../../site/index.php:474
 msgid "Switch"
 msgstr ""
 
-#: ../site/index.php:417 ../site/index.php:487
+#: ../../../site/index.php:478 ../../../site/index.php:548
 msgid "Type"
 msgstr ""
 
-#: ../site/index.php:435 ../site/index.php:467
+#: ../../../site/index.php:496 ../../../site/index.php:528
 msgid "Login"
 msgstr ""
 
-#: ../site/index.php:439
+#: ../../../site/index.php:500
 msgid "2-Factor Verification"
 msgstr ""
 
-#: ../site/index.php:471
+#: ../../../site/index.php:532
 msgid "Persona"
 msgstr ""
 
-#: ../site/index.php:475
+#: ../../../site/index.php:536
 msgid "Username"
 msgstr ""
 
-#: ../site/js/index.js:123
+#: ../../../site/js/index.js:128
 msgid "Oper updated"
 msgstr ""
 
-#: ../site/js/index.js:134
+#: ../../../site/js/index.js:139
 msgid "Could not submit the form"
 msgstr ""
 
-#: ../site/js/index.js:160
+#: ../../../site/js/index.js:165
 msgid "Could not rehash the servers"
 msgstr ""
 
-#: ../site/js/index.js:201
+#: ../../../site/js/index.js:206
 msgid "Could not synchronize your password"
 msgstr ""
 
-#: ../site/js/index.js:214
+#: ../../../site/js/index.js:219
 msgid "This is an admin only feature. Continue?"
 msgstr ""
 
-#: ../site/js/index.js:241
+#: ../../../site/js/index.js:246
 msgid "Login failure"
 msgstr ""
 
-#: ../site/js/index.js:266
+#: ../../../site/js/index.js:271
 msgid "Could not remove persona address"
 msgstr ""
 
-#: ../site/js/index.js:386
+#: ../../../site/js/index.js:391
 msgid "Server Ping"
 msgstr ""
 
-#: ../site/js/index.js:401 ../site/js/index.js:478 ../site/js/index.js:589
-#: ../site/js/index.js:616
+#: ../../../site/js/index.js:406 ../../../site/js/index.js:483
+#: ../../../site/js/index.js:591 ../../../site/js/index.js:618
 msgid "Could not ping server"
 msgstr ""
 
-#: ../site/js/index.js:409
+#: ../../../site/js/index.js:414
 msgid "Fetching Memos"
 msgstr ""
 
-#: ../site/js/index.js:440 ../site/js/index.js:517 ../site/js/index.js:556
+#: ../../../site/js/index.js:445 ../../../site/js/index.js:522
+#: ../../../site/js/index.js:561
 msgid "Could not contact server"
 msgstr ""
 
-#: ../site/js/index.js:459
+#: ../../../site/js/index.js:464
 msgid "Deleting memo"
 msgstr ""
 
-#: ../site/js/index.js:485
+#: ../../../site/js/index.js:490
 msgid "Fetching News"
 msgstr ""
 
-#: ../site/js/index.js:507
+#: ../../../site/js/index.js:512
 msgid "New news item"
 msgstr ""
 
-#: ../site/js/index.js:527
+#: ../../../site/js/index.js:532
 msgid "Fetching Channels"
 msgstr ""
 
-#: ../site/js/index.js:566
+#: ../../../site/js/index.js:568
 msgid "Are you sure you want to delete channel"
 msgstr ""
 
-#: ../site/js/index.js:567
+#: ../../../site/js/index.js:569
 msgid "Deleting channel"
 msgstr ""
 
-#: ../site/js/index.js:597
+#: ../../../site/js/index.js:599
 msgid "Registering channel"
 msgstr ""
 
-#: ../site/js/index.js:624
+#: ../../../site/js/index.js:647
 msgid "Language change detected"
 msgstr ""

BIN
lang/en_GB/LC_MESSAGES/omninet.mo


+ 170 - 144
lang/en_GB/LC_MESSAGES/omninet.po

@@ -1,8 +1,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Omninet\n"
-"POT-Creation-Date: 2014-02-23 14:18-0700\n"
-"PO-Revision-Date: 2014-02-23 14:18-0700\n"
+"POT-Creation-Date: 2014-02-23 18:36-0700\n"
+"PO-Revision-Date: 2014-02-23 18:36-0700\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: en_GB\n"
@@ -15,133 +15,133 @@ msgstr ""
 "X-Poedit-KeywordsList: __\n"
 "X-Poedit-SearchPath-0: ../../..\n"
 
-#: ../../../lib/configuration.php:133 ../../../lib/users.php:163
-msgid "Save"
+#: ../../../lib/channels.php:5
+msgid "Voice"
 msgstr ""
 
-#: ../../../lib/irc.php:37
-msgid "Insufficient Parameters to login"
+#: ../../../lib/channels.php:6
+msgid "Automatic voice"
 msgstr ""
 
-#: ../../../lib/irc.php:40
-msgid "Account is not registered"
+#: ../../../lib/channels.php:7
+msgid "Halfop"
 msgstr ""
 
-#: ../../../lib/irc.php:43
-msgid "Invalid Username/Password"
+#: ../../../lib/channels.php:8
+msgid "Automatic Halfop"
 msgstr ""
 
-#: ../../../lib/irc.php:46
-msgid "Account is frozen"
+#: ../../../lib/channels.php:9
+msgid "Op"
 msgstr ""
 
-#: ../../../lib/irc.php:49
-msgid "Could not log in"
+#: ../../../lib/channels.php:10
+msgid "Automatic Op"
 msgstr ""
 
-#: ../../../lib/irc.php:140 ../../../lib/irc.php:228
-msgid "Could not connect."
+#: ../../../lib/channels.php:11
+msgid "Admin"
 msgstr ""
 
-#: ../../../lib/irc.php:141 ../../../lib/irc.php:229
-msgid "Could not set timeout."
+#: ../../../lib/channels.php:12 ../../../lib/servers.php:104
+msgid "Owner"
 msgstr ""
 
-#: ../../../lib/irc.php:151 ../../../lib/irc.php:168 ../../../lib/irc.php:185
-msgid "RehashServ is already running."
+#: ../../../lib/channels.php:13
+msgid "Set"
 msgstr ""
 
-#: ../../../lib/irc.php:153 ../../../lib/irc.php:170 ../../../lib/irc.php:187
-#: ../../../lib/irc.php:246 ../../../lib/irc.php:279 ../../../lib/irc.php:297
-msgid "IRC Server refused the connection."
+#: ../../../lib/channels.php:14
+msgid "Invite/Getkey"
 msgstr ""
 
-#: ../../../lib/irc.php:174 ../../../lib/irc.php:283
-msgid "Failed to authenticate with NickServ"
+#: ../../../lib/channels.php:15
+msgid "Kick/Ban"
 msgstr ""
 
-#: ../../../lib/irc.php:191 ../../../lib/irc.php:301
-msgid "vhost not set."
+#: ../../../lib/channels.php:16
+msgid "Recover/Clear"
 msgstr ""
 
-#: ../../../lib/irc.php:211
-msgid "There is an error in the config. See console for output."
+#: ../../../lib/channels.php:17
+msgid "Modify access lists"
 msgstr ""
 
-#: ../../../lib/irc.php:213
-msgid "Rehashed. View console for output."
+#: ../../../lib/channels.php:18
+msgid "Topic"
 msgstr ""
 
-#: ../../../lib/irc.php:244 ../../../lib/irc.php:266 ../../../lib/irc.php:295
-msgid "RunServ is already running."
+#: ../../../lib/channels.php:19
+msgid "View access lists"
 msgstr ""
 
-#: ../../../lib/irc.php:328
-msgid "Voice"
+#: ../../../lib/channels.php:20
+msgid "Founder"
 msgstr ""
 
-#: ../../../lib/irc.php:329
-msgid "Automatic voice"
+#: ../../../lib/channels.php:21
+msgid "Banned"
 msgstr ""
 
-#: ../../../lib/irc.php:330
-msgid "Halfop"
+#: ../../../lib/configuration.php:133 ../../../lib/users.php:163
+msgid "Save"
 msgstr ""
 
-#: ../../../lib/irc.php:331
-msgid "Automatic Halfop"
+#: ../../../lib/irc.php:37
+msgid "Insufficient Parameters to login"
 msgstr ""
 
-#: ../../../lib/irc.php:332
-msgid "Op"
+#: ../../../lib/irc.php:40
+msgid "Account is not registered"
 msgstr ""
 
-#: ../../../lib/irc.php:333
-msgid "Automatic Op"
+#: ../../../lib/irc.php:43
+msgid "Invalid Username/Password"
 msgstr ""
 
-#: ../../../lib/irc.php:334
-msgid "Admin"
+#: ../../../lib/irc.php:46
+msgid "Account is frozen"
 msgstr ""
 
-#: ../../../lib/irc.php:335 ../../../lib/servers.php:104
-msgid "Owner"
+#: ../../../lib/irc.php:49
+msgid "Could not log in"
 msgstr ""
 
-#: ../../../lib/irc.php:336
-msgid "Set"
+#: ../../../lib/irc.php:129 ../../../lib/irc.php:217
+msgid "Could not connect."
 msgstr ""
 
-#: ../../../lib/irc.php:337
-msgid "Invite/Getkey"
+#: ../../../lib/irc.php:130 ../../../lib/irc.php:218
+msgid "Could not set timeout."
 msgstr ""
 
-#: ../../../lib/irc.php:338
-msgid "Kick/Ban"
+#: ../../../lib/irc.php:140 ../../../lib/irc.php:157 ../../../lib/irc.php:174
+msgid "RehashServ is already running."
 msgstr ""
 
-#: ../../../lib/irc.php:339
-msgid "Recover/Clear"
+#: ../../../lib/irc.php:142 ../../../lib/irc.php:159 ../../../lib/irc.php:176
+#: ../../../lib/irc.php:235 ../../../lib/irc.php:268 ../../../lib/irc.php:286
+msgid "IRC Server refused the connection."
 msgstr ""
 
-#: ../../../lib/irc.php:340
-msgid "Modify access lists"
+#: ../../../lib/irc.php:163 ../../../lib/irc.php:272
+msgid "Failed to authenticate with NickServ"
 msgstr ""
 
-#: ../../../lib/irc.php:341
-msgid "Topic"
+#: ../../../lib/irc.php:180 ../../../lib/irc.php:290
+msgid "vhost not set."
 msgstr ""
 
-#: ../../../lib/irc.php:342
-msgid "View access lists"
+#: ../../../lib/irc.php:200
+msgid "There is an error in the config. See console for output."
 msgstr ""
 
-#: ../../../lib/irc.php:343
-msgid "Founder"
+#: ../../../lib/irc.php:202
+msgid "Rehashed. View console for output."
 msgstr ""
 
-#: ../../../lib/irc.php:344
-msgid "Banned"
+#: ../../../lib/irc.php:233 ../../../lib/irc.php:255 ../../../lib/irc.php:284
+msgid "RunServ is already running."
 msgstr ""
 
 #: ../../../lib/opers.php:56
@@ -161,7 +161,7 @@ msgstr ""
 msgid "Omnimaga Profile"
 msgstr ""
 
-#: ../../../lib/opers.php:71 ../../../site/index.php:389
+#: ../../../lib/opers.php:71 ../../../site/index.php:450
 msgid "New Password"
 msgstr ""
 
@@ -170,13 +170,13 @@ msgid "Invalid credentials"
 msgstr ""
 
 #: ../../../lib/security.php:67 ../../../lib/security.php:81
-#: ../../../site/api/index.php:158 ../../../site/index.php:402
-#: ../../../site/index.php:456
+#: ../../../site/api/index.php:162 ../../../site/index.php:312
+#: ../../../site/index.php:463 ../../../site/index.php:517
 msgid "User"
 msgstr ""
 
 #: ../../../lib/security.php:67 ../../../lib/security.php:81
-#: ../../../site/api/index.php:158
+#: ../../../site/api/index.php:162
 msgid "does not exist"
 msgstr ""
 
@@ -184,7 +184,7 @@ msgstr ""
 msgid "Invalid persona email"
 msgstr ""
 
-#: ../../../lib/security.php:84 ../../../site/api/index.php:290
+#: ../../../lib/security.php:84 ../../../site/api/index.php:323
 msgid "Invalid password"
 msgstr ""
 
@@ -198,10 +198,11 @@ msgstr ""
 
 #: ../../../lib/security.php:122 ../../../lib/security.php:204
 #: ../../../site/api/index.php:43 ../../../site/api/index.php:76
-#: ../../../site/api/index.php:104 ../../../site/api/index.php:153
-#: ../../../site/api/index.php:167 ../../../site/api/index.php:176
-#: ../../../site/api/index.php:185 ../../../site/api/index.php:262
-#: ../../../site/api/index.php:277 ../../../site/api/index.php:285
+#: ../../../site/api/index.php:104 ../../../site/api/index.php:157
+#: ../../../site/api/index.php:171 ../../../site/api/index.php:180
+#: ../../../site/api/index.php:189 ../../../site/api/index.php:218
+#: ../../../site/api/index.php:295 ../../../site/api/index.php:310
+#: ../../../site/api/index.php:318
 msgid "You have been logged out"
 msgstr ""
 
@@ -238,7 +239,7 @@ msgstr ""
 msgid "Email"
 msgstr ""
 
-#: ../../../lib/servers.php:108 ../../../site/index.php:216
+#: ../../../lib/servers.php:108 ../../../site/index.php:230
 msgid "Opers"
 msgstr ""
 
@@ -274,145 +275,154 @@ msgstr ""
 msgid "Cannot fetch news"
 msgstr ""
 
-#: ../../../site/api/index.php:149
+#: ../../../site/api/index.php:153
 msgid "Cannot fetch channels"
 msgstr ""
 
-#: ../../../site/api/index.php:154
+#: ../../../site/api/index.php:158
 msgid "No message or user entered"
 msgstr ""
 
-#: ../../../site/api/index.php:160
+#: ../../../site/api/index.php:164
 msgid "Memo Sent"
 msgstr ""
 
-#: ../../../site/api/index.php:163
+#: ../../../site/api/index.php:167
 msgid "Cannot send memo"
 msgstr ""
 
-#: ../../../site/api/index.php:168
+#: ../../../site/api/index.php:172
 msgid "No id given"
 msgstr ""
 
-#: ../../../site/api/index.php:171
+#: ../../../site/api/index.php:175
 msgid "Cannot delete memo"
 msgstr ""
 
-#: ../../../site/api/index.php:177 ../../../site/api/index.php:186
+#: ../../../site/api/index.php:181 ../../../site/api/index.php:190
+#: ../../../site/api/index.php:219
 msgid "No channel given"
 msgstr ""
 
-#: ../../../site/api/index.php:180
+#: ../../../site/api/index.php:184
 msgid "Cannot drop channel"
 msgstr ""
 
-#: ../../../site/api/index.php:237
+#: ../../../site/api/index.php:191
+msgid "No user given"
+msgstr ""
+
+#: ../../../site/api/index.php:209 ../../../site/api/index.php:213
+msgid "Cannot change flag"
+msgstr ""
+
+#: ../../../site/api/index.php:270
 msgid "Failed to add email"
 msgstr ""
 
-#: ../../../site/api/index.php:237
+#: ../../../site/api/index.php:270
 msgid "to user"
 msgstr ""
 
-#: ../../../site/api/index.php:239
+#: ../../../site/api/index.php:272
 msgid "Email does not match any users"
 msgstr ""
 
-#: ../../../site/api/index.php:263
+#: ../../../site/api/index.php:296
 msgid "No ID set"
 msgstr ""
 
-#: ../../../site/api/index.php:265
+#: ../../../site/api/index.php:298
 msgid "Could not remove email address"
 msgstr ""
 
-#: ../../../site/api/index.php:282
+#: ../../../site/api/index.php:315
 msgid "2-factor disabled."
 msgstr ""
 
-#: ../../../site/api/index.php:289 ../../../site/api/index.php:304
-#: ../../../site/api/index.php:315
+#: ../../../site/api/index.php:322 ../../../site/api/index.php:337
+#: ../../../site/api/index.php:348
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgstr ""
 
-#: ../../../site/api/index.php:295
+#: ../../../site/api/index.php:328
 msgid "Could not update password with nickserv"
 msgstr ""
 
-#: ../../../site/api/index.php:305
+#: ../../../site/api/index.php:338
 msgid "Not Logged in to use"
 msgstr ""
 
-#: ../../../site/api/index.php:305
+#: ../../../site/api/index.php:338
 msgid "with key"
 msgstr ""
 
-#: ../../../site/api/index.php:306
+#: ../../../site/api/index.php:339
 msgid "Must be logged in with type user to sync pass"
 msgstr ""
 
-#: ../../../site/api/index.php:309
+#: ../../../site/api/index.php:342
 msgid "Could not verify with nickserv"
 msgstr ""
 
-#: ../../../site/api/index.php:312
+#: ../../../site/api/index.php:345
 msgid "Nickserv password synchronized with main account"
 msgstr ""
 
-#: ../../../site/api/index.php:320 ../../../site/api/index.php:333
-#: ../../../site/api/index.php:352
+#: ../../../site/api/index.php:353 ../../../site/api/index.php:366
+#: ../../../site/api/index.php:385
 msgid "Not logged in"
 msgstr ""
 
-#: ../../../site/api/index.php:321 ../../../site/api/index.php:334
+#: ../../../site/api/index.php:354 ../../../site/api/index.php:367
 msgid "No user set."
 msgstr ""
 
-#: ../../../site/api/index.php:322
+#: ../../../site/api/index.php:355
 msgid "No email set."
 msgstr ""
 
-#: ../../../site/api/index.php:323
+#: ../../../site/api/index.php:356
 msgid "No real name set."
 msgstr ""
 
-#: ../../../site/api/index.php:324 ../../../site/api/index.php:335
+#: ../../../site/api/index.php:357 ../../../site/api/index.php:368
 msgid "No nick set."
 msgstr ""
 
-#: ../../../site/api/index.php:325
+#: ../../../site/api/index.php:358
 msgid "User with id"
 msgstr ""
 
-#: ../../../site/api/index.php:325 ../../../site/api/index.php:337
+#: ../../../site/api/index.php:358 ../../../site/api/index.php:370
 msgid "does not exist. You should reload the page."
 msgstr ""
 
-#: ../../../site/api/index.php:329
+#: ../../../site/api/index.php:362
 msgid "Unable to update user"
 msgstr ""
 
-#: ../../../site/api/index.php:336
+#: ../../../site/api/index.php:369
 msgid "No profile set."
 msgstr ""
 
-#: ../../../site/api/index.php:337
+#: ../../../site/api/index.php:370
 msgid "Oper with id"
 msgstr ""
 
-#: ../../../site/api/index.php:339 ../../../site/api/index.php:341
+#: ../../../site/api/index.php:372 ../../../site/api/index.php:374
 msgid "Unable to update oper"
 msgstr ""
 
-#: ../../../site/api/index.php:347
+#: ../../../site/api/index.php:380
 msgid "Failed to update setting"
 msgstr ""
 
-#: ../../../site/api/index.php:347
+#: ../../../site/api/index.php:380
 msgid "with value"
 msgstr ""
 
-#: ../../../site/api/index.php:356
+#: ../../../site/api/index.php:389
 msgid "Invalid Action"
 msgstr ""
 
@@ -447,7 +457,7 @@ msgid "Reply"
 msgstr ""
 
 #: ../../../site/index.php:116 ../../../site/index.php:117
-#: ../../../site/index.php:191 ../../../site/index.php:192
+#: ../../../site/index.php:205 ../../../site/index.php:206
 msgid "Delete"
 msgstr ""
 
@@ -459,115 +469,131 @@ msgstr ""
 msgid "Access"
 msgstr ""
 
-#: ../../../site/index.php:176
+#: ../../../site/index.php:177 ../../../site/index.php:318
 msgid "Flags"
 msgstr ""
 
-#: ../../../site/index.php:211
+#: ../../../site/index.php:182 ../../../site/index.php:308
+msgid "Modify"
+msgstr ""
+
+#: ../../../site/index.php:200 ../../../site/index.php:201
+msgid "Add Access"
+msgstr ""
+
+#: ../../../site/index.php:225
 msgid "News"
 msgstr ""
 
-#: ../../../site/index.php:212
+#: ../../../site/index.php:226
 msgid "Memos"
 msgstr ""
 
-#: ../../../site/index.php:213
+#: ../../../site/index.php:227
 msgid "Channels"
 msgstr ""
 
-#: ../../../site/index.php:215
+#: ../../../site/index.php:229
 msgid "Servers"
 msgstr ""
 
-#: ../../../site/index.php:217
+#: ../../../site/index.php:231
 msgid "Configuration"
 msgstr ""
 
-#: ../../../site/index.php:219
+#: ../../../site/index.php:233
 msgid "Profile"
 msgstr ""
 
-#: ../../../site/index.php:254
+#: ../../../site/index.php:264
+msgid "Send"
+msgstr ""
+
+#: ../../../site/index.php:268
 msgid "To"
 msgstr ""
 
-#: ../../../site/index.php:260
+#: ../../../site/index.php:274
 msgid "Message"
 msgstr ""
 
-#: ../../../site/index.php:279
+#: ../../../site/index.php:289
+msgid "Register"
+msgstr ""
+
+#: ../../../site/index.php:293
 msgid "Channel Name"
 msgstr ""
 
-#: ../../../site/index.php:301
+#: ../../../site/index.php:362
 msgid "Country"
 msgstr ""
 
-#: ../../../site/index.php:309
+#: ../../../site/index.php:370
 msgid "Cell #"
 msgstr ""
 
-#: ../../../site/index.php:332
+#: ../../../site/index.php:393
 msgid "Token"
 msgstr ""
 
-#: ../../../site/index.php:347
+#: ../../../site/index.php:408
 msgid "Disable 2-factor"
 msgstr ""
 
-#: ../../../site/index.php:353
+#: ../../../site/index.php:414
 msgid "Link Persona"
 msgstr ""
 
-#: ../../../site/index.php:356
+#: ../../../site/index.php:417
 msgid "Remove"
 msgstr ""
 
-#: ../../../site/index.php:364
+#: ../../../site/index.php:425
 msgid "Switch Role"
 msgstr ""
 
-#: ../../../site/index.php:366
+#: ../../../site/index.php:427
 msgid "Rehash"
 msgstr ""
 
-#: ../../../site/index.php:368 ../../../site/index.php:379
+#: ../../../site/index.php:429 ../../../site/index.php:440
 msgid "Change Password"
 msgstr ""
 
-#: ../../../site/index.php:370
+#: ../../../site/index.php:431
 msgid "Sync Password"
 msgstr ""
 
-#: ../../../site/index.php:372
+#: ../../../site/index.php:433
 msgid "Logout"
 msgstr ""
 
-#: ../../../site/index.php:383 ../../../site/index.php:481
+#: ../../../site/index.php:444 ../../../site/index.php:542
 msgid "Password"
 msgstr ""
 
-#: ../../../site/index.php:413
+#: ../../../site/index.php:474
 msgid "Switch"
 msgstr ""
 
-#: ../../../site/index.php:417 ../../../site/index.php:487
+#: ../../../site/index.php:478 ../../../site/index.php:548
 msgid "Type"
 msgstr ""
 
-#: ../../../site/index.php:435 ../../../site/index.php:467
+#: ../../../site/index.php:496 ../../../site/index.php:528
 msgid "Login"
 msgstr ""
 
-#: ../../../site/index.php:439
+#: ../../../site/index.php:500
 msgid "2-Factor Verification"
 msgstr ""
 
-#: ../../../site/index.php:471
+#: ../../../site/index.php:532
 msgid "Persona"
 msgstr ""
 
-#: ../../../site/index.php:475
+#: ../../../site/index.php:536
 msgid "Username"
 msgstr ""
 
@@ -645,6 +671,6 @@ msgstr ""
 msgid "Registering channel"
 msgstr ""
 
-#: ../../../site/js/index.js:626
+#: ../../../site/js/index.js:647
 msgid "Language change detected"
 msgstr ""

BIN
lang/en_US/LC_MESSAGES/omninet.mo


+ 190 - 164
lang/en_US/LC_MESSAGES/omninet.po

@@ -1,8 +1,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Omninet Control panel\n"
-"POT-Creation-Date: 2014-02-23 00:17-0700\n"
-"PO-Revision-Date: 2014-02-23 00:17-0700\n"
+"POT-Creation-Date: 2014-02-23 18:36-0700\n"
+"PO-Revision-Date: 2014-02-23 18:36-0700\n"
 "Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: en_US\n"
@@ -15,133 +15,133 @@ msgstr ""
 "X-Poedit-KeywordsList: __\n"
 "X-Poedit-SearchPath-0: ../../..\n"
 
-#: ../../../lib/configuration.php:133 ../../../lib/users.php:163
-msgid "Save"
+#: ../../../lib/channels.php:5
+msgid "Voice"
 msgstr ""
 
-#: ../../../lib/irc.php:37
-msgid "Insufficient Parameters to login"
+#: ../../../lib/channels.php:6
+msgid "Automatic voice"
 msgstr ""
 
-#: ../../../lib/irc.php:40
-msgid "Account is not registered"
+#: ../../../lib/channels.php:7
+msgid "Halfop"
 msgstr ""
 
-#: ../../../lib/irc.php:43
-msgid "Invalid Username/Password"
+#: ../../../lib/channels.php:8
+msgid "Automatic Halfop"
 msgstr ""
 
-#: ../../../lib/irc.php:46
-msgid "Account is frozen"
+#: ../../../lib/channels.php:9
+msgid "Op"
 msgstr ""
 
-#: ../../../lib/irc.php:49
-msgid "Could not log in"
+#: ../../../lib/channels.php:10
+msgid "Automatic Op"
 msgstr ""
 
-#: ../../../lib/irc.php:140 ../../../lib/irc.php:228
-msgid "Could not connect."
+#: ../../../lib/channels.php:11
+msgid "Admin"
 msgstr ""
 
-#: ../../../lib/irc.php:141 ../../../lib/irc.php:229
-msgid "Could not set timeout."
+#: ../../../lib/channels.php:12 ../../../lib/servers.php:104
+msgid "Owner"
 msgstr ""
 
-#: ../../../lib/irc.php:151 ../../../lib/irc.php:168 ../../../lib/irc.php:185
-msgid "RehashServ is already running."
+#: ../../../lib/channels.php:13
+msgid "Set"
 msgstr ""
 
-#: ../../../lib/irc.php:153 ../../../lib/irc.php:170 ../../../lib/irc.php:187
-#: ../../../lib/irc.php:246 ../../../lib/irc.php:279 ../../../lib/irc.php:297
-msgid "IRC Server refused the connection."
+#: ../../../lib/channels.php:14
+msgid "Invite/Getkey"
 msgstr ""
 
-#: ../../../lib/irc.php:174 ../../../lib/irc.php:283
-msgid "Failed to authenticate with NickServ"
+#: ../../../lib/channels.php:15
+msgid "Kick/Ban"
 msgstr ""
 
-#: ../../../lib/irc.php:191 ../../../lib/irc.php:301
-msgid "vhost not set."
+#: ../../../lib/channels.php:16
+msgid "Recover/Clear"
 msgstr ""
 
-#: ../../../lib/irc.php:211
-msgid "There is an error in the config. See console for output."
+#: ../../../lib/channels.php:17
+msgid "Modify access lists"
 msgstr ""
 
-#: ../../../lib/irc.php:213
-msgid "Rehashed. View console for output."
+#: ../../../lib/channels.php:18
+msgid "Topic"
 msgstr ""
 
-#: ../../../lib/irc.php:244 ../../../lib/irc.php:266 ../../../lib/irc.php:295
-msgid "RunServ is already running."
+#: ../../../lib/channels.php:19
+msgid "View access lists"
 msgstr ""
 
-#: ../../../lib/irc.php:328
-msgid "Voice"
+#: ../../../lib/channels.php:20
+msgid "Founder"
 msgstr ""
 
-#: ../../../lib/irc.php:329
-msgid "Automatic voice"
+#: ../../../lib/channels.php:21
+msgid "Banned"
 msgstr ""
 
-#: ../../../lib/irc.php:330
-msgid "Halfop"
+#: ../../../lib/configuration.php:133 ../../../lib/users.php:163
+msgid "Save"
 msgstr ""
 
-#: ../../../lib/irc.php:331
-msgid "Automatic Halfop"
+#: ../../../lib/irc.php:37
+msgid "Insufficient Parameters to login"
 msgstr ""
 
-#: ../../../lib/irc.php:332
-msgid "Op"
+#: ../../../lib/irc.php:40
+msgid "Account is not registered"
 msgstr ""
 
-#: ../../../lib/irc.php:333
-msgid "Automatic Op"
+#: ../../../lib/irc.php:43
+msgid "Invalid Username/Password"
 msgstr ""
 
-#: ../../../lib/irc.php:334
-msgid "Admin"
+#: ../../../lib/irc.php:46
+msgid "Account is frozen"
 msgstr ""
 
-#: ../../../lib/irc.php:335 ../../../lib/servers.php:104
-msgid "Owner"
+#: ../../../lib/irc.php:49
+msgid "Could not log in"
 msgstr ""
 
-#: ../../../lib/irc.php:336
-msgid "Set"
+#: ../../../lib/irc.php:129 ../../../lib/irc.php:217
+msgid "Could not connect."
 msgstr ""
 
-#: ../../../lib/irc.php:337
-msgid "Invite/Getkey"
+#: ../../../lib/irc.php:130 ../../../lib/irc.php:218
+msgid "Could not set timeout."
 msgstr ""
 
-#: ../../../lib/irc.php:338
-msgid "Kick/Ban"
+#: ../../../lib/irc.php:140 ../../../lib/irc.php:157 ../../../lib/irc.php:174
+msgid "RehashServ is already running."
 msgstr ""
 
-#: ../../../lib/irc.php:339
-msgid "Recover/Clear"
+#: ../../../lib/irc.php:142 ../../../lib/irc.php:159 ../../../lib/irc.php:176
+#: ../../../lib/irc.php:235 ../../../lib/irc.php:268 ../../../lib/irc.php:286
+msgid "IRC Server refused the connection."
 msgstr ""
 
-#: ../../../lib/irc.php:340
-msgid "Modify access lists"
+#: ../../../lib/irc.php:163 ../../../lib/irc.php:272
+msgid "Failed to authenticate with NickServ"
 msgstr ""
 
-#: ../../../lib/irc.php:341
-msgid "Topic"
+#: ../../../lib/irc.php:180 ../../../lib/irc.php:290
+msgid "vhost not set."
 msgstr ""
 
-#: ../../../lib/irc.php:342
-msgid "View access lists"
+#: ../../../lib/irc.php:200
+msgid "There is an error in the config. See console for output."
 msgstr ""
 
-#: ../../../lib/irc.php:343
-msgid "Founder"
+#: ../../../lib/irc.php:202
+msgid "Rehashed. View console for output."
 msgstr ""
 
-#: ../../../lib/irc.php:344
-msgid "Banned"
+#: ../../../lib/irc.php:233 ../../../lib/irc.php:255 ../../../lib/irc.php:284
+msgid "RunServ is already running."
 msgstr ""
 
 #: ../../../lib/opers.php:56
@@ -161,7 +161,7 @@ msgstr ""
 msgid "Omnimaga Profile"
 msgstr ""
 
-#: ../../../lib/opers.php:71 ../../../site/index.php:389
+#: ../../../lib/opers.php:71 ../../../site/index.php:450
 msgid "New Password"
 msgstr ""
 
@@ -170,13 +170,13 @@ msgid "Invalid credentials"
 msgstr ""
 
 #: ../../../lib/security.php:67 ../../../lib/security.php:81
-#: ../../../site/api/index.php:158 ../../../site/index.php:402
-#: ../../../site/index.php:456
+#: ../../../site/api/index.php:162 ../../../site/index.php:312
+#: ../../../site/index.php:463 ../../../site/index.php:517
 msgid "User"
 msgstr ""
 
 #: ../../../lib/security.php:67 ../../../lib/security.php:81
-#: ../../../site/api/index.php:158
+#: ../../../site/api/index.php:162
 msgid "does not exist"
 msgstr ""
 
@@ -184,7 +184,7 @@ msgstr ""
 msgid "Invalid persona email"
 msgstr ""
 
-#: ../../../lib/security.php:84 ../../../site/api/index.php:289
+#: ../../../lib/security.php:84 ../../../site/api/index.php:323
 msgid "Invalid password"
 msgstr ""
 
@@ -198,10 +198,11 @@ msgstr ""
 
 #: ../../../lib/security.php:122 ../../../lib/security.php:204
 #: ../../../site/api/index.php:43 ../../../site/api/index.php:76
-#: ../../../site/api/index.php:104 ../../../site/api/index.php:153
-#: ../../../site/api/index.php:167 ../../../site/api/index.php:176
-#: ../../../site/api/index.php:185 ../../../site/api/index.php:261
-#: ../../../site/api/index.php:276 ../../../site/api/index.php:284
+#: ../../../site/api/index.php:104 ../../../site/api/index.php:157
+#: ../../../site/api/index.php:171 ../../../site/api/index.php:180
+#: ../../../site/api/index.php:189 ../../../site/api/index.php:218
+#: ../../../site/api/index.php:295 ../../../site/api/index.php:310
+#: ../../../site/api/index.php:318
 msgid "You have been logged out"
 msgstr ""
 
@@ -238,7 +239,7 @@ msgstr ""
 msgid "Email"
 msgstr ""
 
-#: ../../../lib/servers.php:108 ../../../site/index.php:216
+#: ../../../lib/servers.php:108 ../../../site/index.php:230
 msgid "Opers"
 msgstr ""
 
@@ -274,145 +275,154 @@ msgstr ""
 msgid "Cannot fetch news"
 msgstr ""
 
-#: ../../../site/api/index.php:149
+#: ../../../site/api/index.php:153
 msgid "Cannot fetch channels"
 msgstr ""
 
-#: ../../../site/api/index.php:154
+#: ../../../site/api/index.php:158
 msgid "No message or user entered"
 msgstr ""
 
-#: ../../../site/api/index.php:160
+#: ../../../site/api/index.php:164
 msgid "Memo Sent"
 msgstr ""
 
-#: ../../../site/api/index.php:163
+#: ../../../site/api/index.php:167
 msgid "Cannot send memo"
 msgstr ""
 
-#: ../../../site/api/index.php:168
+#: ../../../site/api/index.php:172
 msgid "No id given"
 msgstr ""
 
-#: ../../../site/api/index.php:171
+#: ../../../site/api/index.php:175
 msgid "Cannot delete memo"
 msgstr ""
 
-#: ../../../site/api/index.php:177 ../../../site/api/index.php:186
+#: ../../../site/api/index.php:181 ../../../site/api/index.php:190
+#: ../../../site/api/index.php:219
 msgid "No channel given"
 msgstr ""
 
-#: ../../../site/api/index.php:180
+#: ../../../site/api/index.php:184
 msgid "Cannot drop channel"
 msgstr ""
 
-#: ../../../site/api/index.php:236
+#: ../../../site/api/index.php:191
+msgid "No user given"
+msgstr ""
+
+#: ../../../site/api/index.php:209 ../../../site/api/index.php:213
+msgid "Cannot change flag"
+msgstr ""
+
+#: ../../../site/api/index.php:270
 msgid "Failed to add email"
 msgstr ""
 
-#: ../../../site/api/index.php:236
+#: ../../../site/api/index.php:270
 msgid "to user"
 msgstr ""
 
-#: ../../../site/api/index.php:238
+#: ../../../site/api/index.php:272
 msgid "Email does not match any users"
 msgstr ""
 
-#: ../../../site/api/index.php:262
+#: ../../../site/api/index.php:296
 msgid "No ID set"
 msgstr ""
 
-#: ../../../site/api/index.php:264
+#: ../../../site/api/index.php:298
 msgid "Could not remove email address"
 msgstr ""
 
-#: ../../../site/api/index.php:281
+#: ../../../site/api/index.php:315
 msgid "2-factor disabled."
 msgstr ""
 
-#: ../../../site/api/index.php:288 ../../../site/api/index.php:303
-#: ../../../site/api/index.php:314
+#: ../../../site/api/index.php:322 ../../../site/api/index.php:337
+#: ../../../site/api/index.php:348
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgstr ""
 
-#: ../../../site/api/index.php:294
+#: ../../../site/api/index.php:328
 msgid "Could not update password with nickserv"
 msgstr ""
 
-#: ../../../site/api/index.php:304
+#: ../../../site/api/index.php:338
 msgid "Not Logged in to use"
 msgstr ""
 
-#: ../../../site/api/index.php:304
+#: ../../../site/api/index.php:338
 msgid "with key"
 msgstr ""
 
-#: ../../../site/api/index.php:305
+#: ../../../site/api/index.php:339
 msgid "Must be logged in with type user to sync pass"
 msgstr ""
 
-#: ../../../site/api/index.php:308
+#: ../../../site/api/index.php:342
 msgid "Could not verify with nickserv"
 msgstr ""
 
-#: ../../../site/api/index.php:311
+#: ../../../site/api/index.php:345
 msgid "Nickserv password synchronized with main account"
 msgstr ""
 
-#: ../../../site/api/index.php:319 ../../../site/api/index.php:332
-#: ../../../site/api/index.php:351
+#: ../../../site/api/index.php:353 ../../../site/api/index.php:366
+#: ../../../site/api/index.php:385
 msgid "Not logged in"
 msgstr ""
 
-#: ../../../site/api/index.php:320 ../../../site/api/index.php:333
+#: ../../../site/api/index.php:354 ../../../site/api/index.php:367
 msgid "No user set."
 msgstr ""
 
-#: ../../../site/api/index.php:321
+#: ../../../site/api/index.php:355
 msgid "No email set."
 msgstr ""
 
-#: ../../../site/api/index.php:322
+#: ../../../site/api/index.php:356
 msgid "No real name set."
 msgstr ""
 
-#: ../../../site/api/index.php:323 ../../../site/api/index.php:334
+#: ../../../site/api/index.php:357 ../../../site/api/index.php:368
 msgid "No nick set."
 msgstr ""
 
-#: ../../../site/api/index.php:324
+#: ../../../site/api/index.php:358
 msgid "User with id"
 msgstr ""
 
-#: ../../../site/api/index.php:324 ../../../site/api/index.php:336
+#: ../../../site/api/index.php:358 ../../../site/api/index.php:370
 msgid "does not exist. You should reload the page."
 msgstr ""
 
-#: ../../../site/api/index.php:328
+#: ../../../site/api/index.php:362
 msgid "Unable to update user"
 msgstr ""
 
-#: ../../../site/api/index.php:335
+#: ../../../site/api/index.php:369
 msgid "No profile set."
 msgstr ""
 
-#: ../../../site/api/index.php:336
+#: ../../../site/api/index.php:370
 msgid "Oper with id"
 msgstr ""
 
-#: ../../../site/api/index.php:338 ../../../site/api/index.php:340
+#: ../../../site/api/index.php:372 ../../../site/api/index.php:374
 msgid "Unable to update oper"
 msgstr ""
 
-#: ../../../site/api/index.php:346
+#: ../../../site/api/index.php:380
 msgid "Failed to update setting"
 msgstr ""
 
-#: ../../../site/api/index.php:346
+#: ../../../site/api/index.php:380
 msgid "with value"
 msgstr ""
 
-#: ../../../site/api/index.php:355
+#: ../../../site/api/index.php:389
 msgid "Invalid Action"
 msgstr ""
 
@@ -447,7 +457,7 @@ msgid "Reply"
 msgstr ""
 
 #: ../../../site/index.php:116 ../../../site/index.php:117
-#: ../../../site/index.php:191 ../../../site/index.php:192
+#: ../../../site/index.php:205 ../../../site/index.php:206
 msgid "Delete"
 msgstr ""
 
@@ -459,192 +469,208 @@ msgstr ""
 msgid "Access"
 msgstr ""
 
-#: ../../../site/index.php:176
+#: ../../../site/index.php:177 ../../../site/index.php:318
 msgid "Flags"
 msgstr ""
 
-#: ../../../site/index.php:211
+#: ../../../site/index.php:182 ../../../site/index.php:308
+msgid "Modify"
+msgstr ""
+
+#: ../../../site/index.php:200 ../../../site/index.php:201
+msgid "Add Access"
+msgstr ""
+
+#: ../../../site/index.php:225
 msgid "News"
 msgstr ""
 
-#: ../../../site/index.php:212
+#: ../../../site/index.php:226
 msgid "Memos"
 msgstr ""
 
-#: ../../../site/index.php:213
+#: ../../../site/index.php:227
 msgid "Channels"
 msgstr ""
 
-#: ../../../site/index.php:215
+#: ../../../site/index.php:229
 msgid "Servers"
 msgstr ""
 
-#: ../../../site/index.php:217
+#: ../../../site/index.php:231
 msgid "Configuration"
 msgstr ""
 
-#: ../../../site/index.php:219
+#: ../../../site/index.php:233
 msgid "Profile"
 msgstr ""
 
-#: ../../../site/index.php:254
+#: ../../../site/index.php:264
+msgid "Send"
+msgstr ""
+
+#: ../../../site/index.php:268
 msgid "To"
 msgstr ""
 
-#: ../../../site/index.php:260
+#: ../../../site/index.php:274
 msgid "Message"
 msgstr ""
 
-#: ../../../site/index.php:279
+#: ../../../site/index.php:289
+msgid "Register"
+msgstr ""
+
+#: ../../../site/index.php:293
 msgid "Channel Name"
 msgstr ""
 
-#: ../../../site/index.php:301
+#: ../../../site/index.php:362
 msgid "Country"
 msgstr ""
 
-#: ../../../site/index.php:309
+#: ../../../site/index.php:370
 msgid "Cell #"
 msgstr ""
 
-#: ../../../site/index.php:332
+#: ../../../site/index.php:393
 msgid "Token"
 msgstr ""
 
-#: ../../../site/index.php:347
+#: ../../../site/index.php:408
 msgid "Disable 2-factor"
 msgstr ""
 
-#: ../../../site/index.php:353
+#: ../../../site/index.php:414
 msgid "Link Persona"
 msgstr ""
 
-#: ../../../site/index.php:356
+#: ../../../site/index.php:417
 msgid "Remove"
 msgstr ""
 
-#: ../../../site/index.php:364
+#: ../../../site/index.php:425
 msgid "Switch Role"
 msgstr ""
 
-#: ../../../site/index.php:366
+#: ../../../site/index.php:427
 msgid "Rehash"
 msgstr ""
 
-#: ../../../site/index.php:368 ../../../site/index.php:379
+#: ../../../site/index.php:429 ../../../site/index.php:440
 msgid "Change Password"
 msgstr ""
 
-#: ../../../site/index.php:370
+#: ../../../site/index.php:431
 msgid "Sync Password"
 msgstr ""
 
-#: ../../../site/index.php:372
+#: ../../../site/index.php:433
 msgid "Logout"
 msgstr ""
 
-#: ../../../site/index.php:383 ../../../site/index.php:481
+#: ../../../site/index.php:444 ../../../site/index.php:542
 msgid "Password"
 msgstr ""
 
-#: ../../../site/index.php:413
+#: ../../../site/index.php:474
 msgid "Switch"
 msgstr ""
 
-#: ../../../site/index.php:417 ../../../site/index.php:487
+#: ../../../site/index.php:478 ../../../site/index.php:548
 msgid "Type"
 msgstr ""
 
-#: ../../../site/index.php:435 ../../../site/index.php:467
+#: ../../../site/index.php:496 ../../../site/index.php:528
 msgid "Login"
 msgstr ""
 
-#: ../../../site/index.php:439
+#: ../../../site/index.php:500
 msgid "2-Factor Verification"
 msgstr ""
 
-#: ../../../site/index.php:471
+#: ../../../site/index.php:532
 msgid "Persona"
 msgstr ""
 
-#: ../../../site/index.php:475
+#: ../../../site/index.php:536
 msgid "Username"
 msgstr ""
 
-#: ../../../site/js/index.js:123
+#: ../../../site/js/index.js:128
 msgid "Oper updated"
 msgstr ""
 
-#: ../../../site/js/index.js:134
+#: ../../../site/js/index.js:139
 msgid "Could not submit the form"
 msgstr ""
 
-#: ../../../site/js/index.js:160
+#: ../../../site/js/index.js:165
 msgid "Could not rehash the servers"
 msgstr ""
 
-#: ../../../site/js/index.js:201
+#: ../../../site/js/index.js:206
 msgid "Could not synchronize your password"
 msgstr ""
 
-#: ../../../site/js/index.js:214
+#: ../../../site/js/index.js:219
 msgid "This is an admin only feature. Continue?"
 msgstr ""
 
-#: ../../../site/js/index.js:241
+#: ../../../site/js/index.js:246
 msgid "Login failure"
 msgstr ""
 
-#: ../../../site/js/index.js:266
+#: ../../../site/js/index.js:271
 msgid "Could not remove persona address"
 msgstr ""
 
-#: ../../../site/js/index.js:386
+#: ../../../site/js/index.js:391
 msgid "Server Ping"
 msgstr ""
 
-#: ../../../site/js/index.js:401 ../../../site/js/index.js:478
-#: ../../../site/js/index.js:589 ../../../site/js/index.js:616
+#: ../../../site/js/index.js:406 ../../../site/js/index.js:483
+#: ../../../site/js/index.js:591 ../../../site/js/index.js:618
 msgid "Could not ping server"
 msgstr ""
 
-#: ../../../site/js/index.js:409
+#: ../../../site/js/index.js:414
 msgid "Fetching Memos"
 msgstr ""
 
-#: ../../../site/js/index.js:440 ../../../site/js/index.js:517
-#: ../../../site/js/index.js:556
+#: ../../../site/js/index.js:445 ../../../site/js/index.js:522
+#: ../../../site/js/index.js:561
 msgid "Could not contact server"
 msgstr ""
 
-#: ../../../site/js/index.js:459
+#: ../../../site/js/index.js:464
 msgid "Deleting memo"
 msgstr ""
 
-#: ../../../site/js/index.js:485
+#: ../../../site/js/index.js:490
 msgid "Fetching News"
 msgstr ""
 
-#: ../../../site/js/index.js:507
+#: ../../../site/js/index.js:512
 msgid "New news item"
 msgstr ""
 
-#: ../../../site/js/index.js:527
+#: ../../../site/js/index.js:532
 msgid "Fetching Channels"
 msgstr ""
 
-#: ../../../site/js/index.js:566
+#: ../../../site/js/index.js:568
 msgid "Are you sure you want to delete channel"
 msgstr ""
 
-#: ../../../site/js/index.js:567
+#: ../../../site/js/index.js:569
 msgid "Deleting channel"
 msgstr ""
 
-#: ../../../site/js/index.js:597
+#: ../../../site/js/index.js:599
 msgid "Registering channel"
 msgstr ""
 
-#: ../../../site/js/index.js:624
+#: ../../../site/js/index.js:647
 msgid "Language change detected"
 msgstr ""

BIN
lang/fr/LC_MESSAGES/omninet.mo


+ 251 - 216
lang/fr/LC_MESSAGES/omninet.po

@@ -1,9 +1,9 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Omninet Control panel\n"
-"POT-Creation-Date: 2014-02-23 00:09-0700\n"
-"PO-Revision-Date: 2014-02-23 02:45-0500\n"
-"Last-Translator: Julien Savard <[email protected]>\n"
+"POT-Creation-Date: 2014-02-23 18:36-0700\n"
+"PO-Revision-Date: 2014-02-23 18:36-0700\n"
+"Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: fr\n"
 "MIME-Version: 1.0\n"
@@ -15,636 +15,671 @@ msgstr ""
 "X-Poedit-KeywordsList: __\n"
 "X-Poedit-SearchPath-0: ../../..\n"
 
-#: ../lib/configuration.php:133 ../lib/users.php:163
-msgid "Save"
-msgstr "Enregistrer"
-
-#: ../lib/irc.php:37
-msgid "Insufficient Parameters to login"
-msgstr "Paramètres insuffisants pour se connecter"
-
-#: ../lib/irc.php:40
-msgid "Account is not registered"
-msgstr "Le compte n'est pas enregistré"
-
-#: ../lib/irc.php:43
-msgid "Invalid Username/Password"
-msgstr "Nom d'utilisateur et/ou mot de passe invalide"
-
-#: ../lib/irc.php:46
-msgid "Account is frozen"
-msgstr "Le compte est gelé"
-
-#: ../lib/irc.php:49
-msgid "Could not log in"
-msgstr "Impossible de se connecter."
-
-#: ../lib/irc.php:140 ../lib/irc.php:228
-msgid "Could not connect."
-msgstr "Impossible de se connecter."
-
-#: ../lib/irc.php:141 ../lib/irc.php:229
-msgid "Could not set timeout."
-msgstr "Impossible de régler le délai."
-
-#: ../lib/irc.php:151 ../lib/irc.php:168 ../lib/irc.php:185
-msgid "RehashServ is already running."
-msgstr "RehashServ est déjà en cours d'exécution"
-
-#: ../lib/irc.php:153 ../lib/irc.php:170 ../lib/irc.php:187 ../lib/irc.php:246
-#: ../lib/irc.php:279 ../lib/irc.php:297
-msgid "IRC Server refused the connection."
-msgstr "Le serveur IRC a refusé la connexion."
-
-#: ../lib/irc.php:174 ../lib/irc.php:283
-msgid "Failed to authenticate with NickServ"
-msgstr "L'authentication avec NickServ a échoué"
-
-#: ../lib/irc.php:191 ../lib/irc.php:301
-msgid "vhost not set."
-msgstr "vhost non défini."
-
-#: ../lib/irc.php:211
-msgid "There is an error in the config. See console for output."
-msgstr ""
-"Il y a eu une erreur dans la configuration. Regardez la console pour la "
-"sortie."
-
-#: ../lib/irc.php:213
-msgid "Rehashed. View console for output."
-msgstr "Mis à jour. Regardez la console pour la sortie."
-
-#: ../lib/irc.php:244 ../lib/irc.php:266 ../lib/irc.php:295
-msgid "RunServ is already running."
-msgstr "RunServ est déjà en cours d'exécution"
-
-#: ../lib/irc.php:328
+#: ../../../lib/channels.php:5
 msgid "Voice"
 msgstr "Voix"
 
-#: ../lib/irc.php:329
+#: ../../../lib/channels.php:6
 msgid "Automatic voice"
 msgstr "Voix automatique"
 
-#: ../lib/irc.php:330
+#: ../../../lib/channels.php:7
 msgid "Halfop"
 msgstr "Demi-opérateur"
 
-#: ../lib/irc.php:331
+#: ../../../lib/channels.php:8
 msgid "Automatic Halfop"
 msgstr "Demi-opérateur automatique"
 
-#: ../lib/irc.php:332
+#: ../../../lib/channels.php:9
 msgid "Op"
 msgstr "Opérateur"
 
-#: ../lib/irc.php:333
+#: ../../../lib/channels.php:10
 msgid "Automatic Op"
 msgstr "Opérateur automatique"
 
-#: ../lib/irc.php:334
+#: ../../../lib/channels.php:11
 msgid "Admin"
 msgstr "Administrateur"
 
-#: ../lib/irc.php:335 ../lib/servers.php:104
+#: ../../../lib/channels.php:12 ../../../lib/servers.php:104
 msgid "Owner"
 msgstr "Propriétaire"
 
-#: ../lib/irc.php:336
+#: ../../../lib/channels.php:13
 msgid "Set"
 msgstr "Définir"
 
-#: ../lib/irc.php:337
+#: ../../../lib/channels.php:14
 msgid "Invite/Getkey"
 msgstr "Invitation/Obtenir clé"
 
-#: ../lib/irc.php:338
+#: ../../../lib/channels.php:15
 msgid "Kick/Ban"
 msgstr "Expulsion/Bannissement"
 
-#: ../lib/irc.php:339
+#: ../../../lib/channels.php:16
 msgid "Recover/Clear"
 msgstr "Recouvrer/Effacer"
 
-#: ../lib/irc.php:340
+#: ../../../lib/channels.php:17
 msgid "Modify access lists"
 msgstr "Modifier les listes d'accès"
 
-#: ../lib/irc.php:341
+#: ../../../lib/channels.php:18
 msgid "Topic"
 msgstr "Sujet"
 
-#: ../lib/irc.php:342
+#: ../../../lib/channels.php:19
 msgid "View access lists"
 msgstr "Voir les listes d'accès"
 
-#: ../lib/irc.php:343
+#: ../../../lib/channels.php:20
 msgid "Founder"
 msgstr "Fondateur"
 
-#: ../lib/irc.php:344
+#: ../../../lib/channels.php:21
 msgid "Banned"
 msgstr "Banni"
 
-#: ../lib/opers.php:56
+#: ../../../lib/configuration.php:133 ../../../lib/users.php:163
+msgid "Save"
+msgstr "Enregistrer"
+
+#: ../../../lib/irc.php:37
+msgid "Insufficient Parameters to login"
+msgstr "Paramètres insuffisants pour se connecter"
+
+#: ../../../lib/irc.php:40
+msgid "Account is not registered"
+msgstr "Le compte n'est pas enregistré"
+
+#: ../../../lib/irc.php:43
+msgid "Invalid Username/Password"
+msgstr "Nom d'utilisateur et/ou mot de passe invalide"
+
+#: ../../../lib/irc.php:46
+msgid "Account is frozen"
+msgstr "Le compte est gelé"
+
+#: ../../../lib/irc.php:49
+msgid "Could not log in"
+msgstr "Impossible de se connecter."
+
+#: ../../../lib/irc.php:129 ../../../lib/irc.php:217
+msgid "Could not connect."
+msgstr "Impossible de se connecter."
+
+#: ../../../lib/irc.php:130 ../../../lib/irc.php:218
+msgid "Could not set timeout."
+msgstr "Impossible de régler le délai."
+
+#: ../../../lib/irc.php:140 ../../../lib/irc.php:157 ../../../lib/irc.php:174
+msgid "RehashServ is already running."
+msgstr "RehashServ est déjà en cours d'exécution"
+
+#: ../../../lib/irc.php:142 ../../../lib/irc.php:159 ../../../lib/irc.php:176
+#: ../../../lib/irc.php:235 ../../../lib/irc.php:268 ../../../lib/irc.php:286
+msgid "IRC Server refused the connection."
+msgstr "Le serveur IRC a refusé la connexion."
+
+#: ../../../lib/irc.php:163 ../../../lib/irc.php:272
+msgid "Failed to authenticate with NickServ"
+msgstr "L'authentication avec NickServ a échoué"
+
+#: ../../../lib/irc.php:180 ../../../lib/irc.php:290
+msgid "vhost not set."
+msgstr "vhost non défini."
+
+#: ../../../lib/irc.php:200
+msgid "There is an error in the config. See console for output."
+msgstr ""
+"Il y a eu une erreur dans la configuration. Regardez la console pour la "
+"sortie."
+
+#: ../../../lib/irc.php:202
+msgid "Rehashed. View console for output."
+msgstr "Mis à jour. Regardez la console pour la sortie."
+
+#: ../../../lib/irc.php:233 ../../../lib/irc.php:255 ../../../lib/irc.php:284
+msgid "RunServ is already running."
+msgstr "RunServ est déjà en cours d'exécution"
+
+#: ../../../lib/opers.php:56
 msgid "Managed Oper"
 msgstr "Opérateur géré"
 
-#: ../lib/opers.php:56
+#: ../../../lib/opers.php:56
 msgid "Personal Oper"
 msgstr "Opérateur personnel"
 
-#: ../lib/opers.php:59 ../lib/servers.php:111 ../lib/users.php:143
+#: ../../../lib/opers.php:59 ../../../lib/servers.php:111
+#: ../../../lib/users.php:143
 msgid "Nick"
 msgstr "Pseudonyme"
 
-#: ../lib/opers.php:65
+#: ../../../lib/opers.php:65
 msgid "Omnimaga Profile"
 msgstr "Profil Omnimaga"
 
-#: ../lib/opers.php:71 ../site/index.php:389
+#: ../../../lib/opers.php:71 ../../../site/index.php:450
 msgid "New Password"
 msgstr "Nouveau mot de passe"
 
-#: ../lib/security.php:63
+#: ../../../lib/security.php:63
 msgid "Invalid credentials"
 msgstr "Informations de connexion invalides."
 
-#: ../lib/security.php:67 ../lib/security.php:81 ../site/api/index.php:158
-#: ../site/index.php:402 ../site/index.php:456
+#: ../../../lib/security.php:67 ../../../lib/security.php:81
+#: ../../../site/api/index.php:162 ../../../site/index.php:312
+#: ../../../site/index.php:463 ../../../site/index.php:517
 msgid "User"
 msgstr "Utilisateur"
 
-#: ../lib/security.php:67 ../lib/security.php:81 ../site/api/index.php:158
+#: ../../../lib/security.php:67 ../../../lib/security.php:81
+#: ../../../site/api/index.php:162
 msgid "does not exist"
 msgstr "n'existe pas"
 
-#: ../lib/security.php:73
+#: ../../../lib/security.php:73
 msgid "Invalid persona email"
 msgstr "Courriel Persona invalide"
 
-#: ../lib/security.php:84 ../site/api/index.php:289
+#: ../../../lib/security.php:84 ../../../site/api/index.php:323
 msgid "Invalid password"
 msgstr "Mot de passe invalide"
 
-#: ../lib/security.php:102 ../lib/security.php:171
+#: ../../../lib/security.php:102 ../../../lib/security.php:171
 msgid "Failed to create Authy user"
 msgstr "La création de l'utilisateur Authy a échoué"
 
-#: ../lib/security.php:115
+#: ../../../lib/security.php:115
 msgid "Token didn't match "
 msgstr "Le jeton ne correspond pas"
 
-#: ../lib/security.php:122 ../lib/security.php:204 ../site/api/index.php:43
-#: ../site/api/index.php:76 ../site/api/index.php:104
-#: ../site/api/index.php:153 ../site/api/index.php:167
-#: ../site/api/index.php:176 ../site/api/index.php:185
-#: ../site/api/index.php:261 ../site/api/index.php:276
-#: ../site/api/index.php:284
+#: ../../../lib/security.php:122 ../../../lib/security.php:204
+#: ../../../site/api/index.php:43 ../../../site/api/index.php:76
+#: ../../../site/api/index.php:104 ../../../site/api/index.php:157
+#: ../../../site/api/index.php:171 ../../../site/api/index.php:180
+#: ../../../site/api/index.php:189 ../../../site/api/index.php:218
+#: ../../../site/api/index.php:295 ../../../site/api/index.php:310
+#: ../../../site/api/index.php:318
 msgid "You have been logged out"
 msgstr "Vous avez été déconnecté"
 
-#: ../lib/security.php:137 ../lib/security.php:140 ../lib/security.php:150
+#: ../../../lib/security.php:137 ../../../lib/security.php:140
+#: ../../../lib/security.php:150
 msgid "Failed to disable 2-factor authentication"
 msgstr "La désactivation de la vérification en deux étapes a échoué"
 
-#: ../lib/security.php:178
+#: ../../../lib/security.php:178
 msgid "No cell number set"
 msgstr "Aucun numéro de cellulaire défini"
 
-#: ../lib/security.php:181
+#: ../../../lib/security.php:181
 msgid "No country code set"
 msgstr "Aucun code de pays défini"
 
-#: ../lib/security.php:191
+#: ../../../lib/security.php:191
 msgid "Could not register"
 msgstr "Impossible de s'inscrire"
 
-#: ../lib/security.php:194
+#: ../../../lib/security.php:194
 msgid "No secret key defined"
 msgstr "Aucune clé secrète définie"
 
-#: ../lib/security.php:197
+#: ../../../lib/security.php:197
 msgid "No token provided"
 msgstr "Aucun jeton fourni"
 
-#: ../lib/servers.php:105 ../lib/users.php:137
+#: ../../../lib/servers.php:105 ../../../lib/users.php:137
 msgid "Real Name"
 msgstr "Vrai nom"
 
-#: ../lib/servers.php:105 ../lib/users.php:149
+#: ../../../lib/servers.php:105 ../../../lib/users.php:149
 msgid "Email"
 msgstr "Courriel"
 
-#: ../lib/servers.php:108 ../site/index.php:216
+#: ../../../lib/servers.php:108 ../../../site/index.php:230
 msgid "Opers"
 msgstr "Opérateurs"
 
-#: ../lib/servers.php:111
+#: ../../../lib/servers.php:111
 msgid "Role"
 msgstr "Rôle"
 
-#: ../lib/servers.php:119
+#: ../../../lib/servers.php:119
 msgid "Parent"
 msgstr "Parent"
 
-#: ../lib/servers.php:123
+#: ../../../lib/servers.php:123
 msgid "Children"
 msgstr "Fils"
 
-#: ../site/api/index.php:21
+#: ../../../site/api/index.php:21
 msgid "Missing username and/or password"
 msgstr "Nom d'utilisateur et/ou mot de passe manquant"
 
-#: ../site/api/index.php:22
+#: ../../../site/api/index.php:22
 msgid "Missing user type"
 msgstr "Type d'utilisateur manquant"
 
-#: ../site/api/index.php:31
+#: ../../../site/api/index.php:31
 msgid "No token set"
 msgstr "Aucun jeton défini"
 
-#: ../site/api/index.php:72
+#: ../../../site/api/index.php:72
 msgid "Cannot fetch memos"
 msgstr "Impossible de récupérer les mémos"
 
-#: ../site/api/index.php:100
+#: ../../../site/api/index.php:100
 msgid "Cannot fetch news"
 msgstr "Impossible de récupérer les nouvelles"
 
-#: ../site/api/index.php:149
+#: ../../../site/api/index.php:153
 msgid "Cannot fetch channels"
 msgstr "Impossible de récupérer les canaux"
 
-#: ../site/api/index.php:154
+#: ../../../site/api/index.php:158
 msgid "No message or user entered"
 msgstr "Aucun message ou utilisateur entré"
 
-#: ../site/api/index.php:160
+#: ../../../site/api/index.php:164
 msgid "Memo Sent"
 msgstr "Mémo envoyé"
 
-#: ../site/api/index.php:163
+#: ../../../site/api/index.php:167
 msgid "Cannot send memo"
 msgstr "Impossible d'envoyer le mémo"
 
-#: ../site/api/index.php:168
+#: ../../../site/api/index.php:172
 msgid "No id given"
 msgstr "Aucun ID fourni"
 
-#: ../site/api/index.php:171
+#: ../../../site/api/index.php:175
 msgid "Cannot delete memo"
 msgstr "Impossible de supprimer le mémo"
 
-#: ../site/api/index.php:177 ../site/api/index.php:186
+#: ../../../site/api/index.php:181 ../../../site/api/index.php:190
+#: ../../../site/api/index.php:219
 msgid "No channel given"
 msgstr "Aucun canal fourni"
 
-#: ../site/api/index.php:180
+#: ../../../site/api/index.php:184
 msgid "Cannot drop channel"
 msgstr "Impossible d'abandonner le canal"
 
-#: ../site/api/index.php:236
+#: ../../../site/api/index.php:191
+#, fuzzy
+msgid "No user given"
+msgstr "Aucun ID fourni"
+
+#: ../../../site/api/index.php:209 ../../../site/api/index.php:213
+#, fuzzy
+msgid "Cannot change flag"
+msgstr "Impossible d'abandonner le canal"
+
+#: ../../../site/api/index.php:270
 msgid "Failed to add email"
 msgstr "L'ajout du courriel a échoué"
 
-#: ../site/api/index.php:236
+#: ../../../site/api/index.php:270
 msgid "to user"
 msgstr "à l'utilisateur"
 
-#: ../site/api/index.php:238
+#: ../../../site/api/index.php:272
 msgid "Email does not match any users"
 msgstr "Le courriel ne correspond à aucun utilisateur"
 
-#: ../site/api/index.php:262
+#: ../../../site/api/index.php:296
 msgid "No ID set"
 msgstr "Aucun ID défini"
 
-#: ../site/api/index.php:264
+#: ../../../site/api/index.php:298
 msgid "Could not remove email address"
 msgstr "Impossible d'enlever le courriel"
 
-#: ../site/api/index.php:281
+#: ../../../site/api/index.php:315
 msgid "2-factor disabled."
 msgstr "Vérification en deux étapes désactivée."
 
-#: ../site/api/index.php:288 ../site/api/index.php:303
-#: ../site/api/index.php:314
+#: ../../../site/api/index.php:322 ../../../site/api/index.php:337
+#: ../../../site/api/index.php:348
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgstr ""
 "Assurez-vous que tous les champs sont remplis. Essayez de recharger si c'est "
 "le cas."
 
-#: ../site/api/index.php:294
+#: ../../../site/api/index.php:328
 msgid "Could not update password with nickserv"
 msgstr "Impossible de mettre à jour le mot de passe avec NickServ"
 
-#: ../site/api/index.php:304
+#: ../../../site/api/index.php:338
 msgid "Not Logged in to use"
 msgstr "Déconnecté pour utiliser"
 
-#: ../site/api/index.php:304
+#: ../../../site/api/index.php:338
 msgid "with key"
 msgstr "avec la clé"
 
-#: ../site/api/index.php:305
+#: ../../../site/api/index.php:339
 msgid "Must be logged in with type user to sync pass"
 msgstr ""
 "Vous devez être connecté avec le type utilisateur pour synchroniser le mot "
 "de passe"
 
-#: ../site/api/index.php:308
+#: ../../../site/api/index.php:342
 msgid "Could not verify with nickserv"
 msgstr "Impossible de vérifier avec NickServ"
 
-#: ../site/api/index.php:311
+#: ../../../site/api/index.php:345
 msgid "Nickserv password synchronized with main account"
 msgstr "Le mot de passe NickServ a été synchronisé avec le compte principal"
 
-#: ../site/api/index.php:319 ../site/api/index.php:332
-#: ../site/api/index.php:351
+#: ../../../site/api/index.php:353 ../../../site/api/index.php:366
+#: ../../../site/api/index.php:385
 msgid "Not logged in"
 msgstr "Déconnecté"
 
-#: ../site/api/index.php:320 ../site/api/index.php:333
+#: ../../../site/api/index.php:354 ../../../site/api/index.php:367
 msgid "No user set."
 msgstr "Aucun utilisateur défini."
 
-#: ../site/api/index.php:321
+#: ../../../site/api/index.php:355
 msgid "No email set."
 msgstr "Aucun courriel défini."
 
-#: ../site/api/index.php:322
+#: ../../../site/api/index.php:356
 msgid "No real name set."
 msgstr "Aucun vrai nom défini."
 
-#: ../site/api/index.php:323 ../site/api/index.php:334
+#: ../../../site/api/index.php:357 ../../../site/api/index.php:368
 msgid "No nick set."
 msgstr "Aucun pseudonyme défini."
 
-#: ../site/api/index.php:324
+#: ../../../site/api/index.php:358
 msgid "User with id"
 msgstr "Utilisateur avec ID"
 
-#: ../site/api/index.php:324 ../site/api/index.php:336
+#: ../../../site/api/index.php:358 ../../../site/api/index.php:370
 msgid "does not exist. You should reload the page."
 msgstr "n'existe pas. Vous devriez recharger la page."
 
-#: ../site/api/index.php:328
+#: ../../../site/api/index.php:362
 msgid "Unable to update user"
 msgstr "Impossible de mettre à jour l'utilisateur"
 
-#: ../site/api/index.php:335
+#: ../../../site/api/index.php:369
 msgid "No profile set."
 msgstr "Aucun profil défini."
 
-#: ../site/api/index.php:336
+#: ../../../site/api/index.php:370
 msgid "Oper with id"
 msgstr "Opérateur avec ID"
 
-#: ../site/api/index.php:338 ../site/api/index.php:340
+#: ../../../site/api/index.php:372 ../../../site/api/index.php:374
 msgid "Unable to update oper"
 msgstr "Impossible de mettre à jour l'opérateur"
 
-#: ../site/api/index.php:346
+#: ../../../site/api/index.php:380
 msgid "Failed to update setting"
 msgstr "La mise à jour du réglage a échoué"
 
-#: ../site/api/index.php:346
+#: ../../../site/api/index.php:380
 msgid "with value"
 msgstr "avec la valeur"
 
-#: ../site/api/index.php:355
+#: ../../../site/api/index.php:389
 msgid "Invalid Action"
 msgstr "Action invalide"
 
-#: ../site/index.php:78 ../site/index.php:79 ../site/index.php:123
-#: ../site/index.php:124 ../site/index.php:154 ../site/index.php:155
+#: ../../../site/index.php:78 ../../../site/index.php:79
+#: ../../../site/index.php:123 ../../../site/index.php:124
+#: ../../../site/index.php:154 ../../../site/index.php:155
 msgid "Refresh"
 msgstr "Rafraîchir"
 
-#: ../site/index.php:81 ../site/index.php:82
+#: ../../../site/index.php:81 ../../../site/index.php:82
 msgid "New Memo"
 msgstr "Nouveau mémo"
 
-#: ../site/index.php:84 ../site/index.php:85
+#: ../../../site/index.php:84 ../../../site/index.php:85
 msgid "Delete All"
 msgstr "Supprimer tout"
 
-#: ../site/index.php:91 ../site/index.php:133
+#: ../../../site/index.php:91 ../../../site/index.php:133
 msgid "From"
 msgstr "De"
 
-#: ../site/index.php:99 ../site/index.php:141
+#: ../../../site/index.php:99 ../../../site/index.php:141
 msgid "Sent"
 msgstr "Envoyé"
 
-#: ../site/index.php:107
+#: ../../../site/index.php:107
 msgid "Body"
 msgstr "Corps"
 
-#: ../site/index.php:113 ../site/index.php:114
+#: ../../../site/index.php:113 ../../../site/index.php:114
 msgid "Reply"
 msgstr "Répondre"
 
-#: ../site/index.php:116 ../site/index.php:117 ../site/index.php:191
-#: ../site/index.php:192
+#: ../../../site/index.php:116 ../../../site/index.php:117
+#: ../../../site/index.php:205 ../../../site/index.php:206
 msgid "Delete"
 msgstr "Supprimer"
 
-#: ../site/index.php:157 ../site/index.php:158
+#: ../../../site/index.php:157 ../../../site/index.php:158
 msgid "New Channel"
 msgstr "Nouveau canal"
 
-#: ../site/index.php:166
+#: ../../../site/index.php:166
 msgid "Access"
 msgstr "Accès"
 
-#: ../site/index.php:176
+#: ../../../site/index.php:177 ../../../site/index.php:318
 msgid "Flags"
 msgstr "Indicateurs"
 
-#: ../site/index.php:211
+#: ../../../site/index.php:182 ../../../site/index.php:308
+msgid "Modify"
+msgstr ""
+
+#: ../../../site/index.php:200 ../../../site/index.php:201
+#, fuzzy
+msgid "Add Access"
+msgstr "Accès"
+
+#: ../../../site/index.php:225
 msgid "News"
 msgstr "Nouvelles"
 
-#: ../site/index.php:212
+#: ../../../site/index.php:226
 msgid "Memos"
 msgstr "Mémos"
 
-#: ../site/index.php:213
+#: ../../../site/index.php:227
 msgid "Channels"
 msgstr "Canaux"
 
-#: ../site/index.php:215
+#: ../../../site/index.php:229
 msgid "Servers"
 msgstr "Serveurs"
 
-#: ../site/index.php:217
+#: ../../../site/index.php:231
 msgid "Configuration"
 msgstr "Configuration"
 
-#: ../site/index.php:219
+#: ../../../site/index.php:233
 msgid "Profile"
 msgstr "Profil"
 
-#: ../site/index.php:254
+#: ../../../site/index.php:264
+msgid "Send"
+msgstr ""
+
+#: ../../../site/index.php:268
 msgid "To"
 msgstr "À"
 
-#: ../site/index.php:260
+#: ../../../site/index.php:274
 msgid "Message"
 msgstr "Message"
 
-#: ../site/index.php:279
+#: ../../../site/index.php:289
+msgid "Register"
+msgstr ""
+
+#: ../../../site/index.php:293
 msgid "Channel Name"
 msgstr "Nom du canal"
 
-#: ../site/index.php:301
+#: ../../../site/index.php:362
 msgid "Country"
 msgstr "Pays"
 
-#: ../site/index.php:309
+#: ../../../site/index.php:370
 msgid "Cell #"
 msgstr "Numéro de cellulaire"
 
-#: ../site/index.php:332
+#: ../../../site/index.php:393
 msgid "Token"
 msgstr "Jeton"
 
-#: ../site/index.php:347
+#: ../../../site/index.php:408
 msgid "Disable 2-factor"
 msgstr "Désactiver la vérification en deux étapes"
 
-#: ../site/index.php:353
+#: ../../../site/index.php:414
 msgid "Link Persona"
 msgstr "Lier le Persona"
 
-#: ../site/index.php:356
+#: ../../../site/index.php:417
 msgid "Remove"
 msgstr "Enlever"
 
-#: ../site/index.php:364
+#: ../../../site/index.php:425
 msgid "Switch Role"
 msgstr "Changer de rôle"
 
-#: ../site/index.php:366
+#: ../../../site/index.php:427
 msgid "Rehash"
 msgstr "Mettre à jour"
 
-#: ../site/index.php:368 ../site/index.php:379
+#: ../../../site/index.php:429 ../../../site/index.php:440
 msgid "Change Password"
 msgstr "Changer le mot de passe"
 
-#: ../site/index.php:370
+#: ../../../site/index.php:431
 msgid "Sync Password"
 msgstr "Synchroniser le mot de passe"
 
-#: ../site/index.php:372
+#: ../../../site/index.php:433
 msgid "Logout"
 msgstr "Se déconnecter"
 
-#: ../site/index.php:383 ../site/index.php:481
+#: ../../../site/index.php:444 ../../../site/index.php:542
 msgid "Password"
 msgstr "Mot de passe"
 
-#: ../site/index.php:413
+#: ../../../site/index.php:474
 msgid "Switch"
 msgstr "Changer"
 
-#: ../site/index.php:417 ../site/index.php:487
+#: ../../../site/index.php:478 ../../../site/index.php:548
 msgid "Type"
 msgstr "Type"
 
-#: ../site/index.php:435 ../site/index.php:467
+#: ../../../site/index.php:496 ../../../site/index.php:528
 msgid "Login"
 msgstr "Se connecter"
 
-#: ../site/index.php:439
+#: ../../../site/index.php:500
 msgid "2-Factor Verification"
 msgstr "Validation en deux étapes"
 
-#: ../site/index.php:471
+#: ../../../site/index.php:532
 msgid "Persona"
 msgstr "Persona"
 
-#: ../site/index.php:475
+#: ../../../site/index.php:536
 msgid "Username"
 msgstr "Nom d'utilisateur"
 
-#: ../site/js/index.js:123
+#: ../../../site/js/index.js:128
 msgid "Oper updated"
 msgstr "Opérateur mis à jour"
 
-#: ../site/js/index.js:134
+#: ../../../site/js/index.js:139
 msgid "Could not submit the form"
 msgstr "Impossible de soumettre le formulaire"
 
-#: ../site/js/index.js:160
+#: ../../../site/js/index.js:165
 msgid "Could not rehash the servers"
 msgstr "Impossible de mettre à jour les serveurs"
 
-#: ../site/js/index.js:201
+#: ../../../site/js/index.js:206
 msgid "Could not synchronize your password"
 msgstr "Impossible de synchroniser votre mot de passe"
 
-#: ../site/js/index.js:214
+#: ../../../site/js/index.js:219
 msgid "This is an admin only feature. Continue?"
 msgstr "Ceci est une fonction pour les administrateurs seulement. Continuer?"
 
-#: ../site/js/index.js:241
+#: ../../../site/js/index.js:246
 msgid "Login failure"
 msgstr "La connexion a échoué"
 
-#: ../site/js/index.js:266
+#: ../../../site/js/index.js:271
 msgid "Could not remove persona address"
 msgstr "Impossible d'enlever l'adresse Persona"
 
-#: ../site/js/index.js:386
+#: ../../../site/js/index.js:391
 msgid "Server Ping"
 msgstr "Ping du serveur"
 
-#: ../site/js/index.js:401 ../site/js/index.js:478 ../site/js/index.js:589
-#: ../site/js/index.js:616
+#: ../../../site/js/index.js:406 ../../../site/js/index.js:483
+#: ../../../site/js/index.js:591 ../../../site/js/index.js:618
 msgid "Could not ping server"
 msgstr "Impossible de pinger le serveur"
 
-#: ../site/js/index.js:409
+#: ../../../site/js/index.js:414
 msgid "Fetching Memos"
 msgstr "Récupérer les mémos"
 
-#: ../site/js/index.js:440 ../site/js/index.js:517 ../site/js/index.js:556
+#: ../../../site/js/index.js:445 ../../../site/js/index.js:522
+#: ../../../site/js/index.js:561
 msgid "Could not contact server"
 msgstr "Impossible de contacter le serveur"
 
-#: ../site/js/index.js:459
+#: ../../../site/js/index.js:464
 msgid "Deleting memo"
 msgstr "Suppression du mémo"
 
-#: ../site/js/index.js:485
+#: ../../../site/js/index.js:490
 msgid "Fetching News"
 msgstr "Récupérer les nouvelles"
 
-#: ../site/js/index.js:507
+#: ../../../site/js/index.js:512
 msgid "New news item"
 msgstr "Nouvel item de nouvelle"
 
-#: ../site/js/index.js:527
+#: ../../../site/js/index.js:532
 msgid "Fetching Channels"
 msgstr "Récupérer les canaux"
 
-#: ../site/js/index.js:566
+#: ../../../site/js/index.js:568
 msgid "Are you sure you want to delete channel"
 msgstr "Êtes-vous sûr vous voulez supprimer le canal"
 
-#: ../site/js/index.js:567
+#: ../../../site/js/index.js:569
 msgid "Deleting channel"
 msgstr "Suppression du canal"
 
-#: ../site/js/index.js:597
+#: ../../../site/js/index.js:599
 msgid "Registering channel"
 msgstr "Enregistrement du canal"
 
-#: ../site/js/index.js:624
+#: ../../../site/js/index.js:647
 msgid "Language change detected"
 msgstr "Changement de langue détecté"

BIN
lang/fr_CA/LC_MESSAGES/omninet.mo


+ 251 - 216
lang/fr_CA/LC_MESSAGES/omninet.po

@@ -1,9 +1,9 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Omninet Control panel\n"
-"POT-Creation-Date: 2014-02-23 00:09-0700\n"
-"PO-Revision-Date: 2014-02-23 02:44-0500\n"
-"Last-Translator: Julien Savard <[email protected]>\n"
+"POT-Creation-Date: 2014-02-23 18:36-0700\n"
+"PO-Revision-Date: 2014-02-23 18:36-0700\n"
+"Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: fr_CA\n"
 "MIME-Version: 1.0\n"
@@ -15,636 +15,671 @@ msgstr ""
 "X-Poedit-KeywordsList: __\n"
 "X-Poedit-SearchPath-0: ../../..\n"
 
-#: ../lib/configuration.php:133 ../lib/users.php:163
-msgid "Save"
-msgstr "Enregistrer"
-
-#: ../lib/irc.php:37
-msgid "Insufficient Parameters to login"
-msgstr "Paramètres insuffisants pour se connecter"
-
-#: ../lib/irc.php:40
-msgid "Account is not registered"
-msgstr "Le compte n'est pas enregistré"
-
-#: ../lib/irc.php:43
-msgid "Invalid Username/Password"
-msgstr "Nom d'utilisateur et/ou mot de passe invalide"
-
-#: ../lib/irc.php:46
-msgid "Account is frozen"
-msgstr "Le compte est gelé"
-
-#: ../lib/irc.php:49
-msgid "Could not log in"
-msgstr "Impossible de se connecter."
-
-#: ../lib/irc.php:140 ../lib/irc.php:228
-msgid "Could not connect."
-msgstr "Impossible de se connecter."
-
-#: ../lib/irc.php:141 ../lib/irc.php:229
-msgid "Could not set timeout."
-msgstr "Impossible de régler le délai."
-
-#: ../lib/irc.php:151 ../lib/irc.php:168 ../lib/irc.php:185
-msgid "RehashServ is already running."
-msgstr "RehashServ est déjà en cours d'exécution"
-
-#: ../lib/irc.php:153 ../lib/irc.php:170 ../lib/irc.php:187 ../lib/irc.php:246
-#: ../lib/irc.php:279 ../lib/irc.php:297
-msgid "IRC Server refused the connection."
-msgstr "Le serveur IRC a refusé la connexion."
-
-#: ../lib/irc.php:174 ../lib/irc.php:283
-msgid "Failed to authenticate with NickServ"
-msgstr "L'authentication avec NickServ a échoué"
-
-#: ../lib/irc.php:191 ../lib/irc.php:301
-msgid "vhost not set."
-msgstr "vhost non défini."
-
-#: ../lib/irc.php:211
-msgid "There is an error in the config. See console for output."
-msgstr ""
-"Il y a eu une erreur dans la configuration. Regardez la console pour la "
-"sortie."
-
-#: ../lib/irc.php:213
-msgid "Rehashed. View console for output."
-msgstr "Mis à jour. Regardez la console pour la sortie."
-
-#: ../lib/irc.php:244 ../lib/irc.php:266 ../lib/irc.php:295
-msgid "RunServ is already running."
-msgstr "RunServ est déjà en cours d'exécution"
-
-#: ../lib/irc.php:328
+#: ../../../lib/channels.php:5
 msgid "Voice"
 msgstr "Voix"
 
-#: ../lib/irc.php:329
+#: ../../../lib/channels.php:6
 msgid "Automatic voice"
 msgstr "Voix automatique"
 
-#: ../lib/irc.php:330
+#: ../../../lib/channels.php:7
 msgid "Halfop"
 msgstr "Demi-opérateur"
 
-#: ../lib/irc.php:331
+#: ../../../lib/channels.php:8
 msgid "Automatic Halfop"
 msgstr "Demi-opérateur automatique"
 
-#: ../lib/irc.php:332
+#: ../../../lib/channels.php:9
 msgid "Op"
 msgstr "Opérateur"
 
-#: ../lib/irc.php:333
+#: ../../../lib/channels.php:10
 msgid "Automatic Op"
 msgstr "Opérateur automatique"
 
-#: ../lib/irc.php:334
+#: ../../../lib/channels.php:11
 msgid "Admin"
 msgstr "Administrateur"
 
-#: ../lib/irc.php:335 ../lib/servers.php:104
+#: ../../../lib/channels.php:12 ../../../lib/servers.php:104
 msgid "Owner"
 msgstr "Propriétaire"
 
-#: ../lib/irc.php:336
+#: ../../../lib/channels.php:13
 msgid "Set"
 msgstr "Définir"
 
-#: ../lib/irc.php:337
+#: ../../../lib/channels.php:14
 msgid "Invite/Getkey"
 msgstr "Invitation/Obtenir clé"
 
-#: ../lib/irc.php:338
+#: ../../../lib/channels.php:15
 msgid "Kick/Ban"
 msgstr "Expulsion/Bannissement"
 
-#: ../lib/irc.php:339
+#: ../../../lib/channels.php:16
 msgid "Recover/Clear"
 msgstr "Recouvrer/Effacer"
 
-#: ../lib/irc.php:340
+#: ../../../lib/channels.php:17
 msgid "Modify access lists"
 msgstr "Modifier les listes d'accès"
 
-#: ../lib/irc.php:341
+#: ../../../lib/channels.php:18
 msgid "Topic"
 msgstr "Sujet"
 
-#: ../lib/irc.php:342
+#: ../../../lib/channels.php:19
 msgid "View access lists"
 msgstr "Voir les listes d'accès"
 
-#: ../lib/irc.php:343
+#: ../../../lib/channels.php:20
 msgid "Founder"
 msgstr "Fondateur"
 
-#: ../lib/irc.php:344
+#: ../../../lib/channels.php:21
 msgid "Banned"
 msgstr "Banni"
 
-#: ../lib/opers.php:56
+#: ../../../lib/configuration.php:133 ../../../lib/users.php:163
+msgid "Save"
+msgstr "Enregistrer"
+
+#: ../../../lib/irc.php:37
+msgid "Insufficient Parameters to login"
+msgstr "Paramètres insuffisants pour se connecter"
+
+#: ../../../lib/irc.php:40
+msgid "Account is not registered"
+msgstr "Le compte n'est pas enregistré"
+
+#: ../../../lib/irc.php:43
+msgid "Invalid Username/Password"
+msgstr "Nom d'utilisateur et/ou mot de passe invalide"
+
+#: ../../../lib/irc.php:46
+msgid "Account is frozen"
+msgstr "Le compte est gelé"
+
+#: ../../../lib/irc.php:49
+msgid "Could not log in"
+msgstr "Impossible de se connecter."
+
+#: ../../../lib/irc.php:129 ../../../lib/irc.php:217
+msgid "Could not connect."
+msgstr "Impossible de se connecter."
+
+#: ../../../lib/irc.php:130 ../../../lib/irc.php:218
+msgid "Could not set timeout."
+msgstr "Impossible de régler le délai."
+
+#: ../../../lib/irc.php:140 ../../../lib/irc.php:157 ../../../lib/irc.php:174
+msgid "RehashServ is already running."
+msgstr "RehashServ est déjà en cours d'exécution"
+
+#: ../../../lib/irc.php:142 ../../../lib/irc.php:159 ../../../lib/irc.php:176
+#: ../../../lib/irc.php:235 ../../../lib/irc.php:268 ../../../lib/irc.php:286
+msgid "IRC Server refused the connection."
+msgstr "Le serveur IRC a refusé la connexion."
+
+#: ../../../lib/irc.php:163 ../../../lib/irc.php:272
+msgid "Failed to authenticate with NickServ"
+msgstr "L'authentication avec NickServ a échoué"
+
+#: ../../../lib/irc.php:180 ../../../lib/irc.php:290
+msgid "vhost not set."
+msgstr "vhost non défini."
+
+#: ../../../lib/irc.php:200
+msgid "There is an error in the config. See console for output."
+msgstr ""
+"Il y a eu une erreur dans la configuration. Regardez la console pour la "
+"sortie."
+
+#: ../../../lib/irc.php:202
+msgid "Rehashed. View console for output."
+msgstr "Mis à jour. Regardez la console pour la sortie."
+
+#: ../../../lib/irc.php:233 ../../../lib/irc.php:255 ../../../lib/irc.php:284
+msgid "RunServ is already running."
+msgstr "RunServ est déjà en cours d'exécution"
+
+#: ../../../lib/opers.php:56
 msgid "Managed Oper"
 msgstr "Opérateur géré"
 
-#: ../lib/opers.php:56
+#: ../../../lib/opers.php:56
 msgid "Personal Oper"
 msgstr "Opérateur personnel"
 
-#: ../lib/opers.php:59 ../lib/servers.php:111 ../lib/users.php:143
+#: ../../../lib/opers.php:59 ../../../lib/servers.php:111
+#: ../../../lib/users.php:143
 msgid "Nick"
 msgstr "Pseudonyme"
 
-#: ../lib/opers.php:65
+#: ../../../lib/opers.php:65
 msgid "Omnimaga Profile"
 msgstr "Profil Omnimaga"
 
-#: ../lib/opers.php:71 ../site/index.php:389
+#: ../../../lib/opers.php:71 ../../../site/index.php:450
 msgid "New Password"
 msgstr "Nouveau mot de passe"
 
-#: ../lib/security.php:63
+#: ../../../lib/security.php:63
 msgid "Invalid credentials"
 msgstr "Informations de connexion invalides."
 
-#: ../lib/security.php:67 ../lib/security.php:81 ../site/api/index.php:158
-#: ../site/index.php:402 ../site/index.php:456
+#: ../../../lib/security.php:67 ../../../lib/security.php:81
+#: ../../../site/api/index.php:162 ../../../site/index.php:312
+#: ../../../site/index.php:463 ../../../site/index.php:517
 msgid "User"
 msgstr "Utilisateur"
 
-#: ../lib/security.php:67 ../lib/security.php:81 ../site/api/index.php:158
+#: ../../../lib/security.php:67 ../../../lib/security.php:81
+#: ../../../site/api/index.php:162
 msgid "does not exist"
 msgstr "n'existe pas"
 
-#: ../lib/security.php:73
+#: ../../../lib/security.php:73
 msgid "Invalid persona email"
 msgstr "Courriel Persona invalide"
 
-#: ../lib/security.php:84 ../site/api/index.php:289
+#: ../../../lib/security.php:84 ../../../site/api/index.php:323
 msgid "Invalid password"
 msgstr "Mot de passe invalide"
 
-#: ../lib/security.php:102 ../lib/security.php:171
+#: ../../../lib/security.php:102 ../../../lib/security.php:171
 msgid "Failed to create Authy user"
 msgstr "La création de l'utilisateur Authy a échoué"
 
-#: ../lib/security.php:115
+#: ../../../lib/security.php:115
 msgid "Token didn't match "
 msgstr "Le jeton ne correspond pas"
 
-#: ../lib/security.php:122 ../lib/security.php:204 ../site/api/index.php:43
-#: ../site/api/index.php:76 ../site/api/index.php:104
-#: ../site/api/index.php:153 ../site/api/index.php:167
-#: ../site/api/index.php:176 ../site/api/index.php:185
-#: ../site/api/index.php:261 ../site/api/index.php:276
-#: ../site/api/index.php:284
+#: ../../../lib/security.php:122 ../../../lib/security.php:204
+#: ../../../site/api/index.php:43 ../../../site/api/index.php:76
+#: ../../../site/api/index.php:104 ../../../site/api/index.php:157
+#: ../../../site/api/index.php:171 ../../../site/api/index.php:180
+#: ../../../site/api/index.php:189 ../../../site/api/index.php:218
+#: ../../../site/api/index.php:295 ../../../site/api/index.php:310
+#: ../../../site/api/index.php:318
 msgid "You have been logged out"
 msgstr "Vous avez été déconnecté"
 
-#: ../lib/security.php:137 ../lib/security.php:140 ../lib/security.php:150
+#: ../../../lib/security.php:137 ../../../lib/security.php:140
+#: ../../../lib/security.php:150
 msgid "Failed to disable 2-factor authentication"
 msgstr "La désactivation de la vérification en deux étapes a échoué"
 
-#: ../lib/security.php:178
+#: ../../../lib/security.php:178
 msgid "No cell number set"
 msgstr "Aucun numéro de cellulaire défini"
 
-#: ../lib/security.php:181
+#: ../../../lib/security.php:181
 msgid "No country code set"
 msgstr "Aucun code de pays défini"
 
-#: ../lib/security.php:191
+#: ../../../lib/security.php:191
 msgid "Could not register"
 msgstr "Impossible de s'inscrire"
 
-#: ../lib/security.php:194
+#: ../../../lib/security.php:194
 msgid "No secret key defined"
 msgstr "Aucune clé secrète définie"
 
-#: ../lib/security.php:197
+#: ../../../lib/security.php:197
 msgid "No token provided"
 msgstr "Aucun jeton fourni"
 
-#: ../lib/servers.php:105 ../lib/users.php:137
+#: ../../../lib/servers.php:105 ../../../lib/users.php:137
 msgid "Real Name"
 msgstr "Vrai nom"
 
-#: ../lib/servers.php:105 ../lib/users.php:149
+#: ../../../lib/servers.php:105 ../../../lib/users.php:149
 msgid "Email"
 msgstr "Courriel"
 
-#: ../lib/servers.php:108 ../site/index.php:216
+#: ../../../lib/servers.php:108 ../../../site/index.php:230
 msgid "Opers"
 msgstr "Opérateurs"
 
-#: ../lib/servers.php:111
+#: ../../../lib/servers.php:111
 msgid "Role"
 msgstr "Rôle"
 
-#: ../lib/servers.php:119
+#: ../../../lib/servers.php:119
 msgid "Parent"
 msgstr "Parent"
 
-#: ../lib/servers.php:123
+#: ../../../lib/servers.php:123
 msgid "Children"
 msgstr "Fils"
 
-#: ../site/api/index.php:21
+#: ../../../site/api/index.php:21
 msgid "Missing username and/or password"
 msgstr "Nom d'utilisateur et/ou mot de passe manquant"
 
-#: ../site/api/index.php:22
+#: ../../../site/api/index.php:22
 msgid "Missing user type"
 msgstr "Type d'utilisateur manquant"
 
-#: ../site/api/index.php:31
+#: ../../../site/api/index.php:31
 msgid "No token set"
 msgstr "Aucun jeton défini"
 
-#: ../site/api/index.php:72
+#: ../../../site/api/index.php:72
 msgid "Cannot fetch memos"
 msgstr "Impossible de récupérer les mémos"
 
-#: ../site/api/index.php:100
+#: ../../../site/api/index.php:100
 msgid "Cannot fetch news"
 msgstr "Impossible de récupérer les nouvelles"
 
-#: ../site/api/index.php:149
+#: ../../../site/api/index.php:153
 msgid "Cannot fetch channels"
 msgstr "Impossible de récupérer les canaux"
 
-#: ../site/api/index.php:154
+#: ../../../site/api/index.php:158
 msgid "No message or user entered"
 msgstr "Aucun message ou utilisateur entré"
 
-#: ../site/api/index.php:160
+#: ../../../site/api/index.php:164
 msgid "Memo Sent"
 msgstr "Mémo envoyé"
 
-#: ../site/api/index.php:163
+#: ../../../site/api/index.php:167
 msgid "Cannot send memo"
 msgstr "Impossible d'envoyer le mémo"
 
-#: ../site/api/index.php:168
+#: ../../../site/api/index.php:172
 msgid "No id given"
 msgstr "Aucun ID fourni"
 
-#: ../site/api/index.php:171
+#: ../../../site/api/index.php:175
 msgid "Cannot delete memo"
 msgstr "Impossible de supprimer le mémo"
 
-#: ../site/api/index.php:177 ../site/api/index.php:186
+#: ../../../site/api/index.php:181 ../../../site/api/index.php:190
+#: ../../../site/api/index.php:219
 msgid "No channel given"
 msgstr "Aucun canal fourni"
 
-#: ../site/api/index.php:180
+#: ../../../site/api/index.php:184
 msgid "Cannot drop channel"
 msgstr "Impossible d'abandonner le canal"
 
-#: ../site/api/index.php:236
+#: ../../../site/api/index.php:191
+#, fuzzy
+msgid "No user given"
+msgstr "Aucun ID fourni"
+
+#: ../../../site/api/index.php:209 ../../../site/api/index.php:213
+#, fuzzy
+msgid "Cannot change flag"
+msgstr "Impossible d'abandonner le canal"
+
+#: ../../../site/api/index.php:270
 msgid "Failed to add email"
 msgstr "L'ajout du courriel a échoué"
 
-#: ../site/api/index.php:236
+#: ../../../site/api/index.php:270
 msgid "to user"
 msgstr "à l'utilisateur"
 
-#: ../site/api/index.php:238
+#: ../../../site/api/index.php:272
 msgid "Email does not match any users"
 msgstr "Le courriel ne correspond à aucun utilisateur"
 
-#: ../site/api/index.php:262
+#: ../../../site/api/index.php:296
 msgid "No ID set"
 msgstr "Aucun ID défini"
 
-#: ../site/api/index.php:264
+#: ../../../site/api/index.php:298
 msgid "Could not remove email address"
 msgstr "Impossible d'enlever le courriel"
 
-#: ../site/api/index.php:281
+#: ../../../site/api/index.php:315
 msgid "2-factor disabled."
 msgstr "Vérification en deux étapes désactivée."
 
-#: ../site/api/index.php:288 ../site/api/index.php:303
-#: ../site/api/index.php:314
+#: ../../../site/api/index.php:322 ../../../site/api/index.php:337
+#: ../../../site/api/index.php:348
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgstr ""
 "Assurez-vous que tous les champs sont remplis. Essayez de recharger si c'est "
 "le cas."
 
-#: ../site/api/index.php:294
+#: ../../../site/api/index.php:328
 msgid "Could not update password with nickserv"
 msgstr "Impossible de mettre à jour le mot de passe avec NickServ"
 
-#: ../site/api/index.php:304
+#: ../../../site/api/index.php:338
 msgid "Not Logged in to use"
 msgstr "Déconnecté pour utiliser"
 
-#: ../site/api/index.php:304
+#: ../../../site/api/index.php:338
 msgid "with key"
 msgstr "avec la clé"
 
-#: ../site/api/index.php:305
+#: ../../../site/api/index.php:339
 msgid "Must be logged in with type user to sync pass"
 msgstr ""
 "Vous devez être connecté avec le type utilisateur pour synchroniser le mot "
 "de passe"
 
-#: ../site/api/index.php:308
+#: ../../../site/api/index.php:342
 msgid "Could not verify with nickserv"
 msgstr "Impossible de vérifier avec NickServ"
 
-#: ../site/api/index.php:311
+#: ../../../site/api/index.php:345
 msgid "Nickserv password synchronized with main account"
 msgstr "Le mot de passe NickServ a été synchronisé avec le compte principal"
 
-#: ../site/api/index.php:319 ../site/api/index.php:332
-#: ../site/api/index.php:351
+#: ../../../site/api/index.php:353 ../../../site/api/index.php:366
+#: ../../../site/api/index.php:385
 msgid "Not logged in"
 msgstr "Déconnecté"
 
-#: ../site/api/index.php:320 ../site/api/index.php:333
+#: ../../../site/api/index.php:354 ../../../site/api/index.php:367
 msgid "No user set."
 msgstr "Aucun utilisateur défini."
 
-#: ../site/api/index.php:321
+#: ../../../site/api/index.php:355
 msgid "No email set."
 msgstr "Aucun courriel défini."
 
-#: ../site/api/index.php:322
+#: ../../../site/api/index.php:356
 msgid "No real name set."
 msgstr "Aucun vrai nom défini."
 
-#: ../site/api/index.php:323 ../site/api/index.php:334
+#: ../../../site/api/index.php:357 ../../../site/api/index.php:368
 msgid "No nick set."
 msgstr "Aucun pseudonyme défini."
 
-#: ../site/api/index.php:324
+#: ../../../site/api/index.php:358
 msgid "User with id"
 msgstr "Utilisateur avec ID"
 
-#: ../site/api/index.php:324 ../site/api/index.php:336
+#: ../../../site/api/index.php:358 ../../../site/api/index.php:370
 msgid "does not exist. You should reload the page."
 msgstr "n'existe pas. Vous devriez recharger la page."
 
-#: ../site/api/index.php:328
+#: ../../../site/api/index.php:362
 msgid "Unable to update user"
 msgstr "Impossible de mettre à jour l'utilisateur"
 
-#: ../site/api/index.php:335
+#: ../../../site/api/index.php:369
 msgid "No profile set."
 msgstr "Aucun profil défini."
 
-#: ../site/api/index.php:336
+#: ../../../site/api/index.php:370
 msgid "Oper with id"
 msgstr "Opérateur avec ID"
 
-#: ../site/api/index.php:338 ../site/api/index.php:340
+#: ../../../site/api/index.php:372 ../../../site/api/index.php:374
 msgid "Unable to update oper"
 msgstr "Impossible de mettre à jour l'opérateur"
 
-#: ../site/api/index.php:346
+#: ../../../site/api/index.php:380
 msgid "Failed to update setting"
 msgstr "La mise à jour du réglage a échoué"
 
-#: ../site/api/index.php:346
+#: ../../../site/api/index.php:380
 msgid "with value"
 msgstr "avec la valeur"
 
-#: ../site/api/index.php:355
+#: ../../../site/api/index.php:389
 msgid "Invalid Action"
 msgstr "Action invalide"
 
-#: ../site/index.php:78 ../site/index.php:79 ../site/index.php:123
-#: ../site/index.php:124 ../site/index.php:154 ../site/index.php:155
+#: ../../../site/index.php:78 ../../../site/index.php:79
+#: ../../../site/index.php:123 ../../../site/index.php:124
+#: ../../../site/index.php:154 ../../../site/index.php:155
 msgid "Refresh"
 msgstr "Rafraîchir"
 
-#: ../site/index.php:81 ../site/index.php:82
+#: ../../../site/index.php:81 ../../../site/index.php:82
 msgid "New Memo"
 msgstr "Nouveau mémo"
 
-#: ../site/index.php:84 ../site/index.php:85
+#: ../../../site/index.php:84 ../../../site/index.php:85
 msgid "Delete All"
 msgstr "Supprimer tout"
 
-#: ../site/index.php:91 ../site/index.php:133
+#: ../../../site/index.php:91 ../../../site/index.php:133
 msgid "From"
 msgstr "De"
 
-#: ../site/index.php:99 ../site/index.php:141
+#: ../../../site/index.php:99 ../../../site/index.php:141
 msgid "Sent"
 msgstr "Envoyé"
 
-#: ../site/index.php:107
+#: ../../../site/index.php:107
 msgid "Body"
 msgstr "Corps"
 
-#: ../site/index.php:113 ../site/index.php:114
+#: ../../../site/index.php:113 ../../../site/index.php:114
 msgid "Reply"
 msgstr "Répondre"
 
-#: ../site/index.php:116 ../site/index.php:117 ../site/index.php:191
-#: ../site/index.php:192
+#: ../../../site/index.php:116 ../../../site/index.php:117
+#: ../../../site/index.php:205 ../../../site/index.php:206
 msgid "Delete"
 msgstr "Supprimer"
 
-#: ../site/index.php:157 ../site/index.php:158
+#: ../../../site/index.php:157 ../../../site/index.php:158
 msgid "New Channel"
 msgstr "Nouveau canal"
 
-#: ../site/index.php:166
+#: ../../../site/index.php:166
 msgid "Access"
 msgstr "Accès"
 
-#: ../site/index.php:176
+#: ../../../site/index.php:177 ../../../site/index.php:318
 msgid "Flags"
 msgstr "Indicateurs"
 
-#: ../site/index.php:211
+#: ../../../site/index.php:182 ../../../site/index.php:308
+msgid "Modify"
+msgstr ""
+
+#: ../../../site/index.php:200 ../../../site/index.php:201
+#, fuzzy
+msgid "Add Access"
+msgstr "Accès"
+
+#: ../../../site/index.php:225
 msgid "News"
 msgstr "Nouvelles"
 
-#: ../site/index.php:212
+#: ../../../site/index.php:226
 msgid "Memos"
 msgstr "Mémos"
 
-#: ../site/index.php:213
+#: ../../../site/index.php:227
 msgid "Channels"
 msgstr "Canaux"
 
-#: ../site/index.php:215
+#: ../../../site/index.php:229
 msgid "Servers"
 msgstr "Serveurs"
 
-#: ../site/index.php:217
+#: ../../../site/index.php:231
 msgid "Configuration"
 msgstr "Configuration"
 
-#: ../site/index.php:219
+#: ../../../site/index.php:233
 msgid "Profile"
 msgstr "Profil"
 
-#: ../site/index.php:254
+#: ../../../site/index.php:264
+msgid "Send"
+msgstr ""
+
+#: ../../../site/index.php:268
 msgid "To"
 msgstr "À"
 
-#: ../site/index.php:260
+#: ../../../site/index.php:274
 msgid "Message"
 msgstr "Message"
 
-#: ../site/index.php:279
+#: ../../../site/index.php:289
+msgid "Register"
+msgstr ""
+
+#: ../../../site/index.php:293
 msgid "Channel Name"
 msgstr "Nom du canal"
 
-#: ../site/index.php:301
+#: ../../../site/index.php:362
 msgid "Country"
 msgstr "Pays"
 
-#: ../site/index.php:309
+#: ../../../site/index.php:370
 msgid "Cell #"
 msgstr "Numéro de cellulaire"
 
-#: ../site/index.php:332
+#: ../../../site/index.php:393
 msgid "Token"
 msgstr "Jeton"
 
-#: ../site/index.php:347
+#: ../../../site/index.php:408
 msgid "Disable 2-factor"
 msgstr "Désactiver la vérification en deux étapes"
 
-#: ../site/index.php:353
+#: ../../../site/index.php:414
 msgid "Link Persona"
 msgstr "Lier le Persona"
 
-#: ../site/index.php:356
+#: ../../../site/index.php:417
 msgid "Remove"
 msgstr "Enlever"
 
-#: ../site/index.php:364
+#: ../../../site/index.php:425
 msgid "Switch Role"
 msgstr "Changer de rôle"
 
-#: ../site/index.php:366
+#: ../../../site/index.php:427
 msgid "Rehash"
 msgstr "Mettre à jour"
 
-#: ../site/index.php:368 ../site/index.php:379
+#: ../../../site/index.php:429 ../../../site/index.php:440
 msgid "Change Password"
 msgstr "Changer le mot de passe"
 
-#: ../site/index.php:370
+#: ../../../site/index.php:431
 msgid "Sync Password"
 msgstr "Synchroniser le mot de passe"
 
-#: ../site/index.php:372
+#: ../../../site/index.php:433
 msgid "Logout"
 msgstr "Se déconnecter"
 
-#: ../site/index.php:383 ../site/index.php:481
+#: ../../../site/index.php:444 ../../../site/index.php:542
 msgid "Password"
 msgstr "Mot de passe"
 
-#: ../site/index.php:413
+#: ../../../site/index.php:474
 msgid "Switch"
 msgstr "Changer"
 
-#: ../site/index.php:417 ../site/index.php:487
+#: ../../../site/index.php:478 ../../../site/index.php:548
 msgid "Type"
 msgstr "Type"
 
-#: ../site/index.php:435 ../site/index.php:467
+#: ../../../site/index.php:496 ../../../site/index.php:528
 msgid "Login"
 msgstr "Se connecter"
 
-#: ../site/index.php:439
+#: ../../../site/index.php:500
 msgid "2-Factor Verification"
 msgstr "Validation en deux étapes"
 
-#: ../site/index.php:471
+#: ../../../site/index.php:532
 msgid "Persona"
 msgstr "Persona"
 
-#: ../site/index.php:475
+#: ../../../site/index.php:536
 msgid "Username"
 msgstr "Nom d'utilisateur"
 
-#: ../site/js/index.js:123
+#: ../../../site/js/index.js:128
 msgid "Oper updated"
 msgstr "Opérateur mis à jour"
 
-#: ../site/js/index.js:134
+#: ../../../site/js/index.js:139
 msgid "Could not submit the form"
 msgstr "Impossible de soumettre le formulaire"
 
-#: ../site/js/index.js:160
+#: ../../../site/js/index.js:165
 msgid "Could not rehash the servers"
 msgstr "Impossible de mettre à jour les serveurs"
 
-#: ../site/js/index.js:201
+#: ../../../site/js/index.js:206
 msgid "Could not synchronize your password"
 msgstr "Impossible de synchroniser votre mot de passe"
 
-#: ../site/js/index.js:214
+#: ../../../site/js/index.js:219
 msgid "This is an admin only feature. Continue?"
 msgstr "Ceci est une fonction pour les administrateurs seulement. Continuer?"
 
-#: ../site/js/index.js:241
+#: ../../../site/js/index.js:246
 msgid "Login failure"
 msgstr "La connexion a échoué"
 
-#: ../site/js/index.js:266
+#: ../../../site/js/index.js:271
 msgid "Could not remove persona address"
 msgstr "Impossible d'enlever l'adresse Persona"
 
-#: ../site/js/index.js:386
+#: ../../../site/js/index.js:391
 msgid "Server Ping"
 msgstr "Ping du serveur"
 
-#: ../site/js/index.js:401 ../site/js/index.js:478 ../site/js/index.js:589
-#: ../site/js/index.js:616
+#: ../../../site/js/index.js:406 ../../../site/js/index.js:483
+#: ../../../site/js/index.js:591 ../../../site/js/index.js:618
 msgid "Could not ping server"
 msgstr "Impossible de pinger le serveur"
 
-#: ../site/js/index.js:409
+#: ../../../site/js/index.js:414
 msgid "Fetching Memos"
 msgstr "Récupérer les mémos"
 
-#: ../site/js/index.js:440 ../site/js/index.js:517 ../site/js/index.js:556
+#: ../../../site/js/index.js:445 ../../../site/js/index.js:522
+#: ../../../site/js/index.js:561
 msgid "Could not contact server"
 msgstr "Impossible de contacter le serveur"
 
-#: ../site/js/index.js:459
+#: ../../../site/js/index.js:464
 msgid "Deleting memo"
 msgstr "Suppression du mémo"
 
-#: ../site/js/index.js:485
+#: ../../../site/js/index.js:490
 msgid "Fetching News"
 msgstr "Récupérer les nouvelles"
 
-#: ../site/js/index.js:507
+#: ../../../site/js/index.js:512
 msgid "New news item"
 msgstr "Nouvel item de nouvelle"
 
-#: ../site/js/index.js:527
+#: ../../../site/js/index.js:532
 msgid "Fetching Channels"
 msgstr "Récupérer les canaux"
 
-#: ../site/js/index.js:566
+#: ../../../site/js/index.js:568
 msgid "Are you sure you want to delete channel"
 msgstr "Êtes-vous sûr vous voulez supprimer le canal"
 
-#: ../site/js/index.js:567
+#: ../../../site/js/index.js:569
 msgid "Deleting channel"
 msgstr "Suppression du canal"
 
-#: ../site/js/index.js:597
+#: ../../../site/js/index.js:599
 msgid "Registering channel"
 msgstr "Enregistrement du canal"
 
-#: ../site/js/index.js:624
+#: ../../../site/js/index.js:647
 msgid "Language change detected"
 msgstr "Changement de langue détecté"

BIN
lang/fr_FR/LC_MESSAGES/omninet.mo


+ 251 - 216
lang/fr_FR/LC_MESSAGES/omninet.po

@@ -1,9 +1,9 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Omninet Control panel\n"
-"POT-Creation-Date: 2014-02-23 00:09-0700\n"
-"PO-Revision-Date: 2014-02-23 02:44-0500\n"
-"Last-Translator: Julien Savard <[email protected]>\n"
+"POT-Creation-Date: 2014-02-23 18:36-0700\n"
+"PO-Revision-Date: 2014-02-23 18:36-0700\n"
+"Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: fr_FR\n"
 "MIME-Version: 1.0\n"
@@ -15,636 +15,671 @@ msgstr ""
 "X-Poedit-KeywordsList: __\n"
 "X-Poedit-SearchPath-0: ../../..\n"
 
-#: ../lib/configuration.php:133 ../lib/users.php:163
-msgid "Save"
-msgstr "Enregistrer"
-
-#: ../lib/irc.php:37
-msgid "Insufficient Parameters to login"
-msgstr "Paramètres insuffisants pour se connecter"
-
-#: ../lib/irc.php:40
-msgid "Account is not registered"
-msgstr "Le compte n'est pas enregistré"
-
-#: ../lib/irc.php:43
-msgid "Invalid Username/Password"
-msgstr "Nom d'utilisateur et/ou mot de passe invalide"
-
-#: ../lib/irc.php:46
-msgid "Account is frozen"
-msgstr "Le compte est gelé"
-
-#: ../lib/irc.php:49
-msgid "Could not log in"
-msgstr "Impossible de se connecter."
-
-#: ../lib/irc.php:140 ../lib/irc.php:228
-msgid "Could not connect."
-msgstr "Impossible de se connecter."
-
-#: ../lib/irc.php:141 ../lib/irc.php:229
-msgid "Could not set timeout."
-msgstr "Impossible de régler le délai."
-
-#: ../lib/irc.php:151 ../lib/irc.php:168 ../lib/irc.php:185
-msgid "RehashServ is already running."
-msgstr "RehashServ est déjà en cours d'exécution"
-
-#: ../lib/irc.php:153 ../lib/irc.php:170 ../lib/irc.php:187 ../lib/irc.php:246
-#: ../lib/irc.php:279 ../lib/irc.php:297
-msgid "IRC Server refused the connection."
-msgstr "Le serveur IRC a refusé la connexion."
-
-#: ../lib/irc.php:174 ../lib/irc.php:283
-msgid "Failed to authenticate with NickServ"
-msgstr "L'authentication avec NickServ a échoué"
-
-#: ../lib/irc.php:191 ../lib/irc.php:301
-msgid "vhost not set."
-msgstr "vhost non défini."
-
-#: ../lib/irc.php:211
-msgid "There is an error in the config. See console for output."
-msgstr ""
-"Il y a eu une erreur dans la configuration. Regardez la console pour la "
-"sortie."
-
-#: ../lib/irc.php:213
-msgid "Rehashed. View console for output."
-msgstr "Mis à jour. Regardez la console pour la sortie."
-
-#: ../lib/irc.php:244 ../lib/irc.php:266 ../lib/irc.php:295
-msgid "RunServ is already running."
-msgstr "RunServ est déjà en cours d'exécution"
-
-#: ../lib/irc.php:328
+#: ../../../lib/channels.php:5
 msgid "Voice"
 msgstr "Voix"
 
-#: ../lib/irc.php:329
+#: ../../../lib/channels.php:6
 msgid "Automatic voice"
 msgstr "Voix automatique"
 
-#: ../lib/irc.php:330
+#: ../../../lib/channels.php:7
 msgid "Halfop"
 msgstr "Demi-opérateur"
 
-#: ../lib/irc.php:331
+#: ../../../lib/channels.php:8
 msgid "Automatic Halfop"
 msgstr "Demi-opérateur automatique"
 
-#: ../lib/irc.php:332
+#: ../../../lib/channels.php:9
 msgid "Op"
 msgstr "Opérateur"
 
-#: ../lib/irc.php:333
+#: ../../../lib/channels.php:10
 msgid "Automatic Op"
 msgstr "Opérateur automatique"
 
-#: ../lib/irc.php:334
+#: ../../../lib/channels.php:11
 msgid "Admin"
 msgstr "Administrateur"
 
-#: ../lib/irc.php:335 ../lib/servers.php:104
+#: ../../../lib/channels.php:12 ../../../lib/servers.php:104
 msgid "Owner"
 msgstr "Propriétaire"
 
-#: ../lib/irc.php:336
+#: ../../../lib/channels.php:13
 msgid "Set"
 msgstr "Définir"
 
-#: ../lib/irc.php:337
+#: ../../../lib/channels.php:14
 msgid "Invite/Getkey"
 msgstr "Invitation/Obtenir clé"
 
-#: ../lib/irc.php:338
+#: ../../../lib/channels.php:15
 msgid "Kick/Ban"
 msgstr "Expulsion/Bannissement"
 
-#: ../lib/irc.php:339
+#: ../../../lib/channels.php:16
 msgid "Recover/Clear"
 msgstr "Recouvrer/Effacer"
 
-#: ../lib/irc.php:340
+#: ../../../lib/channels.php:17
 msgid "Modify access lists"
 msgstr "Modifier les listes d'accès"
 
-#: ../lib/irc.php:341
+#: ../../../lib/channels.php:18
 msgid "Topic"
 msgstr "Sujet"
 
-#: ../lib/irc.php:342
+#: ../../../lib/channels.php:19
 msgid "View access lists"
 msgstr "Voir les listes d'accès"
 
-#: ../lib/irc.php:343
+#: ../../../lib/channels.php:20
 msgid "Founder"
 msgstr "Fondateur"
 
-#: ../lib/irc.php:344
+#: ../../../lib/channels.php:21
 msgid "Banned"
 msgstr "Banni"
 
-#: ../lib/opers.php:56
+#: ../../../lib/configuration.php:133 ../../../lib/users.php:163
+msgid "Save"
+msgstr "Enregistrer"
+
+#: ../../../lib/irc.php:37
+msgid "Insufficient Parameters to login"
+msgstr "Paramètres insuffisants pour se connecter"
+
+#: ../../../lib/irc.php:40
+msgid "Account is not registered"
+msgstr "Le compte n'est pas enregistré"
+
+#: ../../../lib/irc.php:43
+msgid "Invalid Username/Password"
+msgstr "Nom d'utilisateur et/ou mot de passe invalide"
+
+#: ../../../lib/irc.php:46
+msgid "Account is frozen"
+msgstr "Le compte est gelé"
+
+#: ../../../lib/irc.php:49
+msgid "Could not log in"
+msgstr "Impossible de se connecter."
+
+#: ../../../lib/irc.php:129 ../../../lib/irc.php:217
+msgid "Could not connect."
+msgstr "Impossible de se connecter."
+
+#: ../../../lib/irc.php:130 ../../../lib/irc.php:218
+msgid "Could not set timeout."
+msgstr "Impossible de régler le délai."
+
+#: ../../../lib/irc.php:140 ../../../lib/irc.php:157 ../../../lib/irc.php:174
+msgid "RehashServ is already running."
+msgstr "RehashServ est déjà en cours d'exécution"
+
+#: ../../../lib/irc.php:142 ../../../lib/irc.php:159 ../../../lib/irc.php:176
+#: ../../../lib/irc.php:235 ../../../lib/irc.php:268 ../../../lib/irc.php:286
+msgid "IRC Server refused the connection."
+msgstr "Le serveur IRC a refusé la connexion."
+
+#: ../../../lib/irc.php:163 ../../../lib/irc.php:272
+msgid "Failed to authenticate with NickServ"
+msgstr "L'authentication avec NickServ a échoué"
+
+#: ../../../lib/irc.php:180 ../../../lib/irc.php:290
+msgid "vhost not set."
+msgstr "vhost non défini."
+
+#: ../../../lib/irc.php:200
+msgid "There is an error in the config. See console for output."
+msgstr ""
+"Il y a eu une erreur dans la configuration. Regardez la console pour la "
+"sortie."
+
+#: ../../../lib/irc.php:202
+msgid "Rehashed. View console for output."
+msgstr "Mis à jour. Regardez la console pour la sortie."
+
+#: ../../../lib/irc.php:233 ../../../lib/irc.php:255 ../../../lib/irc.php:284
+msgid "RunServ is already running."
+msgstr "RunServ est déjà en cours d'exécution"
+
+#: ../../../lib/opers.php:56
 msgid "Managed Oper"
 msgstr "Opérateur géré"
 
-#: ../lib/opers.php:56
+#: ../../../lib/opers.php:56
 msgid "Personal Oper"
 msgstr "Opérateur personnel"
 
-#: ../lib/opers.php:59 ../lib/servers.php:111 ../lib/users.php:143
+#: ../../../lib/opers.php:59 ../../../lib/servers.php:111
+#: ../../../lib/users.php:143
 msgid "Nick"
 msgstr "Pseudonyme"
 
-#: ../lib/opers.php:65
+#: ../../../lib/opers.php:65
 msgid "Omnimaga Profile"
 msgstr "Profil Omnimaga"
 
-#: ../lib/opers.php:71 ../site/index.php:389
+#: ../../../lib/opers.php:71 ../../../site/index.php:450
 msgid "New Password"
 msgstr "Nouveau mot de passe"
 
-#: ../lib/security.php:63
+#: ../../../lib/security.php:63
 msgid "Invalid credentials"
 msgstr "Informations de connexion invalides."
 
-#: ../lib/security.php:67 ../lib/security.php:81 ../site/api/index.php:158
-#: ../site/index.php:402 ../site/index.php:456
+#: ../../../lib/security.php:67 ../../../lib/security.php:81
+#: ../../../site/api/index.php:162 ../../../site/index.php:312
+#: ../../../site/index.php:463 ../../../site/index.php:517
 msgid "User"
 msgstr "Utilisateur"
 
-#: ../lib/security.php:67 ../lib/security.php:81 ../site/api/index.php:158
+#: ../../../lib/security.php:67 ../../../lib/security.php:81
+#: ../../../site/api/index.php:162
 msgid "does not exist"
 msgstr "n'existe pas"
 
-#: ../lib/security.php:73
+#: ../../../lib/security.php:73
 msgid "Invalid persona email"
 msgstr "Courriel Persona invalide"
 
-#: ../lib/security.php:84 ../site/api/index.php:289
+#: ../../../lib/security.php:84 ../../../site/api/index.php:323
 msgid "Invalid password"
 msgstr "Mot de passe invalide"
 
-#: ../lib/security.php:102 ../lib/security.php:171
+#: ../../../lib/security.php:102 ../../../lib/security.php:171
 msgid "Failed to create Authy user"
 msgstr "La création de l'utilisateur Authy a échoué"
 
-#: ../lib/security.php:115
+#: ../../../lib/security.php:115
 msgid "Token didn't match "
 msgstr "Le jeton ne correspond pas"
 
-#: ../lib/security.php:122 ../lib/security.php:204 ../site/api/index.php:43
-#: ../site/api/index.php:76 ../site/api/index.php:104
-#: ../site/api/index.php:153 ../site/api/index.php:167
-#: ../site/api/index.php:176 ../site/api/index.php:185
-#: ../site/api/index.php:261 ../site/api/index.php:276
-#: ../site/api/index.php:284
+#: ../../../lib/security.php:122 ../../../lib/security.php:204
+#: ../../../site/api/index.php:43 ../../../site/api/index.php:76
+#: ../../../site/api/index.php:104 ../../../site/api/index.php:157
+#: ../../../site/api/index.php:171 ../../../site/api/index.php:180
+#: ../../../site/api/index.php:189 ../../../site/api/index.php:218
+#: ../../../site/api/index.php:295 ../../../site/api/index.php:310
+#: ../../../site/api/index.php:318
 msgid "You have been logged out"
 msgstr "Vous avez été déconnecté"
 
-#: ../lib/security.php:137 ../lib/security.php:140 ../lib/security.php:150
+#: ../../../lib/security.php:137 ../../../lib/security.php:140
+#: ../../../lib/security.php:150
 msgid "Failed to disable 2-factor authentication"
 msgstr "La désactivation de la vérification en deux étapes a échoué"
 
-#: ../lib/security.php:178
+#: ../../../lib/security.php:178
 msgid "No cell number set"
 msgstr "Aucun numéro de cellulaire défini"
 
-#: ../lib/security.php:181
+#: ../../../lib/security.php:181
 msgid "No country code set"
 msgstr "Aucun code de pays défini"
 
-#: ../lib/security.php:191
+#: ../../../lib/security.php:191
 msgid "Could not register"
 msgstr "Impossible de s'inscrire"
 
-#: ../lib/security.php:194
+#: ../../../lib/security.php:194
 msgid "No secret key defined"
 msgstr "Aucune clé secrète définie"
 
-#: ../lib/security.php:197
+#: ../../../lib/security.php:197
 msgid "No token provided"
 msgstr "Aucun jeton fourni"
 
-#: ../lib/servers.php:105 ../lib/users.php:137
+#: ../../../lib/servers.php:105 ../../../lib/users.php:137
 msgid "Real Name"
 msgstr "Vrai nom"
 
-#: ../lib/servers.php:105 ../lib/users.php:149
+#: ../../../lib/servers.php:105 ../../../lib/users.php:149
 msgid "Email"
 msgstr "Courriel"
 
-#: ../lib/servers.php:108 ../site/index.php:216
+#: ../../../lib/servers.php:108 ../../../site/index.php:230
 msgid "Opers"
 msgstr "Opérateurs"
 
-#: ../lib/servers.php:111
+#: ../../../lib/servers.php:111
 msgid "Role"
 msgstr "Rôle"
 
-#: ../lib/servers.php:119
+#: ../../../lib/servers.php:119
 msgid "Parent"
 msgstr "Parent"
 
-#: ../lib/servers.php:123
+#: ../../../lib/servers.php:123
 msgid "Children"
 msgstr "Fils"
 
-#: ../site/api/index.php:21
+#: ../../../site/api/index.php:21
 msgid "Missing username and/or password"
 msgstr "Nom d'utilisateur et/ou mot de passe manquant"
 
-#: ../site/api/index.php:22
+#: ../../../site/api/index.php:22
 msgid "Missing user type"
 msgstr "Type d'utilisateur manquant"
 
-#: ../site/api/index.php:31
+#: ../../../site/api/index.php:31
 msgid "No token set"
 msgstr "Aucun jeton défini"
 
-#: ../site/api/index.php:72
+#: ../../../site/api/index.php:72
 msgid "Cannot fetch memos"
 msgstr "Impossible de récupérer les mémos"
 
-#: ../site/api/index.php:100
+#: ../../../site/api/index.php:100
 msgid "Cannot fetch news"
 msgstr "Impossible de récupérer les nouvelles"
 
-#: ../site/api/index.php:149
+#: ../../../site/api/index.php:153
 msgid "Cannot fetch channels"
 msgstr "Impossible de récupérer les canaux"
 
-#: ../site/api/index.php:154
+#: ../../../site/api/index.php:158
 msgid "No message or user entered"
 msgstr "Aucun message ou utilisateur entré"
 
-#: ../site/api/index.php:160
+#: ../../../site/api/index.php:164
 msgid "Memo Sent"
 msgstr "Mémo envoyé"
 
-#: ../site/api/index.php:163
+#: ../../../site/api/index.php:167
 msgid "Cannot send memo"
 msgstr "Impossible d'envoyer le mémo"
 
-#: ../site/api/index.php:168
+#: ../../../site/api/index.php:172
 msgid "No id given"
 msgstr "Aucun ID fourni"
 
-#: ../site/api/index.php:171
+#: ../../../site/api/index.php:175
 msgid "Cannot delete memo"
 msgstr "Impossible de supprimer le mémo"
 
-#: ../site/api/index.php:177 ../site/api/index.php:186
+#: ../../../site/api/index.php:181 ../../../site/api/index.php:190
+#: ../../../site/api/index.php:219
 msgid "No channel given"
 msgstr "Aucun canal fourni"
 
-#: ../site/api/index.php:180
+#: ../../../site/api/index.php:184
 msgid "Cannot drop channel"
 msgstr "Impossible d'abandonner le canal"
 
-#: ../site/api/index.php:236
+#: ../../../site/api/index.php:191
+#, fuzzy
+msgid "No user given"
+msgstr "Aucun ID fourni"
+
+#: ../../../site/api/index.php:209 ../../../site/api/index.php:213
+#, fuzzy
+msgid "Cannot change flag"
+msgstr "Impossible d'abandonner le canal"
+
+#: ../../../site/api/index.php:270
 msgid "Failed to add email"
 msgstr "L'ajout du courriel a échoué"
 
-#: ../site/api/index.php:236
+#: ../../../site/api/index.php:270
 msgid "to user"
 msgstr "à l'utilisateur"
 
-#: ../site/api/index.php:238
+#: ../../../site/api/index.php:272
 msgid "Email does not match any users"
 msgstr "Le courriel ne correspond à aucun utilisateur"
 
-#: ../site/api/index.php:262
+#: ../../../site/api/index.php:296
 msgid "No ID set"
 msgstr "Aucun ID défini"
 
-#: ../site/api/index.php:264
+#: ../../../site/api/index.php:298
 msgid "Could not remove email address"
 msgstr "Impossible d'enlever le courriel"
 
-#: ../site/api/index.php:281
+#: ../../../site/api/index.php:315
 msgid "2-factor disabled."
 msgstr "Vérification en deux étapes désactivée."
 
-#: ../site/api/index.php:288 ../site/api/index.php:303
-#: ../site/api/index.php:314
+#: ../../../site/api/index.php:322 ../../../site/api/index.php:337
+#: ../../../site/api/index.php:348
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgstr ""
 "Assurez-vous que tous les champs sont remplis. Essayez de recharger si c'est "
 "le cas."
 
-#: ../site/api/index.php:294
+#: ../../../site/api/index.php:328
 msgid "Could not update password with nickserv"
 msgstr "Impossible de mettre à jour le mot de passe avec NickServ"
 
-#: ../site/api/index.php:304
+#: ../../../site/api/index.php:338
 msgid "Not Logged in to use"
 msgstr "Déconnecté pour utiliser"
 
-#: ../site/api/index.php:304
+#: ../../../site/api/index.php:338
 msgid "with key"
 msgstr "avec la clé"
 
-#: ../site/api/index.php:305
+#: ../../../site/api/index.php:339
 msgid "Must be logged in with type user to sync pass"
 msgstr ""
 "Vous devez être connecté avec le type utilisateur pour synchroniser le mot "
 "de passe"
 
-#: ../site/api/index.php:308
+#: ../../../site/api/index.php:342
 msgid "Could not verify with nickserv"
 msgstr "Impossible de vérifier avec NickServ"
 
-#: ../site/api/index.php:311
+#: ../../../site/api/index.php:345
 msgid "Nickserv password synchronized with main account"
 msgstr "Le mot de passe NickServ a été synchronisé avec le compte principal"
 
-#: ../site/api/index.php:319 ../site/api/index.php:332
-#: ../site/api/index.php:351
+#: ../../../site/api/index.php:353 ../../../site/api/index.php:366
+#: ../../../site/api/index.php:385
 msgid "Not logged in"
 msgstr "Déconnecté"
 
-#: ../site/api/index.php:320 ../site/api/index.php:333
+#: ../../../site/api/index.php:354 ../../../site/api/index.php:367
 msgid "No user set."
 msgstr "Aucun utilisateur défini."
 
-#: ../site/api/index.php:321
+#: ../../../site/api/index.php:355
 msgid "No email set."
 msgstr "Aucun courriel défini."
 
-#: ../site/api/index.php:322
+#: ../../../site/api/index.php:356
 msgid "No real name set."
 msgstr "Aucun vrai nom défini."
 
-#: ../site/api/index.php:323 ../site/api/index.php:334
+#: ../../../site/api/index.php:357 ../../../site/api/index.php:368
 msgid "No nick set."
 msgstr "Aucun pseudonyme défini."
 
-#: ../site/api/index.php:324
+#: ../../../site/api/index.php:358
 msgid "User with id"
 msgstr "Utilisateur avec ID"
 
-#: ../site/api/index.php:324 ../site/api/index.php:336
+#: ../../../site/api/index.php:358 ../../../site/api/index.php:370
 msgid "does not exist. You should reload the page."
 msgstr "n'existe pas. Vous devriez recharger la page."
 
-#: ../site/api/index.php:328
+#: ../../../site/api/index.php:362
 msgid "Unable to update user"
 msgstr "Impossible de mettre à jour l'utilisateur"
 
-#: ../site/api/index.php:335
+#: ../../../site/api/index.php:369
 msgid "No profile set."
 msgstr "Aucun profil défini."
 
-#: ../site/api/index.php:336
+#: ../../../site/api/index.php:370
 msgid "Oper with id"
 msgstr "Opérateur avec ID"
 
-#: ../site/api/index.php:338 ../site/api/index.php:340
+#: ../../../site/api/index.php:372 ../../../site/api/index.php:374
 msgid "Unable to update oper"
 msgstr "Impossible de mettre à jour l'opérateur"
 
-#: ../site/api/index.php:346
+#: ../../../site/api/index.php:380
 msgid "Failed to update setting"
 msgstr "La mise à jour du réglage a échoué"
 
-#: ../site/api/index.php:346
+#: ../../../site/api/index.php:380
 msgid "with value"
 msgstr "avec la valeur"
 
-#: ../site/api/index.php:355
+#: ../../../site/api/index.php:389
 msgid "Invalid Action"
 msgstr "Action invalide"
 
-#: ../site/index.php:78 ../site/index.php:79 ../site/index.php:123
-#: ../site/index.php:124 ../site/index.php:154 ../site/index.php:155
+#: ../../../site/index.php:78 ../../../site/index.php:79
+#: ../../../site/index.php:123 ../../../site/index.php:124
+#: ../../../site/index.php:154 ../../../site/index.php:155
 msgid "Refresh"
 msgstr "Rafraîchir"
 
-#: ../site/index.php:81 ../site/index.php:82
+#: ../../../site/index.php:81 ../../../site/index.php:82
 msgid "New Memo"
 msgstr "Nouveau mémo"
 
-#: ../site/index.php:84 ../site/index.php:85
+#: ../../../site/index.php:84 ../../../site/index.php:85
 msgid "Delete All"
 msgstr "Supprimer tout"
 
-#: ../site/index.php:91 ../site/index.php:133
+#: ../../../site/index.php:91 ../../../site/index.php:133
 msgid "From"
 msgstr "De"
 
-#: ../site/index.php:99 ../site/index.php:141
+#: ../../../site/index.php:99 ../../../site/index.php:141
 msgid "Sent"
 msgstr "Envoyé"
 
-#: ../site/index.php:107
+#: ../../../site/index.php:107
 msgid "Body"
 msgstr "Corps"
 
-#: ../site/index.php:113 ../site/index.php:114
+#: ../../../site/index.php:113 ../../../site/index.php:114
 msgid "Reply"
 msgstr "Répondre"
 
-#: ../site/index.php:116 ../site/index.php:117 ../site/index.php:191
-#: ../site/index.php:192
+#: ../../../site/index.php:116 ../../../site/index.php:117
+#: ../../../site/index.php:205 ../../../site/index.php:206
 msgid "Delete"
 msgstr "Supprimer"
 
-#: ../site/index.php:157 ../site/index.php:158
+#: ../../../site/index.php:157 ../../../site/index.php:158
 msgid "New Channel"
 msgstr "Nouveau canal"
 
-#: ../site/index.php:166
+#: ../../../site/index.php:166
 msgid "Access"
 msgstr "Accès"
 
-#: ../site/index.php:176
+#: ../../../site/index.php:177 ../../../site/index.php:318
 msgid "Flags"
 msgstr "Indicateurs"
 
-#: ../site/index.php:211
+#: ../../../site/index.php:182 ../../../site/index.php:308
+msgid "Modify"
+msgstr ""
+
+#: ../../../site/index.php:200 ../../../site/index.php:201
+#, fuzzy
+msgid "Add Access"
+msgstr "Accès"
+
+#: ../../../site/index.php:225
 msgid "News"
 msgstr "Nouvelles"
 
-#: ../site/index.php:212
+#: ../../../site/index.php:226
 msgid "Memos"
 msgstr "Mémos"
 
-#: ../site/index.php:213
+#: ../../../site/index.php:227
 msgid "Channels"
 msgstr "Canaux"
 
-#: ../site/index.php:215
+#: ../../../site/index.php:229
 msgid "Servers"
 msgstr "Serveurs"
 
-#: ../site/index.php:217
+#: ../../../site/index.php:231
 msgid "Configuration"
 msgstr "Configuration"
 
-#: ../site/index.php:219
+#: ../../../site/index.php:233
 msgid "Profile"
 msgstr "Profil"
 
-#: ../site/index.php:254
+#: ../../../site/index.php:264
+msgid "Send"
+msgstr ""
+
+#: ../../../site/index.php:268
 msgid "To"
 msgstr "À"
 
-#: ../site/index.php:260
+#: ../../../site/index.php:274
 msgid "Message"
 msgstr "Message"
 
-#: ../site/index.php:279
+#: ../../../site/index.php:289
+msgid "Register"
+msgstr ""
+
+#: ../../../site/index.php:293
 msgid "Channel Name"
 msgstr "Nom du canal"
 
-#: ../site/index.php:301
+#: ../../../site/index.php:362
 msgid "Country"
 msgstr "Pays"
 
-#: ../site/index.php:309
+#: ../../../site/index.php:370
 msgid "Cell #"
 msgstr "Numéro de cellulaire"
 
-#: ../site/index.php:332
+#: ../../../site/index.php:393
 msgid "Token"
 msgstr "Jeton"
 
-#: ../site/index.php:347
+#: ../../../site/index.php:408
 msgid "Disable 2-factor"
 msgstr "Désactiver la vérification en deux étapes"
 
-#: ../site/index.php:353
+#: ../../../site/index.php:414
 msgid "Link Persona"
 msgstr "Lier le Persona"
 
-#: ../site/index.php:356
+#: ../../../site/index.php:417
 msgid "Remove"
 msgstr "Enlever"
 
-#: ../site/index.php:364
+#: ../../../site/index.php:425
 msgid "Switch Role"
 msgstr "Changer de rôle"
 
-#: ../site/index.php:366
+#: ../../../site/index.php:427
 msgid "Rehash"
 msgstr "Mettre à jour"
 
-#: ../site/index.php:368 ../site/index.php:379
+#: ../../../site/index.php:429 ../../../site/index.php:440
 msgid "Change Password"
 msgstr "Changer le mot de passe"
 
-#: ../site/index.php:370
+#: ../../../site/index.php:431
 msgid "Sync Password"
 msgstr "Synchroniser le mot de passe"
 
-#: ../site/index.php:372
+#: ../../../site/index.php:433
 msgid "Logout"
 msgstr "Se déconnecter"
 
-#: ../site/index.php:383 ../site/index.php:481
+#: ../../../site/index.php:444 ../../../site/index.php:542
 msgid "Password"
 msgstr "Mot de passe"
 
-#: ../site/index.php:413
+#: ../../../site/index.php:474
 msgid "Switch"
 msgstr "Changer"
 
-#: ../site/index.php:417 ../site/index.php:487
+#: ../../../site/index.php:478 ../../../site/index.php:548
 msgid "Type"
 msgstr "Type"
 
-#: ../site/index.php:435 ../site/index.php:467
+#: ../../../site/index.php:496 ../../../site/index.php:528
 msgid "Login"
 msgstr "Se connecter"
 
-#: ../site/index.php:439
+#: ../../../site/index.php:500
 msgid "2-Factor Verification"
 msgstr "Validation en deux étapes"
 
-#: ../site/index.php:471
+#: ../../../site/index.php:532
 msgid "Persona"
 msgstr "Persona"
 
-#: ../site/index.php:475
+#: ../../../site/index.php:536
 msgid "Username"
 msgstr "Nom d'utilisateur"
 
-#: ../site/js/index.js:123
+#: ../../../site/js/index.js:128
 msgid "Oper updated"
 msgstr "Opérateur mis à jour"
 
-#: ../site/js/index.js:134
+#: ../../../site/js/index.js:139
 msgid "Could not submit the form"
 msgstr "Impossible de soumettre le formulaire"
 
-#: ../site/js/index.js:160
+#: ../../../site/js/index.js:165
 msgid "Could not rehash the servers"
 msgstr "Impossible de mettre à jour les serveurs"
 
-#: ../site/js/index.js:201
+#: ../../../site/js/index.js:206
 msgid "Could not synchronize your password"
 msgstr "Impossible de synchroniser votre mot de passe"
 
-#: ../site/js/index.js:214
+#: ../../../site/js/index.js:219
 msgid "This is an admin only feature. Continue?"
 msgstr "Ceci est une fonction pour les administrateurs seulement. Continuer?"
 
-#: ../site/js/index.js:241
+#: ../../../site/js/index.js:246
 msgid "Login failure"
 msgstr "La connexion a échoué"
 
-#: ../site/js/index.js:266
+#: ../../../site/js/index.js:271
 msgid "Could not remove persona address"
 msgstr "Impossible d'enlever l'adresse Persona"
 
-#: ../site/js/index.js:386
+#: ../../../site/js/index.js:391
 msgid "Server Ping"
 msgstr "Ping du serveur"
 
-#: ../site/js/index.js:401 ../site/js/index.js:478 ../site/js/index.js:589
-#: ../site/js/index.js:616
+#: ../../../site/js/index.js:406 ../../../site/js/index.js:483
+#: ../../../site/js/index.js:591 ../../../site/js/index.js:618
 msgid "Could not ping server"
 msgstr "Impossible de pinger le serveur"
 
-#: ../site/js/index.js:409
+#: ../../../site/js/index.js:414
 msgid "Fetching Memos"
 msgstr "Récupérer les mémos"
 
-#: ../site/js/index.js:440 ../site/js/index.js:517 ../site/js/index.js:556
+#: ../../../site/js/index.js:445 ../../../site/js/index.js:522
+#: ../../../site/js/index.js:561
 msgid "Could not contact server"
 msgstr "Impossible de contacter le serveur"
 
-#: ../site/js/index.js:459
+#: ../../../site/js/index.js:464
 msgid "Deleting memo"
 msgstr "Suppression du mémo"
 
-#: ../site/js/index.js:485
+#: ../../../site/js/index.js:490
 msgid "Fetching News"
 msgstr "Récupérer les nouvelles"
 
-#: ../site/js/index.js:507
+#: ../../../site/js/index.js:512
 msgid "New news item"
 msgstr "Nouvel item de nouvelle"
 
-#: ../site/js/index.js:527
+#: ../../../site/js/index.js:532
 msgid "Fetching Channels"
 msgstr "Récupérer les canaux"
 
-#: ../site/js/index.js:566
+#: ../../../site/js/index.js:568
 msgid "Are you sure you want to delete channel"
 msgstr "Êtes-vous sûr vous voulez supprimer le canal"
 
-#: ../site/js/index.js:567
+#: ../../../site/js/index.js:569
 msgid "Deleting channel"
 msgstr "Suppression du canal"
 
-#: ../site/js/index.js:597
+#: ../../../site/js/index.js:599
 msgid "Registering channel"
 msgstr "Enregistrement du canal"
 
-#: ../site/js/index.js:624
+#: ../../../site/js/index.js:647
 msgid "Language change detected"
 msgstr "Changement de langue détecté"

+ 53 - 0
lib/channels.php

@@ -0,0 +1,53 @@
+<?php
+	require_once(dirname(dirname(__FILE__))."/header.php");
+	function channel_flag_name($flag){
+		switch($flag){
+			case 'v':$name=__('Voice');break;
+			case 'V':$name=__('Automatic voice');break;
+			case 'h':$name=__('Halfop');break;
+			case 'H':$name=__('Automatic Halfop');break;
+			case 'o':$name=__('Op');break;
+			case 'O':$name=__('Automatic Op');break;
+			case 'a':$name=__('Admin');break;
+			case 'q':$name=__('Owner');break;
+			case 's':$name=__('Set');break;
+			case 'i':$name=__('Invite/Getkey');break;
+			case 'r':$name=__('Kick/Ban');break;
+			case 'R':$name=__('Recover/Clear');break;
+			case 'f':$name=__('Modify access lists');break;
+			case 't':$name=__('Topic');break;
+			case 'A':$name=__('View access lists');break;
+			case 'F':$name=__('Founder');break;
+			case 'b':$name=__('Banned');break;
+			default:$name=$flag;
+		}
+		return $name;
+	}
+	function channel_flag_obj($flag,$selected=false){
+		$ret = array(
+			'value'=>$flag,
+			'label'=>channel_flag_name($flag)
+		);
+		if($selected){
+			$ret['attributes'] = array(
+				'selected'=>'selected'
+			);
+		}
+		return $ret;
+	}
+	function sanitize_channel_flags($flags){
+		$possible_flags = array('v','V','h','H','o','O','a','q','s','i','r','R','f','t','A','F','b');
+		foreach($possible_flags as $k => $flag){
+			if(!isset($flags[$flag])){
+				$flags[$flag] = false;
+			}else{
+				if($flags[$flag] == 'on'){
+					$flags[$flag] = true;
+				}else{
+					$flags[$flag] = false;
+				}
+			}
+		}
+		return $flags;
+	}
+?>

+ 16 - 0
lib/forms.php

@@ -48,6 +48,22 @@
 				}
 				$r .= "</select></span></div>";
 			break;
+			case 'multi':
+				$r = "<div class='row'><label for='{$field['name']}'>{$field['label']}</label><span><div>";
+				foreach($field['values'] as $k => $opt){
+					$a = '';
+					if(isset($opt['attributes']) && is_array($opt['attributes'])){
+						foreach($opt['attributes'] as $attribute => $value){
+							$a .= " {$attribute}=\"{$value}\"";
+						}
+					}
+					if(isset($field['value'])&&$field['value']==$opt['value']){
+						$a .= "selected=\"selected\"";
+					}
+					$r .= "<input type='checkbox' name='{$field['name']}[{$opt['value']}]'{$a}/> {$opt['label']}<br/>";
+				}
+				$r .= "</div></span></div>";
+			break;
 			case 'hidden':
 				$r = "<input type='hidden' name='{$field['name']}'{$v}{$a}/>";
 			break;

+ 5 - 39
lib/irc.php

@@ -48,7 +48,7 @@
 				default:
 					$m = __("Could not log in");
 			}
-			return Array(false,$m);
+			return Array(false,$m,$response->faultCode());
 		}
 		$message = new xmlrpcmsg("atheme.command");
 		$message->addParam(new xmlrpcval($session, "string"));
@@ -57,19 +57,8 @@
 		$message->addParam(new xmlrpcval($service, "string"));
 		$message->addParam(new xmlrpcval($command, "string"));
 		if($params != NULL){
-			if(sizeof($params) < 2){
-				foreach($params as $param){
-					$message->addParam(new xmlrpcval($param, "string"));
-				}
-			}else{
-				$firstparam = $params[0];
-				$secondparam = "";
-				for($i = 1; $i < sizeof($params); $i++){
-					$secondparam .= $params[$i] . " ";
-				}
-				$secondparam = rtrim($secondparam);
-				$message->addParam(new xmlrpcval($firstparam, "string"));
-				$message->addParam(new xmlrpcval($secondparam, "string"));
+			foreach($params as $param){
+				$message->addParam(new xmlrpcval($param, "string"));
 			}
 		}
 		$response = $client->send($message);
@@ -77,9 +66,9 @@
 			$response = explode("<string>", $response->serialize());
 			$response = explode("</string", $response[1]);
 			$response = $response[0];
-			return Array(true,$response);
+			return Array(true,$response,0);
 		}else{
-			return Array(false,"Command failed: " . $response->faultString());
+			return Array(false,"Command failed: " . $response->faultString(),$response->faultCode());
 		}
 	}
 	$ircret = "";
@@ -323,27 +312,4 @@
 			'log'=>$msg
 		);
 	}
-	function channel_flag_name($flag){
-		switch($flag){
-			case 'v':$name=__('Voice');break;
-			case 'V':$name=__('Automatic voice');break;
-			case 'h':$name=__('Halfop');break;
-			case 'H':$name=__('Automatic Halfop');break;
-			case 'o':$name=__('Op');break;
-			case 'O':$name=__('Automatic Op');break;
-			case 'a':$name=__('Admin');break;
-			case 'q':$name=__('Owner');break;
-			case 's':$name=__('Set');break;
-			case 'i':$name=__('Invite/Getkey');break;
-			case 'r':$name=__('Kick/Ban');break;
-			case 'R':$name=__('Recover/Clear');break;
-			case 'f':$name=__('Modify access lists');break;
-			case 't':$name=__('Topic');break;
-			case 'A':$name=__('View access lists');break;
-			case 'F':$name=__('Founder');break;
-			case 'b':$name=__('Banned');break;
-			default:$name=$flag;
-		}
-		return $name;
-	}
 ?>

+ 36 - 3
site/api/index.php

@@ -116,6 +116,10 @@
 						);
 						if(in_array('F',$flags_list)){
 							$chan['candrop'] = true;
+							$chan['canaccess'] = true;
+						}
+						if(in_array('f',$flags_list)){
+							$chan['canaccess'] = true;
 						}
 						$res2 = atheme_command(get_conf('xmlrpc-server'),get_conf('xmlrpc-port'),get_conf('xmlrpc-path'),USER_IP,$_COOKIE['user'],$_SESSION['password'],'ChanServ','flags',array($name));
 						if($res2[0]){
@@ -125,7 +129,7 @@
 								if($kk > 1 && $kk < count($res2)-2){
 									$user = array(
 										'id'=>preg_replace('/^(\d+)\b.+$/','\1',$row2),
-										'name'=>preg_replace('/^\d+\s+(.+)\s+\+.+/','\1',$row2),
+										'name'=>trim(preg_replace('/^\d+\s+(.+)\s+\+.+/','\1',$row2)),
 										'flags'=>array()
 									);
 									$flags_list = str_split(preg_replace('/^\d+\s+.+\s+\+(.+)\s+\[.+/i','\1',$row2));
@@ -168,7 +172,7 @@
 			isset($_GET['id']) or die('{"code":1,"message":"'.__('No id given').'"}');
 			$res = atheme_command(get_conf('xmlrpc-server'),get_conf('xmlrpc-port'),get_conf('xmlrpc-path'),USER_IP,$_COOKIE['user'],$_SESSION['password'],'MemoServ','delete',array($_GET['id']));
 			if(!$res[0]){
-				die('{"code":1,"message":"'.__('Cannot delete memo').': '+$res[1]+'"}');
+				die('{"code":1,"message":"'.__('Cannot delete memo').': '.$res[1].'"}');
 			}
 			die('{"code":0}');
 		break;
@@ -177,10 +181,39 @@
 			isset($_GET['channel']) or die('{"code":1,"message":"'.__('No channel given').'"}');
 			$res = atheme_command(get_conf('xmlrpc-server'),get_conf('xmlrpc-port'),get_conf('xmlrpc-path'),USER_IP,$_COOKIE['user'],$_SESSION['password'],'ChanServ','drop',array($_GET['channel']));
 			if(!$res[0]){
-				die('{"code":1,"message":"'.__('Cannot drop channel').': '+$res[1]+'"}');
+				die('{"code":1,"message":"'.__('Cannot drop channel').': '.$res[1].'"}');
 			}
 			die('{"code":0}');
 		break;
+		case 'channel-flags':
+			$u or die('{"code":1,"message":"'.__('You have been logged out').'"}');
+			isset($_GET['channel']) or die('{"code":1,"message":"'.__('No channel given').'"}');
+			isset($_GET['user']) or die('{"code":1,"message":"'.__('No user given').'"}');
+			if(isset($_GET['flags'])){
+				$flags = $_GET['flags'];
+			}else{
+				$flags = array();
+			}
+			$flags_on = '';
+			$flags_off = '';
+			$flags = sanitize_channel_flags($flags);
+			foreach($flags as $flag => $val){
+				if($val){
+					$flags_on .= ' '.$flag;
+				}else{
+					$flags_off .= ' '.$flag;
+				}
+			}
+			$res = atheme_command(get_conf('xmlrpc-server'),get_conf('xmlrpc-port'),get_conf('xmlrpc-path'),USER_IP,$_COOKIE['user'],$_SESSION['password'],'ChanServ','flags',array($_GET['channel'],$_GET['user'],'+'.$flags_on));
+			if(!$res[0] && $res[2] != 12){
+				die('{"code":1,"message":"'.__('Cannot change flag').': '.$res[1].'"}');
+			}
+			$res = atheme_command(get_conf('xmlrpc-server'),get_conf('xmlrpc-port'),get_conf('xmlrpc-path'),USER_IP,$_COOKIE['user'],$_SESSION['password'],'ChanServ','flags',array($_GET['channel'],$_GET['user'],'-'.$flags_off));
+			if(!$res[0] && $res[2] != 12){
+				die('{"code":1,"message":"'.__('Cannot change flag').': '.$res[1].'"}');
+			}
+			die('{"code":0,"flags":'.json_encode($flags).'}');
+		break;
 		case 'register-channel':
 			$u or die('{"code":1,"message":"'.__('You have been logged out').'"}');
 			isset($_GET['channel']) or die('{"code":1,"message":"'.__('No channel given').'"}');

+ 63 - 2
site/index.php

@@ -166,6 +166,7 @@
 											<?php echo __('Access'); ?>
 										</td>
 										<td></td>
+										<td></td>
 									</tr>
 									{{#each this.users}}
 										<tr style='font-weight:bold;' class='treegrid-{{this.id}} treegrid-parent-0'>
@@ -175,6 +176,13 @@
 											<td>
 												<?php echo __('Flags'); ?>
 											</td>
+											<td>
+												{{#if ../canaccess}}
+													<a onclick="window.ModifyChannelAccess('{{../../name}}','{{this.name}}',{{this.id}});" style="cursor:pointer;">
+														<?php echo __('Modify'); ?>
+													</a>
+												{{/if}}
+											</td>
 										</tr>
 										{{#each this.flags}}
 											<tr class='treegrid-{{this.flag}} treegrid-parent-{{../id}}'>
@@ -182,11 +190,17 @@
 												<td>
 													{{this.name}}
 												</td>
+												<td></td>
 											</tr>
 										{{/each}}
 									{{/each}}
 									</table>
 								</ul>
+								{{#if this.canaccess}}
+									<button value="<?php echo __('Add Access'); ?>" onclick="window.ModifyChannelAccess('{{this.name}}');">
+										<?php echo __('Add Access'); ?>
+									</button>
+								{{/if}}
 								{{#if this.candrop}}
 									<button value="<?php echo __('Delete'); ?>" style="background-color:red;background-image:none;" onclick="window.DeleteChannel('{{this.name}}');">
 										<?php echo __('Delete'); ?>
@@ -247,7 +261,7 @@
 						'id'=>'memo-diag',
 						'type'=>'form',
 						'form_id'=>'memo',
-						'form_submit_label'=>'Send',
+						'form_submit_label'=>__('Send'),
 						'form_fields'=>array(
 							array(
 								'name'=>'to',
@@ -272,7 +286,7 @@
 						'id'=>'channel-diag',
 						'type'=>'form',
 						'form_id'=>'channel',
-						'form_submit_label'=>'Register',
+						'form_submit_label'=>__('Register'),
 						'form_fields'=>array(
 							array(
 								'name'=>'channel',
@@ -287,6 +301,53 @@
 							)
 						)
 					));
+					array_push($dialogs,array(
+						'id'=>'channel-flags-diag',
+						'type'=>'form',
+						'form_id'=>'channel-flags',
+						'form_submit_label'=>__('Modify'),
+						'form_fields'=>array(
+							array(
+								'name'=>'user',
+								'label'=>__('User'),
+								'type'=>'string',
+								'value'=>''
+							),
+							array(
+								'name'=>'flags',
+								'label'=>__('Flags'),
+								'type'=>'multi',
+								'values'=>array(
+									channel_flag_obj('A'),
+									channel_flag_obj('F'),
+									channel_flag_obj('O'),
+									channel_flag_obj('R'),
+									channel_flag_obj('V'),
+									channel_flag_obj('a'),
+									channel_flag_obj('f'),
+									channel_flag_obj('h'),
+									channel_flag_obj('i'),
+									channel_flag_obj('o'),
+									channel_flag_obj('q'),
+									channel_flag_obj('r'),
+									channel_flag_obj('s'),
+									channel_flag_obj('t'),
+									channel_flag_obj('v'),
+									channel_flag_obj('b')
+								)
+							),
+							array(
+								'name'=>'channel',
+								'type'=>'hidden',
+								'value'=>''
+							),
+							array(
+								'name'=>'action',
+								'type'=>'hidden',
+								'value'=>'channel-flags'
+							)
+						)
+					));
 				} ?>
 				<div id="profile">
 					<?php

+ 21 - 0
site/js/index.js

@@ -621,6 +621,27 @@ $(function(){
 					dataType: 'json'
 				});
 		};
+		window.ModifyChannelAccess = function(channel,user,id){
+			var d = $('#channel-flags-diag');
+			if(typeof user != 'undefined'){
+				d.find('input[name=user]').val(user);
+			}else{
+				d.find('input[name=user]').val('');
+			}
+			d.find('input[type=checkbox]').prop('checked',false);
+			if(typeof id != 'undefined'){
+				$('div[id=channel-'+channel+']>table').find('tr.treegrid-parent-'+id).each(function(){
+					var flag = this.className.substr(9,1);
+					d.find('input[name^=flags]').each(function(){
+						if(this.name.substr(6,1) == flag){
+							$(this).prop('checked',true);
+						}
+					});
+				});
+			}
+			d.find('input[name=channel]').val(channel);
+			d.dialog('open');
+		};
 		setInterval(function(){
 			if(LANG != window.navigator.language){
 				console.log(_('Language change detected'));