Compare commits

..

129 Commits

Author SHA1 Message Date
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
1a8eefc396 Fix wrong registration variables 2016-04-28 19:07:09 +02:00
47ffde6839 Better wording for registering applicants 2016-04-28 16:40:07 +02:00
ae3fe6d510 Optimize language-selection function 2016-04-28 11:59:23 +02:00
6ccce399b7 De-duplicate code 2016-04-28 11:05:09 +02:00
8538b22f6a simplify parse_sessions() and write_new_session() 2016-04-28 09:58:07 +02:00
a37026ca64 Add useful error message on failed login 2016-04-28 09:02:42 +02:00
555208a556 Combine Password reset and setting new nickname 2016-04-27 11:14:54 +02:00
d9c9dae6c0 Complete time zone feature 2016-04-27 09:57:34 +02:00
266523902f Avoid douple-parsing of sessions, when logging out or kicking 2016-04-26 13:25:44 +02:00
8408edd1f8 Fix incorrect header 2016-04-26 12:27:39 +02:00
7210a9fc90 Add timezone settings 2016-04-26 12:26:40 +02:00
37fbb7bc43 Allow disabling the chat completely 2016-04-20 15:48:12 +02:00
e72dc58d56 Simplify check_init() 2016-04-19 20:24:53 +02:00
b2df491ab7 Add disable PM option 2016-04-19 20:14:06 +02:00
63b4764ec4 Display a fatal error, if SQLite engine fails to connect to the database 2016-04-19 16:13:30 +02:00
15a4eb62bc Simplify SQL table creation by using common data types for all engines 2016-04-19 15:52:15 +02:00
60355735ee Make nocache refresh hack configurable in profile 2016-04-18 17:22:22 +02:00
0b8cdcc1e5 Remove nocache hack from message reload again
(scrolls back to top every time)
2016-04-17 08:12:48 +02:00
51ee2e1495 Split routing into several sub-functions 2016-04-16 21:04:41 +02:00
db86cb984b Fix a few forms to be used cookie-less 2016-04-15 16:07:15 +02:00
30d460b91e Improve invalid filter handling + allow new line match with \n 2016-04-15 15:16:18 +02:00
ea24d7ae5b Add caching hack for aggressively caching browsers (e.g. links) 2016-04-15 08:54:14 +02:00
6a8186d984 de-duplicate code by using new functions 2016-04-14 22:32:02 +02:00
2757f62d48 Properly escape some parameters 2016-04-14 22:08:20 +02:00
df140d0ee7 Fix warning on redirection of links without a scheme 2016-04-14 19:44:32 +02:00
6890bdb80a Allow extreme captcha to be solved in both directions 2016-04-14 19:12:15 +02:00
5c62bcef00 Add CSS classes and move more css to the database 2016-04-14 18:49:25 +02:00
f2c6d9fb95 Fixed a typo 2016-04-13 21:38:20 +02:00
8749eb0982 Fix language parameter overwrite 2016-04-13 20:08:20 +02:00
1c74441bb4 Better message routing and fixed handling of links with special characters 2016-04-13 20:01:26 +02:00
d4ef35e8ac Add better fatal error handling 2016-04-12 22:19:22 +02:00
0092abe964 Add option to let guests register themselves 2016-04-12 20:12:34 +02:00
333983a2c3 Fix guestaccess selection in setup 2016-04-11 16:20:28 +02:00
fd807ff5ff Add fallback option for moderator approval 2016-04-11 16:05:20 +02:00
bc3bb8e3a4 Attempt to create database when there is no connection 2016-04-11 16:05:07 +02:00
e181af4df5 Move some more settings to the database and add CSS to limit list of chatters hight 2016-04-11 16:02:27 +02:00
a22ffd83fd Several optimizations
Use constants for configuration
Simplify extreme captcha code generation
Add language setting to profile
Add checks for required extensions
2016-04-10 15:52:19 +02:00
8d2b10468f Allow using html tags in linkfilter without breaking dereferrer or image embed 2016-03-06 07:54:34 +01:00
cbba4e5784 Merge pull request #2 from yolateng0/patch-2
Update lang FR
2016-02-24 18:26:33 +01:00
Yo
dd4d5cbb7e Update lang FR 2016-02-24 16:27:13 +01:00
8c752b07b6 Updated French translation 2016-02-21 20:43:28 +01:00
c70cf35d61 Integrate French translation and use Unix line ending for Spanish translation. 2016-02-20 17:16:39 +01:00
2048f4c4b5 Merge pull request #1 from yolateng0/patch-1
creat language FR
2016-02-20 16:59:40 +01:00
Yo
7e7433ead3 creat language FR
not completed
2016-02-20 16:13:50 +01:00
6ad5b4bc8b Added 2 Spanish translations.
Thanks for the submission!
2016-02-18 09:45:18 +01:00
2be93518cb Don't display kicked people and fix deadlock warning 2016-01-26 20:04:54 +01:00
8765c104f9 Added indonesian translation 2016-01-02 14:25:54 +01:00
0d00adb2cb Fix XSS vulnerability in change nickname + make it available for registered users only 2015-12-19 20:18:14 +01:00
ea6b97372f Version 1.15
Made code reading easier for newbies
Removed inefficient memcached caching of members and ignored
Display access denied page for non-authorized use of sub-sections.
Added change nickname option in profile
Various bugfixes
2015-12-17 19:44:09 +01:00
95a13f7656 Bugfix-version 1.14.1
Ignore possible deadlock warning
Only display the let users in button when there are guests waiting to be let in
Fix filter and ignore feature if they have multiple values
2015-11-02 09:06:16 +01:00
2e1c75691d Version 1.14
Added support for sqlite and PostgreSQL database engines
Replaced deprecated HTML with CSS for HTML5 compatibility
Show Topic on login and don't prepend "Topic:"
More optimizations and fixes
2015-10-31 13:59:49 +01:00
12 changed files with 4726 additions and 1629 deletions

138
CHANGELOG
View File

@ -1,3 +1,140 @@
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
Add useful error message on failed login
Version 1.17 - Apr. 20, 2016
Make nocache refresh hack configurable in profile
Add disable PM option
Allow disabling the chat completely
Version 1.16.4 - Apr. 15, 2016
Properly escape some parameters
Add caching hack for aggressively caching browsers (e.g. links)
Improve invalid filter handling + allow new line match with \n
Fix a few forms to be used cookie-less
Version 1.16.3 - Apr. 14, 2016
Fix warning on redirection of links without a scheme
Version 1.16.2 - Apr. 14, 2016
Add CSS classes and move more css to the database
Allow extreme captcha to be solved in both directions
Version 1.16.1 - Apr. 13, 2016
Fixed a typo
Version 1.16 - Apr. 13, 2016
Use constants for configuration
Simplify extreme captcha code generation
Add language setting to profile
Add checks for required extensions
Move some more settings to the database
Add CSS to limit list of chatters hight
Attempt to create database when there is no connection
Add fallback option for moderator approval
Fix guestaccess selection in setup
Add option to let guests register themselves
Add better fatal error handling
Fixed handling of links with special characters
Version 1.15.3 - Mar. 6, 2016
Allow using html tags in linkfilter without breaking dereferrer or image embed
Added French translation
Added 2 Spanish translations.
Version 1.15.2 - Jan. 26, 2016
Don't display kicked people
Fix deadlock warning
Added Indonesian translation
Version 1.15.1 - Dec. 19, 2015
Fix XSS vulnerability in change nickname + make it available for registered users only
Version 1.15 - Dec. 17, 2015
Made code reading easier for newbies
Removed inefficient memcached caching of members and ignored
Display access denied page for non-authorized use of sub-sections.
Added change nickname option in profile
Various bugfixes
Version 1.14.1 - Nov. 2, 2015
Ignore possible deadlock warning
Only display the let users in button when there are guests waiting to be let in
Fix filter and ignore feature if they have multiple values
Version 1.14 - Oct. 31, 2015
Added support for sqlite and PostgreSQL database engines
Replaced deprecated HTML with CSS for HTML5 compatibility
Show Topic on login and don't prepend "Topic:"
More optimizations and fixes
Version 1.13.1 - Sep. 15, 2015
Fix saving some setup settings
@ -91,4 +228,3 @@ Added ignore feature
Version 1.0 - Mar. 31, 2015
Initial release

37
README
View File

@ -1,25 +1,7 @@
LE CHAT-PHP - a PHP Chat based on LE CHAT
Copyright (C) 2015 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/>.
GENERAL INFORMATION:
This is a PHP Chat based on LE CHAT v.1.14. An up-to-date copy of this script can be downloaded at https://github.com/DanWin/le-chat-php
The original perl LE CHAT script by Lucky Eddie can be downloaded at http://4fvfamdpoulu2nms.onion/lechat/ or via a tor2web proxy like https://4fvfamdpoulu2nms.tor2web.blutmagie.de/lechat/ if you don't have TOR installed.
The original perl LE CHAT script by Lucky Eddie can be downloaded at http://4fvfamdpoulu2nms.onion/lechat/ or via a tor2web proxy like https://4fvfamdpoulu2nms.onion.to/lechat/ if you don't have TOR installed.
If you add your own cool features or have a feature request, please tell me and I will add them, if I like them.
Please also let me know about any bugs you find in the code, so I can fix them.
Now a piece of information about the origin of the name "LE CHAT" copied from the original script:
@ -53,9 +35,15 @@ And more
INSTALLATION INSTRUCTIONS:
You'll need to have mysql, php and a web-server installed. For the captcha feature, you also need php5-gd.
If you want to make the script even faster, install a memcached server and php5-memcached and change the configuaration to use memcached. This will lessen the database load.
When you have everything installed, you'll have to create a database and a user for the chat in mysql.
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
- 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
When you have everything installed and use MySQL or PostgreSQL, you'll have to create a database and a user for the chat.
Then edit the configuration at the bottom of the script to reflect the appropriate database settings and to modify the chat settings the way you like them.
Then copy the script to your web-server directory and call the script in your browser with a parameter like this:
http://(server)/(script-name).php?action=setup
@ -72,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:
@ -88,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.tor2web.blutmagie.de/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.tk/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

