Localize.

This commit is contained in:
B. Petersen
2016-11-11 21:31:01 +01:00
parent f64354f8e6
commit fa1bc43159
8 changed files with 8 additions and 8 deletions
@@ -306,7 +306,7 @@ public class ApplicationLoader extends Application {
MrMailbox.MrCallback(0, 0, 0); // do not remove this call; this makes sure, the function is not removed from build or warnings are printed!
MrMailbox.hMailbox = MrMailbox.MrMailboxNew();
MrMailbox.MrStockAddStr(1, LocaleController.getString("NoMessages", R.string.NoMessages));
MrMailbox.MrStockAddStr(2, LocaleController.getString("FromYou", R.string.FromYou));
MrMailbox.MrStockAddStr(2, LocaleController.getString("FromSelf", R.string.FromSelf));
MrMailbox.MrStockAddStr(3, LocaleController.getString("Draft", R.string.Draft));
MrMailbox.MrStockAddStr(4, LocaleController.getString("MemberSg", R.string.MemberSg));
MrMailbox.MrStockAddStr(5, LocaleController.getString("MemberPl", R.string.MemberPl));
@@ -1470,7 +1470,7 @@ public class MessageObject {
if (attribute instanceof TLRPC.TL_documentAttributeAudio) {
if (attribute.voice) {
if (isOutOwner() || messageOwner.fwd_from != null && messageOwner.fwd_from.from_id == UserConfig.getClientUserId()) {
return LocaleController.getString("FromYou", R.string.FromYou);
return LocaleController.getString("FromSelf", R.string.FromSelf);
}
TLRPC.User user = null;
TLRPC.Chat chat = null;
@@ -636,7 +636,7 @@
<string name="AttachDocument">Datei</string>
<string name="AttachSticker">Sticker</string>
<string name="AttachAudio">Sprachnachricht</string>
<string name="FromYou">Ich</string>
<string name="FromSelf">Ich</string>
<string name="ActionTakeScreenshootYou">Du hast ein Bildschirmfoto gemacht!</string>
<string name="ActionTakeScreenshoot">un1 hat ein Bildschirmfoto gemacht!</string>
<!--Alert messages-->
@@ -637,7 +637,7 @@
<string name="AttachDocument">Archivo</string>
<string name="AttachSticker">Sticker</string>
<string name="AttachAudio">Mensaje de voz</string>
<string name="FromYou"></string>
<string name="FromSelf"></string>
<string name="ActionTakeScreenshootYou">¡Hiciste una captura de pantalla!</string>
<string name="ActionTakeScreenshoot">¡un1 hizo una captura de pantalla!</string>
<!--Alert messages-->
@@ -637,7 +637,7 @@
<string name="AttachDocument">File</string>
<string name="AttachSticker">Sticker</string>
<string name="AttachAudio">Messaggio vocale</string>
<string name="FromYou">Tu</string>
<string name="FromSelf">Tu</string>
<string name="ActionTakeScreenshootYou">Hai fatto uno screenshot!</string>
<string name="ActionTakeScreenshoot">un1 ha fatto uno screenshot!</string>
<!--Alert messages-->
@@ -637,7 +637,7 @@
<string name="AttachDocument">Bestand</string>
<string name="AttachSticker">Sticker</string>
<string name="AttachAudio">Spraakbericht</string>
<string name="FromYou">Jij</string>
<string name="FromSelf">Jij</string>
<string name="ActionTakeScreenshootYou">Schermafdruk gemaakt!</string>
<string name="ActionTakeScreenshoot">un1 heeft een schermafdruk gemaakt!</string>
<!--Alert messages-->
@@ -637,7 +637,7 @@
<string name="AttachDocument">Arquivo</string>
<string name="AttachSticker">Sticker</string>
<string name="AttachAudio">Mensagem de voz</string>
<string name="FromYou">Você</string>
<string name="FromSelf">Você</string>
<string name="ActionTakeScreenshootYou">Você realizou uma captura da tela!</string>
<string name="ActionTakeScreenshoot">un1 realizou uma captura da tela!</string>
<!--Alert messages-->
@@ -637,7 +637,7 @@
<string name="AttachDocument">File</string>
<string name="AttachSticker">Sticker</string>
<string name="AttachAudio">Voice message</string>
<string name="FromYou">Me</string>
<string name="FromSelf">Me</string>
<string name="ActionTakeScreenshootYou">You took a screenshot!</string>
<string name="ActionTakeScreenshoot">un1 took a screenshot!</string>
<!--Alert messages-->