mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-23 22:09:30 +00:00
Fixed translation
This commit is contained in:
parent
f9fc7227a5
commit
111f1749f5
@ -12,6 +12,7 @@ import android.widget.TextView;
|
|||||||
import org.communiquons.android.comunic.client.R;
|
import org.communiquons.android.comunic.client.R;
|
||||||
import org.communiquons.android.comunic.client.data.utils.StringsUtils;
|
import org.communiquons.android.comunic.client.data.utils.StringsUtils;
|
||||||
import org.communiquons.android.comunic.client.data.utils.Utilities;
|
import org.communiquons.android.comunic.client.data.utils.Utilities;
|
||||||
|
import org.communiquons.android.comunic.client.ui.utils.UiUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CountDown view
|
* CountDown view
|
||||||
@ -96,7 +97,8 @@ public class CountDownView extends BaseFrameLayoutView {
|
|||||||
int seconds = remaining_time % 60;
|
int seconds = remaining_time % 60;
|
||||||
|
|
||||||
Log.v(TAG, days + "d " + hours + ":" + minutes + ":" + seconds);
|
Log.v(TAG, days + "d " + hours + ":" + minutes + ":" + seconds);
|
||||||
return StringsUtils.EnsureZerosInNumberString(days, 2) + "d "
|
return StringsUtils.EnsureZerosInNumberString(days, 2)
|
||||||
|
+ UiUtils.getString(getContext(), R.string.date_days_short) + " "
|
||||||
+ StringsUtils.EnsureZerosInNumberString(hours, 2) + ":"
|
+ StringsUtils.EnsureZerosInNumberString(hours, 2) + ":"
|
||||||
+ StringsUtils.EnsureZerosInNumberString(minutes, 2) + ":"
|
+ StringsUtils.EnsureZerosInNumberString(minutes, 2) + ":"
|
||||||
+ StringsUtils.EnsureZerosInNumberString(seconds, 2);
|
+ StringsUtils.EnsureZerosInNumberString(seconds, 2);
|
||||||
|
@ -248,4 +248,5 @@
|
|||||||
<string name="activity_about_title">A propos</string>
|
<string name="activity_about_title">A propos</string>
|
||||||
<string name="dialog_open_source_licenses_title">Licences Open Source</string>
|
<string name="dialog_open_source_licenses_title">Licences Open Source</string>
|
||||||
<string name="btn_open_source_licences">Licences Open Source</string>
|
<string name="btn_open_source_licences">Licences Open Source</string>
|
||||||
|
<string name="date_days_short">j</string>
|
||||||
</resources>
|
</resources>
|
@ -252,4 +252,5 @@
|
|||||||
<string name="dialog_delete_conversation_message_cancel">Cancel</string>
|
<string name="dialog_delete_conversation_message_cancel">Cancel</string>
|
||||||
<string name="dialog_delete_conversation_message_confirm">Delete</string>
|
<string name="dialog_delete_conversation_message_confirm">Delete</string>
|
||||||
<string name="err_delete_conversation_message">Could not delete conversation message!</string>
|
<string name="err_delete_conversation_message">Could not delete conversation message!</string>
|
||||||
|
<string name="date_days_short">d</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user