Compare commits

...

117 Commits

Author SHA1 Message Date
8142c9c799 Fix ignore list in profile when using prefix + minor optimization 2016-12-30 10:25:54 +01:00
361137db9f Prevent non-admins from loging in incognito via setup 2016-12-30 08:36:13 +01:00
5c32a8859f Force space after /me to prevent posting "as someone else" 2016-12-30 07:19:18 +01:00
208c354284 Sort ignore list alphabetically 2016-12-30 07:05:59 +01:00
c5b080154c Let offline members be ignored 2016-12-30 07:00:43 +01:00
0e6acb8806 List offline members in ignore too, if they posted a message 2016-12-30 06:46:35 +01:00
675568bd30 Performance optimization in cron 2016-12-30 06:08:50 +01:00
f7950e8ee1 Replace configurable static size for notes and post textarea with css 2016-12-27 19:19:16 +01:00
b1713dadc1 Don't display manual refresh message if animation is unsupported 2016-12-26 09:44:23 +01:00
8dd81ed766 Allow disabling applying of kick filters on moderators 2016-12-25 10:39:13 +01:00
0e82276697 Add personal notes 2016-12-24 18:19:46 +01:00
6c885d7c02 Use scheduled tasks instead of executing them on every action 2016-12-24 06:45:04 +01:00
048a373ef7 bugfix 2016-12-22 18:27:26 +01:00
19df2e030a Let everyone ignore anyone + bugfixes
Mods not seeing ignored peoples posts has been fixed before
2016-12-17 13:46:44 +01:00
cb78be1f17 Fix posting, when using regex characters in a url 2016-12-08 20:47:28 +01:00
87e3864daf Increase manual refresh timeout, annoying when server busy 2016-11-28 16:27:01 +01:00
370c322dc6 Fix table creation with new timezones 2016-11-27 20:14:52 +01:00
db026ede18 Add message asking for manual refresh, when it stopped working 2016-11-27 19:37:05 +01:00
d405333419 Use PHPs internal timezone management
Replaces old system completely, all previous settings will be lost
2016-11-27 16:17:23 +01:00
c4e9d76b05 Turn isSet to isset 2016-11-27 09:57:24 +01:00
98f7634a12 Let login, if an old expired session is submitted via the form. 2016-11-27 09:51:12 +01:00
0ecd188559 Separate changing nickname and password 2016-11-27 08:13:02 +01:00
8ca4f9178b get rid of global $F 2016-11-26 20:06:25 +01:00
8197ee6679 Add option to make your own font small 2016-11-26 16:23:05 +01:00
351aabc84b Incorporate Simplified Chinese translation 2016-11-26 09:08:22 +01:00
da99281a5d Merge pull request #4 from jingjinghack/translate
Translate to zh_CN
2016-11-26 08:53:50 +01:00
c8cb6cbd79 Get rid of global $H, use functions instead 2016-11-26 08:17:09 +01:00
972a40af51 translate to zh_CN 2016-11-25 13:13:44 +08:00
92d52d65a0 translate zh_CN 2016-11-24 21:25:36 +08:00
3640da7f8e Use more secure password_hash() for password hashing. 2016-11-20 07:03:05 +01:00
771f555305 Minor sql optimization 2016-11-19 09:33:43 +01:00
bcc80c468d Add stronger randomness on session key generation 2016-11-19 06:50:57 +01:00
88a91658bb turn array() into shorter [] 2016-11-16 20:34:47 +01:00
8ce48c837c Wrap label tags around input, to optimize html output size 2016-11-16 19:57:31 +01:00
25393dd377 Fix uninitialized database access 2016-11-13 08:24:28 +01:00
33c4095c58 Fix initialization on first setup 2016-11-13 08:18:29 +01:00
002b618443 Use simpler UNION in SQL for optimization 2016-11-07 19:48:08 +01:00
5abfb9c9d6 Optimize PM deletion, just keep them around instead of aggressively deleting 2016-10-31 05:39:20 +01:00
6023afa1e7 Improved inbox deletion handeling 2016-10-29 21:39:53 +02:00
bbbfe93dce A few bugfixes and improvements 2016-10-29 15:52:24 +02:00
005bc932ed Add u Modifier to preg_* to imporve multi-byte UTF-8 character handling 2016-10-05 20:16:26 +02:00
9a2e5868e8 Fix multi-byte after @mention 2016-10-05 18:30:44 +02:00
0e969a1894 Allow making CSS more unique, by adding more ids/classes and allowing to over-write hardcoded CSS 2016-10-03 10:40:00 +02:00
75263aea4b Add integrated file upload support 2016-09-24 08:51:20 +02:00
18d5954138 Make @mention work at the end of a line in multi-line mode. 2016-09-20 18:48:54 +02:00
b2de7a0dc9 Bugfix for prefix-routed chats + make rearranging frames change message sorting direction 2016-09-20 16:42:31 +02:00
96ee911c53 Make colour input use colorChooser, if supported 2016-09-19 23:17:34 +02:00
68a29558b1 Remove up to two characters from the end of @mention to also match @mention, etc. 2016-09-19 11:32:43 +02:00
9156af26e5 Depending on database engine, SQL-lower works different from mb_strtolower() use SQL-lower only 2016-09-19 10:59:43 +02:00
84e4a91656 Consider storage-overhead for varchar 2016-09-19 07:00:34 +02:00
2855566261 Fix varchar(20000) being too long with 4-byte characters 2016-09-18 22:28:16 +02:00
3cbeee4f1b Don't hotlink external links in filters which have " in front of it, to allow linking an external ressource via HTML 2016-09-18 20:12:01 +02:00
400e5fe03e Fix bug: Prevent usage of space in new nicknames 2016-09-13 09:01:19 +02:00
ee2e29db2e Don't send messages to inbox when in incognito 2016-09-11 11:11:50 +02:00
219d30f8b3 Add better multi-byte character support - New dependency: mbstring extension 2016-09-06 19:54:16 +02:00
22f7fb82a4 some bugfixes + improvements 2016-09-06 14:20:18 +02:00
d0163957f6 Make nicknames in the chatters list clickable to send PMs more easily 2016-09-05 19:05:10 +02:00
c9f622265f de-duplicate code 2016-09-05 15:56:42 +02:00
77aac82f98 Add option to hide the list of chatters 2016-09-05 15:36:41 +02:00
ac5092d5b6 Fix bug: Let guests ignore members 2016-09-05 09:16:58 +02:00
467d9b55f2 Escape nickname on output, since html entities can now be used 2016-09-05 07:51:39 +02:00
691e36cd6b Allow making filters case sensitive 2016-09-04 13:09:12 +02:00
453d3a1421 When sorting messages top to bottom, put notifications at the botom. 2016-09-02 15:29:36 +02:00
c11365fecf Turn on nocache, when top to bottom message sorting is default 2016-09-02 14:22:21 +02:00
abab38e67b Allow changing frame sorting 2016-09-02 13:20:24 +02:00
8e75c36572 Don't escape CSS (fixes use of html entities) 2016-09-02 10:35:18 +02:00
1753606b8a Allow changing message sort direction 2016-09-02 10:23:33 +02:00
ff158feffa Rename logout to unban for kicked sessions and replace backtochat with a reload button 2016-09-02 08:37:00 +02:00
95919e81f6 Add logout button to session view and allow logging out kicked sessions 2016-08-31 21:42:35 +02:00
6365372ada Style status changes 2016-08-31 18:54:30 +02:00
70c59b4638 Use int rather than string for two variables. 2016-08-31 13:47:02 +02:00
3f19d3aae0 Add an option to first display a greeting message, before showing messages 2016-08-29 13:12:17 +02:00
c05f1e613f Remove global variable for configuration 2016-08-28 21:44:18 +02:00
f8abff926b Set replace of a filter used for kicking as kickmessage 2016-08-28 21:05:05 +02:00
1ec5a6b562 Make /me work with custom texts 2016-08-28 18:20:20 +02:00
2d4ba6f902 Fix style in PM 2016-08-28 16:40:08 +02:00
8d9e6a70ce Remove global variable for present users 2016-08-28 15:57:38 +02:00
131c84a78f Simplify registration function 2016-08-27 16:41:24 +02:00
68d0f5d2b4 Remove global variable for members 2016-08-27 16:19:36 +02:00
064d5f6e4a Add external CSS setting for large stylesheets 2016-08-26 16:31:53 +02:00
9606d20a27 Don't keep track of moderator count globally, use new function instead. 2016-08-26 14:52:17 +02:00
61126c77eb Hash collisions are extremely unlikely, simplify check for it. 2016-08-25 14:59:50 +02:00
2ab29a0014 Prevent browser from caching at all. 2016-08-17 14:50:31 +02:00
0d9a9de558 Allow configuring password and nickname regex 2016-08-12 13:28:54 +02:00
37b0a323ad Instruct browser not to send referrer.
Enable image embedding without cookies as there is no more risk of session leakage.
2016-08-09 21:07:49 +02:00
2b8faa735a Prevent posting the same message twice, if no other message was posted in-between 2016-07-30 16:45:01 +02:00
2951780599 Allow ignoring incognito chatters 2016-07-25 12:26:57 +02:00
9d758146d1 Fix warning when ignoring a user, that has already left. 2016-07-25 08:19:44 +02:00
6a8442969d Don't show a kick button on your own session in the list of active sessions 2016-07-24 20:34:18 +02:00
7972453e42 Don't display empty option for system messages in delete messages by name 2016-07-24 10:19:34 +02:00
f9b53cb044 Allow deleting messages by name, when only PMs were sent. 2016-07-23 20:40:18 +02:00
24575374eb Use pre-calculated greyval instead of calculating it every time 2016-07-23 07:50:43 +02:00
18810a387c Delete messages based on public message limit, no buffer for private ones needed 2016-07-23 07:49:20 +02:00
8518536956 Use subqueries for less db traffic 2016-07-22 14:42:35 +02:00
0ebb5ddc82 Allow selectively deleting your own messages 2016-07-21 20:30:34 +02:00
643189d5ee Simplify ignore logic + disallow ignoring chatters with higher status 2016-07-21 09:12:07 +02:00
5c4586c04e Check permission before selectively deleting a message. 2016-07-19 23:01:33 +02:00
ba35a1c8d0 Don't hotlink schema links without protocol. 2016-07-15 17:56:41 +02:00
e8968d7712 Fix typo in CHANGELOG 2016-07-14 13:17:36 +02:00
35a2d5a524 Third attempt to fix the same bug 2016-07-12 20:43:36 +02:00
2cf52871b8 Fetch only relevant ignored data 2016-07-12 11:31:08 +02:00
309d86050b make $A and $P use same data layout 2016-07-12 11:02:52 +02:00
c8f3020f17 Yesterdays bugfix broke more than it fixed, refixed. 2016-07-10 10:38:15 +02:00
260dbdfd56 Fix bug preventing to send PMs to number-only nicknames 2016-07-09 17:52:29 +02:00
53211076a0 Making a moderator to member now sets incognito back to disabled 2016-06-13 19:55:09 +02:00
5ef5d5f701 Bugfix 2016-05-21 16:49:05 +02:00
b053e18e11 Make embed image option re-appear whith cookies disabled 2016-05-17 09:55:52 +02:00
eb13ee2d2f Completely fix link-redirection 2016-05-15 09:33:06 +02:00
dca1b81ef9 Add a lang_update.php script to auto-update language files 2016-05-11 12:46:50 +02:00
86b1de0ec8 Add setting in profile to allow offline inbox for: staff, members or everyone 2016-05-10 12:49:31 +02:00
147c511c61 Only use js if browser refresh stopped working 2016-05-10 08:16:25 +02:00
07ff78994e Remove JavaScript "load only new messages" feature, add JS auto-refresh to header instead 2016-05-07 10:37:56 +02:00
b09cb6b352 Fix parts of the offline inbox 2016-05-01 20:15:55 +02:00
e454b44f2b de-duplicate code 2016-04-30 15:29:41 +02:00
a72cd08cfb Fix duplicated class-tags and spelling mistake in SQL 2016-04-29 23:03:16 +02:00
190ec4c863 Allow deletion of member accounts in profile 2016-04-29 21:51:08 +02:00
3105cffaf1 Add an offline inbox for members 2016-04-29 21:47:32 +02:00
13 changed files with 2736 additions and 1649 deletions

