Skip to content

Commit

Permalink
tagging 0.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
meebey committed Jan 1, 2009
2 parents 6489340 + 24237f3 commit 61fd3bb
Show file tree
Hide file tree
Showing 18 changed files with 118 additions and 48 deletions.
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ SUBDIRS = src \

update-po:
for PODIR in $(PODIRS); do \
$(MAKE) -C $$PODIR $@; \
echo $$PODIR; \
$(MAKE) -C $$PODIR $@ | egrep -e '(:$$|messages)'; \
done
9 changes: 7 additions & 2 deletions po-Engine/da.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-28 23:25+0100\n"
"POT-Creation-Date: 2009-01-01 18:39+0100\n"
"PO-Revision-Date: 2006-12-11 00:21+0100\n"
"Last-Translator: Bjarke Sørensen <bs@wasd.dk>\n"
"Language-Team: Danish <bs@wasd.dk>\n"
Expand Down Expand Up @@ -105,7 +105,12 @@ msgstr "Afbrydelse fejlede, kunne ikke finde server: {0}"
msgid "Not connected to any network"
msgstr "Ikke forbundet til noget netværk"

#: ../src/Engine/Session.cs:876
#: ../src/Engine/Session.cs:884
#, csharp-format
msgid "No protocol manager found for the protocol: {0}"
msgstr ""

#: ../src/Engine/Session.cs:904
#, csharp-format
msgid "Unknown protocol: {0}"
msgstr ""
Expand Down
9 changes: 7 additions & 2 deletions po-Engine/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.6.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-28 23:25+0100\n"
"POT-Creation-Date: 2009-01-01 18:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Mirco Bauer <meebey@meebey.net>\n"
"Language-Team: German <LL@li.org>\n"
Expand Down Expand Up @@ -112,7 +112,12 @@ msgstr ""
msgid "Not connected to any network"
msgstr "Keine Verbindung zu einem Netzwerk"

#: ../src/Engine/Session.cs:876
#: ../src/Engine/Session.cs:884
#, csharp-format
msgid "No protocol manager found for the protocol: {0}"
msgstr "Kein Protokoll-Manager gefunden für das Protokoll: {0}"

#: ../src/Engine/Session.cs:904
#, csharp-format
msgid "Unknown protocol: {0}"
msgstr "Unbekanntes Protokoll: {0}"
9 changes: 7 additions & 2 deletions po-Engine/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.6.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-28 23:25+0100\n"
"POT-Creation-Date: 2009-01-01 18:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Juan Miguel Carrero <streinleght@gmail.com>\n"
"Language-Team: Spanish <streinleght@gmail.com>\n"
Expand Down Expand Up @@ -103,7 +103,12 @@ msgstr "Cambio de red fallido , no se puede encontrar la red con host: {0}"
msgid "Not connected to any network"
msgstr "No conectado a ninguna red"

#: ../src/Engine/Session.cs:876
#: ../src/Engine/Session.cs:884
#, csharp-format
msgid "No protocol manager found for the protocol: {0}"
msgstr ""

#: ../src/Engine/Session.cs:904
#, csharp-format
msgid "Unknown protocol: {0}"
msgstr "Protocolo desconocido: {0}"
9 changes: 7 additions & 2 deletions po-Engine/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.6.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-28 23:25+0100\n"
"POT-Creation-Date: 2009-01-01 18:39+0100\n"
"PO-Revision-Date: 2008-09-05 01:34+0100\n"
"Last-Translator: Clement BOURGEOIS <moonpyk@gmail.com>\n"
"Language-Team: French <moonpyk@gmail.com>\n"
Expand Down Expand Up @@ -107,7 +107,12 @@ msgstr "Changement de réseau impossible, aucun réseau pour l'hôte : {0}"
msgid "Not connected to any network"
msgstr "Connecté à aucun réseau"

#: ../src/Engine/Session.cs:876
#: ../src/Engine/Session.cs:884
#, csharp-format
msgid "No protocol manager found for the protocol: {0}"
msgstr ""

#: ../src/Engine/Session.cs:904
#, csharp-format
msgid "Unknown protocol: {0}"
msgstr "Protocole inconnu : {0}"
9 changes: 7 additions & 2 deletions po-Engine/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-28 23:25+0100\n"
"POT-Creation-Date: 2009-01-01 18:39+0100\n"
"PO-Revision-Date: 2008-12-28 23:55+0100\n"
"Last-Translator: David Paleino <d.paleino@gmail.com>\n"
"Language-Team: Italian\n"
Expand Down Expand Up @@ -107,7 +107,12 @@ msgstr "Cambio di rete fallito, impossibile trovare rete con host: {0}"
msgid "Not connected to any network"
msgstr "Non connesso ad alcuna rete"

#: ../src/Engine/Session.cs:876
#: ../src/Engine/Session.cs:884
#, csharp-format
msgid "No protocol manager found for the protocol: {0}"
msgstr "Nessun gestore trovato per il protocollo {0}"

