Browse Source

Update paths and header language parsing.

Nathaniel van Diepen 10 years ago
parent
commit
b19cef2571

+ 6 - 1
header.php

@@ -3,7 +3,12 @@
 	ini_set("display_errors", 1);
 	session_start();
 	define('DIR',dirname(__FILE__));
-	setlocale(LC_ALL,Locale::acceptFromHttp($_SERVER['HTTP_ACCEPT_LANGUAGE']));
+	$locale = $_SERVER["HTTP_ACCEPT_LANGUAGE"];
+	if(strpos(',',$locale) !== false){
+		$locale = substr($locale,0,strpos(',',$locale));
+	}
+	define("LOCALE",$locale);
+	setlocale(LC_ALL,LOCALE);
 	bindtextdomain('omninet',DIR.'/lang');
 	textdomain('omninet');
 	require_once(DIR.'/config.php');

BIN
lang/en/LC_MESSAGES/omninet.mo


+ 111 - 108
lang/en/LC_MESSAGES/omninet.po

@@ -1,10 +1,10 @@
 msgid ""
 msgstr ""
-"Project-Id-Version: \n"
-"POT-Creation-Date: 2014-02-20 13:25-0700\n"
-"PO-Revision-Date: 2014-02-20 14:26-0700\n"
-"Last-Translator: \n"
-"Language-Team: \n"
+"Project-Id-Version: Omninet\n"
+"POT-Creation-Date: 2014-02-20 15:02-0700\n"
+"PO-Revision-Date: 2014-02-20 15:02-0700\n"
+"Last-Translator: Nathaniel van Diepen <[email protected]>\n"
+"Language-Team: Omnimaga <[email protected]>\n"
 "Language: en\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -12,394 +12,397 @@ msgstr ""
 "X-Generator: Poedit 1.6.4\n"
 "X-Poedit-Basepath: .\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Poedit-SearchPath-0: ../../..\n"
 
-#: ../site/api/index.php:18
+#: ../../../site/api/index.php:18
 msgid "Missing username and/or password"
 msgstr ""
 
-#: ../site/api/index.php:19
+#: ../../../site/api/index.php:19
 msgid "Missing user type"
 msgstr ""
 
-#: ../site/api/index.php:28
+#: ../../../site/api/index.php:28
 msgid "No token set"
 msgstr ""
 
-#: ../site/api/index.php:40 ../site/api/index.php:73 ../site/api/index.php:101
-#: ../site/api/index.php:150 ../site/api/index.php:164
-#: ../site/api/index.php:226 ../site/api/index.php:241
-#: ../site/api/index.php:249
+#: ../../../site/api/index.php:40 ../../../site/api/index.php:73
+#: ../../../site/api/index.php:101 ../../../site/api/index.php:150
+#: ../../../site/api/index.php:164 ../../../site/api/index.php:226
+#: ../../../site/api/index.php:241 ../../../site/api/index.php:249
 msgid "You have been logged out"
 msgstr ""
 
-#: ../site/api/index.php:69
+#: ../../../site/api/index.php:69
 msgid "Cannot fetch memos"
 msgstr ""
 
-#: ../site/api/index.php:97
+#: ../../../site/api/index.php:97
 msgid "Cannot fetch news"
 msgstr ""
 
-#: ../site/api/index.php:113
+#: ../../../site/api/index.php:113
 msgid "Voice"
 msgstr ""
 
-#: ../site/api/index.php:114
+#: ../../../site/api/index.php:114
 msgid "Automatic voice"
 msgstr ""
 
-#: ../site/api/index.php:115
+#: ../../../site/api/index.php:115
 msgid "Halfop"
 msgstr ""
 
-#: ../site/api/index.php:116
+#: ../../../site/api/index.php:116
 msgid "Automatic Halfop"
 msgstr ""
 
-#: ../site/api/index.php:117
+#: ../../../site/api/index.php:117
 msgid "Op"
 msgstr ""
 
-#: ../site/api/index.php:118
+#: ../../../site/api/index.php:118
 msgid "Automatic Op"
 msgstr ""
 
-#: ../site/api/index.php:119
+#: ../../../site/api/index.php:119
 msgid "Admin"
 msgstr ""
 
-#: ../site/api/index.php:120
+#: ../../../site/api/index.php:120
 msgid "Owner"
 msgstr ""
 
-#: ../site/api/index.php:121
+#: ../../../site/api/index.php:121
 msgid "Set"
 msgstr ""
 
-#: ../site/api/index.php:122
+#: ../../../site/api/index.php:122
 msgid "Invite/Getkey"
 msgstr ""
 
-#: ../site/api/index.php:123
+#: ../../../site/api/index.php:123
 msgid "Kick/Ban"
 msgstr ""
 
-#: ../site/api/index.php:124
+#: ../../../site/api/index.php:124
 msgid "Recover/Clear"
 msgstr ""
 
-#: ../site/api/index.php:125
+#: ../../../site/api/index.php:125
 msgid "Modify access lists"
 msgstr ""
 
-#: ../site/api/index.php:126
+#: ../../../site/api/index.php:126
 msgid "Topic"
 msgstr ""
 
-#: ../site/api/index.php:127
+#: ../../../site/api/index.php:127
 msgid "View access lists"
 msgstr ""
 
-#: ../site/api/index.php:128
+#: ../../../site/api/index.php:128
 msgid "Founder"
 msgstr ""
 
-#: ../site/api/index.php:129
+#: ../../../site/api/index.php:129
 msgid "Banned"
 msgstr ""
 
-#: ../site/api/index.php:146
+#: ../../../site/api/index.php:146
 msgid "Cannot fetch channels"
 msgstr ""
 
-#: ../site/api/index.php:151
+#: ../../../site/api/index.php:151
 msgid "No message or user entered"
 msgstr ""
 
-#: ../site/api/index.php:155 ../site/index.php:348 ../site/index.php:402
+#: ../../../site/api/index.php:155 ../../../site/index.php:349
+#: ../../../site/index.php:403
 msgid "User"
 msgstr ""
 
