Merge branch 'master' into gh-pages

Conflicts:
	CHANGES.rst
	docs/doctrees/environment.pickle
	index.html
This commit is contained in:
JC Brand 2013-07-27 01:23:27 +02:00
commit e2ed7757ff
15 changed files with 1984 additions and 1873 deletions

1
.gitignore vendored
View File

@ -8,6 +8,7 @@
.svn/ .svn/
.project .project
.pydevproject .pydevproject
node_modules
# OSX # OSX
.DS_Store .DS_Store

View File

@ -3,7 +3,7 @@ Changelog
0.5 (Unreleased) 0.5 (Unreleased)
---------------- ----------------
- #9 Remove dependency on AMD/require.js [jcbrand]
- #22 Fixed compare operator in strophe.muc [sonata82] - #22 Fixed compare operator in strophe.muc [sonata82]
- #23 Add Italian translations [ctrlaltca] - #23 Add Italian translations [ctrlaltca]
- #24 Add Spanish translations [macagua] - #24 Add Spanish translations [macagua]

20
Gruntfile.js Normal file
View File

@ -0,0 +1,20 @@
module.exports = function(grunt) {
grunt.initConfig({
jshint: {
options: {
trailing: true
},
target: {
src : [
'converse.js',
'mock.js',
'main.js',
'tests_main.js',
'spec/*.js'
]
}
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['jshint']);
};

View File

@ -552,6 +552,7 @@ p.room-info {
a.room-info { a.room-info {
background: url('images/information.png') no-repeat right top; background: url('images/information.png') no-repeat right top;
width: 22px; width: 22px;
height: 22px;
float: right; float: right;
display: none; display: none;
clear: right; clear: right;

Binary file not shown.

View File

@ -166,15 +166,17 @@
<script type="text/javascript">try { var pageTracker = _gat._getTracker("UA-2128260-8"); pageTracker._trackPageview(); } catch(err) {}</script> <script type="text/javascript">try { var pageTracker = _gat._getTracker("UA-2128260-8"); pageTracker._trackPageview(); } catch(err) {}</script>
</body> </body>
<script> <script>
converse.initialize({ require(['converse'], function (converse) {
auto_list_rooms: false, converse.initialize({
auto_subscribe: false, auto_list_rooms: false,
bosh_service_url: 'https://bind.opkode.im', // Please use this connection manager only for testing purposes auto_subscribe: false,
hide_muc_server: false, bosh_service_url: 'https://bind.opkode.im', // Please use this connection manager only for testing purposes
i18n: locales.en, // Refer to ./locale/locales.js to see which locales are supported hide_muc_server: false,
prebind: false, i18n: locales.de, // Refer to ./locale/locales.js to see which locales are supported
show_controlbox_by_default: true, prebind: false,
xhr_user_search: false show_controlbox_by_default: true,
xhr_user_search: false
});
}); });
</script> </script>
</html> </html>

View File

@ -1,459 +1,466 @@
(function (root, factory) { (function (root, factory) {
define("af", ['jed'], function () { var af = new Jed({
var af = new Jed({ "domain": "converse",
"domain": "converse", "locale_data": {
"locale_data": { "converse": {
"converse": { "": {
"": { "domain": "converse",
"domain": "converse", "lang": "af",
"lang": "af", "plural_forms": "nplurals=2; plural=(n != 1);"
"plural_forms": "nplurals=2; plural=(n != 1);" },
}, "Show this menu": [
"Show this menu": [ null,
null, "Vertoon hierdie keuselys"
"Vertoon hierdie keuselys" ],
], "Write in the third person": [
"Write in the third person": [ null,
null, "Skryf in die derde persoon"
"Skryf in die derde persoon" ],
], "Remove messages": [
"Remove messages": [ null,
null, "Verwyder boodskappe"
"Verwyder boodskappe" ],
], "Personal message": [
"Personal message": [ null,
null, "Persoonlike boodskap"
"Persoonlike boodskap" ],
], "Contacts": [
"Contacts": [ null,
null, "Kontakte"
"Kontakte" ],
], "Online": [
"Online": [ null,
null, "Aanlyn"
"Aanlyn" ],
], "Busy": [
"Busy": [ null,
null, "Besig"
"Besig" ],
], "Away": [
"Away": [ null,
null, "Weg"
"Weg" ],
], "Offline": [
"Offline": [ null,
null, "Aflyn"
"Aflyn" ],
], "Click to add new chat contacts": [
"Click to add new chat contacts": [ null,
null, "Kliek om nuwe kletskontakte by te voeg"
"Kliek om nuwe kletskontakte by te voeg" ],
], "Add a contact": [
"Add a contact": [ null,
null, "Voeg 'n kontak by"
"Voeg 'n kontak by" ],
], "Contact username": [
"Contact username": [ null,
null, "Konak gebruikersnaam"
"Konak gebruikersnaam" ],
], "Add": [
"Add": [ null,
null, "Voeg by"
"Voeg by" ],
], "Contact name": [
"Contact name": [ null,
null, "Kontaknaam"
"Kontaknaam" ],
], "Search": [
"Search": [ null,
null, "Soek"
"Soek" ],
], "No users found": [
"No users found": [ null,
null, "Geen gebruikers gevind"
"Geen gebruikers gevind" ],
], "Click to add as a chat contact": [
"Click to add as a chat contact": [ null,
null, "Kliek om as kletskontak by te voeg"
"Kliek om as kletskontak by te voeg" ],
], "Click to open this room": [
"Click to open this room": [ null,
null, "Kliek om hierdie kletskamer te open"
"Kliek om hierdie kletskamer te open" ],
], "Show more information on this room": [
"Show more information on this room": [ null,
null, "Wys meer inligting aangaande hierdie kletskamer"
"Wys meer inligting aangaande hierdie kletskamer" ],
], "Description:": [
"Description:": [ null,
null, "Beskrywing:"
"Beskrywing:" ],
], "Occupants:": [
"Occupants:": [ null,
null, "Deelnemers:"
"Deelnemers:" ],
], "Features:": [
"Features:": [ null,
null, "Eienskappe:"
"Eienskappe:" ],
], "Requires authentication": [
"Requires authentication": [ null,
null, "Benodig magtiging"
"Benodig magtiging" ],
], "Hidden": [
"Hidden": [ null,
null, "Verskuil"
"Verskuil" ],
], "Requires an invitation": [
"Requires an invitation": [ null,
null, "Benodig 'n uitnodiging"
"Benodig 'n uitnodiging" ],
], "Moderated": [
"Moderated": [ null,
null, "Gemodereer"
"Gemodereer" ],
], "Non-anonymous": [
"Non-anonymous": [ null,
null, "Nie-anoniem"
"Nie-anoniem" ],
], "Open room": [
"Open room": [ null,
null, "Oop kletskamer"
"Oop kletskamer" ],
], "Permanent room": [
"Permanent room": [ null,
null, "Permanente kamer"
"Permanente kamer" ],
], "Public": [
"Public": [ null,
null, "Publiek"
"Publiek" ],
], "Semi-anonymous": [
"Semi-anonymous": [ null,
null, "Deels anoniem"
"Deels anoniem" ],
], "Temporary room": [
"Temporary room": [ null,
null, "Tydelike kamer"
"Tydelike kamer" ],
], "Unmoderated": [
"Unmoderated": [ null,
null, "Ongemodereer"
"Ongemodereer" ],
], "Rooms": [
"Rooms": [ null,
null, "Kamers"
"Kamers" ],
], "Room name": [
"Room name": [ null,
null, "Kamer naam"
"Kamer naam" ],
], "Nickname": [
"Nickname": [ null,
null, "Bynaam"
"Bynaam" ],
], "Server": [
"Server": [ null,
null, "Bediener"
"Bediener" ],
], "Join": [
"Join": [ null,
null, "Sluit aan"
"Sluit aan" ],
], "Show rooms": [
"Show rooms": [ null,
null, "Wys kamers"
"Wys kamers" ],
], "No rooms on %1$s": [
"No rooms on %1$s": [ null,
null, "Geen kamers op %1$s"
"Geen kamers op %1$s" ],
], "Rooms on %1$s": [
"Rooms on %1$s": [ null,
null, "Kamers op %1$s"
"Kamers op %1$s" ],
], "Set chatroom topic": [
"Set chatroom topic": [ null,
null, "Stel kletskamer onderwerp"
"Stel kletskamer onderwerp" ],
], "Kick user from chatroom": [
"Kick user from chatroom": [ null,
null, "Skop gebruiker uit die kletskamer"
"Skop gebruiker uit die kletskamer" ],
], "Ban user from chatroom": [
"Ban user from chatroom": [ null,
null, "Verban gebruiker vanuit die kletskamer"
"Verban gebruiker vanuit die kletskamer" ],
], "Message": [
"Message": [ null,
null, "Boodskap"
"Boodskap" ],
], "Save": [
"Save": [ null,
null, "Stoor"
"Stoor" ],
], "Cancel": [
"Cancel": [ null,
null, "Kanseleer"
"Kanseleer" ],
], "An error occurred while trying to save the form.": [
"An error occurred while trying to save the form.": [ null,
null, "A fout het voorgekom terwyl probeer is om die vorm te stoor."
"A fout het voorgekom terwyl probeer is om die vorm te stoor." ],
], "This chatroom requires a password": [
"This chatroom requires a password": [ null,
null, "Hiedie kletskamer benodig 'n wagwoord"
"Hiedie kletskamer benodig 'n wagwoord" ],
], "Password: ": [
"Password: ": [ null,
null, "Wagwoord:"
"Wagwoord:" ],
], "Submit": [
"Submit": [ null,
null, "Dien in"
"Dien in" ],
], "This room is not anonymous": [
"This room is not anonymous": [ null,
null, "Hierdie vertrek is nie anoniem nie"
"Hierdie vertrek is nie anoniem nie" ],
], "This room now shows unavailable members": [
"This room now shows unavailable members": [ null,
null, "Hierdie vertrek wys nou onbeskikbare lede"
"Hierdie vertrek wys nou onbeskikbare lede" ],
], "This room does not show unavailable members": [
"This room does not show unavailable members": [ null,
null, "Hierdie vertrek wys nie onbeskikbare lede nie"
"Hierdie vertrek wys nie onbeskikbare lede nie" ],
], "Non-privacy-related room configuration has changed": [
"Non-privacy-related room configuration has changed": [ null,
null, "Nie-privaatheidverwante kamer instellings het verander"
"Nie-privaatheidverwante kamer instellings het verander" ],
], "Room logging is now enabled": [
"Room logging is now enabled": [ null,
null, "Kamer log is nou aangeskakel"
"Kamer log is nou aangeskakel" ],
], "Room logging is now disabled": [
"Room logging is now disabled": [ null,
null, "Kamer log is nou afgeskakel"
"Kamer log is nou afgeskakel" ],
], "This room is now non-anonymous": [
"This room is now non-anonymous": [ null,
null, "Hiedie kamer is nou nie anoniem nie"
"Hiedie kamer is nou nie anoniem nie" ],
], "This room is now semi-anonymous": [
"This room is now semi-anonymous": [ null,
null, "Hierdie kamer is nou gedeeltelik anoniem"
"Hierdie kamer is nou gedeeltelik anoniem" ],
], "This room is now fully-anonymous": [
"This room is now fully-anonymous": [ null,
null, "Hierdie kamer is nou ten volle anoniem"
"Hierdie kamer is nou ten volle anoniem" ],
], "A new room has been created": [
"A new room has been created": [ null,
null, "'n Nuwe kamer is geskep"
"'n Nuwe kamer is geskep" ],
], "Your nickname has been changed": [
"Your nickname has been changed": [ null,
null, "Jou bynaam is verander"
"Jou bynaam is verander" ],
], "<strong>%1$s</strong> has been banned": [
"<strong>%1$s</strong> has been banned": [ null,
null, "<strong>%1$s</strong> is verban"
"<strong>%1$s</strong> is verban" ],
], "<strong>%1$s</strong> has been kicked out": [
"<strong>%1$s</strong> has been kicked out": [ null,
null, "<strong>%1$s</strong> is uitgeskop"
"<strong>%1$s</strong> is uitgeskop" ],
], "<strong>%1$s</strong> has been removed because of an affiliation change": [
"<strong>%1$s</strong> has been removed because of an affiliation change": [ null,
null, "<strong>%1$s</strong> is verwyder a.g.v 'n verandering van affiliasie"
"<strong>%1$s</strong> is verwyder a.g.v 'n verandering van affiliasie" ],
], "<strong>%1$s</strong> has been removed for not being a member": [
"<strong>%1$s</strong> has been removed for not being a member": [ null,
null, "<strong>%1$s</strong> is nie 'n lid nie, en dus verwyder"
"<strong>%1$s</strong> is nie 'n lid nie, en dus verwyder" ],
], "You have been banned from this room": [
"You have been banned from this room": [ null,
null, "Jy is uit die kamer verban"
"Jy is uit die kamer verban" ],
], "You have been kicked from this room": [
"You have been kicked from this room": [ null,
null, "Jy is uit die kamer geskop"
"Jy is uit die kamer geskop" ],
], "You have been removed from this room because of an affiliation change": [
"You have been removed from this room because of an affiliation change": [ null,
null, "Jy is vanuit die kamer verwyder a.g.v 'n verandering van affiliasie"
"Jy is vanuit die kamer verwyder a.g.v 'n verandering van affiliasie" ],
], "You have been removed from this room because the room has changed to members-only and you're not a member": [
"You have been removed from this room because the room has changed to members-only and you're not a member": [ null,
null, "Jy is vanuit die kamer verwyder omdat die kamer nou slegs tot lede beperk word en jy nie 'n lid is nie."
"Jy is vanuit die kamer verwyder omdat die kamer nou slegs tot lede beperk word en jy nie 'n lid is nie." ],
], "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [
"You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [ null,
null, "Jy is van hierdie kamer verwyder aangesien die MUC (Multi-user chat) diens nou afgeskakel word."
"Jy is van hierdie kamer verwyder aangesien die MUC (Multi-user chat) diens nou afgeskakel word." ],
], "You are not on the member list of this room": [
"You are not on the member list of this room": [ null,
null, "Jy is nie op die ledelys van hierdie kamer nie"
"Jy is nie op die ledelys van hierdie kamer nie" ],
], "No nickname was specified": [
"No nickname was specified": [ null,
null, "Geen bynaam verskaf nie"
"Geen bynaam verskaf nie" ],
], "You are not allowed to create new rooms": [
"You are not allowed to create new rooms": [ null,
null, "Jy word nie toegelaat om nog kamers te skep nie"
"Jy word nie toegelaat om nog kamers te skep nie" ],
], "Your nickname doesn't conform to this room's policies": [
"Your nickname doesn't conform to this room's policies": [ null,
null, "Jou bynaam voldoen nie aan die kamer se beleid nie"
"Jou bynaam voldoen nie aan die kamer se beleid nie" ],
], "Your nickname is already taken": [
"Your nickname is already taken": [ null,
null, "Jou bynaam is reeds geneem"
"Jou bynaam is reeds geneem" ],
], "This room does not (yet) exist": [
"This room does not (yet) exist": [ null,
null, "Hierdie kamer bestaan tans (nog) nie"
"Hierdie kamer bestaan tans (nog) nie" ],
], "This room has reached it's maximum number of occupants": [
"This room has reached it's maximum number of occupants": [ null,
null, "Hierdie kamer het sy maksimum aantal deelnemers bereik"
"Hierdie kamer het sy maksimum aantal deelnemers bereik" ],
], "Topic set by %1$s to: %2$s": [
"Topic set by %1$s to: %2$s": [ null,
null, "Onderwerp deur %1$s bygewerk na: %2$s"
"Onderwerp deur %1$s bygewerk na: %2$s" ],
], "This user is a moderator": [
"This user is a moderator": [ null,
null, "Hierdie gebruiker is 'n moderator"
"Hierdie gebruiker is 'n moderator" ],
], "This user can send messages in this room": [
"This user can send messages in this room": [ null,
null, "Hierdie gebruiker kan boodskappe na die kamer stuur"
"Hierdie gebruiker kan boodskappe na die kamer stuur" ],
], "This user can NOT send messages in this room": [
"This user can NOT send messages in this room": [ null,
null, "Hierdie gebruiker kan NIE boodskappe na die kamer stuur nie"
"Hierdie gebruiker kan NIE boodskappe na die kamer stuur nie" ],
], "Click to chat with this contact": [
"Click to chat with this contact": [ null,
null, "Kliek om met hierdie kontak te klets"
"Kliek om met hierdie kontak te klets" ],
], "Click to remove this contact": [
"Click to remove this contact": [ null,
null, "Kliek om hierdie kontak te verwyder"
"Kliek om hierdie kontak te verwyder" ],
], "Contact requests": [
"Contact requests": [ null,
null, "Kontak versoeke"
"Kontak versoeke" ],
], "My contacts": [
"My contacts": [ null,
null, "My kontakte"
"My kontakte" ],
], "Pending contacts": [
"Pending contacts": [ null,
null, "Hangende kontakte"
"Hangende kontakte" ],
], "Custom status": [
"Custom status": [ null,
null, "Doelgemaakte status"
"Doelgemaakte status" ],
], "Click to change your chat status": [
"Click to change your chat status": [ null,
null, "Kliek om jou klets-status te verander"
"Kliek om jou klets-status te verander" ],
], "Click here to write a custom status message": [
"Click here to write a custom status message": [ null,
null, "Kliek hier om jou eie statusboodskap te skryf"
"Kliek hier om jou eie statusboodskap te skryf" ],
], "online": [
"online": [ null,
null, "aanlyn"
"aanlyn" ],
], "busy": [
"busy": [ null,
null, "besig"
"besig" ],
], "away for long": [
"away for long": [ null,
null, "weg vir lank"
"weg vir lank" ],
], "away": [
"away": [ null,
null, "weg"
"weg" ],
], "I am %1$s": [
"I am %1$s": [ null,
null, "Ek is %1$s"
"Ek is %1$s" ],
], "Sign in": [
"Sign in": [ null,
null, "Teken in"
"Teken in" ],
], "XMPP/Jabber Username:": [
"XMPP/Jabber Username:": [ null,
null, "XMPP/Jabber Gebruikersnaam:"
"XMPP/Jabber Gebruikersnaam:" ],
], "Password:": [
"Password:": [ null,
null, "Wagwoord"
"Wagwoord" ],
], "Log In": [
"Log In": [ null,
null, "Meld aan"
"Meld aan" ],
], "BOSH Service URL:": [
"BOSH Service URL:": [ null,
null, "BOSH bediener URL"
"BOSH bediener URL" ],
], "Connected": [
"Connected": [ null,
null, "Verbind"
"Verbind" ],
], "Disconnected": [
"Disconnected": [ null,
null, "Ontkoppel"
"Ontkoppel" ],
], "Error": [
"Error": [ null,
null, "Fout"
"Fout" ],
], "Connecting": [
"Connecting": [ null,
null, "Verbind tans"
"Verbind tans" ],
], "Connection Failed": [
"Connection Failed": [ null,
null, "Verbinding het gefaal"
"Verbinding het gefaal" ],
], "Authenticating": [
"Authenticating": [ null,
null, "Besig om te bekragtig"
"Besig om te bekragtig" ],
], "Authentication Failed": [
"Authentication Failed": [ null,
null, "Bekragtiging het gefaal"
"Bekragtiging het gefaal" ],
], "Disconnecting": [
"Disconnecting": [ null,
null, "Besig om te ontkoppel"
"Besig om te ontkoppel" ],
], "Attached": [
"Attached": [ null,
null, "Geheg"
"Geheg" ],
], "Online Contacts": [
"Online Contacts": [ null,
null, "Kontakte aanlyn"
"Kontakte aanlyn" ]
]
}
} }
}); }
return factory(af);
}); });
if (typeof define === 'function' && define.amd) {
define("af", ['jed'], function () {
return factory(af);
});
} else {
if (!window.locales) {
window.locales = {};
}
window.locales.af = af;
}
}(this, function (af) { }(this, function (af) {
return af; return af;
})); }));

View File

@ -1,459 +1,466 @@
(function (root, factory) { (function (root, factory) {
define("de", ['jed'], function () { var de = new Jed({
var de = new Jed({ "domain": "converse",
"domain": "converse", "locale_data": {
"locale_data": { "converse": {
"converse": { "": {
"": { "domain": "converse",
"domain": "converse", "lang": "de",
"lang": "de", "plural_forms": "nplurals=2; plural=(n != 1);"
"plural_forms": "nplurals=2; plural=(n != 1);" },
}, "Show this menu": [
"Show this menu": [ null,
null, "Dieses Menü anzeigen"
"Dieses Menü anzeigen" ],
], "Write in the third person": [
"Write in the third person": [ null,
null, "In der dritten Person schreiben"
"In der dritten Person schreiben" ],
], "Remove messages": [
"Remove messages": [ null,
null, "Nachrichten entfernen"
"Nachrichten entfernen" ],
], "Personal message": [
"Personal message": [ null,
null, "Persönliche Nachricht"
"Persönliche Nachricht" ],
], "Contacts": [
"Contacts": [ null,
null, "Kontakte"
"Kontakte" ],
], "Online": [
"Online": [ null,
null, "Online"
"Online" ],
], "Busy": [
"Busy": [ null,
null, "Beschäfticht"
"Beschäfticht" ],
], "Away": [
"Away": [ null,
null, "Abwesend"
"Abwesend" ],
], "Offline": [
"Offline": [ null,
null, "Abgemeldet"
"Abgemeldet" ],
], "Click to add new chat contacts": [
"Click to add new chat contacts": [ null,
null, "Klicken Sie, um einen neuen Kontakt hinzuzufügen"
"Klicken Sie, um einen neuen Kontakt hinzuzufügen" ],
], "Add a contact": [
"Add a contact": [ null,
null, "Kontakte hinzufügen"
"Kontakte hinzufügen" ],
], "Contact username": [
"Contact username": [ null,
null, "Benutzername"
"Benutzername" ],
], "Add": [
"Add": [ null,
null, "Hinzufügen"
"Hinzufügen" ],
], "Contact name": [
"Contact name": [ null,
null, "Name des Kontakts"
"Name des Kontakts" ],
], "Search": [
"Search": [ null,
null, "Suche"
"Suche" ],
], "No users found": [
"No users found": [ null,
null, "Keine Benutzer gefunden"
"Keine Benutzer gefunden" ],
], "Click to add as a chat contact": [
"Click to add as a chat contact": [ null,
null, "Hier klicken um als Kontakt hinzuzufügen"
"Hier klicken um als Kontakt hinzuzufügen" ],
], "Click to open this room": [
"Click to open this room": [ null,
null, "Hier klicken um diesen Raum zu öffnen"
"Hier klicken um diesen Raum zu öffnen" ],
], "Show more information on this room": [
"Show more information on this room": [ null,
null, "Mehr Information über diesen Raum zeigen"
"Mehr Information über diesen Raum zeigen" ],
], "Description:": [
"Description:": [ null,
null, "Beschreibung"
"Beschreibung" ],
], "Occupants:": [
"Occupants:": [ null,
null, "Teilnehmer"
"Teilnehmer" ],
], "Features:": [
"Features:": [ null,
null, "Funktionen:"
"Funktionen:" ],
], "Requires authentication": [
"Requires authentication": [ null,
null, "Authentifizierung erforderlich"
"Authentifizierung erforderlich" ],
], "Hidden": [
"Hidden": [ null,
null, "Versteckt"
"Versteckt" ],
], "Requires an invitation": [
"Requires an invitation": [ null,
null, "Einladung erforderlich"
"Einladung erforderlich" ],
], "Moderated": [
"Moderated": [ null,
null, "Moderiert"
"Moderiert" ],
], "Non-anonymous": [
"Non-anonymous": [ null,
null, "Nicht anonym"
"Nicht anonym" ],
], "Open room": [
"Open room": [ null,
null, "Offener Raum"
"Offener Raum" ],
], "Permanent room": [
"Permanent room": [ null,
null, "Dauerhafter Raum"
"Dauerhafter Raum" ],
], "Public": [
"Public": [ null,
null, "Öffentlich"
"Öffentlich" ],
], "Semi-anonymous": [
"Semi-anonymous": [ null,
null, "Teils anonym"
"Teils anonym" ],
], "Temporary room": [
"Temporary room": [ null,
null, "Vorübergehender Raum"
"Vorübergehender Raum" ],
], "Unmoderated": [
"Unmoderated": [ null,
null, "Unmoderiert"
"Unmoderiert" ],
], "Rooms": [
"Rooms": [ null,
null, "Räume"
"Räume" ],
], "Room name": [
"Room name": [ null,
null, "Raumname"
"Raumname" ],
], "Nickname": [
"Nickname": [ null,
null, "Spitzname"
"Spitzname" ],
], "Server": [
"Server": [ null,
null, "Server"
"Server" ],
], "Join": [
"Join": [ null,
null, "Beitreten"
"Beitreten" ],
], "Show rooms": [
"Show rooms": [ null,
null, "Räume anzeigen"
"Räume anzeigen" ],
], "No rooms on %1$s": [
"No rooms on %1$s": [ null,
null, "Keine Räume auf %1$s"
"Keine Räume auf %1$s" ],
], "Rooms on %1$s": [
"Rooms on %1$s": [ null,
null, "Räume auf %1$s"
"Räume auf %1$s" ],
], "Set chatroom topic": [
"Set chatroom topic": [ null,
null, "Chatraum Thema festlegen"
"Chatraum Thema festlegen" ],
], "Kick user from chatroom": [
"Kick user from chatroom": [ null,
null, "Werfe einen Benutzer aus dem Raum."
"Werfe einen Benutzer aus dem Raum." ],
], "Ban user from chatroom": [
"Ban user from chatroom": [ null,
null, "Verbanne einen Benutzer aus dem Raum."
"Verbanne einen Benutzer aus dem Raum." ],
], "Message": [
"Message": [ null,
null, "Nachricht"
"Nachricht" ],
], "Save": [
"Save": [ null,
null, "Speichern"
"Speichern" ],
], "Cancel": [
"Cancel": [ null,
null, "Abbrechen"
"Abbrechen" ],
], "An error occurred while trying to save the form.": [
"An error occurred while trying to save the form.": [ null,
null, "Beim Speichern der Formular is ein Fehler aufgetreten."
"Beim Speichern der Formular is ein Fehler aufgetreten." ],
], "This chatroom requires a password": [
"This chatroom requires a password": [ null,
null, "Passwort wird für die Anmeldung benötigt."
"Passwort wird für die Anmeldung benötigt." ],
], "Password: ": [
"Password: ": [ null,
null, "Passwort: "
"Passwort: " ],
], "Submit": [
"Submit": [ null,
null, "Einreichen"
"Einreichen" ],
], "This room is not anonymous": [
"This room is not anonymous": [ null,
null, "Dieser Raum ist nicht anonym"
"Dieser Raum ist nicht anonym" ],
], "This room now shows unavailable members": [
"This room now shows unavailable members": [ null,
null, "Dieser Raum zeigt jetzt unferfügbare Mitglieder"
"Dieser Raum zeigt jetzt unferfügbare Mitglieder" ],
], "This room does not show unavailable members": [
"This room does not show unavailable members": [ null,
null, "Dieser Raum zeigt nicht unverfügbare Mitglieder"
"Dieser Raum zeigt nicht unverfügbare Mitglieder" ],
], "Non-privacy-related room configuration has changed": [
"Non-privacy-related room configuration has changed": [ null,
null, "Die Konfiguration, die nicht auf die Privatsphäre bezogen ist, hat sich geändert"
"Die Konfiguration, die nicht auf die Privatsphäre bezogen ist, hat sich geändert" ],
], "Room logging is now enabled": [
"Room logging is now enabled": [ null,
null, "Zukünftige Nachrichten dieses Raums werden protokolliert."
"Zukünftige Nachrichten dieses Raums werden protokolliert." ],
], "Room logging is now disabled": [
"Room logging is now disabled": [ null,
null, "Zukünftige Nachrichten dieses Raums werden nicht protokolliert."
"Zukünftige Nachrichten dieses Raums werden nicht protokolliert." ],
], "This room is now non-anonymous": [
"This room is now non-anonymous": [ null,
null, "Dieser Raum ist jetzt nicht anonym"
"Dieser Raum ist jetzt nicht anonym" ],
], "This room is now semi-anonymous": [
"This room is now semi-anonymous": [ null,
null, "Dieser Raum ist jetzt teils anonym"
"Dieser Raum ist jetzt teils anonym" ],
], "This room is now fully-anonymous": [
"This room is now fully-anonymous": [ null,
null, "Dieser Raum ist jetzt anonym"
"Dieser Raum ist jetzt anonym" ],
], "A new room has been created": [
"A new room has been created": [ null,
null, "Einen neuen Raum ist erstellen"
"Einen neuen Raum ist erstellen" ],
], "Your nickname has been changed": [
"Your nickname has been changed": [ null,
null, "Spitzname festgelegen"
"Spitzname festgelegen" ],
], "<strong>%1$s</strong> has been banned": [
"<strong>%1$s</strong> has been banned": [ null,
null, "<strong>%1$s</strong> ist verbannt"
"<strong>%1$s</strong> ist verbannt" ],
], "<strong>%1$s</strong> has been kicked out": [
"<strong>%1$s</strong> has been kicked out": [ null,
null, "<strong>%1$s</strong> ist hinausgeworfen"
"<strong>%1$s</strong> ist hinausgeworfen" ],
], "<strong>%1$s</strong> has been removed because of an affiliation change": [
"<strong>%1$s</strong> has been removed because of an affiliation change": [ null,
null, "<strong>%1$s</strong> wurde wegen einer Zugehörigkeitsänderung entfernt"
"<strong>%1$s</strong> wurde wegen einer Zugehörigkeitsänderung entfernt" ],
], "<strong>%1$s</strong> has been removed for not being a member": [
"<strong>%1$s</strong> has been removed for not being a member": [ null,
null, "<strong>%1$s</strong> ist kein Mitglied und wurde daher entfernt"
"<strong>%1$s</strong> ist kein Mitglied und wurde daher entfernt" ],
], "You have been banned from this room": [
"You have been banned from this room": [ null,
null, "Sie sind aus diesem Raum verbannt worden"
"Sie sind aus diesem Raum verbannt worden" ],
], "You have been kicked from this room": [
"You have been kicked from this room": [ null,
null, "Sie wurden aus diesem Raum hinausgeworfen"
"Sie wurden aus diesem Raum hinausgeworfen" ],
], "You have been removed from this room because of an affiliation change": [
"You have been removed from this room because of an affiliation change": [ null,
null, "Sie wurden wegen einer Zugehörigkeitsänderung entfernt"
"Sie wurden wegen einer Zugehörigkeitsänderung entfernt" ],
], "You have been removed from this room because the room has changed to members-only and you're not a member": [
"You have been removed from this room because the room has changed to members-only and you're not a member": [ null,
null, "Sie wurden aus diesem Raum entfernt da Sie kein Mitglied sind."
"Sie wurden aus diesem Raum entfernt da Sie kein Mitglied sind." ],
], "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [
"You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [ null,
null, "Sie werden aus diesem Raum entfernt da der MUC (Muli-user chat) Dienst gerade abgeschalten wird."
"Sie werden aus diesem Raum entfernt da der MUC (Muli-user chat) Dienst gerade abgeschalten wird." ],
], "You are not on the member list of this room": [
"You are not on the member list of this room": [ null,
null, "Sie sind nicht auf der Mitgliederliste dieses Raums"
"Sie sind nicht auf der Mitgliederliste dieses Raums" ],
], "No nickname was specified": [
"No nickname was specified": [ null,
null, "Kein Spitzname festgelegt"
"Kein Spitzname festgelegt" ],
], "You are not allowed to create new rooms": [
"You are not allowed to create new rooms": [ null,
null, "Es ist Ihnen nicht erlaubt, neue Räume anzulegen"
"Es ist Ihnen nicht erlaubt, neue Räume anzulegen" ],
], "Your nickname doesn't conform to this room's policies": [
"Your nickname doesn't conform to this room's policies": [ null,
null, "Ungültiger Spitzname"
"Ungültiger Spitzname" ],
], "Your nickname is already taken": [
"Your nickname is already taken": [ null,
null, "Ihre Spitzname existiert bereits."
"Ihre Spitzname existiert bereits." ],
], "This room does not (yet) exist": [
"This room does not (yet) exist": [ null,
null, "Dieser Raum existiert (noch) nicht"
"Dieser Raum existiert (noch) nicht" ],
], "This room has reached it's maximum number of occupants": [
"This room has reached it's maximum number of occupants": [ null,
null, "Dieser Raum hat die maximale Mitgliederanzahl erreicht"
"Dieser Raum hat die maximale Mitgliederanzahl erreicht" ],
], "Topic set by %1$s to: %2$s": [
"Topic set by %1$s to: %2$s": [ null,
null, "%1$s hat das Thema zu \"%2$s\" abgeändert"
"%1$s hat das Thema zu \"%2$s\" abgeändert" ],
], "This user is a moderator": [
"This user is a moderator": [ null,
null, "Dieser Benutzer ist ein Moderator"
"Dieser Benutzer ist ein Moderator" ],
], "This user can send messages in this room": [
"This user can send messages in this room": [ null,
null, "Dieser Benutzer kann Nachrichten in diesem Raum verschicken"
"Dieser Benutzer kann Nachrichten in diesem Raum verschicken" ],
], "This user can NOT send messages in this room": [
"This user can NOT send messages in this room": [ null,
null, "Dieser Benutzer kann keine Nachrichten in diesem Raum verschicken"
"Dieser Benutzer kann keine Nachrichten in diesem Raum verschicken" ],
], "Click to chat with this contact": [
"Click to chat with this contact": [ null,
null, "Hier klicken um mit diesem Kontakt zu chatten"
"Hier klicken um mit diesem Kontakt zu chatten" ],
], "Click to remove this contact": [
"Click to remove this contact": [ null,
null, "Hier klicken um diesen Kontakt zu entfernen"
"Hier klicken um diesen Kontakt zu entfernen" ],
], "Contact requests": [
"Contact requests": [ null,
null, "Kontaktanfragen"
"Kontaktanfragen" ],
], "My contacts": [
"My contacts": [ null,
null, "Meine Kontakte"
"Meine Kontakte" ],
], "Pending contacts": [
"Pending contacts": [ null,
null, "Unbestätigte Kontakte"
"Unbestätigte Kontakte" ],
], "Custom status": [
"Custom status": [ null,
null, "Status-Nachricht"
"Status-Nachricht" ],
], "Click to change your chat status": [
"Click to change your chat status": [ null,
null, "Klicken Sie, um ihrer Status to ändern"
"Klicken Sie, um ihrer Status to ändern" ],
], "Click here to write a custom status message": [
"Click here to write a custom status message": [ null,
null, "Klicken Sie hier, um ihrer Status-Nachricht to ändern"
"Klicken Sie hier, um ihrer Status-Nachricht to ändern" ],
], "online": [
"online": [ null,
null, "online"
"online" ],
], "busy": [
"busy": [ null,
null, "beschäfticht"
"beschäfticht" ],
], "away for long": [
"away for long": [ null,
null, "länger abwesend"
"länger abwesend" ],
], "away": [
"away": [ null,
null, "abwesend"
"abwesend" ],
], "I am %1$s": [
"I am %1$s": [ null,
null, "Ich bin %1$s"
"Ich bin %1$s" ],
], "Sign in": [
"Sign in": [ null,
null, "Anmelden"
"Anmelden" ],
], "XMPP/Jabber Username:": [
"XMPP/Jabber Username:": [ null,
null, "XMPP/Jabber Benutzername"
"XMPP/Jabber Benutzername" ],
], "Password:": [
"Password:": [ null,
null, "Passwort:"
"Passwort:" ],
], "Log In": [
"Log In": [ null,
null, "Anmelden"
"Anmelden" ],
], "BOSH Service URL:": [
"BOSH Service URL:": [ null,
null, "BOSH "
"BOSH " ],
], "Connected": [
"Connected": [ null,
null, "Verbunden"
"Verbunden" ],
], "Disconnected": [
"Disconnected": [ null,
null, "Verbindung unterbrochen."
"Verbindung unterbrochen." ],
], "Error": [
"Error": [ null,
null, "Fehler"
"Fehler" ],
], "Connecting": [
"Connecting": [ null,
null, "Verbindungsaufbau …"
"Verbindungsaufbau …" ],
], "Connection Failed": [
"Connection Failed": [ null,
null, "Entfernte Verbindung fehlgeschlagen"
"Entfernte Verbindung fehlgeschlagen" ],
], "Authenticating": [
"Authenticating": [ null,
null, "Authentifizierung"
"Authentifizierung" ],
], "Authentication Failed": [
"Authentication Failed": [ null,
null, "Authentifizierung gescheitert"
"Authentifizierung gescheitert" ],
], "Disconnecting": [
"Disconnecting": [ null,
null, "Trenne Verbindung"
"Trenne Verbindung" ],
], "Attached": [
"Attached": [ null,
null, "Angehängt"
"Angehängt" ],
], "Online Contacts": [
"Online Contacts": [ null,
null, "Online-Kontakte"
"Online-Kontakte" ]
]
}
} }
}); }
return factory(de);
}); });
if (typeof define === 'function' && define.amd) {
define("de", ['jed'], function () {
return factory(de);
});
} else {
if (!window.locales) {
window.locales = {};
}
window.locales.de = de;
}
}(this, function (de) { }(this, function (de) {
return de; return de;
})); }));

View File

@ -1,19 +1,26 @@
(function (root, factory) { (function (root, factory) {
define("en", ['jed'], function () { var en = new Jed({
var en = new Jed({ "domain": "converse",
"domain": "converse", "locale_data": {
"locale_data": { "converse": {
"converse": { "": {
"": { "domain": "converse",
"domain": "converse", "lang": "en",
"lang": "en", "plural_forms": "nplurals=2; plural=(n != 1);"
"plural_forms": "nplurals=2; plural=(n != 1);"
}
} }
} }
}); }
return factory(en);
}); });
if (typeof define === 'function' && define.amd) {
define("en", ['jed'], function () {
return factory(en);
});
} else {
if (!window.locales) {
window.locales = {};
}
window.locales.en = en;
}
}(this, function (en) { }(this, function (en) {
return en; return en;
})); }));

View File

@ -1,459 +1,466 @@
(function (root, factory) { (function (root, factory) {
define("es", ['jed'], function () { var es = new Jed({
var de = new Jed({ "domain": "converse",
"domain": "converse", "locale_data": {
"locale_data": { "converse": {
"converse": { "": {
"": { "domain": "converse",
"domain": "converse", "lang": "es",
"lang": "es", "plural_forms": "nplurals=2; plural=(n != 1);"
"plural_forms": "nplurals=2; plural=(n != 1);" },
}, "Show this menu": [
"Show this menu": [ null,
null, "Mostrar este menú"
"Mostrar este menú" ],
], "Write in the third person": [
"Write in the third person": [ null,
null, "Escribir en tercera persona"
"Escribir en tercera persona" ],
], "Remove messages": [
"Remove messages": [ null,
null, "Eliminar mensajes"
"Eliminar mensajes" ],
], "Personal message": [
"Personal message": [ null,
null, "Mensaje personal"
"Mensaje personal" ],
], "Contacts": [
"Contacts": [ null,
null, "Contactos"
"Contactos" ],
], "Online": [
"Online": [ null,
null, "En linea"
"En linea" ],
], "Busy": [
"Busy": [ null,
null, "Ocupado"
"Ocupado" ],
], "Away": [
"Away": [ null,
null, "Ausente"
"Ausente" ],
], "Offline": [
"Offline": [ null,
null, "Desconectado"
"Desconectado" ],
], "Click to add new chat contacts": [
"Click to add new chat contacts": [ null,
null, "Haga clic para agregar nuevos contactos al chat"
"Haga clic para agregar nuevos contactos al chat" ],
], "Add a contact": [
"Add a contact": [ null,
null, "Agregar un contacto"
"Agregar un contacto" ],
], "Contact username": [
"Contact username": [ null,
null, "Nombre de usuario de contacto"
"Nombre de usuario de contacto" ],
], "Add": [
"Add": [ null,
null, "Agregar"
"Agregar" ],
], "Contact name": [
"Contact name": [ null,
null, "Nombre de contacto"
"Nombre de contacto" ],
], "Search": [
"Search": [ null,
null, "Búsqueda"
"Búsqueda" ],
], "No users found": [
"No users found": [ null,
null, "Sin usuarios encontrados"
"Sin usuarios encontrados" ],
], "Click to add as a chat contact": [
"Click to add as a chat contact": [ null,
null, "Haga clic para agregar como un contacto de chat"
"Haga clic para agregar como un contacto de chat" ],
], "Click to open this room": [
"Click to open this room": [ null,
null, "Haga clic para abrir esta sala"
"Haga clic para abrir esta sala" ],
], "Show more information on this room": [
"Show more information on this room": [ null,
null, "Mostrar mas información en esta sala"
"Mostrar mas información en esta sala" ],
], "Description:": [
"Description:": [ null,
null, "Descripción"
"Descripción" ],
], "Occupants:": [
"Occupants:": [ null,
null, "Ocupantes:"
"Ocupantes:" ],
], "Features:": [
"Features:": [ null,
null, "Características:"
"Características:" ],
], "Requires authentication": [
"Requires authentication": [ null,
null, "Autenticación requerida"
"Autenticación requerida" ],
], "Hidden": [
"Hidden": [ null,
null, "Oculto"
"Oculto" ],
], "Requires an invitation": [
"Requires an invitation": [ null,
null, "Requiere una invitación"
"Requiere una invitación" ],
], "Moderated": [
"Moderated": [ null,
null, "Moderado"
"Moderado" ],
], "Non-anonymous": [
"Non-anonymous": [ null,
null, "No usuario anónimo"
"No usuario anónimo" ],
], "Open room": [
"Open room": [ null,
null, "Abrir sala"
"Abrir sala" ],
], "Permanent room": [
"Permanent room": [ null,
null, "Sala permanente"
"Sala permanente" ],
], "Public": [
"Public": [ null,
null, "Publico"
"Publico" ],
], "Semi-anonymous": [
"Semi-anonymous": [ null,
null, "Semi anónimo"
"Semi anónimo" ],
], "Temporary room": [
"Temporary room": [ null,
null, "Sala temporal"
"Sala temporal" ],
], "Unmoderated": [
"Unmoderated": [ null,
null, "Sin moderar"
"Sin moderar" ],
], "Rooms": [
"Rooms": [ null,
null, "Salas"
"Salas" ],
], "Room name": [
"Room name": [ null,
null, "Nombre de sala"
"Nombre de sala" ],
], "Nickname": [
"Nickname": [ null,
null, "Apodo"
"Apodo" ],
], "Server": [
"Server": [ null,
null, "Servidor"
"Servidor" ],
], "Join": [
"Join": [ null,
null, "Unirse"
"Unirse" ],
], "Show rooms": [
"Show rooms": [ null,
null, "Mostrar salas"
"Mostrar salas" ],
], "No rooms on %1$s": [
"No rooms on %1$s": [ null,
null, "Sin salas en %1$s"
"Sin salas en %1$s" ],
], "Rooms on %1$s": [
"Rooms on %1$s": [ null,
null, "Salas en %1$s"
"Salas en %1$s" ],
], "Set chatroom topic": [
"Set chatroom topic": [ null,
null, "Defina tema de sala de chat"
"Defina tema de sala de chat" ],
], "Kick user from chatroom": [
"Kick user from chatroom": [ null,
null, "Expulsar usuario de sala de chat."
"Expulsar usuario de sala de chat." ],
], "Ban user from chatroom": [
"Ban user from chatroom": [ null,
null, "Prohibir usuario de sala de chat."
"Prohibir usuario de sala de chat." ],
], "Message": [
"Message": [ null,
null, "Mensaje"
"Mensaje" ],
], "Save": [
"Save": [ null,
null, "Guardar"
"Guardar" ],
], "Cancel": [
"Cancel": [ null,
null, "Cancelar"
"Cancelar" ],
], "An error occurred while trying to save the form.": [
"An error occurred while trying to save the form.": [ null,
null, "Un error ocurrido mientras trataba de guardar el formulario."
"Un error ocurrido mientras trataba de guardar el formulario." ],
], "This chatroom requires a password": [
"This chatroom requires a password": [ null,
null, "Esta sala de chat requiere una contraseña."
"Esta sala de chat requiere una contraseña." ],
], "Password: ": [
"Password: ": [ null,
null, "Contraseña: "
"Contraseña: " ],
], "Submit": [
"Submit": [ null,
null, "Enviar"
"Enviar" ],
], "This room is not anonymous": [
"This room is not anonymous": [ null,
null, "Esta sala no es para usuarios anónimos"
"Esta sala no es para usuarios anónimos" ],
], "This room now shows unavailable members": [
"This room now shows unavailable members": [ null,
null, "Esta sala ahora muestra los miembros no disponibles"
"Esta sala ahora muestra los miembros no disponibles" ],
], "This room does not show unavailable members": [
"This room does not show unavailable members": [ null,
null, "Esta sala no muestra los miembros no disponibles"
"Esta sala no muestra los miembros no disponibles" ],
], "Non-privacy-related room configuration has changed": [
"Non-privacy-related room configuration has changed": [ null,
null, "Configuración de la sala para no relacionada con la privacidad ha sido cambiada"
"Configuración de la sala para no relacionada con la privacidad ha sido cambiada" ],
], "Room logging is now enabled": [
"Room logging is now enabled": [ null,
null, "El registro de la sala ahora está habilitada"
"El registro de la sala ahora está habilitada" ],
], "Room logging is now disabled": [
"Room logging is now disabled": [ null,
null, "El registro de la sala ahora está deshabilitada"
"El registro de la sala ahora está deshabilitada" ],
], "This room is now non-anonymous": [
"This room is now non-anonymous": [ null,
null, "Esta sala ahora es para los usuarios no anónimos"
"Esta sala ahora es para los usuarios no anónimos" ],
], "This room is now semi-anonymous": [
"This room is now semi-anonymous": [ null,
null, "Esta sala ahora es para los usuarios semi-anónimos"
"Esta sala ahora es para los usuarios semi-anónimos" ],
], "This room is now fully-anonymous": [
"This room is now fully-anonymous": [ null,
null, "Esta sala ahora es para los usuarios completamente-anónimos"
"Esta sala ahora es para los usuarios completamente-anónimos" ],
], "A new room has been created": [
"A new room has been created": [ null,
null, "Una nueva sala ha sido creada"
"Una nueva sala ha sido creada" ],
], "Your nickname has been changed": [
"Your nickname has been changed": [ null,
null, "Su apodo ha sido cambiado"
"Su apodo ha sido cambiado" ],
], "<strong>%1$s</strong> has been banned": [
"<strong>%1$s</strong> has been banned": [ null,
null, "<strong>%1$s</strong> ha sido prohibido"
"<strong>%1$s</strong> ha sido prohibido" ],
], "<strong>%1$s</strong> has been kicked out": [
"<strong>%1$s</strong> has been kicked out": [ null,
null, "<strong>%1$s</strong> ha sido expulsado"
"<strong>%1$s</strong> ha sido expulsado" ],
], "<strong>%1$s</strong> has been removed because of an affiliation change": [
"<strong>%1$s</strong> has been removed because of an affiliation change": [ null,
null, "<strong>%1$s</strong> ha sido eliminado debido a un cambio de afiliación"
"<strong>%1$s</strong> ha sido eliminado debido a un cambio de afiliación" ],
], "<strong>%1$s</strong> has been removed for not being a member": [
"<strong>%1$s</strong> has been removed for not being a member": [ null,
null, "<strong>%1$s</strong> ha sido eliminado debido a que no es miembro"
"<strong>%1$s</strong> ha sido eliminado debido a que no es miembro" ],
], "You have been banned from this room": [
"You have been banned from this room": [ null,
null, "Usted ha sido prohibido de esta sala"
"Usted ha sido prohibido de esta sala" ],
], "You have been kicked from this room": [
"You have been kicked from this room": [ null,
null, "Usted ha sido expulsado de esta sala"
"Usted ha sido expulsado de esta sala" ],
], "You have been removed from this room because of an affiliation change": [
"You have been removed from this room because of an affiliation change": [ null,
null, "Usted ha sido eliminado de esta sala debido a un cambio de afiliación"
"Usted ha sido eliminado de esta sala debido a un cambio de afiliación" ],
], "You have been removed from this room because the room has changed to members-only and you're not a member": [
"You have been removed from this room because the room has changed to members-only and you're not a member": [ null,
null, "Usted ha sido eliminado de esta sala debido a que la sala cambio su configuración a solo-miembros y usted no es un miembro"
"Usted ha sido eliminado de esta sala debido a que la sala cambio su configuración a solo-miembros y usted no es un miembro" ],
], "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [
"You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [ null,
null, "Usted ha sido eliminado de esta sala debido al servicio MUC (Multi-user chat) está apagado."
"Usted ha sido eliminado de esta sala debido al servicio MUC (Multi-user chat) está apagado." ],
], "You are not on the member list of this room": [
"You are not on the member list of this room": [ null,
null, "Usted no está en la lista de miembros de esta sala"
"Usted no está en la lista de miembros de esta sala" ],
], "No nickname was specified": [
"No nickname was specified": [ null,
null, "Sin apodo especificado"
"Sin apodo especificado" ],
], "You are not allowed to create new rooms": [
"You are not allowed to create new rooms": [ null,
null, "A usted no se le permite crear nuevas salas"
"A usted no se le permite crear nuevas salas" ],
], "Your nickname doesn't conform to this room's policies": [
"Your nickname doesn't conform to this room's policies": [ null,
null, "Su apodo no se ajusta a la política de esta sala"
"Su apodo no se ajusta a la política de esta sala" ],
], "Your nickname is already taken": [
"Your nickname is already taken": [ null,
null, "Su apodo ya ha sido tomando por otro usuario"
"Su apodo ya ha sido tomando por otro usuario" ],
], "This room does not (yet) exist": [
"This room does not (yet) exist": [ null,
null, "Esta sala (aún) no existe"
"Esta sala (aún) no existe" ],
], "This room has reached it's maximum number of occupants": [
"This room has reached it's maximum number of occupants": [ null,
null, "Esta sala ha alcanzado su número máximo de ocupantes"
"Esta sala ha alcanzado su número máximo de ocupantes" ],
], "Topic set by %1$s to: %2$s": [
"Topic set by %1$s to: %2$s": [ null,
null, "Tema fijado por %1$s a: %2$s"
"Tema fijado por %1$s a: %2$s" ],
], "This user is a moderator": [
"This user is a moderator": [ null,
null, "Este usuario es un moderador"
"Este usuario es un moderador" ],
], "This user can send messages in this room": [
"This user can send messages in this room": [ null,
null, "Este usuario puede enviar mensajes en esta sala"
"Este usuario puede enviar mensajes en esta sala" ],
], "This user can NOT send messages in this room": [
"This user can NOT send messages in this room": [ null,
null, "Este usuario NO puede enviar mensajes en esta"
"Este usuario NO puede enviar mensajes en esta" ],
], "Click to chat with this contact": [
"Click to chat with this contact": [ null,
null, "Haga clic para conversar con este contacto"
"Haga clic para conversar con este contacto" ],
], "Click to remove this contact": [
"Click to remove this contact": [ null,
null, "Haga clic para eliminar este contacto"
"Haga clic para eliminar este contacto" ],
], "Contact requests": [
"Contact requests": [ null,
null, "Solicitudes de contacto"
"Solicitudes de contacto" ],
], "My contacts": [
"My contacts": [ null,
null, "Mi contactos"
"Mi contactos" ],
], "Pending contacts": [
"Pending contacts": [ null,
null, "Contactos pendientes"
"Contactos pendientes" ],
], "Custom status": [
"Custom status": [ null,
null, "Personalice estatus"
"Personalice estatus" ],
], "Click to change your chat status": [
"Click to change your chat status": [ null,
null, "Haga clic para cambiar su estatus de chat"
"Haga clic para cambiar su estatus de chat" ],
], "Click here to write a custom status message": [
"Click here to write a custom status message": [ null,
null, "Haga clic para escribir un mensaje de estatus personalizado"
"Haga clic para escribir un mensaje de estatus personalizado" ],
], "online": [
"online": [ null,
null, "en linea"
"en linea" ],
], "busy": [
"busy": [ null,
null, "ocupado"
"ocupado" ],
], "away for long": [
"away for long": [ null,
null, "lejos por mucho tiempo"
"lejos por mucho tiempo" ],
], "away": [
"away": [ null,
null, "ausente"
"ausente" ],
], "I am %1$s": [
"I am %1$s": [ null,
null, "Yo soy %1$s"
"Yo soy %1$s" ],
], "Sign in": [
"Sign in": [ null,
null, "Registro"
"Registro" ],
], "XMPP/Jabber Username:": [
"XMPP/Jabber Username:": [ null,
null, "Nombre de usuario XMPP/Jabber"
"Nombre de usuario XMPP/Jabber" ],
], "Password:": [
"Password:": [ null,
null, "Contraseña:"
"Contraseña:" ],
], "Log In": [
"Log In": [ null,
null, "Iniciar sesión"
"Iniciar sesión" ],
], "BOSH Service URL:": [
"BOSH Service URL:": [ null,
null, "URL del servicio BOSH:"
"URL del servicio BOSH:" ],
], "Connected": [
"Connected": [ null,
null, "Conectado"
"Conectado" ],
], "Disconnected": [
"Disconnected": [ null,
null, "Desconectado"
"Desconectado" ],
], "Error": [
"Error": [ null,
null, "Error"
"Error" ],
], "Connecting": [
"Connecting": [ null,
null, "Conectando"
"Conectando" ],
], "Connection Failed": [
"Connection Failed": [ null,
null, "Conexión fallo"
"Conexión fallo" ],
], "Authenticating": [
"Authenticating": [ null,
null, "Autenticando"
"Autenticando" ],
], "Authentication Failed": [
"Authentication Failed": [ null,
null, "Autenticación fallo"
"Autenticación fallo" ],
], "Disconnecting": [
"Disconnecting": [ null,
null, "Desconectando"
"Desconectando" ],
], "Attached": [
"Attached": [ null,
null, "Adjuntado"
"Adjuntado" ],
], "Online Contacts": [
"Online Contacts": [ null,
null, "Contactos en linea"
"Contactos en linea" ]
]
}
} }
}); }
return factory(de);
}); });
}(this, function (de) { if (typeof define === 'function' && define.amd) {
return de; define("es", ['jed'], function () {
return factory(es);
});
} else {
if (!window.locales) {
window.locales = {};
}
window.locales.es = es;
}
}(this, function (es) {
return es;
})); }));

