mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-26 10:52:16 -05:00
More strings internationalized
This commit is contained in:
parent
2c4a2a7969
commit
6127dcedd6
@ -85,6 +85,9 @@
|
||||
<string name="query_to_channel">Vous ne pouvez pas ouvrir une discussion privée vers un canal</string>
|
||||
<string name="query_exists">Cette discussion privée existe déjà</string>
|
||||
<string name="line_missing">Ligne est absente</string>
|
||||
<string name="nickname_in_use">Le pseudo %1$s est déjà utilisé</string>
|
||||
<string name="irc_login_error">Impossible de s\'identifier auprès du serveur %1$s:%1$d</string>
|
||||
<string name="could_not_connect">Impossible de se connecter à %1$s:%1$d</string>
|
||||
|
||||
<string name="command_desc_amsg">Envoie un message vers tous les canaux</string>
|
||||
<string name="command_desc_away">Vous marque absent</string>
|
||||
@ -146,6 +149,8 @@
|
||||
<string name="message_set_moderated">%1$s modère le canal</string>
|
||||
<string name="message_remove_moderated">%1$s retire le statut modéré du canal</string>
|
||||
<string name="message_disconnected">Déconnecté</string>
|
||||
<string name="message_not_connected">Non connecté</string>
|
||||
<string name="message_users_on_chan">Utilisateurs sur %1$s :</string>
|
||||
|
||||
<string name="button_op">Op</string>
|
||||
<string name="button_deop">DeOp</string>
|
||||
|
@ -85,6 +85,9 @@
|
||||
<string name="query_to_channel">You cannot open queries to channels</string>
|
||||
<string name="query_exists">Query already exists</string>
|
||||
<string name="line_missing">Line is missing</string>
|
||||
<string name="nickname_in_use">Nickname %1$s already in use</string>
|
||||
<string name="irc_login_error">Could not log into the IRC server %1$s:%1$d</string>
|
||||
<string name="could_not_connect">Could not connect to %1$s:%1$d</string>
|
||||
|
||||
<string name="command_desc_amsg">Send a message to all channels</string>
|
||||
<string name="command_desc_away">Sets you away</string>
|
||||
@ -146,6 +149,8 @@
|
||||
<string name="message_set_moderated">%1$s sets moderated</string>
|
||||
<string name="message_remove_moderated">%1$s removes moderated</string>
|
||||
<string name="message_disconnected">Disconnected</string>
|
||||
<string name="message_not_connected">Not connected</string>
|
||||
<string name="message_users_on_chan">Users on %1$s:</string>
|
||||
|
||||
<string name="button_op">Op</string>
|
||||
<string name="button_deop">DeOp</string>
|
||||
|
@ -504,7 +504,7 @@ public class ConversationActivity extends Activity implements ServiceConnection,
|
||||
|
||||
if (keyCode == KeyEvent.KEYCODE_ENTER && event.getAction() == KeyEvent.ACTION_DOWN) {
|
||||
if (!server.isConnected()) {
|
||||
Message message = new Message("Not connected");
|
||||
Message message = new Message(getString(R.string.message_not_connected));
|
||||
message.setColor(Message.COLOR_RED);
|
||||
message.setIcon(R.drawable.error);
|
||||
server.getConversation(server.getSelectedConversation()).addMessage(message);
|
||||
|
@ -51,8 +51,7 @@ public class NamesHandler extends BaseHandler
|
||||
throw new CommandException(service.getString(R.string.only_usable_from_channel));
|
||||
}
|
||||
|
||||
// XXX:I18N - Translation needed!
|
||||
StringBuffer userList = new StringBuffer("Users " + conversation.getName() + ":");
|
||||
StringBuffer userList = new StringBuffer(service.getString(R.string.message_users_on_chan, conversation.getName()));
|
||||
|
||||
User[] mUsers = service.getConnection(server.getId()).getUsers(conversation.getName());
|
||||
int mSize = mUsers.length;
|
||||
|
@ -282,11 +282,11 @@ public class IRCService extends Service
|
||||
Message message;
|
||||
|
||||
if (e instanceof NickAlreadyInUseException) {
|
||||
message = new Message("Nickname " + connection.getNick() + " already in use");
|
||||
message = new Message(getString(R.string.nickname_in_use, connection.getNick()));
|
||||
} else if (e instanceof IrcException) {
|
||||
message = new Message("Could not log into the IRC server " + server.getHost() + ":" + server.getPort());
|
||||
message = new Message(getString(R.string.irc_login_error, server.getHost(), server.getPort()));
|
||||
} else {
|
||||
message = new Message("Could not connect to " + server.getHost() + ":" + server.getPort());
|
||||
message = new Message(getString(R.string.could_not_connect, server.getHost(), server.getPort()));
|
||||
}
|
||||
|
||||
message.setColor(Message.COLOR_RED);
|
||||
|
Loading…
Reference in New Issue
Block a user