-#: ../site/api/index.php:155
+#: ../../../site/api/index.php:155
 msgid "does not exist"
 msgstr ""
 
-#: ../site/api/index.php:157
+#: ../../../site/api/index.php:157
 msgid "Memo Sent"
 msgstr ""
 
-#: ../site/api/index.php:160 ../site/api/index.php:168
+#: ../../../site/api/index.php:160 ../../../site/api/index.php:168
 msgid "Cannot send memo"
 msgstr ""
 
-#: ../site/api/index.php:165
+#: ../../../site/api/index.php:165
 msgid "No id given"
 msgstr ""
 
-#: ../site/api/index.php:201
+#: ../../../site/api/index.php:201
 msgid "Failed to add email"
 msgstr ""
 
-#: ../site/api/index.php:201
+#: ../../../site/api/index.php:201
 msgid "to user"
 msgstr ""
 
-#: ../site/api/index.php:203
+#: ../../../site/api/index.php:203
 msgid "Email does not match any users"
 msgstr ""
 
-#: ../site/api/index.php:227
+#: ../../../site/api/index.php:227
 msgid "No ID set"
 msgstr ""
 
-#: ../site/api/index.php:229
+#: ../../../site/api/index.php:229
 msgid "Could not remove email address"
 msgstr ""
 
-#: ../site/api/index.php:246
+#: ../../../site/api/index.php:246
 msgid "2-factor disabled."
 msgstr ""
 
-#: ../site/api/index.php:253 ../site/api/index.php:268
-#: ../site/api/index.php:279
+#: ../../../site/api/index.php:253 ../../../site/api/index.php:268
+#: ../../../site/api/index.php:279
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgstr ""
 
-#: ../site/api/index.php:254
+#: ../../../site/api/index.php:254
 msgid "Invalid password"
 msgstr ""
 
-#: ../site/api/index.php:259
+#: ../../../site/api/index.php:259
 msgid "Could not update password with nickserv"
 msgstr ""
 
-#: ../site/api/index.php:269
+#: ../../../site/api/index.php:269
 msgid "Not Logged in to use"
 msgstr ""
 
-#: ../site/api/index.php:269
+#: ../../../site/api/index.php:269
 msgid "with key"
 msgstr ""
 
-#: ../site/api/index.php:270
+#: ../../../site/api/index.php:270
 msgid "Must be logged in with type user to sync pass"
 msgstr ""
 
-#: ../site/api/index.php:273
+#: ../../../site/api/index.php:273
 msgid "Could not verify with nickserv"
 msgstr ""
 
-#: ../site/api/index.php:276
+#: ../../../site/api/index.php:276
 msgid "Nickserv password synchronized with main account"
 msgstr ""
 
-#: ../site/api/index.php:284 ../site/api/index.php:297
-#: ../site/api/index.php:316
+#: ../../../site/api/index.php:284 ../../../site/api/index.php:297
+#: ../../../site/api/index.php:316
 msgid "Not logged in"
 msgstr ""
 
-#: ../site/api/index.php:285 ../site/api/index.php:298
+#: ../../../site/api/index.php:285 ../../../site/api/index.php:298
 msgid "No user set."
 msgstr ""
 
-#: ../site/api/index.php:286
+#: ../../../site/api/index.php:286
 msgid "No email set."
 msgstr ""
 
-#: ../site/api/index.php:287
+#: ../../../site/api/index.php:287
 msgid "No real name set."
 msgstr ""
 
-#: ../site/api/index.php:288 ../site/api/index.php:299
+#: ../../../site/api/index.php:288 ../../../site/api/index.php:299
 msgid "No nick set."
 msgstr ""
 
-#: ../site/api/index.php:289
+#: ../../../site/api/index.php:289
 msgid "User with id"
 msgstr ""
 
-#: ../site/api/index.php:289 ../site/api/index.php:301
+#: ../../../site/api/index.php:289 ../../../site/api/index.php:301
 msgid "does not exist. You should reload the page."
 msgstr ""
 
-#: ../site/api/index.php:293
+#: ../../../site/api/index.php:293
 msgid "Unable to update user"
 msgstr ""
 
-#: ../site/api/index.php:300
+#: ../../../site/api/index.php:300
 msgid "No profile set."
 msgstr ""
 
-#: ../site/api/index.php:301
+#: ../../../site/api/index.php:301
 msgid "Oper with id"
 msgstr ""
 
-#: ../site/api/index.php:303 ../site/api/index.php:305
+#: ../../../site/api/index.php:303 ../../../site/api/index.php:305
 msgid "Unable to update oper"
 msgstr ""
 
-#: ../site/api/index.php:311
+#: ../../../site/api/index.php:311
 msgid "Failed to update setting"
 msgstr ""
 
-#: ../site/api/index.php:311
+#: ../../../site/api/index.php:311
 msgid "with value"
 msgstr ""
 
-#: ../site/api/index.php:320
+#: ../../../site/api/index.php:320
 msgid "Invalid Action"
 msgstr ""
 
-#: ../site/index.php:65 ../site/index.php:66 ../site/index.php:110
-#: ../site/index.php:111 ../site/index.php:141 ../site/index.php:142
+#: ../../../site/index.php:66 ../../../site/index.php:67
+#: ../../../site/index.php:111 ../../../site/index.php:112
+#: ../../../site/index.php:142 ../../../site/index.php:143
 msgid "Refresh"
 msgstr ""
 
-#: ../site/index.php:68 ../site/index.php:69
+#: ../../../site/index.php:69 ../../../site/index.php:70
 msgid "New Memo"
 msgstr ""
 
-#: ../site/index.php:71 ../site/index.php:72
+#: ../../../site/index.php:72 ../../../site/index.php:73
 msgid "Delete All"
 msgstr ""
 
-#: ../site/index.php:78 ../site/index.php:120
+#: ../../../site/index.php:79 ../../../site/index.php:121
 msgid "From"
 msgstr ""
 