View File

@ -1,3 +1,89 @@
Version 1.23.1 - Dec. 30, 2016
Replace configurable static size for notes and post textarea with css
Let offline members be ignored
Force space after /me to prevent posting "as someone else"
Prevent non-admins from loging in incognito via setup
Version 1.23 - Dec. 25, 2016
Optimizations
More secure session key generation and password storage
Add option to make your own font small
Separate changing nickname and password
Use PHPs native timezones
Add message asking for manual refresh, when it stopped working
Add personal notes
Allow disabling applying of kick filters on moderators
Version 1.22.1 - Nov. 13, 2016
Performance optimizations
Fix initialization on first setup
Version 1.22 - Oct. 29, 2016
Add logout button to session view and allow unbanning kicked sessions
Allow changing message sort direction
Don't escape CSS (fixes use of html entities)
Allow changing frame sorting
Allow making filters case sensitive
Add option to hide the list of chatters
Make nicknames in the chatters list clickable to send PMs more easily
Add better multi-byte character support - New dependency: mbstring extension
Don't send messages to inbox when in incognito
Remove up to three characters from the end of @mention to also match @mention, etc.
Make colour input use colorChooser, if supported
Add integrated file upload support
Allow making CSS more unique, by adding more ids/classes and allowing to over-write hardcoded CSS
Version 1.21 - Aug. 29, 2016
Don't display empty option for system messages in delete messages by name
Don't show a kick button on your own session in the list of active sessions
Allow ignoring incognito chatters
Prevent posting the same message twice, if no other message was posted in-between
Instruct browser not to send referrer.
Enable image embedding without cookies as there is no more risk of session leakage.
Allow configuring password and nickname regex
Prevent browser from caching at all.
Add external CSS setting for large stylesheets
Make /me work with custom texts set under system messages in setup
Set replace of a filter used for kicking as kickmessage
Add an option to first display a greeting message, before showing messages
Version 1.20.6 - Jul. 23, 2016
Simplify ignore logic + disallow ignoring chatters with higher status
Delete messages based on public message limit, no buffer for private ones needed
Allow deleting messages by name, when only PMs were sent
Version 1.20.5 - Jul. 19, 2016
Check permission before selectively deleting a message.
Version 1.20.4 - Jul. 12, 2016
Third attempt to fix the same bug
Version 1.20.3 - Jul. 10, 2016
Yesterdays bugfix broke more than it fixed, refixed.
Version 1.20.2 - Jul. 9, 2016
Fix bug preventing to send PMs to number-only nicknames
Version 1.20.1 - Jun. 13, 2016
Bugfix when logging guests out via admin section
Don't hide image embedding option in profile with cookies disabled
Making a moderator to member now sets incognito back to disabled
Version 1.20 - May 15, 2016
Add setting in profile to allow offline inbox for: staff, members or everyone
Completely fix link-redirection
Version 1.19.2 - May 7, 2016
Remove JavaScript "load only new messages" feature
Add JS auto-refresh to header instead
Version 1.19.1 - May 1, 2016
Fix parts of the offline inbox
Version 1.19 - Apr. 29, 2016
Add an offline inbox for members
Allow deletion of member accounts in profile
Version 1.18 - Apr. 28, 2016
Add time zone settings
Combine Password reset and setting new nickname

9
README
View File

@ -35,11 +35,11 @@ And more
INSTALLATION INSTRUCTIONS:
You'll need to have php with pdo, pcre and date extension and a web-server installed.
You'll need to have php with pdo, pcre, mbstring and date extension and a web-server installed.
You will also need the pdo_sqlite, pdo_mysql or pdo_pgsql extension, depending on which database you choose.
Optionally, you can install:
- the gd extension for the captcha feature
- the json extension for save/restore and a JavaScript helper for clients with enabled JavaScript.
- the json extension for save/restore
- a memcached server and the memcached extension and change the configuaration to use memcached. This will lessen the database load a bit.
- a MySQL or PostgreSQL server to use as an external database instead of SQLite
- the openssl extension for encryption of messages and notes in the database
@ -60,6 +60,7 @@ When you are done, you have to edit the chat script, to include your translation
'lang_code' =>'Language name',
to the $L array in the load_lang() function at the bottom, similar to what I did for the German translation.
Please share your translation with me, so I can add it to the official version.
To update your translation, you can copy each new string to your translation file or edit the automated lang_update.php script to reflect you language and run it.
REGEX:
@ -76,6 +77,6 @@ If you never used regex before, check out this starting guide to begin with regu
LIVE DEMO:
If you want to see the script in action, you can visit my TOR hidden service http://tt3j2x4k5ycaa5zt.onion/chat.php or via a tor2web proxy like http://tt3j2x4k5ycaa5zt.onion.to/chat.php if you don't have TOR installed.
Considering this is a hidden service, you should be prepared for the worst case, as people often tend to do illegal activities in the TOR network. I'm not online 24/7 so it might not be possible to remove such content right away.
If you want to see the script in action, you can visit my TOR hidden service http://tt3j2x4k5ycaa5zt.onion/chat.php or via a tor2web proxy like https://danwin1210.me/chat.php if you don't have TOR installed.
Considering this is a hidden service, you should be prepared for the worst case, as people tend to do illegal activities in the TOR network. I'm not online 24/7 so it might not be possible to remove such content right away.
If you should see illegal content, don't panic. Use the contact form on my site to notify me and clean your browser cache afterwards.

View File