#: ../src/Engine/Session.cs:904
#, csharp-format
msgid "Unknown protocol: {0}"
msgstr "Protocollo sconosciuto: {0}"
9 changes: 7 additions & 2 deletions po-Engine/smuxi-engine.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-28 23:25+0100\n"
"POT-Creation-Date: 2009-01-01 18:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -104,7 +104,12 @@ msgstr ""
msgid "Not connected to any network"
msgstr ""

#: ../src/Engine/Session.cs:876
#: ../src/Engine/Session.cs:884
#, csharp-format
msgid "No protocol manager found for the protocol: {0}"
msgstr ""

#: ../src/Engine/Session.cs:904
#, csharp-format
msgid "Unknown protocol: {0}"
msgstr ""
6 changes: 3 additions & 3 deletions po-Frontend-GNOME/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.6.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-28 23:20+0100\n"
"POT-Creation-Date: 2009-01-01 17:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Mirco Bauer <meebey@meebey.net>\n"
"Language-Team: German <LL@li.org>\n"
Expand Down Expand Up @@ -603,15 +603,15 @@ msgstr "_Caret-Modus"
msgid "_Help"
msgstr "_Hilfe"

#: ../src/Frontend-GNOME/MainWindow.cs:730
#: ../src/Frontend-GNOME/MainWindow.cs:724
msgid ""
"Switching to local engine will disconnect you from the current engine!\n"
"Are you sure you want to do this?"
msgstr ""
"Das Wechseln zur lokalen Engine wird Sie von der jetzigen Engine trennen!\n"
"Möchten Sie das wirklich tun?"

#: ../src/Frontend-GNOME/MainWindow.cs:762
#: ../src/Frontend-GNOME/MainWindow.cs:756
msgid ""
"Switching the remote engine will disconnect you from the current engine!\n"
"Are you sure you want to do this?"
Expand Down
6 changes: 3 additions & 3 deletions po-Frontend-GNOME/en_GB.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.6.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-28 23:20+0100\n"
"POT-Creation-Date: 2009-01-01 17:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Ryan Smith-Evans <Kimera.Kimera@gmail.com>\n"
"Language-Team: English-GB <Kimera.Kimera@gmail.com>\n"
Expand Down Expand Up @@ -599,15 +599,15 @@ msgstr "_Caret Mode"
msgid "_Help"
msgstr "_Help"

#: ../src/Frontend-GNOME/MainWindow.cs:730
#: ../src/Frontend-GNOME/MainWindow.cs:724
msgid ""
"Switching to local engine will disconnect you from the current engine!\n"
"Are you sure you want to do this?"
msgstr ""
"Switching to local engine will disconnect you from the current engine!\n"
"Are you sure you want to do this?"

#: ../src/Frontend-GNOME/MainWindow.cs:762
#: ../src/Frontend-GNOME/MainWindow.cs:756
msgid ""
"Switching the remote engine will disconnect you from the current engine!\n"
"Are you sure you want to do this?"
Expand Down
6 changes: 3 additions & 3 deletions po-Frontend-GNOME/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.6.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-28 23:20+0100\n"
"POT-Creation-Date: 2009-01-01 17:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Juan Miguel Carrero <streinleght@gmail.com>\n"
"Language-Team: Spanish <streinleght@gmail.com>\n"
Expand Down Expand Up @@ -599,15 +599,15 @@ msgstr "_Modo Caret"
msgid "_Help"
msgstr "_Ayuda"

#: ../src/Frontend-GNOME/MainWindow.cs:730
#: ../src/Frontend-GNOME/MainWindow.cs:724
msgid ""
"Switching to local engine will disconnect you from the current engine!\n"
"Are you sure you want to do this?"
msgstr ""
"Cambiar al engine local te desconectará del engine actual!\n"
"¿Estás seguro de que quieres hacer ésto?"

#: ../src/Frontend-GNOME/MainWindow.cs:762
#: ../src/Frontend-GNOME/MainWindow.cs:756
msgid ""
"Switching the remote engine will disconnect you from the current engine!\n"
"Are you sure you want to do this?"
Expand Down
6 changes: 3 additions & 3 deletions po-Frontend-GNOME/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.6.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-28 23:20+0100\n"
"POT-Creation-Date: 2009-01-01 17:35+0100\n"
"PO-Revision-Date: 2008-09-05 01:32+0100\n"
"Last-Translator: Clement BOURGEOIS <moonpyk@gmail.com>\n"
"Language-Team: French <moonpyk@gmail.com>\n"
Expand Down Expand Up @@ -607,7 +607,7 @@ msgstr "Mode _curseur"
msgid "_Help"
msgstr "_Aide"

#: ../src/Frontend-GNOME/MainWindow.cs:730
#: ../src/Frontend-GNOME/MainWindow.cs:724
msgid ""
"Switching to local engine will disconnect you from the current engine!\n"
"Are you sure you want to do this?"
Expand All @@ -616,7 +616,7 @@ msgstr ""
"actuel !\n"
"Êtes vous sûr(e) de vouloir continuer ?"