-#: ../site/index.php:86 ../site/index.php:128
+#: ../../../site/index.php:87 ../../../site/index.php:129
 msgid "Sent"
 msgstr ""
 
-#: ../site/index.php:94
+#: ../../../site/index.php:95
 msgid "Body"
 msgstr ""
 
-#: ../site/index.php:100 ../site/index.php:101
+#: ../../../site/index.php:101 ../../../site/index.php:102
 msgid "Reply"
 msgstr ""
 
-#: ../site/index.php:103 ../site/index.php:104 ../site/index.php:157
-#: ../site/index.php:158
+#: ../../../site/index.php:104 ../../../site/index.php:105
+#: ../../../site/index.php:158 ../../../site/index.php:159
 msgid "Delete"
 msgstr ""
 
-#: ../site/index.php:144 ../site/index.php:145
+#: ../../../site/index.php:145 ../../../site/index.php:146
 msgid "New Channel"
 msgstr ""
 
-#: ../site/index.php:151
+#: ../../../site/index.php:152
 msgid "Flags:"
 msgstr ""
 
-#: ../site/index.php:176
+#: ../../../site/index.php:177
 msgid "News"
 msgstr ""
 
-#: ../site/index.php:177
+#: ../../../site/index.php:178
 msgid "Memos"
 msgstr ""
 
-#: ../site/index.php:178
+#: ../../../site/index.php:179
 msgid "Channels"
 msgstr ""
 
-#: ../site/index.php:180
+#: ../../../site/index.php:181
 msgid "Servers"
 msgstr ""
 
-#: ../site/index.php:181
+#: ../../../site/index.php:182
 msgid "Opers"
 msgstr ""
 
-#: ../site/index.php:182
+#: ../../../site/index.php:183
 msgid "Configuration"
 msgstr ""
 
-#: ../site/index.php:184
+#: ../../../site/index.php:185
 msgid "Profile"
 msgstr ""
 
-#: ../site/index.php:219
+#: ../../../site/index.php:220
 msgid "To"
 msgstr ""
 
-#: ../site/index.php:225
+#: ../../../site/index.php:226
 msgid "Message"
 msgstr ""
 
-#: ../site/index.php:247
+#: ../../../site/index.php:248
 msgid "Country"
 msgstr ""
 
-#: ../site/index.php:255
+#: ../../../site/index.php:256
 msgid "Cell #"
 msgstr ""
 
-#: ../site/index.php:278
+#: ../../../site/index.php:279
 msgid "Token"
 msgstr ""
 
-#: ../site/index.php:293
+#: ../../../site/index.php:294
 msgid "Disable 2-factor"
 msgstr ""
 
-#: ../site/index.php:299
+#: ../../../site/index.php:300
 msgid "Link Persona"
 msgstr ""
 
-#: ../site/index.php:302
+#: ../../../site/index.php:303
 msgid "Remove"
 msgstr ""
 
-#: ../site/index.php:310
+#: ../../../site/index.php:311
 msgid "Switch Role"
 msgstr ""
 
-#: ../site/index.php:312
+#: ../../../site/index.php:313
 msgid "Rehash"
 msgstr ""
 
-#: ../site/index.php:314 ../site/index.php:325
+#: ../../../site/index.php:315 ../../../site/index.php:326
 msgid "Change Password"
 msgstr ""
 
-#: ../site/index.php:316
+#: ../../../site/index.php:317
 msgid "Sync Password"
 msgstr ""
 
-#: ../site/index.php:318
+#: ../../../site/index.php:319
 msgid "Logout"
 msgstr ""
 
-#: ../site/index.php:329 ../site/index.php:427
+#: ../../../site/index.php:330 ../../../site/index.php:428
 msgid "Password"
 msgstr ""
 
-#: ../site/index.php:335
+#: ../../../site/index.php:336
 msgid "New Password"
 msgstr ""
 
-#: ../site/index.php:359
+#: ../../../site/index.php:360
 msgid "Switch"
 msgstr ""
 
-#: ../site/index.php:363 ../site/index.php:433
+#: ../../../site/index.php:364 ../../../site/index.php:434
 msgid "Type"
 msgstr ""
 
-#: ../site/index.php:381 ../site/index.php:413
+#: ../../../site/index.php:382 ../../../site/index.php:414
 msgid "Login"
 msgstr ""
 
-#: ../site/index.php:385
+#: ../../../site/index.php:386
 msgid "2-Factor Verification"
 msgstr ""
 
-#: ../site/index.php:417
+#: ../../../site/index.php:418
 msgid "Persona"
 msgstr ""
 
-#: ../site/index.php:421
+#: ../../../site/index.php:422
 msgid "Username"
 msgstr ""

BIN
lang/en_CA/LC_MESSAGES/omninet.mo


+ 109 - 107
lang/en_CA/LC_MESSAGES/omninet.po

@@ -1,9 +1,9 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Omninet Control panel\n"
-"POT-Creation-Date: 2014-02-20 13:25-0700\n"
-"PO-Revision-Date: 2014-02-20 13:25-0700\n"
-"Last-Translator: \n"
+"POT-Creation-Date: 2014-02-20 15:01-0700\n"
+"PO-Revision-Date: 2014-02-20 15:01-0700\n"
+"Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: en_CA\n"
 "MIME-Version: 1.0\n"
@@ -12,395 +12,397 @@ msgstr ""
 "X-Generator: Poedit 1.6.4\n"
 "X-Poedit-Basepath: .\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Poedit-SearchPath-0: ..\n"
+"X-Poedit-SearchPath-0: ../../..\n"
 
-#: ../site/api/index.php:18
+#: ../../../site/api/index.php:18
 msgid "Missing username and/or password"
 msgstr ""
 
-#: ../site/api/index.php:19
+#: ../../../site/api/index.php:19
 msgid "Missing user type"
 msgstr ""
 
-#: ../site/api/index.php:28
+#: ../../../site/api/index.php:28
 msgid "No token set"
 msgstr ""
 