@ -38,11 +38,11 @@ Features:
Installation Instructions:
--------------------------
You'll need to have php with pdo, pcre and date extension and a web-server installed.
You'll need to have php with pdo, pcre, mbstring and date extension and a web-server installed.
You will also need the pdo_sqlite, pdo_mysql or pdo_pgsql extension, depending on which database you choose.
Optionally, you can install:
- the gd extension for the captcha feature
- the json extension for save/restore and a JavaScript helper for clients with enabled JavaScript.
- the json extension for save/restore
- a memcached server and the memcached extension and change the configuaration to use memcached. This will lessen the database load a bit.
- a MySQL or PostgreSQL server to use as an external database instead of SQLite
- the openssl extension for encryption of messages and notes in the database
@ -64,6 +64,7 @@ When you are done, you have to edit the chat script, to include your translation
'lang_code' =>'Language name',
to the $L array in the load_lang() function at the bottom, similar to what I did for the German translation.
Please share your translation with me, so I can add it to the official version.
To update your translation, you can copy each new string to your translation file or edit the automated lang_update.php script to reflect you language and run it.
Regex:
------
@ -82,6 +83,6 @@ If you never used regex before, check out [this starting guide](http://docs.acti
Live demo:
----------
If you want to see the script in action, you can visit my [TOR hidden service](http://tt3j2x4k5ycaa5zt.onion/chat.php) or via a tor2web proxy like [this one](http://tt3j2x4k5ycaa5zt.onion.to/chat.php) if you don't have TOR installed.
Considering this is a hidden service, you should be prepared for the worst case, as people often tend to do illegal activities in the TOR network. I'm not online 24/7 so it might not be possible to remove such content right away.
If you want to see the script in action, you can visit my [TOR hidden service](http://tt3j2x4k5ycaa5zt.onion/chat.php) or via a tor2web proxy like [this one](https://danwin1210.me/chat.php) if you don't have TOR installed.
Considering this is a hidden service, you should be prepared for the worst case, as people tend to do illegal activities in the TOR network. I'm not online 24/7 so it might not be possible to remove such content right away.
If you should see illegal content, don't panic. Use the contact form on my site to notify me and clean your browser cache afterwards. I will remove the content as soon as possible.

3642
chat.php

File diff suppressed because it is too large Load Diff

View File

@ -19,15 +19,15 @@
*/
//Native language name: Deutsch
$T=array(
$T=[
'nodb' => 'Keine Verbindung zur Datenbank!',
'nodbsetup' => 'Keine Verbindung zur Datenbank, bitte erstelle eine Datenbank und bearbeite das Skript, um die korrekte Datenbank mit angegebenem Benutzernamen und Passwort zu benutzen.',
'changelang' => 'Sprache ändern:',
'expire' => 'Ungültige/abgelaufene Sitzung',
'kicked' => 'Rausgeschmissen!',
'invalnick' => 'Ungültiger Nickname (Maximal %d Zeichen, keine Sonderzeichen erlaubt)',
'invalpass' => 'Ungültiges Passwort (Mindestens %d Zeichen)',
'noconfirm' => 'Passwordbestätigung stimmt nicht überein!',
'kicked' => 'Du wurdest rausgeschmissen!',
'invalnick' => 'Ungültiger Nickname (Maximal %1$d Zeichen und muss dem regulären Ausdruck "%2$s" entsprechen)',
'invalpass' => 'Ungültiges Passwort (Mindestens %1$d Zeichen und muss dem regulären Ausdruck "%2$s" entsprechen)',
'noconfirm' => 'Passwortbestätigung stimmt nicht überein!',
'incorregex' => 'Ungültiger regulärer Ausdruck!',
'bottom' => 'Unten',
'top' => 'Oben',
@ -40,7 +40,7 @@ $T=array(
'suconfirm' => 'Passowrt bestätigen:',
'susuccess' => 'Erfolgreich registriert!',
'initbtn' => 'Chat initalisieren',
'initdbexist' => 'Datenbanktabellen existieren bereits! Um vortzufahren, musst du diese Tabellen zuerst manuell löschen.',
'initdbexist' => 'Datenbanktabellen existieren bereits! Um vortzufahren, müssem Sie diese Tabellen zuerst manuell löschen.',
'initsuexist' => 'Ein Superadmin existiert bereits!',
'initgosetup' => 'Zur Einrichtungsseite gehen',
'dbupdate' => 'Datenbank erfolgreich aktualisiert!',
@ -72,7 +72,7 @@ $T=array(
'selection' => 'Auswahl',
'cleannick' => 'Folgender Nickname:',
'clean' => 'Löschen',
'kickchat' => '<b>Teilnehmer rausschmeißen</b> (%d Minuten)',
'kickchat' => 'Teilnehmer rausschmeißen (%d Minuten)',
'kickreason' => 'Begründung:',
'kickpurge' => 'Nachrichten löschen',
'kick' => 'Rausschmeißen',
@ -111,7 +111,7 @@ $T=array(
'apply' => 'Anwenden',
'newfilter' => 'Neuer Filter:',
'add' => 'Hinzufügen',
'noframes' => 'Dieser Chat benutzt <b>Frames</b>. Bitte aktiviere Frames in deinem Browser oder benutze einen dafür geeigneten!',
'noframes' => 'Dieser Chat benutzt <b>Frames</b>. Bitte aktivieren Sie Frames in Ihrem Browser oder benutzen Sie einen dafür geeigneten!',
'delselmes' => 'Ausgewählte Nachrichten löschen',
'staffnotes' => 'Moderatornotizen',
'adminnotes' => 'Adminnotizen',
@ -119,8 +119,8 @@ $T=array(
'lastedited' => 'Zuletzt bearbeitet von %1$s um %2$s',
'savenotes' => 'Notizen speichern',
'waitingroom' => 'Warteraum',
'waittext' => 'Wilkommen %1$s, deine Anmeldung wurde verzögert, du kannst den Chat in %2$d Sekunden benutzen.',
'admwaittext' => 'Wilkommen %1$s, deine Anmeldung wurde verzögert, du kannst den Chat benutzen, sobald ein Moderator dich hereinlässt.',
'waittext' => 'Wilkommen %1$s, Ihre Anmeldung wurde verzögert, Sie können den Chat in %2$d Sekunden benutzen.',
'admwaittext' => 'Wilkommen %1$s, Ihre Anmeldung wurde verzögert, Sie könnent den Chat benutzen, sobald ein Moderator Sie hereinlässt.',
'waitreload' => 'Wenn diese Seite sich nicht alle %d Sekunden aktualisiert, benutze den Knopf unten, um die Seite manuell neu zu laden!',
'reload' => 'Aktualisieren',
'rules' => 'Regeln',
@ -135,12 +135,12 @@ $T=array(
'switchsingle' => 'Zu Einzel-Zeile wechseln',
'switchmulti' => 'Zu Mehrfach-Zeilen wechseln',
'help' => 'Hilfe',
'helpguest' => 'Alle Funktionen sollten recht selbsterklärend sein, benutze einfach die Knöpfe. In deinem Profil kannst du die Aktualisierungsrate, Schriftfarbe und deine gewünschte Postboxgröße anpassen.<br><u>Hinweis:</u> Dies ist ein Chat, wenn du also nichts schreibst, wirst du automatisch nach einiger Zeit abgemeldet.',
'helpembed' => 'Wenn du ein Bild einbetten möchtest, füge einfach ein [img] vor die Adresse deines Bildes. Beispiel: [img]http://example.com/images/file.jpg bettet das Bild in deinen Beitrag ein.',
'helpmem' => 'Mitglieder: Du wirst einige zusätzliche Optionen in deinem Profil haben. Du kannst deine Schriftart ändern und du kannst dein Passwort jederzeit ändern.',
'helpmod' => 'Moderatoren: Achte auf den Admin-Knof unten. Er bringt eine Seite auf, auf der du Nachrichten löschen kannst, Teilnehmer rausschmeißen kannst, alle aktive Sitzungen anzeigen lassen kannst und den Gastzugriff deaktivieren kannst, falls dies nötig sein sollte.',
'helpadm' => 'Admins: Du wirst zusätzlich in der Lage sein Gäste zu registrieren, Mitglieder zu verwalten und neue Nicknanem zu registrieren, ohne dass sie im Raum sind.',
'profile' => 'Dein Profil',
'helpguest' => 'Alle Funktionen sollten recht selbsterklärend sein, benutze einfach die Knöpfe. In Ihrem Profil könnsen Sie die Aktualisierungsrate, Schriftfarbe und Ihre gewünschte Postboxgröße anpassen.<br><u>Hinweis:</u> Dies ist ein Chat, wenn Sie also nichts schreiben, werden Sie automatisch nach einiger Zeit abgemeldet.',
'helpembed' => 'Wenn Sie ein Bild einbetten möchten, fügen Sie einfach ein [img] vor die Adresse des Bildes. Beispiel: [img]http://example.com/images/file.jpg bettet das Bild in Ihrem Beitrag ein.',
'helpmem' => 'Mitglieder: Sie werden einige zusätzliche Optionen in Ihrem Profil haben. Sie können Ihre Schriftart ändern, Ihr Passwort jederzeit ändern und natürlich können Sie auch Ihr Profil löschen.',
'helpmod' => 'Moderatoren: Achten Sie auf den Admin-Knof unten. Er ruft eine Seite auf, auf der Sie Nachrichten löschen können, Teilnehmer rausschmeißen können, alle aktive Sitzungen anzeigen lassen können und den Gastzugriff deaktivieren können, falls dies nötig sein sollte.',
'helpadm' => 'Admins: Sie werden zusätzlich in der Lage sein Gäste zu registrieren, Mitglieder zu verwalten und neue Nicknanem zu registrieren.',
'profile' => 'Ihr Profil',
'ignore' => 'Ignorieren',
'unignore' => 'Nicht mehr ignorieren',
'refreshrate' => 'Aktualisierungsrate (5-150 Sekunden)',
@ -151,14 +151,12 @@ $T=array(
'roomdefault' => 'Raumstandard',
'bold' => 'Fett',
'italic' => 'Kursiv',
'fontexample' => 'Beispiel für deine gewählte Schrift',
'small' => 'Klein',
'fontexample' => 'Beispiel für Ihre gewählte Schrift',
'timestamps' => 'Zeitstempel anzeigen',
'embed' => 'Bilder einbetten (Benötigt Cookies)',
'embed' => 'Bilder einbetten',
'incognito' => 'Inkognito Modus',
'pbsize' => 'Postboxgröße',
'nbsize' => 'Notizboxgröße',
'width' => 'Breite:',
'height' => 'Höhe:',
'changenick' => 'Nickname ändern',
'changepass' => 'Passwort ändern',
'oldpass' => 'Altes Passwort:',
'newpass' => 'Neues Passwort:',
@ -172,12 +170,12 @@ $T=array(
'notes' => 'Notizen',
'clone' => 'Klonen',
'randh' => 'Regeln & Hilfe',
'exit' => 'Chat verlassen',
'exit' => 'Verlassen',
'bye' => 'Auf Wiedersehen %s, besuche uns bald wieder!',
'colourtable' => 'Farbtabelle',
'backtoprofile' => 'Zurück zu deinem Profil',
'backtoprofile' => 'Zurück zu Ihrem Profil',
'copy' => 'Kopiere:',
'choosecol' => 'Gast, such dir eine Farbe aus:',
'choosecol' => 'Gast, suchen dir eine Farbe aus:',
'randomcol' => 'Zufällige Farbe',
'enter' => 'Chat beitreten',
'error' => 'Fehler',
@ -203,7 +201,7 @@ $T=array(
'succchg' => 'Status of %s successfully changed.',
'wrongpass' => 'Falsches Passwort!',
'wrongglobalpass' => 'Falsches gloables Passwort!',
'succprofile' => 'Dein Profil wurde erfolgreich gespeichert.',
'succprofile' => 'Ihr Profil wurde erfolgreich gespeichert.',
'backtologin' => 'Zurück zur Anmeldeseite.',
'backtochat' => 'Zurück zum Chat.',
'Beige' => 'Beige',
@ -254,9 +252,8 @@ $T=array(
'captchatime' => 'Captcha-Ablaufzeit (Sekunden)',
'messageexpire' => 'Nachrichten-Ablaufzeit (Minuten)',
'messagelimit' => 'Nachrichtenlimit (öffentliche)',
'keeplimit' => 'So viele Male zusätzliche Nachrichten behalten (PMs und Mitgliederchat)',
'maxmessage' => 'Maximale Nachrichenlänge',
'confirm' => 'Bist du sicher?',
'confirm' => 'Sind Sie sicher?',
'yes' => 'Ja',
'no' => 'Nein',
'colbg' => 'Hintergrundfarbe',
@ -277,21 +274,20 @@ $T=array(
'restore' => 'Wiederherstellen',
'settings' => 'Einstellungen',
'linkfilter' => 'Linkfilter',
'enablejs' => 'JavaScript für besseres Nachrichtenladen erlauben',
'chatname' => 'Chatname',
'destroy' => 'Chat zerstören',
'destroyed' => 'Chat erfolgreich zerstört',
'topic' => 'Thema',
'passreset' => 'Passwort zurücksetzen',
'cantresetpass' => 'Passwort kann nicht zurückgesetzt werden',
'succpassreset' => 'Password erfolgreich zurückgesetzt',
'succpassreset' => 'Passwort erfolgreich zurückgesetzt',
'entermsg' => '%s hat den Chat betreten.',
'exitmsg' => '%s hat den Chat verlassen.',
'memregmsg' => '%s ist jetzt ein registriertes Mitglied.',
'suregmsg' => '%s ist jetzt ein registrierter Anwerber.',
'kickmsg' => '%s wurde rausgeschmissen.',
'multikickmsg' => '%s wurden rausgeschmissen.',
'allkickmsg' => 'Alle Chatter wurden rausgeschmissen.',
'allkickmsg' => 'Alle Gäste wurden rausgeschmissen.',
'cleanmsg' => '%s wurde geleert.',
'sendallmsg' => '%s - ',
'sendmemmsg' => '[M] %s - ',
@ -308,7 +304,7 @@ $T=array(
'older' => 'Älter',
'newer' => 'Neuer',
'accessdenied' => 'Zugriff verweigert',
'loggedinas' => 'Du bist als %s angemeldet und hast keinen Zugriff auf diesen Bereich.',
'loggedinas' => 'Sie sind als %s angemeldet und haben keinen Zugriff auf diesen Bereich.',
'newnickname' => 'Neuer Nickname:',
'nicknametaken' => 'Nickname ist bereits vergeben',
'nopass' => 'Ungültiges Passwort (Mindestens %d Zeichen), Nickname nicht geändert',
@ -330,7 +326,7 @@ $T=array(
'fatalerror' => 'Fataler Fehler',
'prevmatch' => 'Ihr regex war folgender',
'matchtoolong' => 'Ihr Match war zu lang. Sie können max. 255 Zeichen benutzen. Versuchen Sie diesen aufzuteilen.',
'nocache' => 'Neulade-Hack für alte Browser hinzufügen.<br>Aktiviere dies, falls Neuladen nicht funktioniert.',
'nocache' => 'Autoscrollen (für alte Browser oder oben nach unten Sortierung).',
'disablepm' => 'Private Nachrichten deaktivieren',
'disablechat' => 'Chat deaktivieren',
'disabletext' => 'Chat deaktiviert Nachricht (html)',
@ -339,6 +335,35 @@ $T=array(
'tz' => 'Zeitzone',
'optional' => '(optional)',
'userloggedin' => 'Ein Nutzer mit diesem Nicknamen ist bereits angemeldet.',
'regednick' => 'Dieser Nickname ist ein registeriertes Mitglied.'
);
'regednick' => 'Dieser Nickname ist ein registeriertes Mitglied.',
'eninbox' => 'Offline Posteingang aktivieren',
'inboxmsgs' => '%d Nachrichten im Posteingang lesen',
'offline' => '(offline)',
'deleteacc' => 'Konto löschen',
'eninnone' => 'Für niemanden',
'eninall' => 'Für jeden',
'eninmem' => 'Nur für Mitglieder',
'eninstaff' => 'Nur für Moderatoren',
'eninadmin' => 'Nur für Administratoren',
'nickregex' => 'Nickname-Regex',
'passregex' => 'Passwort-Regex',
'externalcss' => 'Link zu externer CSS Datei',
'greetingmsg' => 'Willkommen %s!',
'entryhelp' => 'Falls dieser Frame nich in %d Sekunden neu lädt, muss automatische Weiterleitun (meta refresh) in Ihrem Browser aktiviert werden. Stellen Sie auch sicher, dass keine Web filter, locale Proxy oder Browser Plugins das automatische neu-laden verhindern! Dies könnte z.B. "Polipo", "NoScript", etc. sein.<br>Zur Not (oder im Falle von Server/Proxy Fehlern) können Sie die Knöpfe unten verwenden, um manuell neu zu laden.',
'enablegreeting' => 'Zeige eine Begrüßungsnachricht an, befor die Nachrichten geladen werden',
'unban' => 'Entsperren',
'sortupdown' => 'Nachrichten von oben nach unten sortieren',
'sortframe' => 'Umordnen',
'cs' => 'Groß-/Kleinschreibung beachten',
'hidechatters' => 'Teilnehmerlist ausblenden',
'enfileupload' => 'Dateien hochladen aktivieren',
'msgattache' => 'Anhang',
'filenotfound' => 'Datei nicht gefunden!',
'maxuploadsize' => 'Maximal hochgeladene Dateigröße in KB',
'maxsize' => 'Max %d KB',
'cssupdate' => 'Hinweis: Standard CSS ist jetzt hardcoded und kann aus der CSS Einstellung entfernt werden',
'manualrefresh' => 'Manuelles Neuladen erforderlich',
'personalnotes' => 'Persönliche Notizen',
'filtermodkick' => 'Kickfilter auf Moderatoren anwenden',
];
?>

View File

@ -19,14 +19,14 @@
*/
//Native language name: English
$I=array(
$I=[
'nodb' => 'No connection to database!',
'nodbsetup' => 'No connection to database, please create a database and edit the script to use the correct database with given username and password!',
'changelang' => 'Change language:',
'expire' => 'Invalid/expired session',
'kicked' => 'Kicked!',
'invalnick' => 'Invalid nickname (%d characters maximum, no special characters allowed)',
'invalpass' => 'Invalid password (At least %d characters)',
'kicked' => 'You have been kicked!',
'invalnick' => 'Invalid nickname (%1$d characters maximum and has to match the regular expression "%2$s")',
'invalpass' => 'Invalid password (At least %1$d characters and has to match the regular expression "%2$s")',
'noconfirm' => 'Password confirmation does not match!',
'incorregex' => 'Incorrect regular expression!',
'bottom' => 'Bottom',
@ -72,7 +72,7 @@ $I=array(
'selection' => 'Selection',
'cleannick' => 'Following nickname:',
'clean' => 'Clean',
'kickchat' => '<b>Kick Chatter</b> (%d minutes)',
'kickchat' => 'Kick Chatter (%d minutes)',
'kickreason' => 'Kickmessage:',
'kickpurge' => 'Purge messages',
'kick' => 'Kick',
@ -137,9 +137,9 @@ $I=array(
'help' => 'Help',
'helpguest' => 'All functions should be pretty much self-explaining, just use the buttons. In your profile you can adjust the refresh rate, font colour and your preferred input box size.<br><u>Note:</u> This is a chat, so if you don\'t keep talking, you will be automatically logged out after a while.',
'helpembed' => 'If you want to embed an image in your post, simply put [img] in front of your image URL. Example: [img]http://example.com/images/file.jpg will embed the image in your post.',
'helpmem' => 'Members: You\'ll have some more options in your profile. You can adjust your font face and you can change your password anytime.',
'helpmem' => 'Members: You\'ll have some more options in your profile. You can adjust your font face, change your password anytime and of course you can delete your account.',
'helpmod' => 'Moderators: Notice the Admin-button at the bottom. It\'ll bring up a page where you can clean the room, kick chatters, view all active sessions and disable guest access completely if needed.',
'helpadm' => 'Admins: You\'ll be furthermore able to register guests, edit members and register new nicks without them beeing in the room.',
'helpadm' => 'Admins: You\'ll be furthermore able to register guests, edit members and register new nicknames.',
'profile' => 'Your Profile',
'ignore' => 'Ignore',
'unignore' => 'Don\'t ignore anymore',
@ -151,14 +151,12 @@ $I=array(
'roomdefault' => 'Room Default',
'bold' => 'Bold',
'italic' => 'Italic',
'small' => 'Small',
'fontexample' => 'Example for your chosen font',
'timestamps' => 'Show Timestamps',
'embed' => 'Embed images (needs Cookies)',
'embed' => 'Embed images',
'incognito' => 'Incognito mode',
'pbsize' => 'Post box size',
'nbsize' => 'Notes box size',
'width' => 'Width:',
'height' => 'Height:',
'changenick' => 'Change Nickname',
'changepass' => 'Change Password',
'oldpass' => 'Old password:',
'newpass' => 'New password:',
@ -254,7 +252,6 @@ $I=array(
'captchatime' => 'Captcha timeout (seconds)',
'messageexpire' => 'Message timeout (minutes)',
'messagelimit' => 'Message limit (public)',
'keeplimit' => 'Keep this times additional messages (PMs and Member chat)',
'maxmessage' => 'Maximal message length',
'confirm' => 'Are you sure?',
'yes' => 'Yes',
@ -277,7 +274,6 @@ $I=array(
'restore' => 'Restore',
'settings' => 'Settings',
'linkfilter' => 'Linkfilter',
'enablejs' => 'Allow JavaScript for better message loading',
'chatname' => 'Chat name',
'destroy' => 'Destroy chat',
'destroyed' => 'Successfully destroyed chat',
@ -291,7 +287,7 @@ $I=array(
'suregmsg' => '%s is now a registered applicant.',
'kickmsg' => '%s has been kicked.',
'multikickmsg' => '%s have been kicked.',
'allkickmsg' => 'All chatters have been kicked.',
'allkickmsg' => 'All guests have been kicked.',
'cleanmsg' => '%s has been cleaned.',
'sendallmsg' => '%s - ',
'sendmemmsg' => '[M] %s - ',
@ -330,7 +326,7 @@ $I=array(
'fatalerror' => 'Fatal error',
'prevmatch' => 'Your match was as follows',
'matchtoolong' => 'Your match was too long. You can use max. 255 characters. Try splitting it up.',
'nocache' => 'Add refresh hack for old browsers.<br>Enable, if refreshing doesn\'t work.',
'nocache' => 'Autoscroll (for old browsers or top-to-bottom sort).',
'disablepm' => 'Disable private messages',
'disablechat' => 'Disable chat',
'disabletext' => 'Chat disabled message (html)',
@ -339,6 +335,35 @@ $I=array(
'tz' => 'Time zone',
'optional' => '(optional)',
'userloggedin' => 'A user with this nickname is already logged in.',
'regednick' => 'This nickname is a registered member.'
);
'regednick' => 'This nickname is a registered member.',
'eninbox' => 'Enable offline inbox',
'inboxmsgs' => 'Read %d messages in your inbox',
'offline' => '(offline)',
'deleteacc' => 'Delete account',
'eninnone' => 'For no one',
'eninall' => 'For everyone',
'eninmem' => 'For members only',
'eninstaff' => 'For staff only',
'eninadmin' => 'For admins only',
'nickregex' => 'Nickname regex',
'passregex' => 'Password regex',
'externalcss' => 'Link to external CSS file',
'greetingmsg' => 'Welcome %s!',
'entryhelp' => 'If this frame does not reload in %d seconds, you\'ll have to enable automatic redirection (meta refresh) in your browser. Also make sure no web filter, local proxy tool or browser plugin is preventing automatic refreshing! This could be for example "Polipo", "NoScript", etc.<br>As a workaround (or in case of server/proxy reload errors) you can always use the buttons at the bottom to refresh manually.',
'enablegreeting' => 'Show a greeting message before showing the messages',
'unban' => 'Unban',
'sortupdown' => 'Sort messages from top to bottom',
'sortframe' => 'Rearrange',
'cs' => 'Case sensitive',
'hidechatters' => 'Hide list of chatters',
'enfileupload' => 'Enable file uploads',
'msgattache' => 'Attachement',
'filenotfound' => 'File not found!',
'maxuploadsize' => 'Maximum upload size in KB',
'maxsize' => 'Max %d KB',
'cssupdate' => 'Note: Default CSS is now hardcoded and can be removed from the CSS setting',
'manualrefresh' => 'Manual refresh required',
'personalnotes' => 'Personal notes',
'filtermodkick' => 'Apply kick filter on moderators',
];
?>

View File

@ -19,14 +19,12 @@
*/
//Native language name: Español (Argentina)
$T=array(
$T=[
'nodb' => '¡Sin conexión a la base de datos!',
'nodbsetup' => '¡No pudo conectarse a la base de datos! Por favor creá la base de datos y editá el script para usarla con el nombre de usuario y clave dados.',
'changelang' => 'Cambiar idioma:',
'expire' => 'La sesión es inválida o expiró',
'kicked' => '¡Te expulsaron!',
'invalnick' => 'Apodo incorrecto (%d caracteres como máximo, no se permiten caracteres especiales)',
'invalpass' => 'Contraseña inválida (como mínimo %d caracteres)',
'noconfirm' => '¡La contraseña y su confirmación no coinciden!',
'incorregex' => '¡Expresión regular incorrecta!',
'bottom' => 'Inicio',
@ -72,7 +70,7 @@ $T=array(
'selection' => 'Selección',
'cleannick' => 'Following nickname:',
'clean' => 'Clean',
'kickchat' => '<b>Expulsado</b> (%d minutos)',
'kickchat' => 'Expulsado (%d minutos)',
'kickreason' => 'Motivo de expulsión:',
'kickpurge' => 'Mensaje de purga',
'kick' => 'Expulsar',
@ -153,12 +151,8 @@ $T=array(
'italic' => 'Bastardilla',
'fontexample' => 'Ejemplo de la tipografía seleccionada',
'timestamps' => 'Mostrar fecha y hora',
'embed' => 'Habilitar imágenes (necesita cookies)',
'embed' => 'Habilitar imágenes',
'incognito' => 'Modo incógnito',
'pbsize' => 'Tamaño de la caja de publicación',
'nbsize' => 'Tamaño de la caja de notas',
'width' => 'Ancho:',
'height' => 'Alto:',
'changepass' => 'Cambiar la contraseña',
'oldpass' => 'Contraseña anterior:',
'newpass' => 'Contraseña nueva:',
@ -276,7 +270,6 @@ $T=array(
'restore' => 'Restablacer copia',
'settings' => 'Configuración',
'linkfilter' => 'Filtro de enlaces',
'enablejs' => 'Permitir JavaScript para mejorar la carga de mensajes',
'chatname' => 'Nombre de la sala',
'destroy' => 'Destruir sala',
'destroyed' => 'Sala destruida satisfactoriamente',
@ -311,5 +304,5 @@ $T=array(
'newnickname' => 'Nuevo apodo:',
'nicknametaken' => 'Ese apodo ya fue tomado',
'nopass' => 'Constraseña incorrecta (al menos %d caracteres), no se cambia apodo'
);
];
?>

View File

@ -19,14 +19,12 @@
*/
//Native language name: Español (España)
$T=array(
$T=[
'nodb' => '¡Sin conexión a la base de datos!',
'nodbsetup' => '¡No pudo conectarse a la base de datos! Por favor crea la base de datos y edita el script para usarla con el nombre de usuario y clave dados.',
'changelang' => 'Cambiar idioma:',
'expire' => 'La sesión es inválida o expiró',
'kicked' => '¡Te expulsaron!',
'invalnick' => 'Apodo incorrecto (%d caracteres como máximo, no se permiten caracteres especiales)',
'invalpass' => 'Contraseña inválida (como mínimo %d caracteres)',
'noconfirm' => '¡La contraseña y su confirmación no coinciden!',
'incorregex' => '¡Expresión regular incorrecta!',
'bottom' => 'Inicio',
@ -72,7 +70,7 @@ $T=array(
'selection' => 'Selección',
'cleannick' => 'Following nickname:',
'clean' => 'Clean',
'kickchat' => '<b>Expulsado</b> (%d minutos)',
'kickchat' => 'Expulsado (%d minutos)',
'kickreason' => 'Motivo de expulsión:',
'kickpurge' => 'Mensaje de purga',
'kick' => 'Expulsar',
@ -153,12 +151,8 @@ $T=array(
'italic' => 'Bastardilla',
'fontexample' => 'Ejemplo de la tipografía seleccionada',
'timestamps' => 'Mostrar fecha y hora',
'embed' => 'Habilitar imágenes (necesita cookies)',
'embed' => 'Habilitar imágenes',
'incognito' => 'Modo incógnito',
'pbsize' => 'Tamaño de la caja de publicación',
'nbsize' => 'Tamaño de la caja de notas',
'width' => 'Ancho:',
'height' => 'Alto:',
'changepass' => 'Cambiar la contraseña',
'oldpass' => 'Contraseña anterior:',
'newpass' => 'Contraseña nueva:',
@ -276,7 +270,6 @@ $T=array(
'restore' => 'Restaurar',
'settings' => 'Preferencias',
'linkfilter' => 'Filtro de enlaces',
'enablejs' => 'Permitir JavaScript para mejorar la carga de mensajes',
'chatname' => 'Nombre de la sala',
'destroy' => 'Destruir sala',
'destroyed' => 'Sala destruida satisfactoriamente',
@ -311,5 +304,5 @@ $T=array(
'newnickname' => 'Nuevo apodo:',
'nicknametaken' => 'Ese apodo ya fue tomado',
'nopass' => 'Constraseña incorrecta (al menos %d caracteres), no se cambia apodo'
);
];
?>

View File

@ -19,14 +19,12 @@
*/
//Native language name: Français
$T=array(
$T=[
'nodb' => 'Pas de connexion à la base de données!',
'nodbsetup' => 'Pas de connexion à la base de données, s\'il vous plaît créer une base de données et modifier le script pour utiliser la base de données correctement avec le nom d\'utilisateur et son mot de passe !',
'changelang' => 'Changer la langue:',
'expire' => 'Session invalide / expirée',
'kicked' => 'Banni / éjecté!',
'invalnick' => 'pseudo valide (% de caractères maximum, pas de caractères spéciaux autorisés)',
'invalpass' => 'mot de passe invalide (au moins % caractères)',
'noconfirm' => 'Confirmation mot du passe ne correspond pas! ',
'incorregex' => 'Expression régulière incorrecte!',
'bottom' => 'Bas',
@ -72,7 +70,7 @@ $T=array(
'selection' => 'Sélection',
'cleannick' => 'Suivre le pseudo:',
'clean' => 'Nettoyé',
'kickchat' => '<b>Pseudos éjectés</b> (%d minutes)',
'kickchat' => 'Pseudos éjectés (%d minutes)',
'kickreason' => 'Messages interdis:',
'kickpurge' => 'Purger les messages',
'kick' => 'Banni / éjecté',
@ -153,12 +151,8 @@ $T=array(
'italic' => 'Italique',
'fontexample' => 'Exemple de choix de polices',
'timestamps' => 'Afficher l\'horodatage',
'embed' => 'Images imbriquées (besoin des Cookies)',
'embed' => 'Images imbriquées',
'incognito' => 'Mode incognito',
'pbsize' => 'Dimension de la boite du texte',
'nbsize' => 'Dimension de la boite du chat',
'width' => 'Largeur:',
'height' => 'Hauteur:',
'changepass' => 'Changer le mot de passe',
'oldpass' => 'Ancien mot de passe:',
'newpass' => 'Nouveau mot de passe:',
@ -276,7 +270,6 @@ $T=array(
'restore' => 'Récupérer',
'settings' => 'Paramètres',
'linkfilter' => 'Lien filtré',
'enablejs' => 'Autoriser JavaScript permet un meilleur chargement des messages ',
'chatname' => 'Nom du chat',
'destroy' => 'Destruction du chat',
'destroyed' => 'Chat supprimé',
@ -311,5 +304,5 @@ $T=array(
'newnickname' => 'Nouveau Pseudo:',
'nicknametaken' => 'Pseudo déjà pris',
'nopass' => 'Mot de passe invalide (au moins % caractères), ne pas changer le pseudo',
);
];
?>

View File

@ -19,14 +19,12 @@
*/
//Native language name: Bahasa Indonesia
$T=array(
$T=[
'nodb' => 'Tak ada sambungan ke basisdata!',
'nodbsetup' => 'Tak ada sambungan ke basisdata, silahkan buat basisdata dan sunting skrip ini agar menggunakan basisdata yang benar dengan nama pengguna dan kata sandi yang telah diberikan!',
'changelang' => 'Ubah bahasa:',
'expire' => 'Sesi salah/kadaluarsa',
'kicked' => 'Diusir!',
'invalnick' => 'Nama pengguna salah (maksimal %d karakter, karakter spesial tak diizinkan)',
'invalpass' => 'Kata sandi salah (minimal %d karakter)',
'noconfirm' => 'Konfirmasi kata sandi tidak cocok!',
'incorregex' => 'Regular expression salah!',
'bottom' => 'Bawah',
@ -72,7 +70,7 @@ $T=array(
'selection' => 'Pilihan',
'cleannick' => 'Nama berikut:',
'clean' => 'Bersih',
'kickchat' => '<b>Usir pengobrol</b> (%d menit)',
'kickchat' => 'Usir pengobrol (%d menit)',
'kickreason' => 'pesan pengusiran:',
'kickpurge' => 'Bersihkan pesan',
'kick' => 'Usir',
@ -153,12 +151,8 @@ $T=array(
'italic' => 'Miring',
'fontexample' => 'Contoh untuk font yang anda pilih',
'timestamps' => 'Tunjukkan penanda waktu',
'embed' => 'Tanamkan gambar (Membutuhkan kuki)',
'embed' => 'Tanamkan gambar',
'incognito' => 'Mode penyamaran',
'pbsize' => 'Ukuran kotak pos',
'nbsize' => 'Ukuran otak catatan',
'width' => 'Lebar:',
'height' => 'Tinggi:',
'changepass' => 'Ubah kata sandi',
'oldpass' => 'Kata sandi lama:',
'newpass' => 'Kata sandi baru:',
@ -276,7 +270,6 @@ $T=array(
'restore' => 'Pulihkan',
'settings' => 'Pengaturan',
'linkfilter' => 'penyaring-tautan',
'enablejs' => 'Izinkan javascript agar pemuatan pesan lebih baik',
'chatname' => 'Nama obrolan',
'destroy' => 'Musnahkan obrolan',
'destroyed' => 'Berhasil memusnahkan obrolan',
@ -311,5 +304,5 @@ $T=array(
'newnickname' => 'Nama baru:',
'nicknametaken' => 'Nama sudah ada',
'nopass' => 'Kata sandi salah (Minimal %d karakter), tak merubah nama'
);
];
?>

View File

@ -19,14 +19,12 @@
*/
//Native language name: Русский
$T=array(
$T=[
'nodb' => 'Нет соединения с базой данных!',
'nodbsetup' => 'Нет соединения с базой данных, пожалуйста, создайте базу данных и измените сценарий, чтобы использовать правильную базу данных с заданными именем пользователя и паролем!',
'changelang' => 'Изменить язык:',
'expire' => 'Недействительная/с истекшим сроком сессия',
'kicked' => 'Забанен!',
'invalnick' => 'Недействительный ник (%d символов максимум, никакие специальные разрешенные символы)',
'invalpass' => 'Неверный пароль (по крайней мере %d символов)',
'noconfirm' => 'Подтверждение пароля не совпадает!',
'incorregex' => 'Неправильное регулярное выражение!',
'bottom' => 'Вниз',
@ -72,7 +70,7 @@ $T=array(
'selection' => 'Выбор',
'cleannick' => 'По нику:',
'clean' => 'Очистить',
'kickchat' => '<b>Бан</b> (%d минут)',
'kickchat' => 'Бан (%d минут)',
'kickreason' => 'Сообщение забаненому',
'kickpurge' => 'Очистка сообщений',
'kick' => 'Бан',
@ -153,12 +151,8 @@ $T=array(
'italic' => 'Курсив',
'fontexample' => 'Пример выбранного вами шрифта',
'timestamps' => 'Показать отметки времени',
'embed' => 'Вставить изображения (использует Cookies)',
'embed' => 'Вставить изображения',
'incognito' => 'Режим инкогнито',
'pbsize' => 'Размер окна сообщений',
'nbsize' => 'Размер окна заметок',
'width' => 'Ширина:',
'height' => 'Высота:',
'changepass' => 'Изменить пароль',
'oldpass' => 'Старый пароль:',
'newpass' => 'Новый пароль:',
@ -276,5 +270,5 @@ $T=array(
'restore' => 'Восстановление',
'settings' => 'Настройки',
'linkfilter' => 'Фильтрация ссылок'
);
];
?>

45
lang_update.php Normal file
View File

@ -0,0 +1,45 @@
<?php
$native = 'Deutsch'; // Native lanugae name
$english = 'German'; // Enlish language name
$code = 'de'; // Language code
ob_start();
echo "<?php
/*
* LE CHAT-PHP - a PHP Chat based on LE CHAT - $english translation
*
* Copyright (C) 2015-2016 Daniel Winzen <d@winzen4.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
//Native language name: $native
\$T=[
";
if(file_exists("lang_$code.php")){
include("lang_$code.php");
}
include('lang_en.php');
foreach($T as $id=>$value){
if(isSet($I[$id])){
$I[$id]=$value;
}
}
foreach($I as $id=>$value){
echo "\t'$id' => '".str_replace("'", "\'", $value)."',\n";
}
echo "];\n?>\n";
$file=ob_get_clean();
file_put_contents("lang_$code.php", $file);
?>

364
lang_zh_CN.php Normal file
View File

@ -0,0 +1,364 @@
<?php
/*
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Simplified Chinese translation
*
* Copyright (C) 2015-2016 Daniel Winzen <d@winzen4.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
//Native language name: 简体中文
$T=[
'nodb' => '没有连接到数据库!',
'nodbsetup' => '没有连接到数据库,请创建一个数据库并编辑脚本并修改为用户名密码正确的数据库!',
'changelang' => '修改语言:',
'expire' => '无效/已过期的会话',
'kicked' => '你被踢出该聊天室!',
'invalnick' => '无效的用户名 (最多%1$d个字符必须与正则表达式"%2$s"匹配)',
'invalpass' => '无效的密码 (至少包含%1$d个字符并且必须与正则表达式"%2$s"匹配)',
'noconfirm' => '重复密码不匹配!',
'incorregex' => '正则表达式错误!',
'bottom' => 'Bottom',
'top' => '排行',
'choose' => '(选择)',
'setup' => '安装程序',
'init' => '初始化设置',
'sulogin' => '超级管理员登录:',
'sunick' => '超级管理员用户名:',
'supass' => '超级管理员密码:',
'suconfirm' => '重复密码:',
'susuccess' => '成功注册!',
'initbtn' => '初始化聊天室',
'initdbexist' => '数据库表已经存在!,要继续,您必须先手动删除这些表',
'initsuexist' => '超级管理员已经存在!',
'initgosetup' => '去设置界面',
'captcha' => '验证码',
'enabled' => '启用',
'onlyguests' => '只仅游客',
'disabled' => '禁用',
'simple' => '简单',
'moderate' => '中等',
'extreme' => '超级',
'nick' => '用户名:',
'pass' => '密码:',
'globalloginpass' => '全局密码:',
'login' => '登录',
'dbupdate' => '数据库更新成功',
'sysmessages' => '系统信息',
'msgenter' => '入口',
'msgexit' => '离开',
'msgmemreg' => '成员注册',
'msgsureg' => '邀请人注册',
'msgkick' => '踢出',
'msgmultikick' => '批量踢出',
'msgallkick' => '全部踢出',
'msgclean' => '房间清理',
'dateformat' => '<a target="_blank" href="http://php.net/manual/en/function.date.php#refsect1-function.date-parameters">Date formating</a>',
'admfunc' => '管理员功能',
'allguests' => '全部游客',
'cleanmsgs' => '清理消息',
'room' => '整个房间',
'selection' => '选择',
'cleannick' => '下面的名称:',
'clean' => '清理',
'kickchat' => 'Kick Chatter (%d minutes)',
'kickreason' => '踢出信息:',
'kickpurge' => '清除信息',
'kick' => '踢出',
'logoutinact' => '注销非活动聊天者',
'logout' => '登出',
'sessions' => '查看活动聊天',
'view' => '显示',
'filter' => '过滤',
'guestacc' => '修改游客访问',
'guestallow' => '允许',
'guestwait' => 'Allow with waitingroom',
'adminallow' => '请求审核人批准',
'guestdisallow' => '只仅正式成员',
'addsuguest' => '注册申请员',
'register' => '注册',
'admmembers' => '正式成员',
'memdel' => '从数据库删除',
'memdeny' => '拒绝访问 (!)',
'memsuguest' => '申请为申请人 (G)',
'memreg' => '设置为正式成员',
'memmod' => '设置为主持人 (M)',
'memsumod' => 'Set to supermod (SM)',
'memadm' => '设置为管理员 (A)',
'change' => '修改',
'regguest' => '注册游客',
'regmem' => '注册新成员',
'sessact' => '活动会话',
'sessnick' => '用户名',
'sesstimeout' => '超时',
'sessua' => '用户代理',
'fid' => '过滤器ID:',
'match' => '匹配',
'replace' => '替换',
'allowpm' => '允许在PM',
'regex' => '正则表达式',
'apply' => '应用',
'newfilter' => '新过滤器:',
'add' => '添加',
'noframes' => '这个聊天室使用 <b>frames</b>. 请在浏览器中启用<b>frames</b>或使用合适的<b>frames</b>!',
'delselmes' => '删除所选信息',
'staffnotes' => '工作人员说明',
'adminnotes' => '管理员说明',
'notessaved' => '说明已保存!',
'lastedited' => '上次由%1$s编辑 时间为%2$s',
'savenotes' => '保存说明',
'waitingroom' => '等候室',
'waittext' => 'Welcome %1$s, your login has been delayed, you can access the chat in %2$d seconds.',
'admwaittext' => 'Welcome %1$s, your login has been delayed, you can access the chat as soon, as a moderator lets you in.',
'waitreload' => 'If this page doesn\'t refresh every %d seconds, use the button below to reload it manually!',
'reload' => 'Reload',
'rules' => 'Rules',
'talkto' => 'Send to',
'toall' => 'All chatters',
'tomem' => 'Members only',
'tostaff' => 'Staff only',
'toadmin' => 'Admin only',
'alsopurge' => 'Also purge messages',
'dellast' => 'Delete last message',
'delall' => 'Delete all messages',
'switchsingle' => 'Switch to single-line',
'switchmulti' => 'Switch to multi-line',
'help' => 'Help',
'helpguest' => 'All functions should be pretty much self-explaining, just use the buttons. In your profile you can adjust the refresh rate, font colour and your preferred input box size.<br><u>Note:</u> This is a chat, so if you don\'t keep talking, you will be automatically logged out after a while.',
'helpembed' => 'If you want to embed an image in your post, simply put [img] in front of your image URL. Example: [img]http://example.com/images/file.jpg will embed the image in your post.',
'helpmem' => 'Members: You\'ll have some more options in your profile. You can adjust your font face, change your password anytime and of course you can delete your account.',
'helpmod' => 'Moderators: Notice the Admin-button at the bottom. It\'ll bring up a page where you can clean the room, kick chatters, view all active sessions and disable guest access completely if needed.',
'helpadm' => 'Admins: You\'ll be furthermore able to register guests, edit members and register new nicknames.',
'profile' => 'Your Profile',
'ignore' => 'Ignore',
'unignore' => 'Don\'t ignore anymore',
'refreshrate' => 'Refresh rate (5-150 seconds)',
'fontcolour' => 'Font colour',
'viewexample' => 'View examples',
'bgcolour' => 'Background colour',
'fontface' => 'Fontface',
'roomdefault' => 'Room Default',
'bold' => 'Bold',
'italic' => 'Italic',
'fontexample' => 'Example for your chosen font',
'timestamps' => 'Show Timestamps',
'embed' => 'Embed images',
'incognito' => 'Incognito mode',
'changepass' => 'Change Password',
'oldpass' => 'Old password:',
'newpass' => 'New password:',
'confirmpass' => 'Confirm new password:',
'savechanges' => 'Save changes',
'reloadpb' => 'Reload Post Box',
'reloadmsgs' => 'Reload Messages',
'chgprofile' => 'Profile',
'adminbtn' => 'Admin',
'admnotes' => 'Admin Notes',
'notes' => 'Notes',
'clone' => 'Clone',
'randh' => 'Rules & Help',
'exit' => 'Exit Chat',
'bye' => 'Bye %s, visit again soon!',
'colourtable' => 'Colourtable',
'backtoprofile' => 'Back to your Profile',
'copy' => 'Copy:',
'choosecol' => 'Guests, choose a colour:',
'randomcol' => 'Random Colour',
'enter' => 'Enter Chat',
'error' => 'Error',
'members' => 'Members',
'guests' => 'Guests',
'approveguests' => '%d new guests to approve',
'allowchecked' => 'Allow checked',
'allowall' => 'Allow all',
'denychecked' => 'Deny checked',
'denyall' => 'Deny all',
'denymessage' => 'Send message to denied:',
'butallowdeny' => 'Submit',
'waitempty' => 'No more entry requests to approve.',
'wrongcaptcha' => 'Wrong Captcha',
'captchaexpire' => 'Captcha already used or timed out.',
'noguests' => 'Sorry, currently members only!',
'curchat' => 'Currently %d chatter(s) in room:',
'cantreg' => 'Can\'t register %s',
'alreadyreged' => '%s is already registered.',
'successreg' => '%s successfully registered.',
'cantchgstat' => 'Can\'t change status of %s',
'succdel' => '%s successfully deleted from database.',
'succchg' => 'Status of %s successfully changed.',
'wrongpass' => 'Wrong Password!',
'wrongglobalpass' => 'Wrong global Password!',
'succprofile' => 'Your profile has successfully been saved.',
'backtologin' => 'Back to the login page.',
'backtochat' => 'Back to the chat.',
'Beige' => 'Beige',
'Black' => 'Black',
'Blue' => 'Blue',
'BlueViolet' => 'Blue violet',
'Brown' => 'Brown',
'Cyan' => 'Cyan',
'DarkBlue' => 'Dark blue',
'DarkGreen' => 'Dark green',
'DarkRed' => 'Dark red',
'DarkViolet' => 'Dark violet',
'DeepSkyBlue' => 'Sky blue',
'Gold' => 'Gold',
'Grey' => 'Grey',
'Green' => 'Green',
'HotPink' => 'Hot pink',
'Indigo' => 'Indigo',
'LightBlue' => 'Light blue',
'LightGreen' => 'Light green',
'LimeGreen' => 'Lime green',
'Magenta' => 'Magenta',
'Olive' => 'Olive',
'Orange' => 'Orange',
'OrangeRed' => 'Orange red',
'Purple' => 'Purple',
'Red' => 'Red',
'RoyalBlue' => 'Royal blue',
'SeaGreen' => 'Sea green',
'Sienna' => 'Sienna',
'Silver' => 'Silver',
'Tan' => 'Tan',
'Teal' => 'Teal',
'Violet' => 'Violet',
'White' => 'White',
'Yellow' => 'Yellow',
'YellowGreen' => 'Yellow green',
'redirectto' => 'Redirecting to:',
'nonhttp' => 'Non-http link requested:',
'httpredir' => 'If it\'s not working, try this one:',
'actions' => 'Actions',
'sesip' => 'IP-Address',
'css' => 'CSS Style',
'memberexpire' => 'Member timeout (minutes)',
'guestexpire' => 'Guest timeout (minutes)',
'kickpenalty' => 'Kick penalty (minutes)',
'entrywait' => 'Waiting room time (seconds)',
'captchatime' => 'Captcha timeout (seconds)',
'messageexpire' => 'Message timeout (minutes)',
'messagelimit' => 'Message limit (public)',
'maxmessage' => 'Maximal message length',
'confirm' => 'Are you sure?',
'yes' => 'Yes',
'no' => 'No',
'colbg' => 'Background colour',
'coltxt' => 'Text colour',
'maxname' => 'Maximal nickname length',
'minpass' => 'Minimal password length',
'defaultrefresh' => 'Default message reload time (seconds)',
'suguests' => 'Enable applicants',
'rulestxt' => 'Rules (html)',
'imgembed' => 'Embed images',
'trackip' => 'Show session-IP',
'captchachars' => 'Characters used in Captcha',
'memkick' => 'Members can kick, if no moderator is present',
'forceredirect' => 'Force redirection',
'redirect' => 'Custom redirection script',
'backuprestore' => 'Backup and restore',
'backup' => 'Backup',
'restore' => 'Restore',
'settings' => 'Settings',
'linkfilter' => 'Linkfilter',
'chatname' => 'Chat name',
'destroy' => 'Destroy chat',
'destroyed' => 'Successfully destroyed chat',
'topic' => 'Topic',
'passreset' => 'Reset password',
'cantresetpass' => 'Can\'t reset password',
'succpassreset' => 'Successfully reset password',
'entermsg' => '%s entered the chat.',
'exitmsg' => '%s left the chat.',
'memregmsg' => '%s is now a registered member.',
'suregmsg' => '%s is now a registered applicant.',
'kickmsg' => '%s has been kicked.',
'multikickmsg' => '%s have been kicked.',
'allkickmsg' => 'All guests have been kicked.',
'cleanmsg' => '%s has been cleaned.',
'sendallmsg' => '%s - ',
'sendmemmsg' => '[M] %s - ',
'sendmodmsg' => '[Staff] %s - ',
'sendadmmsg' => '[Admin] %s - ',
'sendprvmsg' => '[%1$s to %2$s] - ',
'msgsendall' => 'Message to all',
'msgsendmem' => 'Message to members only',
'msgsendmod' => 'Message to staff only',
'msgsendadm' => 'Message to admins only',
'msgsendprv' => 'Private message',
'numnotes' => 'Number of notes revisions to keep',
'revisions' => 'Revisions:',
'older' => 'Older',
'newer' => 'Newer',
'accessdenied' => 'Access denied',
'loggedinas' => 'You are logged in as %s and don\'t have access to this section.',
'newnickname' => 'New nickname:',
'nicknametaken' => 'Nickname is already taken',
'nopass' => 'Invalid password (At least %d characters), not changing nickname',
'gdextrequired' => 'The gd extension of PHP is required for this feature. Please install it first.',
'memcachedextrequired' => 'The memcached extension of PHP is required for the caching feature. Please install it first or set the memcached setting back to false.',
'opensslextrequired' => 'The openssl extension of PHP is required for the encryption feature. Please install it first or set the encrypted setting back to false.',
'pdo_mysqlextrequired' => 'The pdo_mysql extension of PHP is required for the selected database driver. Please install it first.',
'pdo_pgsqlextrequired' => 'The pdo_pgsql extension of PHP is required for the selected database driver. Please install it first.',
'pdo_sqliteextrequired' => 'The pdo_sqlite extension of PHP is required for the selected database driver. Please install it first.',
'jsonextrequired' => 'The json extension of PHP is required for this feature. Please install it first.',
'sendmail' => 'Send mail on new public message',
'mailsender' => 'Send mail using this address',
'mailreceiver' => 'Send mail to this address',
'modfallback' => 'Fallback to waiting room, if no moderator is present to approve guests',
'regpass' => 'Repeat password<br>to register',
'guestreg' => 'Let guests register themselves',
'asmember' => 'As member',
'assuguest' => 'As applicant',
'fatalerror' => 'Fatal error',
'prevmatch' => 'Your match was as follows',
'matchtoolong' => 'Your match was too long. You can use max. 255 characters. Try splitting it up.',
'nocache' => 'Autoscroll (for old browsers or top-to-bottom sort).',
'disablepm' => 'Disable private messages',
'disablechat' => 'Disable chat',
'disabletext' => 'Chat disabled message (html)',
'disabledtext' => 'Temporarily disabled',
'defaulttz' => 'Default time zone',
'tz' => 'Time zone',
'optional' => '(optional)',
'userloggedin' => 'A user with this nickname is already logged in.',
'regednick' => 'This nickname is a registered member.',
'eninbox' => 'Enable offline inbox',
'inboxmsgs' => 'Read %d messages in your inbox',
'offline' => '(offline)',
'deleteacc' => 'Delete account',
'eninnone' => 'For no one',
'eninall' => 'For everyone',
'eninmem' => 'For members only',
'eninstaff' => 'For staff only',
'eninadmin' => 'For admins only',
'nickregex' => 'Nickname regex',
'passregex' => 'Password regex',
'externalcss' => 'Link to external CSS file',
'greetingmsg' => 'Welcome %s!',
'entryhelp' => 'If this frame does not reload in %d seconds, you\'ll have to enable automatic redirection (meta refresh) in your browser. Also make sure no web filter, local proxy tool or browser plugin is preventing automatic refreshing! This could be for example "Polipo", "NoScript", etc.<br>As a workaround (or in case of server/proxy reload errors) you can always use the buttons at the bottom to refresh manually.',
'enablegreeting' => 'Show a greeting message before showing the messages',
'unban' => 'Unban',
'sortupdown' => 'Sort messages from top to bottom',
'sortframe' => 'Rearrange',
'cs' => 'Case sensitive',
'hidechatters' => 'Hide list of chatters',
'enfileupload' => 'Enable file uploads',
'msgattache' => 'Attachement',
'filenotfound' => 'File not found!',
'maxuploadsize' => 'Maximum upload size in KB',
'maxsize' => 'Max %d KB',
'cssupdate' => 'Note: Default CSS is now hardcoded and can be removed from the CSS setting',
];
?>