#: ../src/Frontend-GNOME/MainWindow.cs:762
#: ../src/Frontend-GNOME/MainWindow.cs:756
msgid ""
"Switching the remote engine will disconnect you from the current engine!\n"
"Are you sure you want to do this?"
Expand Down
6 changes: 3 additions & 3 deletions po-Frontend-GNOME/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: smuxi VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-28 23:20+0100\n"
"POT-Creation-Date: 2009-01-01 17:35+0100\n"
"PO-Revision-Date: 2008-12-28 23:53+0100\n"
"Last-Translator: David Paleino <d.paleino@gmail.com>\n"
"Language-Team: Italian\n"
Expand Down Expand Up @@ -604,15 +604,15 @@ msgstr "_Modalità Caret"
msgid "_Help"
msgstr "_Aiuto"

#: ../src/Frontend-GNOME/MainWindow.cs:730
#: ../src/Frontend-GNOME/MainWindow.cs:724
msgid ""
"Switching to local engine will disconnect you from the current engine!\n"
"Are you sure you want to do this?"
msgstr ""
"Cambiare all'engine locale ti disconnetterà dall'engine attuale!\n"
"Sei sicuro di volerlo fare?"

#: ../src/Frontend-GNOME/MainWindow.cs:762
#: ../src/Frontend-GNOME/MainWindow.cs:756
msgid ""
"Switching the remote engine will disconnect you from the current engine!\n"
"Are you sure you want to do this?"
Expand Down
6 changes: 3 additions & 3 deletions po-Frontend-GNOME/smuxi-frontend-gnome.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-28 23:20+0100\n"
"POT-Creation-Date: 2009-01-01 17:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -583,13 +583,13 @@ msgstr ""
msgid "_Help"
msgstr ""

#: ../src/Frontend-GNOME/MainWindow.cs:730
#: ../src/Frontend-GNOME/MainWindow.cs:724
msgid ""
"Switching to local engine will disconnect you from the current engine!\n"
"Are you sure you want to do this?"
msgstr ""

#: ../src/Frontend-GNOME/MainWindow.cs:762
#: ../src/Frontend-GNOME/MainWindow.cs:756
msgid ""
"Switching the remote engine will disconnect you from the current engine!\n"
"Are you sure you want to do this?"
Expand Down
21 changes: 21 additions & 0 deletions src/Engine/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
2009-01-01 Mirco Bauer <meebey@meebey.net>

* Session.cs: use variable in translatable strings

2009-01-01 Mirco Bauer <meebey@meebey.net>

* Session.cs: nicer message

2009-01-01 Mirco Bauer <meebey@meebey.net>

* FrontendManager.cs: Don't prevent removing chats when they are not synced
yet, as that causes a race condition when someone enters and leaves
right-away a chat and thus is not being on the frontend side. Also
problematic servers (like psyBNC) could cause such "enter chat, no sync,
can't remove chat" situation. (closes trac bug #144)

2008-12-31 Mirco Bauer <meebey@meebey.net>

* Session.cs: Added Connect() method that allows frontends to create new
connections in a protocol neutral way.

2008-12-28 Mirco Bauer <meebey@meebey.net>

* Config/Config.cs: Make sure Username and Password are initialized empty,
Expand Down
9 changes: 0 additions & 9 deletions src/Engine/FrontendManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -274,15 +274,6 @@ public void AddMessageToCurrentChat(MessageModel msg)
}

public void RemoveChat(ChatModel chat)
{
if (!_SyncedChats.Contains(chat)) {
return;
}

_RemoveChat(chat);
}

private void _RemoveChat(ChatModel chat)
{
f_TaskQueue.Queue(delegate {
_UI.RemoveChat(chat);
Expand Down
28 changes: 28 additions & 0 deletions src/Engine/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,34 @@ public IList<string> GetSupportedProtocols()
return _ProtocolManagerFactory.GetProtocols();
}

public void Connect(FrontendManager frontendManager, string protocol,
string hostname, int port,
string username, string password)
{
Trace.Call(frontendManager, protocol, hostname, port, username, "XXX");

IProtocolManager protocolManager = _CreateProtocolManager(
frontendManager,
protocol
);
if (protocolManager == null) {
throw new ApplicationException(
String.Format(
_("No protocol manager found for the protocol: {0}"),
protocol
)
);
}

_ProtocolManagers.Add(protocolManager);
// only pass non-empty passwords to Connect()
if (String.IsNullOrEmpty(password)) {
password = null;
}
protocolManager.Connect(frontendManager, hostname, port,
username, password);
}

private IProtocolManager _CreateProtocolManager(FrontendManager fm, string protocol)
{
ProtocolManagerInfoModel info = _ProtocolManagerFactory.GetProtocolManagerInfoByAlias(protocol);
Expand Down
5 changes: 5 additions & 0 deletions src/Frontend-GNOME/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2008-12-31 Mirco Bauer <meebey@meebey.net>

* MainWindow.cs: Use Session.Connect() API instead of faking user input and
hoping the protocol manager will like our format. (closes trac bug #141)

2008-12-28 Mirco Bauer <meebey@meebey.net>

* MainWindow.cs: White space fix.
Expand Down
Loading

0 comments on commit 61fd3bb

Please sign in to comment.