-#: ../site/api/index.php:40 ../site/api/index.php:73 ../site/api/index.php:101
-#: ../site/api/index.php:150 ../site/api/index.php:164
-#: ../site/api/index.php:226 ../site/api/index.php:241
-#: ../site/api/index.php:249
+#: ../../../site/api/index.php:40 ../../../site/api/index.php:73
+#: ../../../site/api/index.php:101 ../../../site/api/index.php:150
+#: ../../../site/api/index.php:164 ../../../site/api/index.php:226
+#: ../../../site/api/index.php:241 ../../../site/api/index.php:249
 msgid "You have been logged out"
 msgstr ""
 
-#: ../site/api/index.php:69
+#: ../../../site/api/index.php:69
 msgid "Cannot fetch memos"
 msgstr ""
 
-#: ../site/api/index.php:97
+#: ../../../site/api/index.php:97
 msgid "Cannot fetch news"
 msgstr ""
 
-#: ../site/api/index.php:113
+#: ../../../site/api/index.php:113
 msgid "Voice"
 msgstr ""
 
-#: ../site/api/index.php:114
+#: ../../../site/api/index.php:114
 msgid "Automatic voice"
 msgstr ""
 
-#: ../site/api/index.php:115
+#: ../../../site/api/index.php:115
 msgid "Halfop"
 msgstr ""
 
-#: ../site/api/index.php:116
+#: ../../../site/api/index.php:116
 msgid "Automatic Halfop"
 msgstr ""
 
-#: ../site/api/index.php:117
+#: ../../../site/api/index.php:117
 msgid "Op"
 msgstr ""
 
-#: ../site/api/index.php:118
+#: ../../../site/api/index.php:118
 msgid "Automatic Op"
 msgstr ""
 
-#: ../site/api/index.php:119
+#: ../../../site/api/index.php:119
 msgid "Admin"
 msgstr ""
 
-#: ../site/api/index.php:120
+#: ../../../site/api/index.php:120
 msgid "Owner"
 msgstr ""
 
-#: ../site/api/index.php:121
+#: ../../../site/api/index.php:121
 msgid "Set"
 msgstr ""
 
-#: ../site/api/index.php:122
+#: ../../../site/api/index.php:122
 msgid "Invite/Getkey"
 msgstr ""
 
-#: ../site/api/index.php:123
+#: ../../../site/api/index.php:123
 msgid "Kick/Ban"
 msgstr ""
 
-#: ../site/api/index.php:124
+#: ../../../site/api/index.php:124
 msgid "Recover/Clear"
 msgstr ""
 
-#: ../site/api/index.php:125
+#: ../../../site/api/index.php:125
 msgid "Modify access lists"
 msgstr ""
 
-#: ../site/api/index.php:126
+#: ../../../site/api/index.php:126
 msgid "Topic"
 msgstr ""
 
-#: ../site/api/index.php:127
+#: ../../../site/api/index.php:127
 msgid "View access lists"
 msgstr ""
 
-#: ../site/api/index.php:128
+#: ../../../site/api/index.php:128
 msgid "Founder"
 msgstr ""
 
-#: ../site/api/index.php:129
+#: ../../../site/api/index.php:129
 msgid "Banned"
 msgstr ""
 
-#: ../site/api/index.php:146
+#: ../../../site/api/index.php:146
 msgid "Cannot fetch channels"
 msgstr ""
 
-#: ../site/api/index.php:151
+#: ../../../site/api/index.php:151
 msgid "No message or user entered"
 msgstr ""
 
-#: ../site/api/index.php:155 ../site/index.php:348 ../site/index.php:402
+#: ../../../site/api/index.php:155 ../../../site/index.php:349
+#: ../../../site/index.php:403
 msgid "User"
 msgstr ""
 
-#: ../site/api/index.php:155
+#: ../../../site/api/index.php:155
 msgid "does not exist"
 msgstr ""
 
-#: ../site/api/index.php:157
+#: ../../../site/api/index.php:157
 msgid "Memo Sent"
 msgstr ""
 
-#: ../site/api/index.php:160 ../site/api/index.php:168
+#: ../../../site/api/index.php:160 ../../../site/api/index.php:168
 msgid "Cannot send memo"
 msgstr ""
 
-#: ../site/api/index.php:165
+#: ../../../site/api/index.php:165
 msgid "No id given"
 msgstr ""
 
-#: ../site/api/index.php:201
+#: ../../../site/api/index.php:201
 msgid "Failed to add email"
 msgstr ""
 
-#: ../site/api/index.php:201
+#: ../../../site/api/index.php:201
 msgid "to user"
 msgstr ""
 
-#: ../site/api/index.php:203
+#: ../../../site/api/index.php:203
 msgid "Email does not match any users"
 msgstr ""
 
-#: ../site/api/index.php:227
+#: ../../../site/api/index.php:227
 msgid "No ID set"
 msgstr ""
 
-#: ../site/api/index.php:229
+#: ../../../site/api/index.php:229
 msgid "Could not remove email address"
 msgstr ""
 
-#: ../site/api/index.php:246
+#: ../../../site/api/index.php:246
 msgid "2-factor disabled."
 msgstr ""
 
-#: ../site/api/index.php:253 ../site/api/index.php:268
-#: ../site/api/index.php:279
+#: ../../../site/api/index.php:253 ../../../site/api/index.php:268
+#: ../../../site/api/index.php:279
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgstr ""
 
-#: ../site/api/index.php:254
+#: ../../../site/api/index.php:254
 msgid "Invalid password"
 msgstr ""
 
-#: ../site/api/index.php:259
+#: ../../../site/api/index.php:259
 msgid "Could not update password with nickserv"
 msgstr ""
 
-#: ../site/api/index.php:269
+#: ../../../site/api/index.php:269
 msgid "Not Logged in to use"
 msgstr ""
 
-#: ../site/api/index.php:269
+#: ../../../site/api/index.php:269
 msgid "with key"
 msgstr ""
 
-#: ../site/api/index.php:270
+#: ../../../site/api/index.php:270
 msgid "Must be logged in with type user to sync pass"
 msgstr ""
 