View File

@ -1,470 +1,477 @@
(function (root, factory) { (function (root, factory) {
define("it", ['jed'], function () { var it = new Jed({
var it = new Jed({ "domain": "converse",
"domain": "converse", "locale_data": {
"locale_data": { "converse": {
"converse": { "": {
"": { "Project-Id-Version": "Converse.js 0.4",
"Project-Id-Version": "Converse.js 0.4", "Report-Msgid-Bugs-To": "",
"Report-Msgid-Bugs-To": "", "POT-Creation-Date": "2013-07-20 23:03+0200",
"POT-Creation-Date": "2013-07-20 23:03+0200", "PO-Revision-Date": "2013-07-20 13:58+0200",
"PO-Revision-Date": "2013-07-20 13:58+0200", "Last-Translator": "Fabio Bas <ctrlaltca@gmail.com>",
"Last-Translator": "Fabio Bas <ctrlaltca@gmail.com>", "Language-Team": "Italian",
"Language-Team": "Italian", "Language": "it",
"Language": "it", "MIME-Version": "1.0",
"MIME-Version": "1.0", "Content-Type": "text/plain; charset=ASCII",
"Content-Type": "text/plain; charset=ASCII", "Content-Transfer-Encoding": "8bit",
"Content-Transfer-Encoding": "8bit", "Plural-Forms": "nplurals=2; plural=(n != 1);",
"Plural-Forms": "nplurals=2; plural=(n != 1);", "domain": "converse",
"domain": "converse", "lang": "it",
"lang": "it", "plural_forms": "nplurals=2; plural=(n != 1);"
"plural_forms": "nplurals=2; plural=(n != 1);" },
}, "Show this menu": [
"Show this menu": [ null,
null, "Mostra questo menu"
"Mostra questo menu" ],
], "Write in the third person": [
"Write in the third person": [ null,
null, "Scrivi in terza persona"
"Scrivi in terza persona" ],
], "Remove messages": [
"Remove messages": [ null,
null, "Rimuovi messaggi"
"Rimuovi messaggi" ],
], "Personal message": [
"Personal message": [ null,
null, "Messaggio personale"
"Messaggio personale" ],
], "Contacts": [
"Contacts": [ null,
null, "Contatti"
"Contatti" ],
], "Online": [
"Online": [ null,
null, "In linea"
"In linea" ],
], "Busy": [
"Busy": [ null,
null, "Occupato"
"Occupato" ],
], "Away": [
"Away": [ null,
null, "Assente"
"Assente" ],
], "Offline": [
"Offline": [ null,
null, "Non in linea"
"Non in linea" ],
], "Click to add new chat contacts": [
"Click to add new chat contacts": [ null,
null, "Clicca per aggiungere nuovi contatti alla chat"
"Clicca per aggiungere nuovi contatti alla chat" ],
], "Add a contact": [
"Add a contact": [ null,
null, "Aggiungi un contatto"
"Aggiungi un contatto" ],
], "Contact username": [
"Contact username": [ null,
null, "Nome utente del contatto"
"Nome utente del contatto" ],
], "Add": [
"Add": [ null,
null, "Aggiungi"
"Aggiungi" ],
], "Contact name": [
"Contact name": [ null,
null, "Nome del contatto"
"Nome del contatto" ],
], "Search": [
"Search": [ null,
null, "Cerca"
"Cerca" ],
], "No users found": [
"No users found": [ null,
null, "Nessun utente trovato"
"Nessun utente trovato" ],
], "Click to add as a chat contact": [
"Click to add as a chat contact": [ null,
null, "Clicca per aggiungere il contatto alla chat"
"Clicca per aggiungere il contatto alla chat" ],
], "Click to open this room": [
"Click to open this room": [ null,
null, "Clicca per aprire questa stanza"
"Clicca per aprire questa stanza" ],
], "Show more information on this room": [
"Show more information on this room": [ null,
null, "Mostra più informazioni su questa stanza"
"Mostra più informazioni su questa stanza" ],
], "Description:": [
"Description:": [ null,
null, "Descrizione:"
"Descrizione:" ],
], "Occupants:": [
"Occupants:": [ null,
null, "Utenti presenti:"
"Utenti presenti:" ],
], "Features:": [
"Features:": [ null,
null, "Funzionalità:"
"Funzionalità:" ],
], "Requires authentication": [
"Requires authentication": [ null,
null, "Richiede autenticazione"
"Richiede autenticazione" ],
], "Hidden": [
"Hidden": [ null,
null, "Nascosta"
"Nascosta" ],
], "Requires an invitation": [
"Requires an invitation": [ null,
null, "Richiede un invito"
"Richiede un invito" ],
], "Moderated": [
"Moderated": [ null,
null, "Moderata"
"Moderata" ],
], "Non-anonymous": [
"Non-anonymous": [ null,
null, "Non-anonima"
"Non-anonima" ],
], "Open room": [
"Open room": [ null,
null, "Stanza aperta"
"Stanza aperta" ],
], "Permanent room": [
"Permanent room": [ null,
null, "Stanza permanente"
"Stanza permanente" ],
], "Public": [
"Public": [ null,
null, "Pubblica"
"Pubblica" ],
], "Semi-anonymous": [
"Semi-anonymous": [ null,
null, "Semi-anonima"
"Semi-anonima" ],
], "Temporary room": [
"Temporary room": [ null,
null, "Stanza temporanea"
"Stanza temporanea" ],
], "Unmoderated": [
"Unmoderated": [ null,
null, "Non moderata"
"Non moderata" ],
], "Rooms": [
"Rooms": [ null,
null, "Stanze"
"Stanze" ],
], "Room name": [
"Room name": [ null,
null, "Nome stanza"
"Nome stanza" ],
], "Nickname": [
"Nickname": [ null,
null, "Soprannome"
"Soprannome" ],
], "Server": [
"Server": [ null,
null, "Server"
"Server" ],
], "Join": [
"Join": [ null,
null, "Entra"
"Entra" ],
], "Show rooms": [
"Show rooms": [ null,
null, "Mostra stanze"
"Mostra stanze" ],
], "No rooms on %1$s": [
"No rooms on %1$s": [ null,
null, "Nessuna stanza su %1$s"
"Nessuna stanza su %1$s" ],
], "Rooms on %1$s": [
"Rooms on %1$s": [ null,
null, "Stanze su %1$s"
"Stanze su %1$s" ],
], "Set chatroom topic": [
"Set chatroom topic": [ null,
null, "Cambia oggetto della stanza"
"Cambia oggetto della stanza" ],
], "Kick user from chatroom": [
"Kick user from chatroom": [ null,
null, "Espelli utente dalla stanza"
"Espelli utente dalla stanza" ],
], "Ban user from chatroom": [
"Ban user from chatroom": [ null,
null, "Bandisci utente dalla stanza"
"Bandisci utente dalla stanza" ],
], "Message": [
"Message": [ null,
null, "Messaggio"
"Messaggio" ],
], "Save": [
"Save": [ null,
null, "Salva"
"Salva" ],
], "Cancel": [
"Cancel": [ null,
null, "Annulla"
"Annulla" ],
], "An error occurred while trying to save the form.": [
"An error occurred while trying to save the form.": [ null,
null, "Errore durante il salvataggio del modulo"
"Errore durante il salvataggio del modulo" ],
], "This chatroom requires a password": [
"This chatroom requires a password": [ null,
null, "Questa stanza richiede una password"
"Questa stanza richiede una password" ],
], "Password: ": [
"Password: ": [ null,
null, "Password: "
"Password: " ],
], "Submit": [
"Submit": [ null,
null, "Invia"
"Invia" ],
], "This room is not anonymous": [
"This room is not anonymous": [ null,
null, "Questa stanza non è anonima"
"Questa stanza non è anonima" ],
], "This room now shows unavailable members": [
"This room now shows unavailable members": [ null,
null, "Questa stanza mostra i membri non disponibili al momento"
"Questa stanza mostra i membri non disponibili al momento" ],
], "This room does not show unavailable members": [
"This room does not show unavailable members": [ null,
null, "Questa stanza non mostra i membri non disponibili"
"Questa stanza non mostra i membri non disponibili" ],
], "Non-privacy-related room configuration has changed": [
"Non-privacy-related room configuration has changed": [ null,
null, "Una configurazione della stanza non legata alla privacy è stata modificata"
"Una configurazione della stanza non legata alla privacy è stata modificata" ],
], "Room logging is now enabled": [
"Room logging is now enabled": [ null,
null, "La registrazione è abilitata nella stanza"
"La registrazione è abilitata nella stanza" ],
], "Room logging is now disabled": [
"Room logging is now disabled": [ null,
null, "La registrazione è disabilitata nella stanza"
"La registrazione è disabilitata nella stanza" ],
], "This room is now non-anonymous": [
"This room is now non-anonymous": [ null,
null, "Questa stanza è non-anonima"
"Questa stanza è non-anonima" ],
], "This room is now semi-anonymous": [
"This room is now semi-anonymous": [ null,
null, "Questa stanza è semi-anonima"
"Questa stanza è semi-anonima" ],
], "This room is now fully-anonymous": [
"This room is now fully-anonymous": [ null,
null, "Questa stanza è completamente-anonima"
"Questa stanza è completamente-anonima" ],
], "A new room has been created": [
"A new room has been created": [ null,
null, "Una nuova stanza è stata creata"
"Una nuova stanza è stata creata" ],
], "Your nickname has been changed": [
"Your nickname has been changed": [ null,
null, "Il tuo soprannome è stato cambiato"
"Il tuo soprannome è stato cambiato" ],
], "<strong>%1$s</strong> has been banned": [
"<strong>%1$s</strong> has been banned": [ null,
null, "<strong>%1$s</strong> è stato bandito"
"<strong>%1$s</strong> è stato bandito" ],
], "<strong>%1$s</strong> has been kicked out": [
"<strong>%1$s</strong> has been kicked out": [ null,
null, "<strong>%1$s</strong> è stato espulso"
"<strong>%1$s</strong> è stato espulso" ],
], "<strong>%1$s</strong> has been removed because of an affiliation change": [
"<strong>%1$s</strong> has been removed because of an affiliation change": [ null,
null, "<strong>%1$s</strong> è stato rimosso a causa di un cambio di affiliazione"
"<strong>%1$s</strong> è stato rimosso a causa di un cambio di affiliazione" ],
], "<strong>%1$s</strong> has been removed for not being a member": [
"<strong>%1$s</strong> has been removed for not being a member": [ null,
null, "<strong>%1$s</strong> è stato rimosso in quanto non membro"
"<strong>%1$s</strong> è stato rimosso in quanto non membro" ],
], "You have been banned from this room": [
"You have been banned from this room": [ null,
null, "Sei stato bandito da questa stanza"
"Sei stato bandito da questa stanza" ],
], "You have been kicked from this room": [
"You have been kicked from this room": [ null,
null, "Sei stato espulso da questa stanza"
"Sei stato espulso da questa stanza" ],
], "You have been removed from this room because of an affiliation change": [
"You have been removed from this room because of an affiliation change": [ null,
null, "Sei stato rimosso da questa stanza a causa di un cambio di affiliazione"
"Sei stato rimosso da questa stanza a causa di un cambio di affiliazione" ],
], "You have been removed from this room because the room has changed to members-only and you're not a member": [
"You have been removed from this room because the room has changed to members-only and you're not a member": [ null,
null, "Sei stato rimosso da questa stanza poiché ora la stanza accetta solo membri"
"Sei stato rimosso da questa stanza poiché ora la stanza accetta solo membri" ],
], "You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [
"You have been removed from this room because the MUC (Multi-user chat) service is being shut down.": [ null,
null, "Sei stato rimosso da questa stanza poiché il servizio MUC (Chat multi utente) è in fase di spegnimento"
"Sei stato rimosso da questa stanza poiché il servizio MUC (Chat multi utente) è in fase di spegnimento" ],
], "You are not on the member list of this room": [
"You are not on the member list of this room": [ null,
null, "Non sei nella lista dei membri di questa stanza"
"Non sei nella lista dei membri di questa stanza" ],
], "No nickname was specified": [
"No nickname was specified": [ null,
null, "Nessun soprannome specificato"
"Nessun soprannome specificato" ],
], "You are not allowed to create new rooms": [
"You are not allowed to create new rooms": [ null,
null, "Non ti è permesso creare nuove stanze"
"Non ti è permesso creare nuove stanze" ],
], "Your nickname doesn't conform to this room's policies": [
"Your nickname doesn't conform to this room's policies": [ null,
null, "Il tuo soprannome non è conforme alle regole di questa stanza"
"Il tuo soprannome non è conforme alle regole di questa stanza" ],
], "Your nickname is already taken": [
"Your nickname is already taken": [ null,
null, "Il tuo soprannome è già utilizzato"
"Il tuo soprannome è già utilizzato" ],
], "This room does not (yet) exist": [
"This room does not (yet) exist": [ null,
null, "Questa stanza non esiste (per ora)"
"Questa stanza non esiste (per ora)" ],
], "This room has reached it's maximum number of occupants": [
"This room has reached it's maximum number of occupants": [ null,
null, "Questa stanza ha raggiunto il limite massimo di utenti"
"Questa stanza ha raggiunto il limite massimo di utenti" ],
], "Topic set by %1$s to: %2$s": [
"Topic set by %1$s to: %2$s": [ null,
null, "Topic impostato da %1$s a: %2$s"
"Topic impostato da %1$s a: %2$s" ],
], "This user is a moderator": [
"This user is a moderator": [ null,
null, "Questo utente è un moderatore"
"Questo utente è un moderatore" ],
], "This user can send messages in this room": [
"This user can send messages in this room": [ null,
null, "Questo utente può inviare messaggi in questa stanza"
"Questo utente può inviare messaggi in questa stanza" ],
], "This user can NOT send messages in this room": [
"This user can NOT send messages in this room": [ null,
null, "Questo utente NON può inviare messaggi in questa stanza"
"Questo utente NON può inviare messaggi in questa stanza" ],
], "Click to chat with this contact": [
"Click to chat with this contact": [ null,
null, "Clicca per parlare con questo contatto"
"Clicca per parlare con questo contatto" ],
], "Click to remove this contact": [
"Click to remove this contact": [ null,
null, "Clicca per rimuovere questo contatto"
"Clicca per rimuovere questo contatto" ],
], "Contact requests": [
"Contact requests": [ null,
null, "Richieste dei contatti"
"Richieste dei contatti" ],
], "My contacts": [
"My contacts": [ null,
null, "I miei contatti"
"I miei contatti" ],
], "Pending contacts": [
"Pending contacts": [ null,
null, "Contatti in attesa"
"Contatti in attesa" ],
], "Custom status": [
"Custom status": [ null,
null, "Stato personalizzato"
"Stato personalizzato" ],
], "Click to change your chat status": [
"Click to change your chat status": [ null,
null, "Clicca per cambiare il tuo stato"
"Clicca per cambiare il tuo stato" ],
], "Click here to write a custom status message": [
"Click here to write a custom status message": [ null,
null, "Clicca qui per scrivere un messaggio di stato personalizzato"
"Clicca qui per scrivere un messaggio di stato personalizzato" ],
], "online": [
"online": [ null,
null, "in linea"
"in linea" ],
], "busy": [
"busy": [ null,
null, "occupato"
"occupato" ],
], "away for long": [
"away for long": [ null,
null, "assente da molto"
"assente da molto" ],
], "away": [
"away": [ null,
null, "assente"
"assente" ],
], "I am %1$s": [
"I am %1$s": [ null,
null, "Sono %1$s"
"Sono %1$s" ],
], "Sign in": [
"Sign in": [ null,
null, "Entra"
"Entra" ],
], "XMPP/Jabber Username:": [
"XMPP/Jabber Username:": [ null,
null, "Nome utente:"
"Nome utente:" ],
], "Password:": [
"Password:": [ null,
null, "Password:"
"Password:" ],
], "Log In": [
"Log In": [ null,
null, "Entra"
"Entra" ],
], "BOSH Service URL:": [
"BOSH Service URL:": [ null,
null, "Indirizzo servizio BOSH:"
"Indirizzo servizio BOSH:" ],
], "Connected": [
"Connected": [ null,
null, "Connesso"
"Connesso" ],
], "Disconnected": [
"Disconnected": [ null,
null, "Disconnesso"
"Disconnesso" ],
], "Error": [
"Error": [ null,
null, "Errore"
"Errore" ],
], "Connecting": [
"Connecting": [ null,
null, "Connessione in corso"
"Connessione in corso" ],
], "Connection Failed": [
"Connection Failed": [ null,
null, "Connessione fallita"
"Connessione fallita" ],
], "Authenticating": [
"Authenticating": [ null,
null, "Autenticazione in corso"
"Autenticazione in corso" ],
], "Authentication Failed": [
"Authentication Failed": [ null,
null, "Autenticazione fallita"
"Autenticazione fallita" ],
], "Disconnecting": [
"Disconnecting": [ null,
null, "Disconnessione in corso"
"Disconnessione in corso" ],
], "Attached": [
"Attached": [ null,
null, "Allegato"
"Allegato" ],
], "Online Contacts": [
"Online Contacts": [ null,
null, "Contatti in linea"
"Contatti in linea" ]
]
}
} }
}); }
return factory(it);
}); });
if (typeof define === 'function' && define.amd) {
define("it", ['jed'], function () {
return factory(it);
});
} else {
if (!window.locales) {
window.locales = {};
}
window.locales.it = it;
}
}(this, function (it) { }(this, function (it) {
return it; return it;
})); }));