@ -2,7 +2,7 @@ General Information:
--------------------
This is a PHP Chat based on LE CHAT v.1.14. An up-to-date copy of this script can be downloaded at https://github.com/DanWin/le-chat-php
The original perl LE CHAT script by Lucky Eddie can be downloaded at [his site](http://4fvfamdpoulu2nms.onion/lechat/) or via a tor2web proxy like [this one](https://4fvfamdpoulu2nms.tor2web.blutmagie.de/lechat/) if you don't have TOR installed.
The original perl LE CHAT script by Lucky Eddie can be downloaded at [his site](http://4fvfamdpoulu2nms.onion/lechat/) or via a tor2web proxy like [this one](https://4fvfamdpoulu2nms.onion.to/lechat/) if you don't have TOR installed.
If you add your own cool features or have a feature request, please tell me and I will add them, if I like them.
Please also let me know about any bugs you find in the code, so I can fix them.
Now a piece of information about the origin of the name "LE CHAT" copied from the original script:
@ -38,9 +38,15 @@ Features:
Installation Instructions:
--------------------------
You'll need to have mysql, php and a web-server installed. For the captcha feature, you also need php5-gd.
If you want to make the script even faster, install a memcached server and php5-memcached and change the configuaration to use memcached. This will lessen the database load.
When you have everything installed, you'll have to create a database and a user for the chat in mysql.
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
- 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
When you have everything installed and use MySQL or PostgreSQL, you'll have to create a database and a user for the chat.
Then edit the configuration at the bottom of the script to reflect the appropriate database settings and to modify the chat settings the way you like them.
Then copy the script to your web-server directory and call the script in your browser with a parameter like this:
http://(server)/(script-name).php?action=setup
@ -58,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:
------
@ -76,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.tor2web.blutmagie.de/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.tk/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.

4635
chat.php Executable file → Normal file

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
/*
* LE CHAT-PHP - a PHP Chat based on LE CHAT - German translation
*
* Copyright (C) 2015 Daniel Winzen <d@winzen4.de>
* 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
@ -18,15 +18,16 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
//Native language name: Deutsch
$T=array(
'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',
@ -39,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!',
@ -71,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',
@ -85,7 +86,7 @@ $T=array(
'guestwait' => 'Mit Warteraum erlauben',
'adminallow' => 'Moderator-Erlaubnis benötigen',
'guestdisallow' => 'Nur Mitglieder',
'addsuguest' => 'Anwerber hinzufügen',
'addsuguest' => 'Anwerber registrieren',
'register' => 'Registrieren',
'admmembers' => 'Mitglieder',
'memdel' => 'Aus der Datenbank löschen',
@ -110,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',
@ -118,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',
@ -134,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)',
@ -150,9 +151,9 @@ $T=array(
'roomdefault' => 'Raumstandard',
'bold' => 'Fett',
'italic' => 'Kursiv',
'fontexample' => 'Beispiel für deine gewählte Schrift',
'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',
@ -165,21 +166,21 @@ $T=array(
'savechanges' => 'Änderungen speichern',
'reloadpb' => 'Postbox neu laden',
'reloadmsgs' => 'Nachrichten neu laden',
'chgprofile' => 'Profil ändern',
'chgprofile' => 'Profil',
'adminbtn' => 'Admin',
'admnotes' => 'Adminnotizen',
'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:',
'error' => 'Fehler',
'members' => 'Mitglieder',
'guests' => 'Gäste',
'approveguests' => '%d neue Gäste zum Hereinlassen',
@ -202,7 +203,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,12 +255,12 @@ $T=array(
'messageexpire' => 'Nachrichten-Ablaufzeit (Minuten)',
'messagelimit' => 'Nachrichtenlimit (öffentliche)',
'maxmessage' => 'Maximale Nachrichenlänge',
'confirm' => 'Bist du sicher?',
'confirm' => 'Sind Sie sicher?',
'yes' => 'Ja',
'no' => 'Nein',
'colbg' => 'Hintergrundfarbe',
'coltxt' => 'Schriftfarbe',
'maxname' => 'Maximale Benutzernamen-Länge',
'maxname' => 'Maximale Nicknamen-Länge',
'minpass' => 'Minimale Passwortlänge',
'defaultrefresh' => 'Standardzeit zum Neuladen der Nachrichten (Sekunden)',
'suguests' => 'Anwerber aktivieren',
@ -275,22 +276,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: %s',
'admtopic' => 'Thema',
'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 - ',
@ -305,6 +304,65 @@ $T=array(
'numnotes' => 'Anzahl an zu behaltenden Notizversionen',
'revisions' => 'Revisionen:',
'older' => 'Älter',
'newer' => 'Neuer'
'newer' => 'Neuer',
'accessdenied' => 'Zugriff verweigert',
'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',
'gdextrequired' => 'Für diese Funktion wird die gd Erweiterung von PHP benötigt. Bitte installieren Sie diese zuerst.',
'memcachedextrequired' => 'Die memcached Erweiterung von PHP wird benötigt, um die Cache-Funktion zu benutzen. Bitte installieren Sie diese zuerst oder setzen Sie die memcached Einstellung zurück auf false.',
'opensslextrequired' => 'Die openssl Erweiterung von PHP wird benötigt, um die Verschlüsselungs-Funktion zu benutzen. Bitte installieren Sie diese zuerst oder setzen Sie die encrypted Einstellung zurück auf false.',
'pdo_mysqlextrequired' => 'Die pdo_mysql Erweiterung von PHP wird für den ausgewählten Datenbanktreiber benötigt. Bitte installieren Sie diese zuerst.',
'pdo_pgsqlextrequired' => 'Die pdo_pgsql Erweiterung von PHP wird für den ausgewählten Datenbanktreiber benötigt. Bitte installieren Sie diese zuerst.',
'pdo_sqliteextrequired' => 'Die pdo_sqlite Erweiterung von PHP wird für den ausgewählten Datenbanktreiber benötigt. Bitte installieren Sie diese zuerst.',
'jsonextrequired' => 'Für diese Funktion wird die json Erweiterung von PHP benötigt. Bitte installieren Sie diese zuerst.',
'sendmail' => 'E-Mail bei neuer Nachricht senden',
'mailsender' => 'E-Mail mit dieser Adresse versenden',
'mailreceiver' => 'E-Mail and diese Adresse senden',
'modfallback' => 'Auf Warteraum rückgreifen, falls kein Moderator anwesend ist, um Gäste hereinzulassen',
'regpass' => 'Zum registrieren<br>Passwort wiederholen',
'guestreg' => 'Gäste sich selbst registrieren lassen',
'asmember' => 'Als Mitglied',
'assuguest' => 'Als Anwerber',
'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' => 'Autoscrollen (für alte Browser oder oben nach unten Sortierung).',
'disablepm' => 'Private Nachrichten deaktivieren',
'disablechat' => 'Chat deaktivieren',
'disabletext' => 'Chat deaktiviert Nachricht (html)',
'disabledtext' => 'Kurzzeitig deaktiviert',
'defaulttz' => 'Standard Zeitzone',
'tz' => 'Zeitzone',
'optional' => '(optional)',
'userloggedin' => 'Ein Nutzer mit diesem Nicknamen ist bereits angemeldet.',
'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',
);
?>

View File

@ -2,7 +2,7 @@
/*
* LE CHAT-PHP - a PHP Chat based on LE CHAT - English translation
*
* Copyright (C) 2015 Daniel Winzen <d@winzen4.de>
* 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
@ -18,15 +18,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
//Language: English
//Native language name: English
$I=array(
'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!',
'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',
@ -86,7 +86,7 @@ $I=array(
'guestwait' => 'Allow with waitingroom',
'adminallow' => 'Require moderator approval',
'guestdisallow' => 'Only members',
'addsuguest' => 'Add applicant',
'addsuguest' => 'Register applicant',
'register' => 'Register',
'admmembers' => 'Members',
'memdel' => 'Delete from database',
@ -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',
@ -153,7 +153,7 @@ $I=array(
'italic' => 'Italic',
'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',
@ -166,7 +166,7 @@ $I=array(
'savechanges' => 'Save changes',
'reloadpb' => 'Reload Post Box',
'reloadmsgs' => 'Reload Messages',
'chgprofile' => 'Change Profile',
'chgprofile' => 'Profile',
'adminbtn' => 'Admin',
'admnotes' => 'Admin Notes',
'notes' => 'Notes',
@ -180,7 +180,7 @@ $I=array(
'choosecol' => 'Guests, choose a colour:',
'randomcol' => 'Random Colour',
'enter' => 'Enter Chat',
'error' => 'Error:',
'error' => 'Error',
'members' => 'Members',
'guests' => 'Guests',
'approveguests' => '%d new guests to approve',
@ -260,7 +260,7 @@ $I=array(
'no' => 'No',
'colbg' => 'Background colour',
'coltxt' => 'Text colour',
'maxname' => 'Maximal user name length',
'maxname' => 'Maximal nickname length',
'minpass' => 'Minimal password length',
'defaultrefresh' => 'Default message reload time (seconds)',
'suguests' => 'Enable applicants',
@ -276,12 +276,10 @@ $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',
'topic' => 'Topic: %s',
'admtopic' => 'Topic',
'topic' => 'Topic',
'passreset' => 'Reset password',
'cantresetpass' => 'Can\'t reset password',
'succpassreset' => 'Successfully reset password',
@ -291,7 +289,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 - ',
@ -306,6 +304,65 @@ $I=array(
'numnotes' => 'Number of notes revisions to keep',
'revisions' => 'Revisions:',
'older' => 'Older',
'newer' => 'Newer'
'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',
);
?>

312
lang_es_AR.php Normal file
View File

@ -0,0 +1,312 @@
<?php
/*
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Spanish (ar) 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: Español (Argentina)
$T=array(
'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!',
'noconfirm' => '¡La contraseña y su confirmación no coinciden!',
'incorregex' => '¡Expresión regular incorrecta!',
'bottom' => 'Inicio',
'top' => 'Fin',
'choose' => '(elegí)',
'setup' => 'Configuración del chat',
'init' => 'Configuración inicial',
'sulogin' => 'Registro de Superadministrador',
'sunick' => 'Apodo del superadmin:',
'supass' => 'Contraseña del superadmin:',
'suconfirm' => 'Confirmar contraseña:',
'susuccess' => '¡Registrado con éxito!',
'initbtn' => 'Inicializar chat',
'initdbexist' => '¡La base de datos ya existe! Para continuar, primero tenés que borrar esas tablas manualmente.',
'initsuexist' => '¡Ya existe un superadministrador!',
'initgosetup' => 'Ir a la página de configuración',
'captcha' => 'Captcha',
'enabled' => 'Habilitado',
'onlyguests' => 'Sólo para invitados',
'disabled' => 'Deshabilitado',
'simple' => 'Simple',
'moderate' => 'Moderado',
'extreme' => 'Extremo',
'nick' => 'Apodo:',
'pass' => 'Constraseña:',
'globalloginpass' => 'Contraseña global:',
'login' => 'Identificarse',
'dbupdate' => '¡La base de datos fue actualizada con éxito!',
'sysmessages' => 'Mensajes de sistema',
'msgenter' => 'Entrando',
'msgexit' => 'Saliendo',
'msgmemreg' => 'Miembro registrado',
'msgsureg' => 'Aplicante registrado',
'msgkick' => 'Expulsado',
'msgmultikick' => 'Expulsión múltiple',
'msgallkick' => 'Todos expulsados',
'msgclean' => 'Sala limpiada',
'dateformat' => '<a target="_blank" href="http://php.net/manual/es/function.date.php#refsect1-function.date-parameters">Formato de fechas</a>',
'admfunc' => 'Funciones administrativas',
'allguests' => 'Todos invitados',
'cleanmsgs' => 'Limpiar mensajes',
'room' => 'Sala entera',
'selection' => 'Selección',
'cleannick' => 'Following nickname:',
'clean' => 'Clean',
'kickchat' => 'Expulsado (%d minutos)',
'kickreason' => 'Motivo de expulsión:',
'kickpurge' => 'Mensaje de purga',
'kick' => 'Expulsar',
'logoutinact' => 'Desconectar persona inactiva',
'logout' => 'Desconectar',
'sessions' => 'Ver sesiones activas',
'view' => 'Ver',
'filter' => 'Filtro',
'guestacc' => 'Change Guestaccess',
'guestallow' => 'Permitir',
'guestwait' => 'Permitir con sala de espera',
'adminallow' => 'Requiere aprobación del moderator',
'guestdisallow' => 'Sólo miembros',
'addsuguest' => 'Agregar aplicante',
'register' => 'Registrar',
'admmembers' => 'Miembros',
'memdel' => 'Borrar de la base de datos',
'memdeny' => 'Prohibir acceso (!)',
'memsuguest' => 'Convertir en aplicante (G)',
'memreg' => 'Convertir en miembro regular',
'memmod' => 'Convertir en moderador (M)',
'memsumod' => 'Convertir en supermoderador (SM)',
'memadm' => 'Convertir administrador (A)',
'change' => 'Cambiar',
'regguest' => 'Registrar invitado',
'regmem' => 'Registrar miembro nuevo',
'sessact' => 'Sesiones activas',
'sessnick' => 'Apodo',
'sesstimeout' => 'Vecnimiento',
'sessua' => 'Navegador',
'fid' => 'ID del filtro:',
'match' => 'Coincidencia',
'replace' => 'Reemplazar',
'allowpm' => 'Permitir en MP',
'regex' => 'Expresión regular',
'apply' => 'Aplicar',
'newfilter' => 'Filtro nuevo:',
'add' => 'Agregar',
'noframes' => 'Este chat usa <b>frames</b>. ¡Por favor, habilitalos en tu navegador o usá uno que los permita!',
'delselmes' => 'Borrar mensajes seleccionados',
'staffnotes' => 'Notas del equipo',
'adminnotes' => 'Notas de administrador',
'notessaved' => '¡Notas guardadas!',
'lastedited' => 'Editada por última vez por %1$s el %2$s',
'savenotes' => 'Guardar notas',
'waitingroom' => 'Sala de espera',
'waittext' => 'Bienvenido %1$s, tu identificación fue demorada, podrás acceder a la sala en %2$d segundos.',
'admwaittext' => 'Bienvenido %1$s, tu identificación fue demorada, podrás acceder a la sala en cuanto un administrador lo permita.',
'waitreload' => 'Si esta página no se actualiza cada %d segundos, usa el botón de abajo para hacerlo manualmente.',
'reload' => 'Recargar',
'rules' => 'Reglas',
'talkto' => 'Enviar a',
'toall' => 'Todos',
'tomem' => 'Sólo miembros',
'tostaff' => 'Sólo equipo',
'toadmin' => 'Sólo administradores',
'alsopurge' => 'Además purgar mensajes',
'dellast' => 'Eliminar el último mensaje',
'delall' => 'Eliminar todos los mensajes',
'switchsingle' => 'Cambiar a una sola línea',
'switchmulti' => 'Cambiar a múltiples líneas',
'help' => 'Ayuda',
'helpguest' => 'Todas las funciones deberían ser auto-explicativas, sólo usa los botones. En tu perfil puedes ajustar el tiempo de actualización, el color del texto y el tamaño de caja que prefieras.<br><u>Nota:</u> Esto es una sala de chat, así que si no te mantenés hablando, vas a ser expulsado automáticamete después de un tiempo.',
'helpembed' => 'Si querés incluir una imagen en tu publicación, simplemente poné [img] al comienzo de la dirección URL de la imagen. Por ejemplo: [img]http://example.com/images/file.jpg incluirá la imagen en tu publicación.',
'helpmem' => 'Miembros: Vas a tener algunas opciones más en tu perfil. Vas a poder ajustar la tipografía del texto y cambiar la contraseña en cualquier momento.',
'helpmod' => 'Moderadores: Notá el botón de administración al final de la página. Te va a llevar a una página donde podés limpiar la sala, expulsar personas, ver todas las sesiones activas y deshabilitar el acceso a invitados totalmente si fuese necesario.',
'helpadm' => 'Administradores: Además vas a poder registrar invitados, editar miembros y registrar nuevos apodos sin que estén en la sala.',
'profile' => 'Tu perfil',
'ignore' => 'Ignorar',
'unignore' => 'Dejar de ignorar',
'refreshrate' => 'Tiempo de actualización (5-150 segundos)',
'fontcolour' => 'Color de texto',
'viewexample' => 'Ver ejemplos',
'bgcolour' => 'Color de fondo',
'fontface' => 'Tipografía',
'roomdefault' => 'Sala por defecto',
'bold' => 'Negrita',
'italic' => 'Bastardilla',
'fontexample' => 'Ejemplo de la tipografía seleccionada',
'timestamps' => 'Mostrar fecha y hora',
'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:',
'confirmpass' => 'Confirmar contraseña nueva:',
'savechanges' => 'Guardar cambios',
'reloadpb' => 'Recargar caja de publicación',
'reloadmsgs' => 'Recargar mensajes',
'chgprofile' => 'Perfil',
'adminbtn' => 'Admin',
'admnotes' => 'Notas de administrador',
'notes' => 'Notas',
'clone' => 'Clone',
'randh' => 'Reglas y ayuda',
'exit' => 'Salir de la sala',
'bye' => '¡Chau %s, visitanos pronto!',
'colourtable' => 'Colourtable',
'backtoprofile' => 'Volver a tu perfil',
'copy' => 'Copiar:',
'choosecol' => 'Invitado, elegí un color:',
'randomcol' => 'Color al azar',
'enter' => 'Entrar a la sala',
'error' => 'Error',
'members' => 'Miembros',
'guests' => 'Invitados',
'approveguests' => '%d nuevos invitados para aprobar',
'allowchecked' => 'Aceptar marcados',
'allowall' => 'Aceptar todos',
'denychecked' => 'Rechazar marcados',
'denyall' => 'Rechazar todos',
'denymessage' => 'Enviar mensaje a rechazados:',
'butallowdeny' => 'Enviar',
'waitempty' => 'No hay más peticiones para aprobar.',
'wrongcaptcha' => 'Captcha incorrecto',
'captchaexpire' => 'Captcha ya usado o vencido.',
'noguests' => '¡Perdón! Actualmente sólo se permiten miembros.',
'curchat' => 'En este momento hay %d personas en la sala:',
'cantreg' => 'No pudo registrarse %s',
'alreadyreged' => '%s ya fue registrado.',
'successreg' => '%s se registro sin problemas.',
'cantchgstat' => 'No pudo cambiarse el estado de %s',
'succdel' => '%s fue eliminado de la base de datos.',
'succchg' => 'Se cambió el estado de %s sin problemas.',
'wrongpass' => '¡Constraseña incorrecta!',
'wrongglobalpass' => '¡Constraseña global incorrecta!',
'succprofile' => 'Tu perfil se guardó sin problemas.',
'backtologin' => 'Volver a la página de identificación.',
'backtochat' => 'Vovler a la sala.',
'Beige' => 'Beige',
'Black' => 'Negro',
'Blue' => 'Azul',
'BlueViolet' => 'Azul violáceo',
'Brown' => 'Marrón',
'Cyan' => 'Cian',
'DarkBlue' => 'Azul oscuro',
'DarkGreen' => 'Verde oscuro',
'DarkRed' => 'Rojo oscuro',
'DarkViolet' => 'Violeta oscuro',
'DeepSkyBlue' => 'Azul celeste',
'Gold' => 'Dorado',
'Grey' => 'Gris',
'Green' => 'Verde',
'HotPink' => 'Rosa cálido',
'Indigo' => 'Índigo',
'LightBlue' => 'Azul claro',
'LightGreen' => 'Verde claro',
'LimeGreen' => 'Verde lima',
'Magenta' => 'Magenta',
'Olive' => 'Oliva',
'Orange' => 'Naranja',
'OrangeRed' => 'Rojo anaranjado',
'Purple' => 'Púrpura',
'Red' => 'Rojo',
'RoyalBlue' => 'Azul real',
'SeaGreen' => 'Verde marino',
'Sienna' => 'Siena',
'Silver' => 'Plateado',
'Tan' => 'Bronceado',
'Teal' => 'Cerceta',
'Violet' => 'Violeta',
'White' => 'Blanco',
'Yellow' => 'Amarillo',
'YellowGreen' => 'Verde amarillento',
'redirectto' => 'Redirigir a:',
'nonhttp' => 'Petición de enlace que no es http:',
'httpredir' => 'Si no funciona, probá esto:',
'actions' => 'Acciones',
'sesip' => 'Dirección IP',
'css' => 'Estilo CSS',
'memberexpire' => 'Vencimiento para miembros (minutos)',
'guestexpire' => 'Vencimiento para invitados (minutos)',
'kickpenalty' => 'Penalidad al expulsar (minutos)',
'entrywait' => 'Tiempo en sala de espera (segundos)',
'captchatime' => 'Vencimiento de captcha (segundos)',
'messageexpire' => 'Vencimiento de mensajes (minutos)',
'messagelimit' => 'Límite de mensajes (público)',
'maxmessage' => 'Largo máximo de mensaje',
'confirm' => '¿Estás seguro?',
'yes' => 'Sí',
'no' => 'No',
'colbg' => 'Color de fondo',
'coltxt' => 'Color de texto',
'maxname' => 'Largo máximo para apodos',
'minpass' => 'Largo mínimo para contraseñas',
'defaultrefresh' => 'Tiempo de actualización de mensajes por defecto (segundos)',
'suguests' => 'Habilitar aplicantes',
'rulestxt' => 'Reglas (html)',
'imgembed' => 'Imágenes incrustadas',
'trackip' => 'Mostrar IP de la sesión',
'captchachars' => 'Caracteres usados en el Captcha',
'memkick' => 'Los miembros pueden expulsar, si no hay moderador presente',
'forceredirect' => 'Forzar redirección',
'redirect' => 'Script de redirección personalizado',
'backuprestore' => 'Copias de seguridad',
'backup' => 'Hacer copia',
'restore' => 'Restablacer copia',
'settings' => 'Configuración',
'linkfilter' => 'Filtro de enlaces',
'chatname' => 'Nombre de la sala',
'destroy' => 'Destruir sala',
'destroyed' => 'Sala destruida satisfactoriamente',
'topic' => 'Asunto',
'passreset' => 'Reiniciar contraseña',
'cantresetpass' => 'Can\'t reset password',
'succpassreset' => 'Successfully reset password',
'entermsg' => '%s entró en la sala.',
'exitmsg' => '%s se fue de la sala.',
'memregmsg' => '%s ahora es un miembro registrado.',
'suregmsg' => '%s ahora es un aplicante registrado.',
'kickmsg' => '%s fue expulsado.',
'multikickmsg' => '%s fueron expulsados.',
'allkickmsg' => 'Todas las personas fueron expulsadas.',
'cleanmsg' => '%s fue limpiada.',
'sendallmsg' => '%s - ',
'sendmemmsg' => '[M] %s - ',
'sendmodmsg' => '[Staff] %s - ',
'sendadmmsg' => '[Admin] %s - ',
'sendprvmsg' => '[%1$s a %2$s] - ',
'msgsendall' => 'Mensajes a todos',
'msgsendmem' => 'Sólo mensajes a miembros',
'msgsendmod' => 'Sólo mensajes a staff',
'msgsendadm' => 'Sólo mensajes a administradores',
'msgsendprv' => 'Mensaje privado',
'numnotes' => 'Number of notes revisions to keep',
'revisions' => 'Revisiones:',
'older' => 'Older',
'newer' => 'Newer',
'accessdenied' => 'Acceso no permitido',
'loggedinas' => 'Estás identificado como %s y no tenés acceso a esta sección.',
'newnickname' => 'Nuevo apodo:',
'nicknametaken' => 'Ese apodo ya fue tomado',
'nopass' => 'Constraseña incorrecta (al menos %d caracteres), no se cambia apodo'
);
?>

312
lang_es_ES.php Normal file
View File

@ -0,0 +1,312 @@
<?php
/*
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Spanish (ES) 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: Español (España)
$T=array(
'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!',
'noconfirm' => '¡La contraseña y su confirmación no coinciden!',
'incorregex' => '¡Expresión regular incorrecta!',
'bottom' => 'Inicio',
'top' => 'Fin',
'choose' => '(elija)',
'setup' => 'Configuración del chat',
'init' => 'Configuración inicial',
'sulogin' => 'Registro de Superadministrador',
'sunick' => 'Apodo del superadmin:',
'supass' => 'Contraseña del superadmin:',
'suconfirm' => 'Confirmar contraseña:',
'susuccess' => '¡Registrado con éxito!',
'initbtn' => 'Inicializar chat',
'initdbexist' => '¡La base de datos ya existe! Para continuar, primero tienes que borrar esas tablas manualmente.',
'initsuexist' => '¡Ya existe un superadministrador!',
'initgosetup' => 'Ir a la página de configuración',
'captcha' => 'Captcha',
'enabled' => 'Habilitado',
'onlyguests' => 'Sólo para invitados',
'disabled' => 'Deshabilitado',
'simple' => 'Simple',
'moderate' => 'Moderado',
'extreme' => 'Extremo',
'nick' => 'Apodo:',
'pass' => 'Constraseña:',
'globalloginpass' => 'Contraseña global:',
'login' => 'Identificarse',
'dbupdate' => '¡La base de datos fue actualizada con éxito!',
'sysmessages' => 'Mensajes de sistema',
'msgenter' => 'Entrando',
'msgexit' => 'Saliendo',
'msgmemreg' => 'Miembro registrado',
'msgsureg' => 'Aplicante registrado',
'msgkick' => 'Expulsado',
'msgmultikick' => 'Expulsión múltiple',
'msgallkick' => 'Todos expulsados',
'msgclean' => 'Sala limpiada',
'dateformat' => '<a target="_blank" href="http://php.net/manual/en/function.date.php#refsect1-function.date-parameters">Date formating</a>',
'admfunc' => 'Funciones administrativas',
'allguests' => 'Todos invitados',
'cleanmsgs' => 'Limpiar mensajes',
'room' => 'Sala entera',
'selection' => 'Selección',
'cleannick' => 'Following nickname:',
'clean' => 'Clean',
'kickchat' => 'Expulsado (%d minutos)',
'kickreason' => 'Motivo de expulsión:',
'kickpurge' => 'Mensaje de purga',
'kick' => 'Expulsar',
'logoutinact' => 'Desconectar persona inactiva',
'logout' => 'Desconectar',
'sessions' => 'Ver sesiones activas',
'view' => 'Ver',
'filter' => 'Filtro',
'guestacc' => 'Change Guestaccess',
'guestallow' => 'Permitir',
'guestwait' => 'Permitir con sala de espera',
'adminallow' => 'Requiere aprobación del moderator',
'guestdisallow' => 'Sólo miembros',
'addsuguest' => 'Agregar aplicante',
'register' => 'Registrar',
'admmembers' => 'Miembros',
'memdel' => 'Borrar de la base de datos',
'memdeny' => 'Denegar acceso (!)',
'memsuguest' => 'Convertir en aplicante (G)',
'memreg' => 'Convertir en miembro regular',
'memmod' => 'Convertir en moderador (M)',
'memsumod' => 'Convertir en supermoderador (SM)',
'memadm' => 'Convertir administrador (A)',
'change' => 'Cambiar',
'regguest' => 'Registrar invitado',
'regmem' => 'Registrar miembro nuevo',
'sessact' => 'Sesiones activas',
'sessnick' => 'Apodo',
'sesstimeout' => 'Expiración',
'sessua' => 'Navegador',
'fid' => 'ID del filtro:',
'match' => 'Coincidencia',
'replace' => 'Reemplazar',
'allowpm' => 'Permitir en MP',
'regex' => 'Expresión regular',
'apply' => 'Aplicar',
'newfilter' => 'Filtro nuevo:',
'add' => 'Añadir',
'noframes' => 'Este chat usa <b>frames</b>. ¡Por favor, habilítalos en tu navegador o usa uno que los permita!',
'delselmes' => 'Borrar mensajes seleccionados',
'staffnotes' => 'Notas del equipo',
'adminnotes' => 'Notas de administrador',
'notessaved' => '¡Notas guardadas!',
'lastedited' => 'Editada por última vez por %1$s el %2$s',
'savenotes' => 'Guardar notas',
'waitingroom' => 'Sala de espera',
'waittext' => 'Bienvenido %1$s, tu identificación fue demorada, podrás acceder a la sala en %2$d segundos.',
'admwaittext' => 'Bienvenido %1$s, tu identificación fue demorada, podrás acceder a la sala en cuanto un administrador lo permita.',
'waitreload' => 'Si esta página no se actualiza cada %d segundos, usa el botón de abajo para hacerlo manualmente.',
'reload' => 'Recargar',
'rules' => 'Reglas',
'talkto' => 'Enviar a',
'toall' => 'Todos',
'tomem' => 'Sólo miembros',
'tostaff' => 'Sólo equipo',
'toadmin' => 'Sólo administradores',
'alsopurge' => 'Además purgar mensajes',
'dellast' => 'Eliminar el último mensaje',
'delall' => 'Eliminar todos los mensajes',
'switchsingle' => 'Cambiar a una sola línea',
'switchmulti' => 'Cambiar a múltiples líneas',
'help' => 'Ayuda',
'helpguest' => 'Todas las funciones deberían ser auto-explicativas, sólo usa los botones. En tu perfil puedes ajustar el tiempo de refresco, el color del texto y el tamaño de caja que prefieras.<br><u>Nota:</u> Esto es una sala de chat, así que si no te mantienes hablando, serás desconectado automáticamete luego de un tiempo.',
'helpembed' => 'Si quieres incluir una imagen en tu publicación, simplemente pon [img] al comienzo de la dirección URL de la imagen. Por ejemplo: [img]http://example.com/images/file.jpg incluirá la imagen en tu publicación.',
'helpmem' => 'Miembros: Tendrás algunas opciones adicionales en tu perfil. Podrás ajustar la tipografía del texto y cambiar la contraseña en cualquier momento.',
'helpmod' => 'Moderadores: Nota el botón de administración al final de la página. Te llevará a una página donde puedes limpiar la sala, expulsar personas, ver todas las sesiones activas y deshabilitar el acceso a invitados totalmente si fuese necesario.',
'helpadm' => 'Administradores: Además podrás registrar invitados, editar miembros y registrar nuevos apodos sin que estén en la sala.',
'profile' => 'Tu perfil',
'ignore' => 'Ignorar',
'unignore' => 'Dejar de ignorar',
'refreshrate' => 'Tiempo de actualización (5-150 segundos)',
'fontcolour' => 'Color de texto',
'viewexample' => 'Ver ejemplos',
'bgcolour' => 'Color de fondo',
'fontface' => 'Tipografía',
'roomdefault' => 'Sala por defecto',
'bold' => 'Negrita',
'italic' => 'Bastardilla',
'fontexample' => 'Ejemplo de la tipografía seleccionada',
'timestamps' => 'Mostrar fecha y hora',
'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:',
'confirmpass' => 'Confirmar contraseña nueva:',
'savechanges' => 'Guardar cambios',
'reloadpb' => 'Recargar caja de publicación',
'reloadmsgs' => 'Recargar mensajes',
'chgprofile' => 'Perfil',
'adminbtn' => 'Admin',
'admnotes' => 'Notas de administrador',
'notes' => 'Notas',
'clone' => 'Clone',
'randh' => 'Reglas y ayuda',
'exit' => 'Salir de la sala',
'bye' => '¡Chau %s, visitanos pronto!',
'colourtable' => 'Colourtable',
'backtoprofile' => 'Volver a tu perfil',
'copy' => 'Copiar:',
'choosecol' => 'Invitado, elija un color:',
'randomcol' => 'Color al azar',
'enter' => 'Ingresar a la sala',
'error' => 'Error',
'members' => 'Miembros',
'guests' => 'Invitados',
'approveguests' => '%d nuevos invitados para aprobar',
'allowchecked' => 'Aceptar marcados',
'allowall' => 'Aceptar todos',
'denychecked' => 'Rechazar marcados',
'denyall' => 'Rechazar todos',
'denymessage' => 'Enviar mensaje a rechazados:',
'butallowdeny' => 'Enviar',
'waitempty' => 'No hay más peticiones para aprobar.',
'wrongcaptcha' => 'Captcha incorrecto',
'captchaexpire' => 'Captcha ya usado o expirado.',
'noguests' => '¡Perdón! Actualmente sólo se permiten miembros.',
'curchat' => 'Actualmente hay %d personas en la sala:',
'cantreg' => 'No pudo registrarse %s',
'alreadyreged' => '%s ya fue registrado.',
'successreg' => '%s se registro exitosamente.',
'cantchgstat' => 'No pudo cambiarse el estado de %s',
'succdel' => '%s fue eliminado de la base de datos.',
'succchg' => 'Se cambió el estado de %s exitosamente.',
'wrongpass' => '¡Constraseña incorrecta!',
'wrongglobalpass' => '¡Constraseña global incorrecta!',
'succprofile' => 'Tu perfil se guardó satisfactoriamente.',
'backtologin' => 'Volver a la página de identificación.',
'backtochat' => 'Vovler a la sala.',
'Beige' => 'Beis',
'Black' => 'Negro',
'Blue' => 'Azul',
'BlueViolet' => 'Azul violáceo',
'Brown' => 'Marrón',
'Cyan' => 'Cian',
'DarkBlue' => 'Azul oscuro',
'DarkGreen' => 'Verde oscuro',
'DarkRed' => 'Rojo oscuro',
'DarkViolet' => 'Violeta oscuro',
'DeepSkyBlue' => 'Azul celeste',
'Gold' => 'Dorado',
'Grey' => 'Gris',
'Green' => 'Verde',
'HotPink' => 'Rosa cálido',
'Indigo' => 'Índigo',
'LightBlue' => 'Azul claro',
'LightGreen' => 'Verde claro',
'LimeGreen' => 'Verde lima',
'Magenta' => 'Magenta',
'Olive' => 'Oliva',
'Orange' => 'Naranja',
'OrangeRed' => 'Rojo anaranjado',
'Purple' => 'Púrpura',
'Red' => 'Rojo',
'RoyalBlue' => 'Azul real',
'SeaGreen' => 'Verde marino',
'Sienna' => 'Siena',
'Silver' => 'Plateado',
'Tan' => 'Bronceado',
'Teal' => 'Cerceta',
'Violet' => 'Violeta',
'White' => 'Blanco',
'Yellow' => 'Amarillo',
'YellowGreen' => 'Verde amarillento',
'redirectto' => 'Redirigir hacia:',
'nonhttp' => 'Petición de enlace que no es http:',
'httpredir' => 'Si no funciona, prueba esto:',
'actions' => 'Acciones',
'sesip' => 'Dirección IP',
'css' => 'Estilo CSS',
'memberexpire' => 'Expiración para miembros (minutos)',
'guestexpire' => 'Expiración para invitados (minutos)',
'kickpenalty' => 'Penalidad al expulsar (minutos)',
'entrywait' => 'Tiempo en sala de espera (segundos)',
'captchatime' => 'Expiración de captcha (segundos)',
'messageexpire' => 'Expiracíon de mensajes (minutos)',
'messagelimit' => 'Límite de mensajes (público)',
'maxmessage' => 'Largo máximo de mensaje',
'confirm' => '¿Estás seguro?',
'yes' => 'Sí',
'no' => 'No',
'colbg' => 'Color de fondo',
'coltxt' => 'Color de texto',
'maxname' => 'Largo máximo para apodos',
'minpass' => 'Largo mínimo para contraseñas',
'defaultrefresh' => 'Tiempo de refresco de mensajes por defecto (segundos)',
'suguests' => 'Habilitar aplicantes',
'rulestxt' => 'Reglas (html)',
'imgembed' => 'Imágenes incrustadas',
'trackip' => 'Mostrar IP de la sesión',
'captchachars' => 'Caracteres usados en el Captcha',
'memkick' => 'Los miembros pueden expulsar, si no hay moderador presente',
'forceredirect' => 'Forzar redirección',
'redirect' => 'Script de redirección personalizado',
'backuprestore' => 'Respaldar y restaurar',
'backup' => 'Respaldar',
'restore' => 'Restaurar',
'settings' => 'Preferencias',
'linkfilter' => 'Filtro de enlaces',
'chatname' => 'Nombre de la sala',
'destroy' => 'Destruir sala',
'destroyed' => 'Sala destruida satisfactoriamente',
'topic' => 'Asunto',
'passreset' => 'Reiniciar contraseña',
'cantresetpass' => 'Can\'t reset password',
'succpassreset' => 'Successfully reset password',
'entermsg' => '%s entró en la sala.',
'exitmsg' => '%s se fue de la sala.',
'memregmsg' => '%s ahora es un miembro registrado.',
'suregmsg' => '%s ahora es un aplicante registrado.',
'kickmsg' => '%s fue expulsado.',
'multikickmsg' => '%s fueron expulsados.',
'allkickmsg' => 'Todas las personas fueron expulsadas.',
'cleanmsg' => '%s fue limpiada.',
'sendallmsg' => '%s - ',
'sendmemmsg' => '[M] %s - ',
'sendmodmsg' => '[Equipo] %s - ',
'sendadmmsg' => '[Admin] %s - ',
'sendprvmsg' => '[%1$s a %2$s] - ',
'msgsendall' => 'Mensajes a todos',
'msgsendmem' => 'Sólo mensajes a miembros',
'msgsendmod' => 'Sólo mensajes a equipo',
'msgsendadm' => 'Sólo mensajes a administradores',
'msgsendprv' => 'Mensaje privado',
'numnotes' => 'Number of notes revisions to keep',
'revisions' => 'Revisiones:',
'older' => 'Older',
'newer' => 'Newer',
'accessdenied' => 'Acceso denegado',
'loggedinas' => 'Estás identificado como %s y no tenés acceso a esta sección.',
'newnickname' => 'Nuevo apodo:',
'nicknametaken' => 'Ese apodo ya fue tomado',
'nopass' => 'Constraseña incorrecta (al menos %d caracteres), no se cambia apodo'
);
?>

312
lang_fr.php Normal file
View File

@ -0,0 +1,312 @@
<?php
/*
* LE CHAT-PHP - a PHP Chat based on LE CHAT - French 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: Français
$T=array(
'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é!',
'noconfirm' => 'Confirmation mot du passe ne correspond pas! ',
'incorregex' => 'Expression régulière incorrecte!',
'bottom' => 'Bas',
'top' => 'Haut',
'choose' => '(choisir)',
'setup' => 'Installation du chat',
'init' => 'Initialisation',
'sulogin' => 'Connexion du super administrateur',
'sunick' => 'Pseudo super administrateur:',
'supass' => 'Mot de passe du super administrateur:',
'suconfirm' => 'Confirmer le mot de passe:',
'susuccess' => 'Enregistré avec succès!',
'initbtn' => 'Initalisation du chat',
'initdbexist' => 'Les tables de base de données existent déjà! Pour continuer, vous devez supprimer les tables manuellement.',
'initsuexist' => 'Un super administrateur existe déjà!',
'initgosetup' => 'Allez à la page d\'installation',
'captcha' => 'Captcha',
'enabled' => 'installé',
'onlyguests' => 'Seulements les invités',
'disabled' => 'Désinstallé',
'simple' => 'Simple',
'moderate' => 'Moderé',
'extreme' => 'Extrême',
'nick' => 'Pseudo:',
'pass' => 'Mot de passe:',
'globalloginpass' => 'Mot de passe global:',
'login' => 'Connexion',
'dbupdate' => 'Base de données installée!',
'sysmessages' => 'Messages du système',
'msgenter' => 'Entrer',
'msgexit' => 'Quitter',
'msgmemreg' => 'Membre enregisté',
'msgsureg' => 'Candidat inscrit',
'msgkick' => 'Banni / éjecté!',
'msgmultikick' => 'Multiples éjections',
'msgallkick' => 'Éjection globale',
'msgclean' => 'Messages nettoyés',
'dateformat' => '<a target="_blank" href="http://php.net/manual/en/function.date.php#refsect1-function.date-parameters">Format de date</a>',
'admfunc' => 'Fonctions d\'administration',
'allguests' => 'Tous les invités',
'cleanmsgs' => 'Messages nettoyés',
'room' => 'Salon',
'selection' => 'Sélection',
'cleannick' => 'Suivre le pseudo:',
'clean' => 'Nettoyé',
'kickchat' => 'Pseudos éjectés (%d minutes)',
'kickreason' => 'Messages interdis:',
'kickpurge' => 'Purger les messages',
'kick' => 'Banni / éjecté',
'logoutinact' => 'Déconnexion chatteur inactif',
'logout' => 'Déconnexion',
'sessions' => 'Visualiser les sessions actives',
'view' => 'Voir',
'filter' => 'Filtré',
'guestacc' => 'Changer l\'accès de l\'invité',
'guestallow' => 'Autorisé',
'guestwait' => 'Autorisé avec l\'attente dans le salon',
'adminallow' => 'Demande l\'approbation du modérateur',
'guestdisallow' => 'Seulement les membres',
'addsuguest' => 'Ajouter un candidat',
'register' => 'Enregistrer',
'admmembers' => 'Membres',
'memdel' => 'Effacer de la base de données',
'memdeny' => 'Acces interdit (!)',
'memsuguest' => 'Ajouter comme candidat (G)',
'memreg' => 'Ajouter comme membre regulier',
'memmod' => 'Ajouter comme modérateur (M)',
'memsumod' => 'Ajouter comme super modérateur (SM)',
'memadm' => 'Ajouter comme administrateur (A)',
'change' => 'Changer',
'regguest' => 'Enregister un invité',
'regmem' => 'Enregistrer un nouveau membre',
'sessact' => ' Sessions actives',
'sessnick' => 'Pseudo',
'sesstimeout' => 'Expire dans',
'sessua' => 'User-Agent',
'fid' => 'Filtre ID:',
'match' => 'Correspond',
'replace' => 'Replacé',
'allowpm' => 'Authorisé en PM',
'regex' => 'Regex',
'apply' => 'Appliqué',
'newfilter' => 'Nouveau filtre:',
'add' => 'Ajouter',
'noframes' => 'Ce chat utlise les <b>cadres</b>. S\'il vous plaît autoriser les cadres dans votre navigateur! !',
'delselmes' => 'Effacer les messages sélectionnés',
'staffnotes' => 'Notes des gestionnaires',
'adminnotes' => 'Notes d\'administrateur',
'notessaved' => 'Notes enregistrées!',
'lastedited' => 'Dernière édition fait par %1$s à %2$s',
'savenotes' => 'Sauvegarder les notes',
'waitingroom' => 'Salle d\'attente',
'waittext' => 'Bienvenue %1$s, votre connexion a été mise en attente, votre accès au chat dans %2$d secondes.',
'admwaittext' => 'Bienvenue %1$s, votre connexion a été mise en attente, votre accès au chat se fera bientôt, dès qu\'un modérateur le décidera.',
'waitreload' => 'Si cette page n\'apparaît pas à chaque %d secondes, utilisez le bouton plus bas pour recharger manuellement!',
'reload' => 'Rechargé',
'rules' => 'Règles',
'talkto' => 'Envoyer à',
'toall' => 'À tous les chatteurs',
'tomem' => 'Membres seulement',
'tostaff' => 'Gestionnaire seulement',
'toadmin' => 'Administrateur seulement',
'alsopurge' => 'Purger les messages',
'dellast' => 'Effacer les derniers messages',
'delall' => 'Effacer tous les messages',
'switchsingle' => 'Baculer à une seule ligne',
'switchmulti' => 'Basculer à plusieurs lignes',
'help' => 'Aide',
'helpguest' => 'Toutes les fonctions devraient être plutôt bien auto-explicatives, il suffit d\'utiliser les boutons. Dans votre profil, vous pouvez ajuster le taux de rafraîchissement, la couleur de police et votre taille préférée de la boîte d\'entrée.<br><u>Note:</u> C\'est un chat, donc si vous arrêter de parler, vous serez automatiquement déconnecté après un certain lapse de temps.',
'helpembed' => 'Si vous souhaitez intégrer une image dans votre message, il suffit simplement de ajouter [img] en face de votre URL de l\'image. Exemple: [img]http://example.com/images/file.jpg intégrera l\'image dans votre message.',
'helpmem' => 'Membres: vous aurez encore plus d\'options dans votre profil. Vous pouvez ajuster votre type de police et vous pouvez changer votre mot de passe à tout moment.',
'helpmod' => 'Moderateurs: Remarquez le bouton administrateur en bas. Il va mettre en place une page où vous pouvez nettoyer le salon, les chatteurs éjectés, voir toutes les sessions actives et désactiver complètement l\'accès des invités si nécessaire.',
'helpadm' => 'Administrateurs: Vous serez en mesure d\'enregistrer les invités, modifier et enregistrer de nouveaux membres sans qu\'ils soient dans le salon.',
'profile' => 'Votre profile',
'ignore' => 'Ignoré',
'unignore' => 'Ne jamais plus ignorer',
'refreshrate' => 'Taux de rafraichissement (5-150 seconds)',
'fontcolour' => 'Couleur des polices',
'viewexample' => 'Visualiser les exemples',
'bgcolour' => 'Couleur de fond',
'fontface' => 'Ajustement des polices',
'roomdefault' => 'Salon par défaut',
'bold' => 'Gras',
'italic' => 'Italique',
'fontexample' => 'Exemple de choix de polices',
'timestamps' => 'Afficher l\'horodatage',
'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:',
'confirmpass' => 'Confirmer votre nouveau mot de passe:',
'savechanges' => 'Sauvegarder les modifications',
'reloadpb' => 'Recharger la boite de texte',
'reloadmsgs' => 'Recharger les messages',
'chgprofile' => 'Profile',
'adminbtn' => 'Administrateur',
'admnotes' => 'Notes de l\'administrateur',
'notes' => 'Notes',
'clone' => 'Clone',
'randh' => 'Règles & Aide',
'exit' => 'Sortir du Chat',
'bye' => 'Au revoir %s, revenez nous voir bientôt!',
'colourtable' => 'Table de couleur',
'backtoprofile' => 'Retourner à votre profile',
'copy' => 'Copie:',
'choosecol' => 'Invité, choisir une couleur:',
'randomcol' => 'Couleur aléatoire',
'enter' => 'Entrer',
'error' => 'Erreur',
'members' => 'Membres',
'guests' => 'Invités',
'approveguests' => '%d nouveaux invités à approuver',
'allowchecked' => 'Autoriser d\'enregistrer',
'allowall' => 'Autoriser tout le monde',
'denychecked' => 'Refuser d\'enregistrer',
'denyall' => 'Refuser tout le monde',
'denymessage' => 'Envoyer un message interdit:',
'butallowdeny' => 'Transmettre',
'waitempty' => 'Plus aucunes entrées à approuver.',
'wrongcaptcha' => 'Mauvais Captcha',
'captchaexpire' => 'Captcha déjà utilisé ou expiré.',
'noguests' => 'Désolé, disponible seulement que pour les membres!',
'curchat' => 'Actuellement il y a %d chatteur(s) dans le salon:',
'cantreg' => 'Ne peut enregistrer %s',
'alreadyreged' => '%s est déjà enregistré.',
'successreg' => '%s enregistré avec succes.',
'cantchgstat' => 'Ne peut changer le statut de %s',
'succdel' => '%s effacé de la base de données avec succès.',
'succchg' => 'Le statut de %s a changé avec succès.',
'wrongpass' => 'Mauvais mot de passe!',
'wrongglobalpass' => 'Mauvais mot de passe global!',
'succprofile' => 'Votre profile a bien étét enregistré.',
'backtologin' => 'Retour à la page d\'authentification.',
'backtochat' => 'Retour au chat.',
'Beige' => 'Beige',
'Black' => 'Noir',
'Blue' => 'Blue',
'BlueViolet' => 'Blue violet',
'Brown' => 'Brun',
'Cyan' => 'Cyan',
'DarkBlue' => 'Bleu foncé',
'DarkGreen' => 'Vert foncé',
'DarkRed' => 'Rouge foncé',
'DarkViolet' => 'Violet foncé',
'DeepSkyBlue' => 'Bleu ciel',
'Gold' => 'Or',
'Grey' => 'Gris',
'Green' => 'Vert',
'HotPink' => 'Rose indien',
'Indigo' => 'Indigo',
'LightBlue' => 'Bleu Pâle',
'LightGreen' => 'Vert pâle',
'LimeGreen' => 'Vert lime',
'Magenta' => 'Magenta',
'Olive' => 'Olive',
'Orange' => 'Orange',
'OrangeRed' => 'Rouge orangé',
'Purple' => 'Mauve',
'Red' => 'Rouge',
'RoyalBlue' => 'Bleu royal',
'SeaGreen' => 'Vert océan',
'Sienna' => 'Sienna',
'Silver' => 'Argent',
'Tan' => 'Beige',
'Teal' => 'Bleu-vert foncé',
'Violet' => 'Violet',
'White' => 'Blanc',
'Yellow' => 'Jaune',
'YellowGreen' => 'Jaune-verdâtre ',
'redirectto' => 'Redirection vers:',
'nonhttp' => 'Lien Non-http demandé:',
'httpredir' => 'Si cela ne fonctionne pas, il suffit d\'essayer celui si:',
'actions' => 'Actions',
'sesip' => 'IP-Adresse',
'css' => 'Style css',
'memberexpire' => 'Délai expiré pour un membre (minutes)',
'guestexpire' => 'Délai expiré pour un visiteur (minutes)',
'kickpenalty' => 'Pénalité d\'expulsion (minutes)',
'entrywait' => 'Délai pour entrer au chat (seconds)',
'captchatime' => 'Délai du Captcha expiré (seconds)',
'messageexpire' => 'Délai expiré pour le message (minutes)',
'messagelimit' => 'Limite du message (publique)',
'maxmessage' => 'Longueur maximale du message',
'confirm' => 'êtes-vous certain ?',
'yes' => 'Oui',
'no' => 'Non',
'colbg' => 'Couleur de fond',
'coltxt' => 'Couleur du Texte',
'maxname' => 'Longueur maximale pour le Pseudo',
'minpass' => 'Longueur minimale du mot de passe',
'defaultrefresh' => 'Temps de rechargement du message par défaut (seconds)',
'suguests' => 'Autorisé un candidat',
'rulestxt' => 'Règles (html)',
'imgembed' => 'Images imbriquées',
'trackip' => 'Voir la session-IP',
'captchachars' => 'Charactères utilisés dans le Captcha',
'memkick' => 'Membres peuvent expulsés, si le modérateur est absent',
'forceredirect' => 'Forcer la redirection',
'redirect' => 'Personnalisation du script de redirection',
'backuprestore' => 'Sauvegarder et récupérer',
'backup' => 'Sauvegarder',
'restore' => 'Récupérer',
'settings' => 'Paramètres',
'linkfilter' => 'Lien filtré',
'chatname' => 'Nom du chat',
'destroy' => 'Destruction du chat',
'destroyed' => 'Chat supprimé',
'topic' => 'Sujet',
'passreset' => 'Réinitialisation du mot de passe',
'cantresetpass' => 'Ne peut pas réinitialiser le mot de passe',
'succpassreset' => 'Réinitialisation du mot de passe ok! ',
'entermsg' => '%s est arrivé sur le chat.',
'exitmsg' => '%s a quitté le chat.',
'memregmsg' => '%s est maintenant un membre enregistré.',
'suregmsg' => '%s est maintenant un candidat enregistré.',
'kickmsg' => '%s a été expulsé.',
'multikickmsg' => '%s ont été expulsé.',
'allkickmsg' => 'Tous les chatteurs ont été expulsé.',
'cleanmsg' => '%s a été nettoyé.',
'sendallmsg' => '%s - ',
'sendmemmsg' => '[Membre] %s - ',
'sendmodmsg' => '[Gestionnaire] %s - ',
'sendadmmsg' => '[Administrateur] %s - ',
'sendprvmsg' => '[%1$s to %2$s] - ',
'msgsendall' => 'Message à tous',
'msgsendmem' => 'Message aux membres seulement',
'msgsendmod' => 'Message pour les gestionnaires seulement',
'msgsendadm' => 'Message pour les administrateurs seulement',
'msgsendprv' => 'Message privé',
'numnotes' => 'Nombre de notes révisées à conserver',
'revisions' => 'Révisions:',
'older' => 'Précédent',
'newer' => 'Nouveau',
'accessdenied' => 'Accès interdit',
'loggedinas' => 'Vous êtes connecté en tant que %s et vous n\'avez pas accès à cette section.',
'newnickname' => 'Nouveau Pseudo:',
'nicknametaken' => 'Pseudo déjà pris',
'nopass' => 'Mot de passe invalide (au moins % caractères), ne pas changer le pseudo',
);
?>

312
lang_id.php Normal file
View File

@ -0,0 +1,312 @@
<?php
/*
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Indonesian 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: Bahasa Indonesia
$T=array(
'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!',
'noconfirm' => 'Konfirmasi kata sandi tidak cocok!',
'incorregex' => 'Regular expression salah!',
'bottom' => 'Bawah',
'top' => 'Atas',
'choose' => '(pilih)',
'setup' => 'Pengaturan obrolan',
'init' => 'Pengaturan awal',
'sulogin' => 'Masuk Superadmin',
'sunick' => 'Nama Superadmin:',
'supass' => 'Kata sandi Superadmin:',
'suconfirm' => 'Konfirmasi kata sandi:',
'susuccess' => 'Berhasil terdaftar!',
'initbtn' => 'Memulai obrolan',
'initdbexist' => 'Tabel basisdata sudah ada! Untuk melanjutkan, Anda harus menghapus tabel ini secara manual terlebih dahulu.',
'initsuexist' => 'Superadmin sudah ada!',
'initgosetup' => 'Ke halaman-pengaturan',
'captcha' => 'Captcha',
'enabled' => 'Diaktifkan',
'onlyguests' => 'Hanya untuk tamu',
'disabled' => 'Dimatikan',
'simple' => 'Sederhana',
'moderate' => 'Moderat',
'extreme' => 'Ekstrim',
'nick' => 'Nama:',
'pass' => 'Kata sandi:',
'globalloginpass' => 'Sandi global:',
'login' => 'Masuk',
'dbupdate' => 'Basisdata berhasil diperbarui!',
'sysmessages' => 'Sistem perpesanan',
'msgenter' => 'Memasuki',
'msgexit' => 'Meninggalkan',
'msgmemreg' => 'Anggota terdaftar',
'msgsureg' => 'Pemohon terdaftar',
'msgkick' => 'Diusir',
'msgmultikick' => 'Pemohon diusir',
'msgallkick' => 'Semuanya diusir',
'msgclean' => 'Ruang dibersihkan',
'dateformat' => '<a target="_blank" href="http://php.net/manual/en/function.date.php#refsect1-function.date-parameters">Date formating</a>',
'admfunc' => 'Fungsi administrasi',
'allguests' => 'Semua tamu',
'cleanmsgs' => 'Bersihkan pesan',
'room' => 'Seluruh ruangan',
'selection' => 'Pilihan',
'cleannick' => 'Nama berikut:',
'clean' => 'Bersih',
'kickchat' => 'Usir pengobrol (%d menit)',
'kickreason' => 'pesan pengusiran:',
'kickpurge' => 'Bersihkan pesan',
'kick' => 'Usir',
'logoutinact' => 'Keluar pengobrol aktif',
'logout' => 'Keluar',
'sessions' => 'Lihat sesi yang aktif',
'view' => 'Lihat',
'filter' => 'Saring',
'guestacc' => 'Ubah akses tamu',
'guestallow' => 'Izinkan',
'guestwait' => 'Memungkinkan dengan ruang tunggu',
'adminallow' => 'Memerlukan persetujuan moderator',
'guestdisallow' => 'Hanya anggota',
'addsuguest' => 'Tambah pemohon',
'register' => 'Daftar',
'admmembers' => 'Anggota',
'memdel' => 'Hapus dari basisdata',
'memdeny' => 'Akses ditolak (!)',
'memsuguest' => 'Tetapkan menjadi pemohon (G)',
'memreg' => 'Tetapkan menjadi anggota biasa',
'memmod' => 'Tetapkan menjadi moderator (M)',
'memsumod' => 'Tetapkan menjadi supermod (SM)',
'memadm' => 'Tetapkan menjadi admin (A)',
'change' => 'Ubah',
'regguest' => 'Mendaftar tamu',
'regmem' => 'Daftar anggota baru',
'sessact' => 'Sesi aktif',
'sessnick' => 'Nama',
'sesstimeout' => 'Waktu habis dalam',
'sessua' => 'User-Agent',
'fid' => 'ID penyaring:',
'match' => 'Cocok',
'replace' => 'Ganti',
'allowpm' => 'Izinkan pada PM',
'regex' => 'Regex',
'apply' => 'Terapkan',
'newfilter' => 'penyaring baru:',
'add' => 'Tambah',
'noframes' => 'Obrolan ini menggunakan <b>frames</b>. Mohon aktifkan frame pada penjelajah anda atau gunakan penjelajah yang cocok!',
'delselmes' => 'Hapus pesan terpilih',
'staffnotes' => 'Catatan Staf',
'adminnotes' => 'Catatan admin',
'notessaved' => 'Catatan tersimpan!',
'lastedited' => 'Terakhir disunting oleh %1$s pada %2$s',
'savenotes' => 'Simpan catatan',
'waitingroom' => 'Ruang tunggu',
'waittext' => 'Selamat datang %1$s, info masuk anda telah tertunda, Anda dapat mengakses obrolan dalam %2$d detik.',
'admwaittext' => 'Selamat datang %1$s, info masuk anda telah tertunda, Anda dapat mengakses obrolan segera, Sebagai moderator memungkinkan anda untuk masuk.',
'waitreload' => 'Jika halaman tidak memuat-ulang dalam %d detik, Gunakan tombol dibawah ini untuk memuat-ulang secara manual!',
'reload' => 'Muat-ulang',
'rules' => 'Peraturan',
'talkto' => 'Kirim ke',
'toall' => 'Semua pengobrol',
'tomem' => 'Hanya member',
'tostaff' => 'Hanya staf',
'toadmin' => 'Hanya Admin',
'alsopurge' => 'Juga hapus bersih pesan',
'dellast' => 'Hapus pesan terakhir',
'delall' => 'Hapus semua pesan',
'switchsingle' => 'Beralih ke baris-tunggal',
'switchmulti' => 'Beralih ke multi-baris',
'help' => 'Bantuan',
'helpguest' => 'Semua fungsi seharusnya cukup banyak memberikan penjelasan, tinggal gunakan tombol. Dalam profil Anda dapat menentukan jangka waktu muat-ulang halaman, warna font dan ukuran kotak masukan.<br><u>Note:</u> Ini adalah obrolan, jadi jika Anda tidak ikut dalam obrolan, Anda akan otomatis dikeluarkan dari obrolan dalam jangka waktu yang sudah ditentukan.',
'helpembed' => 'Jika anda ingin menyisipkan gambar pada pos anda, taruh saja [img] didepan url gambar. Contoh: [img]http://example.com/images/file.jpg akan menyisipkan gambar pada pos anda.',
'helpmem' => 'Anggota: Anda akan memiliki beberapa pilihan di profil Anda. Anda dapat menyesuaikan font dan dapat mengubah kata sandi kapan saja.',
'helpmod' => 'Moderator: Perhatikan tombol admin di bagian bawah. Ini akan memunculkan halaman dimana Anda dapat membersihkan ruangan, mengusir pengobrol, melihat semua sesi aktif dan mematikan semua hak akses tamu jika diperlukan.',
'helpadm' => 'Admin: Anda dapat lebih jauh lagi bisa mendaftarkan tamu, menyunting anggota dan mendaftarkan nama baru tanpa mereka berada di ruangan.',
'profile' => 'Profil Anda',
'ignore' => 'Setuju',
'unignore' => 'Tak setuju apapun',
'refreshrate' => 'kecepatan penyegaran (5-150 detik)',
'fontcolour' => 'Warna font',
'viewexample' => 'Lihat contoh',
'bgcolour' => 'Warna latar belakang',
'fontface' => 'jenis font',
'roomdefault' => 'Ruang bawaan',
'bold' => 'Tebal',
'italic' => 'Miring',
'fontexample' => 'Contoh untuk font yang anda pilih',
'timestamps' => 'Tunjukkan penanda waktu',
'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:',
'confirmpass' => 'Konfirmasi kata sandi baru:',
'savechanges' => 'Simpan perubahan',
'reloadpb' => 'Muat-ulang kotak pos',
'reloadmsgs' => 'Muat-ulang pesan',
'chgprofile' => 'Profil',
'adminbtn' => 'Admin',
'admnotes' => 'Catatan Admin',
'notes' => 'Catatan',
'clone' => 'Klon',
'randh' => 'Peraturan & Bantuan',
'exit' => 'Keluar dari obrolan',
'bye' => 'Dah %s, Kunjungi lagi nanti!',
'colourtable' => 'Tabel warna',
'backtoprofile' => 'Kembali ke profil anda',
'copy' => 'Salin:',
'choosecol' => 'Silahkan pilih warna:',
'randomcol' => 'Warna acak',
'enter' => 'Masuk obrolan',
'error' => 'Kesalahan',
'members' => 'Anggota',
'guests' => 'Tamu',
'approveguests' => '%d tamu baru untuk disetujui',
'allowchecked' => 'Izinkan terpilih',
'allowall' => 'Izinkan semuanya',
'denychecked' => 'Tolak terpilih',
'denyall' => 'Tolak semuanya',
'denymessage' => 'Kirim pesan untuk menolak:',
'butallowdeny' => 'Kirim',
'waitempty' => 'Tak ada lagi permintaan masuk untuk disetujui.',
'wrongcaptcha' => 'Captcha salah',
'captchaexpire' => 'Captcha sudah digunakan atau kadaluarsa.',
'noguests' => 'Maaf, saat ini hanya anggota!',
'curchat' => 'Sekarang terdapat %d pengobrol di ruangan:',
'cantreg' => 'Tak bisa mendaftarkan %s',
'alreadyreged' => '%s sudah terdaftar.',
'successreg' => '%s berhasil terdaftar.',
'cantchgstat' => 'Tak dapat mengganti status dari %s',
'succdel' => '%s berhasil dihapus dari basisdata.',
'succchg' => 'Status dari %s berhasil dirubah.',
'wrongpass' => 'Kata sandi salah!',
'wrongglobalpass' => 'Kata sani global salah!',
'succprofile' => 'Profil anda sudah berhasil disimpan.',
'backtologin' => 'Kembali ke halaman masuk.',
'backtochat' => 'Kembali ke obrolan.',
'Beige' => 'Krem',
'Black' => 'Hitam',
'Blue' => 'Biru',
'BlueViolet' => 'Lembayung biru',
'Brown' => 'Coklat',
'Cyan' => 'Sian',
'DarkBlue' => 'Biru tua',
'DarkGreen' => 'Hihau tua',
'DarkRed' => 'Merah tua',
'DarkViolet' => 'Lembayung tua',
'DeepSkyBlue' => 'Biru langit',
'Gold' => 'Emas',
'Grey' => 'Abu-abu',
'Green' => 'Hijau',
'HotPink' => 'Merah jambu',
'Indigo' => 'Nila',
'LightBlue' => 'Biru muda',
'LightGreen' => 'Hijau muda',
'LimeGreen' => 'Hijau limu',
'Magenta' => 'Magenta',
'Olive' => 'Zaitun',
'Orange' => 'Jingga',
'OrangeRed' => 'Merah jingga',
'Purple' => 'Ungu',
'Red' => 'Merah',
'RoyalBlue' => 'Biru royal',
'SeaGreen' => 'Hijau laut',
'Sienna' => 'Sienna',
'Silver' => 'Perak',
'Tan' => 'Kecoklatan',
'Teal' => 'Teal',
'Violet' => 'Lembayung',
'White' => 'Putih',
'Yellow' => 'Kuning',
'YellowGreen' => 'Hjau kuning',
'redirectto' => 'Mengarahkan ke:',
'nonhttp' => 'Meminta tautan non-http:',
'httpredir' => 'Jika tak bekerja, pilih salah satu:',
'actions' => 'Tindakan',
'sesip' => 'Alamat-IP',
'css' => 'CSS Style',
'memberexpire' => 'Batas waktu anggota (menit)',
'guestexpire' => 'Batas waktu tamu (menit)',
'kickpenalty' => 'Sanksi pengusiran (menit)',
'entrywait' => 'Waktu ruang tunggu (detik)',
'captchatime' => 'Batas waktu captcha (detik)',
'messageexpire' => 'Batas waktu pesan (menit)',
'messagelimit' => 'Batas pesan (publik)',
'maxmessage' => 'Panjang pesan maksimal',
'confirm' => 'Apakah Anda yakin?',
'yes' => 'Ya',
'no' => 'Tidak',
'colbg' => 'Warna latar belakang',
'coltxt' => 'Warna tulisan',
'maxname' => 'Panjang maksimal nama',
'minpass' => 'Panjang minimal kata sandi',
'defaultrefresh' => 'Waktu muat-ulang pesan bawaan (detik)',
'suguests' => 'Memungkinkan pemohon',
'rulestxt' => 'Peraturan (html)',
'imgembed' => 'Tanam gambar',
'trackip' => 'Tunjukkan sesi-IP',
'captchachars' => 'Karakter yang digunakan dalam Captcha',
'memkick' => 'Anggota dapat mengusir, jika tak ada moderator',
'forceredirect' => 'Paksa pengalihan',
'redirect' => 'Skrip pengalihan kustom',
'backuprestore' => 'Cadang dan pulihkan',
'backup' => 'Cadangkan',
'restore' => 'Pulihkan',
'settings' => 'Pengaturan',
'linkfilter' => 'penyaring-tautan',
'chatname' => 'Nama obrolan',
'destroy' => 'Musnahkan obrolan',
'destroyed' => 'Berhasil memusnahkan obrolan',
'topic' => 'Topik',
'passreset' => 'Atur-ulang kata sandi',
'cantresetpass' => 'Tidak bisa mengatur-ulang kata sandi',
'succpassreset' => 'Berhasil mengatur-ulang kata sandi',
'entermsg' => '%s memasuki obrolan.',
'exitmsg' => '%s keluar dari obrolan.',
'memregmsg' => '%s sekarang adalah anggota terdaftar.',
'suregmsg' => '%s sekarang adalah pemohon terdaftar.',
'kickmsg' => '%s sudah diusir.',
'multikickmsg' => '%s telah diusir.',
'allkickmsg' => 'Semua pengobrol sudah diusir.',
'cleanmsg' => '%s sudah dibersihkan.',
'sendallmsg' => '%s - ',
'sendmemmsg' => '[M] %s - ',
'sendmodmsg' => '[Staf] %s - ',
'sendadmmsg' => '[Admin] %s - ',
'sendprvmsg' => '[%1$s ke %2$s] - ',
'msgsendall' => 'Pesan ke semuanya',
'msgsendmem' => 'Pesan hanya kepada member',
'msgsendmod' => 'Pesan hanya kepada staf',
'msgsendadm' => 'Pesan hanya kepada admin',
'msgsendprv' => 'Pesan pribadi',
'numnotes' => 'Jumlah catatan Revisi yang disimpan',
'revisions' => 'Revisi:',
'older' => 'Lama',
'newer' => 'Baru',
'accessdenied' => 'Akses ditolak',
'loggedinas' => 'Anda masuk sebagai %s dan tak dapat mengakses bagian ini.',
'newnickname' => 'Nama baru:',
'nicknametaken' => 'Nama sudah ada',
'nopass' => 'Kata sandi salah (Minimal %d karakter), tak merubah nama'
);
?>

View File

@ -2,7 +2,7 @@
/*
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Russian translation
*
* Copyright (C) 2015 Daniel Winzen <d@winzen4.de>
* 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
@ -18,15 +18,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
//Language: Русский
//Native language name: Русский
$T=array(
'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,7 +151,7 @@ $T=array(
'italic' => 'Курсив',
'fontexample' => 'Пример выбранного вами шрифта',
'timestamps' => 'Показать отметки времени',
'embed' => 'Вставить изображения (использует Cookies)',
'embed' => 'Вставить изображения',
'incognito' => 'Режим инкогнито',
'pbsize' => 'Размер окна сообщений',
'nbsize' => 'Размер окна заметок',
@ -180,7 +178,7 @@ $T=array(
'choosecol' => 'Гости выбирают цвет:',
'randomcol' => 'Случайный цвет',
'enter' => 'Войти в чат',
'error' => 'Ошибка:',
'error' => 'Ошибка',
'members' => 'Зарегистрированные',
'guests' => 'Гости',
'approveguests' => '%d новые гости для одобрения',

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=array(
";
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);
?>