-#: ../site/api/index.php:273
+#: ../../../site/api/index.php:273
 msgid "Could not verify with nickserv"
 msgstr ""
 
-#: ../site/api/index.php:276
+#: ../../../site/api/index.php:276
 msgid "Nickserv password synchronized with main account"
 msgstr ""
 
-#: ../site/api/index.php:284 ../site/api/index.php:297
-#: ../site/api/index.php:316
+#: ../../../site/api/index.php:284 ../../../site/api/index.php:297
+#: ../../../site/api/index.php:316
 msgid "Not logged in"
 msgstr ""
 
-#: ../site/api/index.php:285 ../site/api/index.php:298
+#: ../../../site/api/index.php:285 ../../../site/api/index.php:298
 msgid "No user set."
 msgstr ""
 
-#: ../site/api/index.php:286
+#: ../../../site/api/index.php:286
 msgid "No email set."
 msgstr ""
 
-#: ../site/api/index.php:287
+#: ../../../site/api/index.php:287
 msgid "No real name set."
 msgstr ""
 
-#: ../site/api/index.php:288 ../site/api/index.php:299
+#: ../../../site/api/index.php:288 ../../../site/api/index.php:299
 msgid "No nick set."
 msgstr ""
 
-#: ../site/api/index.php:289
+#: ../../../site/api/index.php:289
 msgid "User with id"
 msgstr ""
 
-#: ../site/api/index.php:289 ../site/api/index.php:301
+#: ../../../site/api/index.php:289 ../../../site/api/index.php:301
 msgid "does not exist. You should reload the page."
 msgstr ""
 
-#: ../site/api/index.php:293
+#: ../../../site/api/index.php:293
 msgid "Unable to update user"
 msgstr ""
 
-#: ../site/api/index.php:300
+#: ../../../site/api/index.php:300
 msgid "No profile set."
 msgstr ""
 
-#: ../site/api/index.php:301
+#: ../../../site/api/index.php:301
 msgid "Oper with id"
 msgstr ""
 
-#: ../site/api/index.php:303 ../site/api/index.php:305
+#: ../../../site/api/index.php:303 ../../../site/api/index.php:305
 msgid "Unable to update oper"
 msgstr ""
 
-#: ../site/api/index.php:311
+#: ../../../site/api/index.php:311
 msgid "Failed to update setting"
 msgstr ""
 
-#: ../site/api/index.php:311
+#: ../../../site/api/index.php:311
 msgid "with value"
 msgstr ""
 
-#: ../site/api/index.php:320
+#: ../../../site/api/index.php:320
 msgid "Invalid Action"
 msgstr ""
 
-#: ../site/index.php:65 ../site/index.php:66 ../site/index.php:110
-#: ../site/index.php:111 ../site/index.php:141 ../site/index.php:142
+#: ../../../site/index.php:66 ../../../site/index.php:67
+#: ../../../site/index.php:111 ../../../site/index.php:112
+#: ../../../site/index.php:142 ../../../site/index.php:143
 msgid "Refresh"
 msgstr ""
 
-#: ../site/index.php:68 ../site/index.php:69
+#: ../../../site/index.php:69 ../../../site/index.php:70
 msgid "New Memo"
 msgstr ""
 
-#: ../site/index.php:71 ../site/index.php:72
+#: ../../../site/index.php:72 ../../../site/index.php:73
 msgid "Delete All"
 msgstr ""
 
-#: ../site/index.php:78 ../site/index.php:120
+#: ../../../site/index.php:79 ../../../site/index.php:121
 msgid "From"
 msgstr ""
 
-#: ../site/index.php:86 ../site/index.php:128
+#: ../../../site/index.php:87 ../../../site/index.php:129
 msgid "Sent"
 msgstr ""
 
-#: ../site/index.php:94
+#: ../../../site/index.php:95
 msgid "Body"
 msgstr ""
 
-#: ../site/index.php:100 ../site/index.php:101
+#: ../../../site/index.php:101 ../../../site/index.php:102
 msgid "Reply"
 msgstr ""
 
-#: ../site/index.php:103 ../site/index.php:104 ../site/index.php:157
-#: ../site/index.php:158
+#: ../../../site/index.php:104 ../../../site/index.php:105
+#: ../../../site/index.php:158 ../../../site/index.php:159
 msgid "Delete"
 msgstr ""
 
-#: ../site/index.php:144 ../site/index.php:145
+#: ../../../site/index.php:145 ../../../site/index.php:146
 msgid "New Channel"
 msgstr ""
 
-#: ../site/index.php:151
+#: ../../../site/index.php:152
 msgid "Flags:"
 msgstr ""
 
-#: ../site/index.php:176
+#: ../../../site/index.php:177
 msgid "News"
 msgstr ""
 
-#: ../site/index.php:177
+#: ../../../site/index.php:178
 msgid "Memos"
 msgstr ""
 
-#: ../site/index.php:178
+#: ../../../site/index.php:179
 msgid "Channels"
 msgstr ""
 
-#: ../site/index.php:180
+#: ../../../site/index.php:181
 msgid "Servers"
 msgstr ""
 
-#: ../site/index.php:181
+#: ../../../site/index.php:182
 msgid "Opers"
 msgstr ""
 
-#: ../site/index.php:182
+#: ../../../site/index.php:183
 msgid "Configuration"
 msgstr ""
 
-#: ../site/index.php:184
+#: ../../../site/index.php:185
 msgid "Profile"
 msgstr ""
 
-#: ../site/index.php:219
+#: ../../../site/index.php:220
 msgid "To"
 msgstr ""
 
-#: ../site/index.php:225
+#: ../../../site/index.php:226
 msgid "Message"
 msgstr ""
 
-#: ../site/index.php:247
+#: ../../../site/index.php:248
 msgid "Country"
 msgstr ""
 
-#: ../site/index.php:255
+#: ../../../site/index.php:256
 msgid "Cell #"
 msgstr ""
 
-#: ../site/index.php:278
+#: ../../../site/index.php:279
 msgid "Token"
 msgstr ""
 