23
locale/single_locale.js Normal file
View File

@ -0,0 +1,23 @@
/*
* This file specifies a single language dependency (for English).
*
* Translations take up a lot of space and you are therefore advised to remove
* from here any languages that you don't need.
*/
(function (root, factory) {
require.config({
paths: {
"jed": "Libraries/jed",
"en": "locale/en/LC_MESSAGES/en"
}
});
define("locales", [
'jed',
'en'
], function (jed, en) {
root.locales = {};
root.locales.en = en;
});
})(this);

14
mock.js
View File

@ -1,8 +1,8 @@
(function (root, factory) { (function (root, factory) {
define("mock", define("mock",
['converse'], ['converse'],
function() { function() {
return factory(); return factory();
}); });
}(this, function (converse) { }(this, function (converse) {
var mock_connection = { var mock_connection = {
@ -14,7 +14,7 @@
'rooms': {} 'rooms': {}
}, },
'jid': 'dummy@localhost', 'jid': 'dummy@localhost',
'addHandler': function (handler, ns, name, type, id, from, options) { 'addHandler': function (handler, ns, name, type, id, from, options) {
return function () {}; return function () {};
}, },
'send': function () {}, 'send': function () {},
@ -26,7 +26,7 @@
'subscribe': function () {}, 'subscribe': function () {},
'registerCallback': function () {} 'registerCallback': function () {}
}, },
'vcard': { 'vcard': {
'get': function (callback, jid) { 'get': function (callback, jid) {
var firstname, lastname; var firstname, lastname;
if (!jid) { if (!jid) {
@ -41,7 +41,7 @@
var fullname = firstname+' '+lastname; var fullname = firstname+' '+lastname;
var vcard = $iq().c('vCard').c('FN').t(fullname); var vcard = $iq().c('vCard').c('FN').t(fullname);
callback(vcard.tree()); callback(vcard.tree());
} }
}, },
'disco': { 'disco': {
'info': function () {}, 'info': function () {},

View File

@ -1,5 +1,34 @@
{ {
"name": "Converse.js", "name": "converse.js",
"description": "Converse.js is a web based XMPP/Jabber instant messaging client", "version": "0.5.0",
"version": "0.4.1" "description": "Browser based XMPP instant messaging client",
} "main": "main.js",
"directories": {
"doc": "docs"
},
"scripts": {
"test": ""
},
"repository": {
"type": "git",
"url": "git://github.com/jcbrand/converse.js.git"
},
"keywords": [
"XMPP",
"Jabber",
"chat",
"messaging",
"chatrooms",
"webchat"
],
"author": "JC Brand",
"license": "MIT",
"bugs": {
"url": "https://github.com/jcbrand/converse.js/issues"
},
"devDependencies": {
"grunt-cli": "~0.1.9",
"grunt": "~0.4.1",
"grunt-contrib-jshint": "~0.6.0"
}
}

View File

@ -54,7 +54,7 @@
expect($("div#controlbox").is(':visible')).toBe(true); expect($("div#controlbox").is(':visible')).toBe(true);
}, converse); }, converse);
it("can be opened by clicking a DOM element with class 'toggle-online-users'", open_controlbox); it("can be opened by clicking a DOM element with class 'toggle-online-users'", open_controlbox);
describe("The Status Widget", $.proxy(function () { describe("The Status Widget", $.proxy(function () {
it("can be used to set the current user's chat status", $.proxy(function () { it("can be used to set the current user's chat status", $.proxy(function () {
var view = this.xmppstatusview; var view = this.xmppstatusview;
@ -121,7 +121,7 @@
var i, t, is_last; var i, t, is_last;
spyOn(this.rosterview, 'render').andCallThrough(); spyOn(this.rosterview, 'render').andCallThrough();
for (i=0; i<pend_names.length; i++) { for (i=0; i<pend_names.length; i++) {
is_last = i==(pend_names.length-1); is_last = i===(pend_names.length-1);
this.roster.create({ this.roster.create({
jid: pend_names[i].replace(' ','.').toLowerCase() + '@localhost', jid: pend_names[i].replace(' ','.').toLowerCase() + '@localhost',
subscription: 'none', subscription: 'none',
@ -129,7 +129,7 @@
fullname: pend_names[i], fullname: pend_names[i],
is_last: is_last is_last: is_last
}); });
// For performance reasons, the roster should only be shown once // For performance reasons, the roster should only be shown once
// the last contact has been added. // the last contact has been added.
if (is_last) { if (is_last) {
expect(this.rosterview.$el.is(':visible')).toEqual(true); expect(this.rosterview.$el.is(':visible')).toEqual(true);
@ -162,7 +162,7 @@
subscription: 'both', subscription: 'both',
ask: null, ask: null,
fullname: cur_names[i], fullname: cur_names[i],
is_last: i==(cur_names.length-1) is_last: i===(cur_names.length-1)
}); });
expect(this.rosterview.render).toHaveBeenCalled(); expect(this.rosterview.render).toHaveBeenCalled();
// Check that they are sorted alphabetically // Check that they are sorted alphabetically
@ -291,7 +291,7 @@
subscription: 'none', subscription: 'none',
ask: 'request', ask: 'request',
fullname: req_names[i], fullname: req_names[i],
is_last: i==(req_names.length-1) is_last: i===(req_names.length-1)
}); });
expect(this.rosterview.render).toHaveBeenCalled(); expect(this.rosterview.render).toHaveBeenCalled();
// Check that they are sorted alphabetically // Check that they are sorted alphabetically
@ -335,7 +335,7 @@
expect(this.rosterview.removeRosterItem).toHaveBeenCalled(); expect(this.rosterview.removeRosterItem).toHaveBeenCalled();
expect(this.connection.roster.unauthorize).toHaveBeenCalled(); expect(this.connection.roster.unauthorize).toHaveBeenCalled();
// There should now be one less contact // There should now be one less contact
expect(this.roster.length).toEqual(num_contacts-1); expect(this.roster.length).toEqual(num_contacts-1);
}, converse)); }, converse));
}, converse)); }, converse));
@ -368,7 +368,7 @@
afterEach($.proxy(function () { afterEach($.proxy(function () {
// Contacts retrieved from localStorage have chat_status of // Contacts retrieved from localStorage have chat_status of
// "offline". // "offline".
// In the next test suite, we need some online contacts, so // In the next test suite, we need some online contacts, so
// we make some online now // we make some online now
for (i=0; i<5; i++) { for (i=0; i<5; i++) {
@ -456,7 +456,7 @@
expect(newchatboxes.length).toEqual(0); expect(newchatboxes.length).toEqual(0);
// Lets open the controlbox again, purely for visual feedback // Lets open the controlbox again, purely for visual feedback
open_controlbox(); open_controlbox();
}, converse)); }, converse));
describe("A Chat Message", $.proxy(function () { describe("A Chat Message", $.proxy(function () {
@ -465,8 +465,8 @@
var sender_jid = cur_names[0].replace(' ','.').toLowerCase() + '@localhost'; var sender_jid = cur_names[0].replace(' ','.').toLowerCase() + '@localhost';
msg = $msg({ msg = $msg({
from: sender_jid, from: sender_jid,
to: this.connection.jid, to: this.connection.jid,
type: 'chat', type: 'chat',
id: (new Date()).getTime() id: (new Date()).getTime()
}).c('body').t(message).up() }).c('body').t(message).up()
.c('active', {'xmlns': 'http://jabber.org/protocol/chatstates'}).tree(); .c('active', {'xmlns': 'http://jabber.org/protocol/chatstates'}).tree();
@ -534,8 +534,8 @@
var sender_jid = cur_names[0].replace(' ','.').toLowerCase() + '@localhost'; var sender_jid = cur_names[0].replace(' ','.').toLowerCase() + '@localhost';
msg = $msg({ msg = $msg({
from: sender_jid, from: sender_jid,
to: this.connection.jid, to: this.connection.jid,
type: 'chat', type: 'chat',
id: (new Date()).getTime() id: (new Date()).getTime()
}).c('body').t(message).up() }).c('body').t(message).up()
.c('active', {'xmlns': 'http://jabber.org/protocol/chatstates'}).tree(); .c('active', {'xmlns': 'http://jabber.org/protocol/chatstates'}).tree();
@ -563,8 +563,8 @@
var sender_jid = cur_names[0].replace(' ','.').toLowerCase() + '@localhost'; var sender_jid = cur_names[0].replace(' ','.').toLowerCase() + '@localhost';
msg = $msg({ msg = $msg({
from: sender_jid, from: sender_jid,
to: this.connection.jid, to: this.connection.jid,
type: 'chat', type: 'chat',
id: (new Date()).getTime() id: (new Date()).getTime()
}).c('body').t(message).up() }).c('body').t(message).up()
.c('active', {'xmlns': 'http://jabber.org/protocol/chatstates'}).tree(); .c('active', {'xmlns': 'http://jabber.org/protocol/chatstates'}).tree();