From 71324261e5560fa70ef028fba35bd121f2527578 Mon Sep 17 00:00:00 2001 From: kruks23 Date: Tue, 8 Jul 2014 21:13:53 +0200 Subject: Show time in messages previous days --- src/eu/siacs/conversations/utils/UIHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eu/siacs/conversations/utils/UIHelper.java b/src/eu/siacs/conversations/utils/UIHelper.java index ddd5e1be..f3f1d9e5 100644 --- a/src/eu/siacs/conversations/utils/UIHelper.java +++ b/src/eu/siacs/conversations/utils/UIHelper.java @@ -54,7 +54,7 @@ public class UIHelper { private static final int FG_COLOR = 0xFFFAFAFA; private static final int TRANSPARENT = 0x00000000; private static final int DATE_NO_YEAR_FLAGS = DateUtils.FORMAT_SHOW_DATE - | DateUtils.FORMAT_NO_YEAR | DateUtils.FORMAT_ABBREV_ALL; + | DateUtils.FORMAT_NO_YEAR | DateUtils.FORMAT_SHOW_TIME | DateUtils.FORMAT_ABBREV_ALL; public static String readableTimeDifference(Context context, long time) { if (time == 0) { -- cgit v1.2.3 From bb6e732ca1306939291796e5c878e1967f0b9c8e Mon Sep 17 00:00:00 2001 From: kruks23 Date: Thu, 10 Jul 2014 18:04:24 +0200 Subject: Show time in messages previous days --- src/eu/siacs/conversations/utils/UIHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eu/siacs/conversations/utils/UIHelper.java b/src/eu/siacs/conversations/utils/UIHelper.java index 9fd16c43..97accb58 100644 --- a/src/eu/siacs/conversations/utils/UIHelper.java +++ b/src/eu/siacs/conversations/utils/UIHelper.java @@ -54,7 +54,7 @@ public class UIHelper { private static final int FG_COLOR = 0xFFFAFAFA; private static final int TRANSPARENT = 0x00000000; private static final int DATE_NO_YEAR_FLAGS = DateUtils.FORMAT_SHOW_DATE - | DateUtils.FORMAT_NO_YEAR | DateUtils.FORMAT_SHOW_TIME | DateUtils.FORMAT_ABBREV_ALL; + | DateUtils.FORMAT_NO_YEAR | DateUtils.FORMAT_ABBREV_ALL; public static String readableTimeDifference(Context context, long time) { if (time == 0) { @@ -69,7 +69,7 @@ public class UIHelper { } else if (difference < 60 * 15) { return context.getString(R.string.minutes_ago, Math.round(difference / 60.0)); - } else if (today(date)) { + } else if (today(date) || difference < 12 * 60 * 60) { java.text.DateFormat df = DateFormat.getTimeFormat(context); return df.format(date); } else { -- cgit v1.2.3 From 1da0845d5235f5754aae36216bbb7ca24ffc51bf Mon Sep 17 00:00:00 2001 From: kruks23 Date: Thu, 10 Jul 2014 18:12:57 +0200 Subject: Update Spanish Translations --- res/values-es/strings.xml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/res/values-es/strings.xml b/res/values-es/strings.xml index c6c6cd27..8dd17059 100644 --- a/res/values-es/strings.xml +++ b/res/values-es/strings.xml @@ -21,6 +21,7 @@ Detalles del Contacto Conversations Compartir con Conversación + Nueva Conversación ahora hace 1 min hace %d min @@ -200,10 +201,10 @@ La cuenta está desconectada Grabar audio Configuración de cuenta - Identificador Jabber: - Contraseña: + Identificador Jabber + Contraseña usuario@ejemplo.com - Confirmar contraseña: + Confirmar contraseña Contraseña Confirmar contraseña Las contraseñas no coinciden @@ -250,4 +251,16 @@ Pulsa para introducir la contraseña y desencriptar el mensaje Error al recibir No se ha encontrado un servidor de conferencias apropiado + Tu clave + Clave OTR + Verificar + Desencriptar + Conferencias + Buscar + Crear Contacto + Crear Conferencia + Eliminar Contacto + Ver detalles del contacto + Crear + El contacto ya existe \ No newline at end of file -- cgit v1.2.3