-#: ../site/index.php:293
+#: ../../../site/index.php:294
 msgid "Disable 2-factor"
 msgstr ""
 
-#: ../site/index.php:299
+#: ../../../site/index.php:300
 msgid "Link Persona"
 msgstr ""
 
-#: ../site/index.php:302
+#: ../../../site/index.php:303
 msgid "Remove"
 msgstr ""
 
-#: ../site/index.php:310
+#: ../../../site/index.php:311
 msgid "Switch Role"
 msgstr ""
 
-#: ../site/index.php:312
+#: ../../../site/index.php:313
 msgid "Rehash"
 msgstr ""
 
-#: ../site/index.php:314 ../site/index.php:325
+#: ../../../site/index.php:315 ../../../site/index.php:326
 msgid "Change Password"
 msgstr ""
 
-#: ../site/index.php:316
+#: ../../../site/index.php:317
 msgid "Sync Password"
 msgstr ""
 
-#: ../site/index.php:318
+#: ../../../site/index.php:319
 msgid "Logout"
 msgstr ""
 
-#: ../site/index.php:329 ../site/index.php:427
+#: ../../../site/index.php:330 ../../../site/index.php:428
 msgid "Password"
 msgstr ""
 
-#: ../site/index.php:335
+#: ../../../site/index.php:336
 msgid "New Password"
 msgstr ""
 
-#: ../site/index.php:359
+#: ../../../site/index.php:360
 msgid "Switch"
 msgstr ""
 
-#: ../site/index.php:363 ../site/index.php:433
+#: ../../../site/index.php:364 ../../../site/index.php:434
 msgid "Type"
 msgstr ""
 
-#: ../site/index.php:381 ../site/index.php:413
+#: ../../../site/index.php:382 ../../../site/index.php:414
 msgid "Login"
 msgstr ""
 
-#: ../site/index.php:385
+#: ../../../site/index.php:386
 msgid "2-Factor Verification"
 msgstr ""
 
-#: ../site/index.php:417
+#: ../../../site/index.php:418
 msgid "Persona"
 msgstr ""
 
-#: ../site/index.php:421
+#: ../../../site/index.php:422
 msgid "Username"
 msgstr ""

BIN
lang/en_US/LC_MESSAGES/omninet.mo


+ 109 - 107
lang/en_US/LC_MESSAGES/omninet.po

@@ -1,9 +1,9 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Omninet Control panel\n"
-"POT-Creation-Date: 2014-02-20 14:05-0700\n"
-"PO-Revision-Date: 2014-02-20 14:05-0700\n"
-"Last-Translator: \n"
+"POT-Creation-Date: 2014-02-20 15:02-0700\n"
+"PO-Revision-Date: 2014-02-20 15:02-0700\n"
+"Last-Translator: Nathaniel van Diepen <[email protected]>\n"
 "Language-Team: Omnimaga <[email protected]>\n"
 "Language: en_US\n"
 "MIME-Version: 1.0\n"
@@ -12,395 +12,397 @@ msgstr ""
 "X-Generator: Poedit 1.6.4\n"
 "X-Poedit-Basepath: .\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Poedit-SearchPath-0: ..\n"
+"X-Poedit-SearchPath-0: ../../..\n"
 
-#: ../site/api/index.php:18
+#: ../../../site/api/index.php:18
 msgid "Missing username and/or password"
 msgstr ""
 
-#: ../site/api/index.php:19
+#: ../../../site/api/index.php:19
 msgid "Missing user type"
 msgstr ""
 
-#: ../site/api/index.php:28
+#: ../../../site/api/index.php:28
 msgid "No token set"
 msgstr ""
 
-#: ../site/api/index.php:40 ../site/api/index.php:73 ../site/api/index.php:101
-#: ../site/api/index.php:150 ../site/api/index.php:164
-#: ../site/api/index.php:226 ../site/api/index.php:241
-#: ../site/api/index.php:249
+#: ../../../site/api/index.php:40 ../../../site/api/index.php:73
+#: ../../../site/api/index.php:101 ../../../site/api/index.php:150
+#: ../../../site/api/index.php:164 ../../../site/api/index.php:226
+#: ../../../site/api/index.php:241 ../../../site/api/index.php:249
 msgid "You have been logged out"
 msgstr ""
 
-#: ../site/api/index.php:69
+#: ../../../site/api/index.php:69
 msgid "Cannot fetch memos"
 msgstr ""
 
-#: ../site/api/index.php:97
+#: ../../../site/api/index.php:97
 msgid "Cannot fetch news"
 msgstr ""
 
-#: ../site/api/index.php:113
+#: ../../../site/api/index.php:113
 msgid "Voice"
 msgstr ""
 
-#: ../site/api/index.php:114
+#: ../../../site/api/index.php:114
 msgid "Automatic voice"
 msgstr ""
 
-#: ../site/api/index.php:115
+#: ../../../site/api/index.php:115
 msgid "Halfop"
 msgstr ""
 
-#: ../site/api/index.php:116
+#: ../../../site/api/index.php:116
 msgid "Automatic Halfop"
 msgstr ""
 
-#: ../site/api/index.php:117
+#: ../../../site/api/index.php:117
 msgid "Op"
 msgstr ""
 
-#: ../site/api/index.php:118
+#: ../../../site/api/index.php:118
 msgid "Automatic Op"
 msgstr ""
 
-#: ../site/api/index.php:119
+#: ../../../site/api/index.php:119
 msgid "Admin"
 msgstr ""
 
-#: ../site/api/index.php:120
+#: ../../../site/api/index.php:120
 msgid "Owner"
 msgstr ""
 
-#: ../site/api/index.php:121
+#: ../../../site/api/index.php:121
 msgid "Set"
 msgstr ""
 
-#: ../site/api/index.php:122
+#: ../../../site/api/index.php:122
 msgid "Invite/Getkey"
 msgstr ""
 
-#: ../site/api/index.php:123
+#: ../../../site/api/index.php:123
 msgid "Kick/Ban"
 msgstr ""
 
-#: ../site/api/index.php:124
+#: ../../../site/api/index.php:124
 msgid "Recover/Clear"
 msgstr ""
 
-#: ../site/api/index.php:125
+#: ../../../site/api/index.php:125
 msgid "Modify access lists"
 msgstr ""
 
-#: ../site/api/index.php:126
+#: ../../../site/api/index.php:126
 msgid "Topic"
 msgstr ""
 
-#: ../site/api/index.php:127
+#: ../../../site/api/index.php:127
 msgid "View access lists"
 msgstr ""
 
-#: ../site/api/index.php:128
+#: ../../../site/api/index.php:128
 msgid "Founder"
 msgstr ""
 
-#: ../site/api/index.php:129
+#: ../../../site/api/index.php:129
 msgid "Banned"
 msgstr ""
 
-#: ../site/api/index.php:146
+#: ../../../site/api/index.php:146
 msgid "Cannot fetch channels"
 msgstr ""
 
-#: ../site/api/index.php:151
+#: ../../../site/api/index.php:151
 msgid "No message or user entered"
 msgstr ""
 
-#: ../site/api/index.php:155 ../site/index.php:348 ../site/index.php:402
+#: ../../../site/api/index.php:155 ../../../site/index.php:349
+#: ../../../site/index.php:403
 msgid "User"
 msgstr ""
 
-#: ../site/api/index.php:155
+#: ../../../site/api/index.php:155
 msgid "does not exist"
 msgstr ""
 
-#: ../site/api/index.php:157
+#: ../../../site/api/index.php:157
 msgid "Memo Sent"
 msgstr ""
 
-#: ../site/api/index.php:160 ../site/api/index.php:168
+#: ../../../site/api/index.php:160 ../../../site/api/index.php:168
 msgid "Cannot send memo"
 msgstr ""
 
-#: ../site/api/index.php:165
+#: ../../../site/api/index.php:165
 msgid "No id given"
 msgstr ""
 
-#: ../site/api/index.php:201
+#: ../../../site/api/index.php:201
 msgid "Failed to add email"
 msgstr ""
 
-#: ../site/api/index.php:201
+#: ../../../site/api/index.php:201
 msgid "to user"
 msgstr ""
 
-#: ../site/api/index.php:203
+#: ../../../site/api/index.php:203
 msgid "Email does not match any users"
 msgstr ""
 
-#: ../site/api/index.php:227
+#: ../../../site/api/index.php:227
 msgid "No ID set"
 msgstr ""
 
-#: ../site/api/index.php:229
+#: ../../../site/api/index.php:229
 msgid "Could not remove email address"
 msgstr ""
 
-#: ../site/api/index.php:246
+#: ../../../site/api/index.php:246
 msgid "2-factor disabled."
 msgstr ""
 
-#: ../site/api/index.php:253 ../site/api/index.php:268
-#: ../site/api/index.php:279
+#: ../../../site/api/index.php:253 ../../../site/api/index.php:268
+#: ../../../site/api/index.php:279
 msgid "Make sure that everything is filled in. Try reloading if it is."
 msgstr ""
 
-#: ../site/api/index.php:254
+#: ../../../site/api/index.php:254
 msgid "Invalid password"
 msgstr ""
 
-#: ../site/api/index.php:259
+#: ../../../site/api/index.php:259
 msgid "Could not update password with nickserv"
 msgstr ""
 
-#: ../site/api/index.php:269
+#: ../../../site/api/index.php:269
 msgid "Not Logged in to use"
 msgstr ""
 
-#: ../site/api/index.php:269
+#: ../../../site/api/index.php:269
 msgid "with key"
 msgstr ""
 
-#: ../site/api/index.php:270
+#: ../../../site/api/index.php:270
 msgid "Must be logged in with type user to sync pass"
 msgstr ""
 
-#: ../site/api/index.php:273
+#: ../../../site/api/index.php:273
 msgid "Could not verify with nickserv"
 msgstr ""
 
-#: ../site/api/index.php:276
+#: ../../../site/api/index.php:276
 msgid "Nickserv password synchronized with main account"
 msgstr ""
 
-#: ../site/api/index.php:284 ../site/api/index.php:297
-#: ../site/api/index.php:316
+#: ../../../site/api/index.php:284 ../../../site/api/index.php:297
+#: ../../../site/api/index.php:316
 msgid "Not logged in"
 msgstr ""
 
-#: ../site/api/index.php:285 ../site/api/index.php:298
+#: ../../../site/api/index.php:285 ../../../site/api/index.php:298
 msgid "No user set."
 msgstr ""
 
-#: ../site/api/index.php:286
+#: ../../../site/api/index.php:286
 msgid "No email set."
 msgstr ""
 
-#: ../site/api/index.php:287
+#: ../../../site/api/index.php:287
 msgid "No real name set."
 msgstr ""
 
-#: ../site/api/index.php:288 ../site/api/index.php:299
+#: ../../../site/api/index.php:288 ../../../site/api/index.php:299
 msgid "No nick set."
 msgstr ""
 
-#: ../site/api/index.php:289
+#: ../../../site/api/index.php:289
 msgid "User with id"
 msgstr ""
 
-#: ../site/api/index.php:289 ../site/api/index.php:301
+#: ../../../site/api/index.php:289 ../../../site/api/index.php:301
 msgid "does not exist. You should reload the page."
 msgstr ""
 
-#: ../site/api/index.php:293
+#: ../../../site/api/index.php:293
 msgid "Unable to update user"
 msgstr ""
 
-#: ../site/api/index.php:300
+#: ../../../site/api/index.php:300
 msgid "No profile set."
 msgstr ""
 
-#: ../site/api/index.php:301
+#: ../../../site/api/index.php:301
 msgid "Oper with id"
 msgstr ""
 
-#: ../site/api/index.php:303 ../site/api/index.php:305
+#: ../../../site/api/index.php:303 ../../../site/api/index.php:305
 msgid "Unable to update oper"
 msgstr ""
 
-#: ../site/api/index.php:311
+#: ../../../site/api/index.php:311
 msgid "Failed to update setting"
 msgstr ""
 
-#: ../site/api/index.php:311
+#: ../../../site/api/index.php:311
 msgid "with value"
 msgstr ""
 
-#: ../site/api/index.php:320
+#: ../../../site/api/index.php:320
 msgid "Invalid Action"
 msgstr ""
 
-#: ../site/index.php:65 ../site/index.php:66 ../site/index.php:110
-#: ../site/index.php:111 ../site/index.php:141 ../site/index.php:142
+#: ../../../site/index.php:66 ../../../site/index.php:67
+#: ../../../site/index.php:111 ../../../site/index.php:112
+#: ../../../site/index.php:142 ../../../site/index.php:143
 msgid "Refresh"
 msgstr ""
 
-#: ../site/index.php:68 ../site/index.php:69
+#: ../../../site/index.php:69 ../../../site/index.php:70
 msgid "New Memo"
 msgstr ""
 
-#: ../site/index.php:71 ../site/index.php:72
+#: ../../../site/index.php:72 ../../../site/index.php:73
 msgid "Delete All"
 msgstr ""
 
-#: ../site/index.php:78 ../site/index.php:120
+#: ../../../site/index.php:79 ../../../site/index.php:121
 msgid "From"
 msgstr ""
 
-#: ../site/index.php:86 ../site/index.php:128
+#: ../../../site/index.php:87 ../../../site/index.php:129
 msgid "Sent"
 msgstr ""
 
-#: ../site/index.php:94
+#: ../../../site/index.php:95
 msgid "Body"
 msgstr ""
 
-#: ../site/index.php:100 ../site/index.php:101
+#: ../../../site/index.php:101 ../../../site/index.php:102
 msgid "Reply"
 msgstr ""
 
-#: ../site/index.php:103 ../site/index.php:104 ../site/index.php:157
-#: ../site/index.php:158
+#: ../../../site/index.php:104 ../../../site/index.php:105
+#: ../../../site/index.php:158 ../../../site/index.php:159
 msgid "Delete"
 msgstr ""
 
-#: ../site/index.php:144 ../site/index.php:145
+#: ../../../site/index.php:145 ../../../site/index.php:146
 msgid "New Channel"
 msgstr ""
 
-#: ../site/index.php:151
+#: ../../../site/index.php:152
 msgid "Flags:"
 msgstr ""
 
-#: ../site/index.php:176
+#: ../../../site/index.php:177
 msgid "News"
 msgstr ""
 
-#: ../site/index.php:177
+#: ../../../site/index.php:178
 msgid "Memos"
 msgstr ""
 
-#: ../site/index.php:178
+#: ../../../site/index.php:179
 msgid "Channels"
 msgstr ""
 
-#: ../site/index.php:180
+#: ../../../site/index.php:181
 msgid "Servers"
 msgstr ""
 
-#: ../site/index.php:181
+#: ../../../site/index.php:182
 msgid "Opers"
 msgstr ""
 
-#: ../site/index.php:182
+#: ../../../site/index.php:183
 msgid "Configuration"
 msgstr ""
 
-#: ../site/index.php:184
+#: ../../../site/index.php:185
 msgid "Profile"
 msgstr ""
 
-#: ../site/index.php:219
+#: ../../../site/index.php:220
 msgid "To"
 msgstr ""
 
-#: ../site/index.php:225
+#: ../../../site/index.php:226
 msgid "Message"
 msgstr ""
 
-#: ../site/index.php:247
+#: ../../../site/index.php:248
 msgid "Country"
 msgstr ""
 
-#: ../site/index.php:255
+#: ../../../site/index.php:256
 msgid "Cell #"
 msgstr ""
 
-#: ../site/index.php:278
+#: ../../../site/index.php:279
 msgid "Token"
 msgstr ""
 
-#: ../site/index.php:293
+#: ../../../site/index.php:294
 msgid "Disable 2-factor"
 msgstr ""
 
-#: ../site/index.php:299
+#: ../../../site/index.php:300
 msgid "Link Persona"
 msgstr ""
 
-#: ../site/index.php:302
+#: ../../../site/index.php:303
 msgid "Remove"
 msgstr ""
 
-#: ../site/index.php:310
+#: ../../../site/index.php:311
 msgid "Switch Role"
 msgstr ""
 
-#: ../site/index.php:312
+#: ../../../site/index.php:313
 msgid "Rehash"
 msgstr ""
 
-#: ../site/index.php:314 ../site/index.php:325
+#: ../../../site/index.php:315 ../../../site/index.php:326
 msgid "Change Password"
 msgstr ""
 
-#: ../site/index.php:316
+#: ../../../site/index.php:317
 msgid "Sync Password"
 msgstr ""
 
-#: ../site/index.php:318
+#: ../../../site/index.php:319
 msgid "Logout"
 msgstr ""
 
-#: ../site/index.php:329 ../site/index.php:427
+#: ../../../site/index.php:330 ../../../site/index.php:428
 msgid "Password"
 msgstr ""
 
-#: ../site/index.php:335
+#: ../../../site/index.php:336
 msgid "New Password"
 msgstr ""
 
-#: ../site/index.php:359
+#: ../../../site/index.php:360
 msgid "Switch"
 msgstr ""
 
-#: ../site/index.php:363 ../site/index.php:433
+#: ../../../site/index.php:364 ../../../site/index.php:434
 msgid "Type"
 msgstr ""
 
-#: ../site/index.php:381 ../site/index.php:413
+#: ../../../site/index.php:382 ../../../site/index.php:414
 msgid "Login"
 msgstr ""
 
-#: ../site/index.php:385
+#: ../../../site/index.php:386
 msgid "2-Factor Verification"
 msgstr ""
 
-#: ../site/index.php:417
+#: ../../../site/index.php:418
 msgid "Persona"
 msgstr ""
 
-#: ../site/index.php:421
+#: ../../../site/index.php:422
 msgid "Username"
 msgstr ""