diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_af.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_af.json deleted file mode 100644 index abecd9e2bd..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_af.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Afrikaans", "LanguageCode": "af", "Week": "week", "Weeks": "weke", "Day": "dag", "Days": "dae", "Hour": "uur", "Hours": "ure", "Minute": "minuut", "Minutes": "minute", "Second": "tweede", "Seconds": "sekondes"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_am.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_am.json deleted file mode 100644 index cbafaf79fb..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_am.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Amharic", "LanguageCode": "am", "Week": "\u1233\u121d\u1295\u1275", "Weeks": "\u1233\u121d\u1295\u1273\u1275", "Day": "\u1240\u1295", "Days": "\u1240\u1293\u1275", "Hour": "\u1230\u12a0\u1275", "Hours": "\u1230\u12d3\u1273\u1275", "Minute": "\u12f0\u1242\u1243", "Minutes": "\u12f0\u1242\u1243\u12ce\u127d", "Second": "\u1201\u1208\u1270\u129b", "Seconds": "\u1230\u12a8\u1295\u12f6\u127d"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ar.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ar.json deleted file mode 100644 index a3d6d01bfa..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ar.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Arabic", "LanguageCode": "ar", "Week": "\u0623\u0633\u0628\u0648\u0639", "Weeks": "\u0623\u0633\u0627\u0628\u064a\u0639", "Day": "\u064a\u0648\u0645", "Days": "\u0623\u064a\u0627\u0645", "Hour": "\u0633\u0627\u0639\u0629", "Hours": "\u0633\u0627\u0639\u0627\u062a", "Minute": "دقيقة", "Minutes": "دقائق", "Second": "\u062b\u0627\u0646\u064a\u0629", "Seconds": "\u062b\u0627\u0646\u064a\u0629"} diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_az.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_az.json deleted file mode 100644 index e4d36ef524..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_az.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Azerbaijani", "LanguageCode": "az", "Week": "h\u0259ft\u0259", "Weeks": "h\u0259ft\u0259l\u0259r", "Day": "g\u00fcn", "Days": "g\u00fcnl\u0259r", "Hour": "saat", "Hours": "saat", "Minute": "d\u0259qiq\u0259", "Minutes": "d\u0259qiq\u0259", "Second": "ikinci", "Seconds": "saniy\u0259"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_be.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_be.json deleted file mode 100644 index 49837f7c90..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_be.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Belarusian", "LanguageCode": "be", "Week": "\u0442\u044b\u0434\u0437\u0435\u043d\u044c", "Weeks": "\u0442\u044b\u0434\u043d\u044f\u045e", "Day": "\u0434\u0437\u0435\u043d\u044c", "Days": "\u0434\u0437\u0451\u043d", "Hour": "\u0433\u0430\u0434\u0437\u0456\u043d\u0443", "Hours": "\u0433\u0430\u0434\u0437\u0456\u043d\u044b", "Minute": "\u0445\u0432\u0456\u043b\u0456\u043d\u0430", "Minutes": "\u0445\u0432\u0456\u043b\u0456\u043d", "Second": "\u0434\u0440\u0443\u0433\u0456", "Seconds": "\u0441\u0435\u043a\u0443\u043d\u0434"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_bg.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_bg.json deleted file mode 100644 index 8b1c04607b..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_bg.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Bulgarian", "LanguageCode": "bg", "Week": "\u0441\u0435\u0434\u043c\u0438\u0446\u0430", "Weeks": "\u0441\u0435\u0434\u043c\u0438\u0446\u0438", "Day": "\u0434\u0435\u043d", "Days": "\u0434\u043d\u0438", "Hour": "\u0447\u0430\u0441", "Hours": "\u0447\u0430\u0441\u0430", "Minute": "\u043c\u0438\u043d\u0443\u0442\u0430", "Minutes": "\u043c\u0438\u043d\u0443\u0442\u0438", "Second": "\u0432\u0442\u043e\u0440\u043e", "Seconds": "\u0441\u0435\u043a\u0443\u043d\u0434\u0438"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_bn.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_bn.json deleted file mode 100644 index 88a643d1ad..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_bn.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Bengali", "LanguageCode": "bn", "Week": "\u09b8\u09aa\u09cd\u09a4\u09be\u09b9", "Weeks": "\u09b8\u09aa\u09cd\u09a4\u09be\u09b9", "Day": "\u09a6\u09bf\u09a8", "Days": "\u09a6\u09bf\u09a8", "Hour": "\u0998\u09a8\u09cd\u099f\u09be", "Hours": "\u0998\u09a8\u09cd\u099f\u09be\u09b0", "Minute": "\u09ae\u09bf\u09a8\u09bf\u099f", "Minutes": "\u09ae\u09bf\u09a8\u09bf\u099f", "Second": "\u09a6\u09cd\u09ac\u09bf\u09a4\u09c0\u09af\u09bc", "Seconds": "\u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_bs.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_bs.json deleted file mode 100644 index 70f8b51476..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_bs.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Bosnian", "LanguageCode": "bs", "Week": "sedmica", "Weeks": "weken", "Day": "dag", "Days": "dagen", "Hour": "uur", "Hours": "uur", "Minute": "minuut", "Minutes": "minuten", "Second": "seconde", "Seconds": "seconden"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ca.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ca.json deleted file mode 100644 index 7d204fafef..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ca.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Catalan", "LanguageCode": "ca", "Week": "setmana", "Weeks": "setmanes", "Day": "dia", "Days": "dies", "Hour": "hores", "Hours": "hores", "Minute": "minut", "Minutes": "minuts", "Second": "segon", "Seconds": "segons"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_co.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_co.json deleted file mode 100644 index e029edabd9..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_co.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Corsican", "LanguageCode": "co", "Week": "settimana", "Weeks": "settimane", "Day": "ghjornu", "Days": "ghjorni", "Hour": "ora", "Hours": "ore", "Minute": "minutu", "Minutes": "minuti", "Second": "sicondu", "Seconds": "seconde"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_cs.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_cs.json deleted file mode 100644 index 92cf56bda9..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_cs.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Czech", "LanguageCode": "cs", "Week": "t\u00fdden", "Weeks": "t\u00fddn\u016f", "Day": "den", "Days": "dn\u00ed", "Hour": "hodina", "Hours": "hodin", "Minute": "minuta", "Minutes": "minut", "Second": "druh\u00fd", "Seconds": "sekundy"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_cy.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_cy.json deleted file mode 100644 index adcf3344b0..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_cy.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Welsh", "LanguageCode": "cy", "Week": "wythnos", "Weeks": "wythnosau", "Day": "Dydd", "Days": "dyddiau", "Hour": "awr", "Hours": "oriau", "Minute": "munud", "Minutes": "munudau", "Second": "ail", "Seconds": "eiliadau"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_da.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_da.json deleted file mode 100644 index e5b8084b49..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_da.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Danish", "LanguageCode": "da", "Week": "uge", "Weeks": "uger", "Day": "dag", "Days": "dage", "Hour": "time", "Hours": "timer", "Minute": "minut", "Minutes": "minutter", "Second": "anden", "Seconds": "sekunder"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_de.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_de.json deleted file mode 100644 index 6025656fae..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_de.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "German", "LanguageCode": "de", "Week": "Woche", "Weeks": "Wochen", "Day": "Tag", "Days": "Tage", "Hour": "Stunde", "Hours": "Std.", "Minute": "Minute", "Minutes": "Protokoll", "Second": "zweite", "Seconds": "Sekunden"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_el.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_el.json deleted file mode 100644 index 3672a9b136..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_el.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Greek", "LanguageCode": "el", "Week": "\u03b5\u03b2\u03b4\u03bf\u03bc\u03ac\u03b4\u03b1", "Weeks": "\u03b5\u03b2\u03b4\u03bf\u03bc\u03ac\u03b4\u03b5\u03c2", "Day": "\u03b7\u03bc\u03ad\u03c1\u03b1", "Days": "\u03b7\u03bc\u03ad\u03c1\u03b5\u03c2", "Hour": "\u03ce\u03c1\u03b1", "Hours": "\u03ce\u03c1\u03b5\u03c2", "Minute": "\u03bb\u03b5\u03c0\u03c4\u03cc", "Minutes": "\u03bb\u03b5\u03c0\u03c4\u03ac", "Second": "\u03b4\u03b5\u03cd\u03c4\u03b5\u03c1\u03bf\u03c2", "Seconds": "\u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_en.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_en.json deleted file mode 100644 index 3377d00338..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_en.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "English", "LanguageCode": "en", "Week": "week", "Weeks": "weeks", "Day": "day", "Days": "days", "Hour": "hour", "Hours": "hours", "Minute": "minute", "Minutes": "minutes", "Second": "second", "Seconds": "seconds"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_eo.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_eo.json deleted file mode 100644 index b132b8c2e0..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_eo.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Esperanto", "LanguageCode": "eo", "Week": "semajno", "Weeks": "semajnoj", "Day": "tago", "Days": "tagoj", "Hour": "horo", "Hours": "horoj", "Minute": "minuto", "Minutes": "minutoj", "Second": "dua", "Seconds": "sekundoj"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_es.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_es.json deleted file mode 100644 index 534075241f..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_es.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Spanish", "LanguageCode": "es", "Week": "semana", "Weeks": "semanas", "Day": "d\u00eda", "Days": "d\u00edas", "Hour": "hora", "Hours": "horas", "Minute": "minuto", "Minutes": "minutos", "Second": "segundo", "Seconds": "segundos"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_et.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_et.json deleted file mode 100644 index f8da2b98cb..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_et.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Estonian", "LanguageCode": "et", "Week": "n\u00e4dal", "Weeks": "n\u00e4dalaid", "Day": "p\u00e4eval", "Days": "p\u00e4evadel", "Hour": "tund", "Hours": "tundi", "Minute": "minut", "Minutes": "minutit", "Second": "teiseks", "Seconds": "sekundit"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_eu.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_eu.json deleted file mode 100644 index f3833a9130..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_eu.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Basque", "LanguageCode": "eu", "Week": "astea", "Weeks": "asteak", "Day": "eguna", "Days": "egunak", "Hour": "ordua", "Hours": "orduak", "Minute": "minutua", "Minutes": "minutu", "Second": "bigarrena", "Seconds": "segundoak"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_fa.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_fa.json deleted file mode 100644 index b2db98a388..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_fa.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Persian", "LanguageCode": "fa", "Week": "\u0647\u0641\u062a\u0647", "Weeks": "\u0647\u0641\u062a\u0647 \u0647\u0627", "Day": "\u0631\u0648\u0632", "Days": "\u0631\u0648\u0632\u0647\u0627", "Hour": "\u0633\u0627\u0639\u062a", "Hours": "\u0633\u0627\u0639\u062a \u0647\u0627", "Minute": "\u062f\u0642\u06cc\u0642\u0647", "Minutes": "\u062f\u0642\u0627\u06cc\u0642", "Second": "\u062f\u0648\u0645\u06cc\u0646", "Seconds": "\u062b\u0627\u0646\u06cc\u0647"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_fi.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_fi.json deleted file mode 100644 index 9aa9422e5c..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_fi.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Finnish", "LanguageCode": "fi", "Week": "viikko", "Weeks": "viikkoa", "Day": "p\u00e4iv\u00e4", "Days": "p\u00e4iv\u00e4\u00e4", "Hour": "tunnin", "Hours": "tuntia", "Minute": "minuutti", "Minutes": "p\u00f6yt\u00e4kirja", "Second": "toinen", "Seconds": "sekuntia"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_fil.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_fil.json deleted file mode 100644 index e6713d1536..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_fil.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Filipino", "LanguageCode": "fil", "Week": "linggo", "Weeks": "linggo", "Day": "araw", "Days": "araw", "Hour": "oras", "Hours": "oras", "Minute": "minuto", "Minutes": "minuto", "Second": "pangalawa", "Seconds": "segundo"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_fr.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_fr.json deleted file mode 100644 index 372db92bfd..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_fr.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "French", "LanguageCode": "fr", "Week": "semaine", "Weeks": "semaines", "Day": "jour", "Days": "jours", "Hour": "heure", "Hours": "heures", "Minute": "minute", "Minutes": "minutes", "Second": "seconde", "Seconds": "secondes"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_fy.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_fy.json deleted file mode 100644 index 2be2d9979d..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_fy.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Frisian", "LanguageCode": "fy", "Week": "wike", "Weeks": "wiken", "Day": "dei", "Days": "dagen", "Hour": "oere", "Hours": "oeren", "Minute": "min\u00fat", "Minutes": "minuten", "Second": "twadde", "Seconds": "sekonden"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_gd.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_gd.json deleted file mode 100644 index fb120928cd..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_gd.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Scots Gaelic", "LanguageCode": "gd", "Week": "seachdain", "Weeks": "seachdainean", "Day": "latha", "Days": "l\u00e0ithean", "Hour": "uair", "Hours": "uairean", "Minute": "mionaid", "Minutes": "mionaidean", "Second": "an d\u00e0rna", "Seconds": "diog"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_gl.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_gl.json deleted file mode 100644 index c1ab1fa9a4..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_gl.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Galician", "LanguageCode": "gl", "Week": "semana", "Weeks": "semanas", "Day": "d\u00eda", "Days": "d\u00edas", "Hour": "hora", "Hours": "horas", "Minute": "minuto", "Minutes": "minutos", "Second": "segundo", "Seconds": "segundos"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_gu.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_gu.json deleted file mode 100644 index 28f9243203..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_gu.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Gujarati", "LanguageCode": "gu", "Week": "\u0ab8\u0aaa\u0acd\u0aa4\u0abe\u0ab9", "Weeks": "\u0a85\u0aa0\u0ab5\u0abe\u0aa1\u0abf\u0aaf\u0abe", "Day": "\u0aa6\u0abf\u0ab5\u0ab8", "Days": "\u0aa6\u0abf\u0ab5\u0ab8", "Hour": "\u0a95\u0ab2\u0abe\u0a95", "Hours": "\u0a95\u0ab2\u0abe\u0a95", "Minute": "\u0aae\u0abf\u0aa8\u0abf\u0a9f", "Minutes": "\u0aae\u0abf\u0aa8\u0abf\u0a9f", "Second": "\u0aac\u0ac0\u0a9c\u0ac1\u0a82", "Seconds": "\u0ab8\u0ac7\u0a95\u0aa8\u0acd\u0aa1"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ha.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ha.json deleted file mode 100644 index ead4f68aec..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ha.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Hausa", "LanguageCode": "ha", "Week": "mako", "Weeks": "makonni", "Day": "rana", "Days": "kwanaki", "Hour": "awa", "Hours": "hours", "Minute": "minti", "Minutes": "mintuna", "Second": "na biyu", "Seconds": "seconds"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_haw.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_haw.json deleted file mode 100644 index 4e76d63ce8..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_haw.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Hawaiian", "LanguageCode": "haw", "Week": "pule", "Weeks": "pule pule", "Day": "l\u0101", "Days": "l\u0101", "Hour": "hola", "Hours": "hola", "Minute": "minuke", "Minutes": "minuke", "Second": "ka lua", "Seconds": "kekona"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_hi.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_hi.json deleted file mode 100644 index ffb493842e..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_hi.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Hindi", "LanguageCode": "hi", "Week": "\u0938\u092a\u094d\u0924\u093e\u0939", "Weeks": "\u0939\u092b\u094d\u0924\u094b\u0902", "Day": "\u0926\u093f\u0928", "Days": "\u0926\u093f\u0928", "Hour": "\u0918\u0902\u091f\u093e", "Hours": "\u0918\u0902\u091f\u0947", "Minute": "\u092e\u093f\u0928\u091f", "Minutes": "\u092e\u093f\u0928\u091f", "Second": "\u0926\u0942\u0938\u0930\u093e", "Seconds": "\u0938\u0947\u0915\u0902\u0921"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_hmn.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_hmn.json deleted file mode 100644 index 5255b67935..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_hmn.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Hmong", "LanguageCode": "hmn", "Week": "lub lim tiam", "Weeks": "lub lis piam", "Day": "hnub", "Days": "hnub", "Hour": "teev", "Hours": "teev", "Minute": "feeb", "Minutes": "feeb", "Second": "thib ob", "Seconds": "vib nas this"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_hr.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_hr.json deleted file mode 100644 index c52132a529..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_hr.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Croatian", "LanguageCode": "hr", "Week": "tjedan", "Weeks": "tjedni", "Day": "dan", "Days": "dana", "Hour": "sat", "Hours": "sati", "Minute": "minuta", "Minutes": "minuta", "Second": "drugi", "Seconds": "sekundi"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ht.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ht.json deleted file mode 100644 index 9c3d367c0d..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ht.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Haitian Creole", "LanguageCode": "ht", "Week": "sem\u00e8n", "Weeks": "sem\u00e8n", "Day": "jou", "Days": "jou", "Hour": "\u00e8dtan", "Hours": "\u00e8dtan", "Minute": "minit", "Minutes": "minit", "Second": "dezy\u00e8m", "Seconds": "segonn"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_hu.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_hu.json deleted file mode 100644 index e773a85e4c..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_hu.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Hungarian", "LanguageCode": "hu", "Week": "h\u00e9t", "Weeks": "h\u00e9tig", "Day": "nap", "Days": "napok", "Hour": "\u00f3ra", "Hours": "\u00f3r\u00e1k", "Minute": "perc", "Minutes": "percek", "Second": "m\u00e1sodik", "Seconds": "m\u00e1sodpercig"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_hy.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_hy.json deleted file mode 100644 index 3cb09def9b..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_hy.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Aermenian", "LanguageCode": "hy", "Week": "\u0576\u0565\u0564\u0561\u056c", "Weeks": "n\u00e4dalaid", "Day": "p\u00e4eval", "Days": "p\u00e4evadel", "Hour": "\u057f\u0578\u0582\u0576", "Hours": "\u057f\u0578\u0582\u0576\u0564\u056b", "Minute": "\u0580\u0578\u057a\u0565", "Minutes": "\u0580\u0578\u057a\u0565", "Second": "teiseks", "Seconds": "\u057d\u0565\u056f\u0578\u0582\u0576\u0564\u056b\u057f"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_id.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_id.json deleted file mode 100644 index 56a8a97a4f..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_id.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Indonesian", "LanguageCode": "id", "Week": "pekan", "Weeks": "minggu", "Day": "hari", "Days": "hari", "Hour": "jam", "Hours": "jam", "Minute": "menit", "Minutes": "menit", "Second": "Kedua", "Seconds": "detik"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ig.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ig.json deleted file mode 100644 index 1309021574..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ig.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Igbo", "LanguageCode": "ig", "Week": "izu", "Weeks": "izu", "Day": "\u1ee5b\u1ecdch\u1ecb", "Days": "\u1ee5b\u1ecdch\u1ecb", "Hour": "awa", "Hours": "awa", "Minute": "nkeji", "Minutes": "nkeji", "Second": "nke ab\u1ee5\u1ecd", "Seconds": "sek\u1ecdnd"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_is.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_is.json deleted file mode 100644 index e9c92a7208..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_is.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Icelandic", "LanguageCode": "is", "Week": "vika", "Weeks": "vikur", "Day": "dagur", "Days": "daga", "Hour": "klukkustund", "Hours": "klukkustundir", "Minute": "m\u00edn\u00fatu", "Minutes": "m\u00edn\u00fatur", "Second": "anna\u00f0", "Seconds": "sek\u00fandur"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_it.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_it.json deleted file mode 100644 index ec6e911691..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_it.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Italian", "LanguageCode": "it", "Week": "settimana", "Weeks": "settimane", "Day": "giorno", "Days": "giorni", "Hour": "ora", "Hours": "ore", "Minute": "minuto", "Minutes": "minuti", "Second": "secondo", "Seconds": "secondi"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_iw.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_iw.json deleted file mode 100644 index 8eb69de18d..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_iw.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Hebrew", "LanguageCode": "iw", "Week": "\u05e9\u05c1\u05b8\u05d1\u05d5\u05bc\u05e2\u05b7", "Weeks": "\u05e9\u05d1\u05d5\u05e2\u05d5\u05ea", "Day": "\u05d9\u05b0\u05d5\u05b9\u05dd", "Days": "\u05d9\u05de\u05d9\u05dd", "Hour": "\u05e9\u05c1\u05b8\u05e2\u05b8\u05d4", "Hours": "\u05e9\u05e2\u05d4 (\u05d5\u05ea", "Minute": "\u05d3\u05b7\u05e7\u05b8\u05d4", "Minutes": "\u05d3\u05e7\u05d5\u05ea", "Second": "\u05e9\u05c1\u05b0\u05e0\u05b4\u05d9\u05b8\u05d4", "Seconds": "\u05e9\u05e0\u05d9\u05d5\u05ea"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ja.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ja.json deleted file mode 100644 index 07c8d75fdf..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ja.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Japanese", "LanguageCode": "ja", "Week": "週間", "Weeks": "週間", "Day": "日", "Days": "日間", "Hour": "時間", "Hours": "時間", "Minute": "分", "Minutes": "分", "Second": "秒", "Seconds": "秒"} diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_jv.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_jv.json deleted file mode 100644 index 085b87a683..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_jv.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Javanese", "LanguageCode": "jv", "Week": "minggu", "Weeks": "minggu", "Day": "dina", "Days": "dina", "Hour": "jam", "Hours": "jam", "Minute": "menit", "Minutes": "menit", "Second": "kapindho", "Seconds": "detik"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ka.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ka.json deleted file mode 100644 index 0cac6c1c65..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ka.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Georgian", "LanguageCode": "ka", "Week": "\u10d9\u10d5\u10d8\u10e0\u10d0", "Weeks": "\u10d9\u10d5\u10d8\u10e0\u10d4\u10d1\u10d8", "Day": "\u10d3\u10e6\u10d4\u10e1", "Days": "\u10d3\u10e6\u10d4\u10d4\u10d1\u10d8", "Hour": "\u10e1\u10d0\u10d0\u10d7\u10d8", "Hours": "\u10e1\u10d0\u10d0\u10d7\u10d4\u10d1\u10d8", "Minute": "\u10ec\u10e3\u10d7\u10d8", "Minutes": "\u10ec\u10e3\u10d7\u10d4\u10d1\u10d8", "Second": "\u10db\u10d4\u10dd\u10e0\u10d4", "Seconds": "\u10ec\u10d0\u10db\u10d8"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_kk.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_kk.json deleted file mode 100644 index cf7a9616e1..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_kk.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Kazakh", "LanguageCode": "kk", "Week": "\u0430\u043f\u0442\u0430", "Weeks": "\u0430\u043f\u0442\u0430", "Day": "\u043a\u04af\u043d\u0456", "Days": "\u043a\u04af\u043d\u0434\u0435\u0440", "Hour": "\u0441\u0430\u0493\u0430\u0442", "Hours": "\u0441\u0430\u0493\u0430\u0442", "Minute": "\u043c\u0438\u043d\u0443\u0442", "Minutes": "\u043c\u0438\u043d\u0443\u0442", "Second": "\u0435\u043a\u0456\u043d\u0448\u0456", "Seconds": "\u0441\u0435\u043a\u0443\u043d\u0434"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_km.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_km.json deleted file mode 100644 index dfa6ef631d..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_km.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Khmer", "LanguageCode": "km", "Week": "\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd", "Weeks": "\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd", "Day": "\u1790\u17d2\u1784\u17c3", "Days": "\u1790\u17d2\u1784\u17c3", "Hour": "\u1798\u17c9\u17c4\u1784", "Hours": "\u1798\u17c9\u17c4\u1784", "Minute": "\u1793\u17b6\u1791\u17b8", "Minutes": "\u1793\u17b6\u1791\u17b8", "Second": "\u1791\u17b8\u1796\u17b8\u179a", "Seconds": "\u179c\u17b7\u1793\u17b6\u1791\u17b8"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_kn.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_kn.json deleted file mode 100644 index c64abb79fa..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_kn.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Kannada", "LanguageCode": "kn", "Week": "\u0cb5\u0cbe\u0cb0", "Weeks": "\u0cb5\u0cbe\u0cb0\u0c97\u0cb3\u0cc1", "Day": "\u0ca6\u0cbf\u0ca8", "Days": "\u0ca6\u0cbf\u0ca8\u0c97\u0cb3\u0cc1", "Hour": "\u0c97\u0c82\u0c9f\u0cc6", "Hours": "\u0c97\u0c82\u0c9f\u0cc6\u0c97\u0cb3\u0cc1", "Minute": "\u0ca8\u0cbf\u0cae\u0cbf\u0cb7", "Minutes": "\u0ca8\u0cbf\u0cae\u0cbf\u0cb7\u0c97\u0cb3\u0cc1", "Second": "\u0c8e\u0cb0\u0ca1\u0ca8\u0cc6\u0cd5", "Seconds": "\u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ko.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ko.json deleted file mode 100644 index dbd74211fb..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ko.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Korean", "LanguageCode": "ko", "Week": "\uc8fc", "Weeks": "\uc8fc", "Day": "\ub0ae", "Days": "\ub0a0", "Hour": "\uc2dc\uac04", "Hours": "\uc2dc\uac04", "Minute": "\ubd84", "Minutes": "\ubd84", "Second": "\ub450\ubc88\uc9f8", "Seconds": "\ucd08"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ku.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ku.json deleted file mode 100644 index 1dad698b2d..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ku.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Kurdish", "LanguageCode": "ku", "Week": "hefte", "Weeks": "hefteyan", "Day": "roj", "Days": "rojan", "Hour": "seet", "Hours": "saetan", "Minute": "deqqe", "Minutes": "minutes", "Second": "duyem", "Seconds": "seconds"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ky.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ky.json deleted file mode 100644 index 99db30ed8a..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ky.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Kyrgyz", "LanguageCode": "ky", "Week": "\u0436\u0443\u043c\u0430", "Weeks": "\u0436\u0443\u043c\u0430", "Day": "\u043a\u04af\u043d", "Days": "\u043a\u04af\u043d", "Hour": "\u0441\u0430\u0430\u0442", "Hours": "\u0441\u0430\u0430\u0442", "Minute": "\u043c\u04af\u043d\u04e9\u0442", "Minutes": "\u043c\u04af\u043d\u04e9\u0442", "Second": "\u044d\u043a\u0438\u043d\u0447\u0438", "Seconds": "\u0441\u0435\u043a\u0443\u043d\u0434"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_lb.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_lb.json deleted file mode 100644 index bbdcbc5802..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_lb.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Luxembourgish", "LanguageCode": "lb", "Week": "Woch", "Weeks": "Wochen", "Day": "Dag", "Days": "Deeg", "Hour": "Stonn", "Hours": "Stonnen", "Minute": "Minutt", "Minutes": "Minutten", "Second": "zweeten", "Seconds": "Sekonnen"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_lo.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_lo.json deleted file mode 100644 index 7e195b144c..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_lo.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Lao", "LanguageCode": "lo", "Week": "\u0ead\u0eb2\u0e97\u0eb4\u0e94", "Weeks": "\u0ead\u0eb2\u0e97\u0eb4\u0e94", "Day": "\u0ea1\u0eb7\u0ec9", "Days": "\u0ea1\u0eb7\u0ec9", "Hour": "\u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87", "Hours": "\u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87", "Minute": "\u0e99\u0eb2\u0e97\u0eb5", "Minutes": "\u0e99\u0eb2\u0e97\u0eb5", "Second": "\u0e97\u0eb5\u0eaa\u0ead\u0e87", "Seconds": "\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_lt.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_lt.json deleted file mode 100644 index 7de8f290e5..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_lt.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Lithuanian", "LanguageCode": "lt", "Week": "savait\u0119", "Weeks": "savaites", "Day": "dien\u0105", "Days": "dien\u0173", "Hour": "valand\u0105", "Hours": "valand\u0173", "Minute": "minut\u0117", "Minutes": "minu\u010di\u0173", "Second": "antra", "Seconds": "sekund\u017ei\u0173"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_lv.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_lv.json deleted file mode 100644 index a114712235..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_lv.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Latvian", "LanguageCode": "lv", "Week": "ned\u0113\u013ca", "Weeks": "ned\u0113\u013cas", "Day": "diena", "Days": "dienas", "Hour": "stunda", "Hours": "stundas", "Minute": "min\u016bte", "Minutes": "min\u016btes", "Second": "otrais", "Seconds": "sekundes"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_mg.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_mg.json deleted file mode 100644 index 0368656a8f..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_mg.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Malagasy", "LanguageCode": "mg", "Week": "herinandro", "Weeks": "HERINANDRON'NY", "Day": "andro", "Days": "andro", "Hour": "ora", "Hours": "ORA", "Minute": "minitra", "Minutes": "minitra", "Second": "FAHAROA", "Seconds": "segondra"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_mi.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_mi.json deleted file mode 100644 index eea7492640..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_mi.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Maori", "LanguageCode": "mi", "Week": "wiki", "Weeks": "wiki", "Day": "r\u0101", "Days": "nga ra", "Hour": "haora", "Hours": "haora", "Minute": "meneti", "Minutes": "meneti", "Second": "tuarua", "Seconds": "h\u0113kona"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_mk.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_mk.json deleted file mode 100644 index 8458dafd69..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_mk.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Macedonian", "LanguageCode": "mk", "Week": "\u043d\u0435\u0434\u0435\u043b\u0430", "Weeks": "\u043d\u0435\u0434\u0435\u043b\u0438", "Day": "\u0434\u0435\u043d", "Days": "\u0434\u0435\u043d\u043e\u0432\u0438", "Hour": "\u0447\u0430\u0441", "Hours": "\u0447\u0430\u0441\u043e\u0432\u0438", "Minute": "\u043c\u0438\u043d\u0443\u0442\u0430", "Minutes": "\u043c\u0438\u043d\u0443\u0442\u0438", "Second": "\u0432\u0442\u043e\u0440\u043e", "Seconds": "\u0441\u0435\u043a\u0443\u043d\u0434\u0438"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ml.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ml.json deleted file mode 100644 index 8cf1489329..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ml.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Malayalam", "LanguageCode": "ml", "Week": "\u0d06\u0d34\u0d4d\u0d1a", "Weeks": "\u0d06\u0d34\u0d4d\u0d1a\u0d15\u0d7e", "Day": "\u0d26\u0d3f\u0d35\u0d38\u0d02", "Days": "\u0d26\u0d3f\u0d35\u0d38\u0d19\u0d4d\u0d19\u0d33\u0d3f\u0d7d", "Hour": "\u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c", "Hours": "\u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d31\u0d41\u0d15\u0d7e", "Minute": "\u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d", "Minutes": "\u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d", "Second": "\u0d30\u0d23\u0d4d\u0d1f\u0d3e\u0d2e\u0d24\u0d4d\u0d24\u0d47\u0d24\u0d4d", "Seconds": "\u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d4d\u0d31\u0d41\u0d15\u0d7e"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_mn.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_mn.json deleted file mode 100644 index 818fe9162d..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_mn.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Mongolian", "LanguageCode": "mn", "Week": "\u0434\u043e\u043b\u043e\u043e \u0445\u043e\u043d\u043e\u0433", "Weeks": "\u0434\u043e\u043b\u043e\u043e \u0445\u043e\u043d\u043e\u0433", "Day": "\u04e9\u0434\u04e9\u0440", "Days": "\u04e9\u0434\u0440\u04af\u04af\u0434", "Hour": "\u0446\u0430\u0433", "Hours": "\u0446\u0430\u0433", "Minute": "\u043c\u0438\u043d\u0443\u0442", "Minutes": "\u043c\u0438\u043d\u0443\u0442", "Second": "\u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440\u0442", "Seconds": "\u0441\u0435\u043a\u0443\u043d\u0434"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_mr.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_mr.json deleted file mode 100644 index 2444eb6f5b..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_mr.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Marathi", "LanguageCode": "mr", "Week": "\u0906\u0920\u0935\u0921\u093e", "Weeks": "\u0906\u0920\u0935\u0921\u0947", "Day": "\u0926\u093f\u0935\u0938", "Days": "\u0926\u093f\u0935\u0938", "Hour": "\u0924\u093e\u0938", "Hours": "\u0924\u093e\u0938", "Minute": "\u092e\u093f\u0928\u093f\u091f", "Minutes": "\u092e\u093f\u0928\u093f\u091f\u0947", "Second": "\u0926\u0941\u0938\u0930\u093e", "Seconds": "\u0938\u0947\u0915\u0902\u0926"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ms.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ms.json deleted file mode 100644 index 8ddb1fa80d..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ms.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Malay", "LanguageCode": "ms", "Week": "minggu", "Weeks": "minggu", "Day": "hari", "Days": "hari", "Hour": "jam", "Hours": "Jam", "Minute": "minit", "Minutes": "minit", "Second": "kedua", "Seconds": "detik"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_mt.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_mt.json deleted file mode 100644 index 604e7232ca..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_mt.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Maltese", "LanguageCode": "mt", "Week": "\u0121img\u0127a", "Weeks": "\u0121img\u0127at", "Day": "jum", "Days": "jiem", "Hour": "sieg\u0127a", "Hours": "sig\u0127at", "Minute": "minuta", "Minutes": "minuti", "Second": "it-tieni", "Seconds": "sekondi"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_my.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_my.json deleted file mode 100644 index dda9eb31b3..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_my.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Myanmar (Burmese)", "LanguageCode": "my", "Week": "\u1010\u1005\u103a\u1015\u1010\u103a", "Weeks": "\u101b\u1000\u103a\u101e\u1010\u1039\u1010\u1015\u1010\u103a", "Day": "\u1014\u1031\u1037", "Days": "\u1014\u1031\u1037\u101b\u1000\u103a\u1019\u103b\u102c\u1038", "Hour": "\u1014\u102c\u101b\u102e", "Hours": "\u1014\u102c\u101b\u102e", "Minute": "\u1019\u102d\u1014\u1005\u103a", "Minutes": "\u1019\u102d\u1014\u1005\u103a\u1019\u103b\u102c\u1038", "Second": "\u1012\u102f\u1010\u102d\u101a", "Seconds": "\u1005\u1000\u1039\u1000\u1014\u1037\u103a"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ne.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ne.json deleted file mode 100644 index 95bbdad501..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ne.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Nepali", "LanguageCode": "ne", "Week": "\u0939\u092a\u094d\u0924\u093e", "Weeks": "\u0939\u092a\u094d\u0924\u093e\u0939\u0930\u0942", "Day": "\u0926\u093f\u0928", "Days": "\u0926\u093f\u0928\u0939\u0930\u0942", "Hour": "\u0918\u0923\u094d\u091f\u093e", "Hours": "\u0918\u0923\u094d\u091f\u093e", "Minute": "\u092e\u093f\u0928\u0947\u091f", "Minutes": "\u092e\u093f\u0928\u0947\u091f", "Second": "\u0926\u094b\u0938\u094d\u0930\u094b", "Seconds": "\u0938\u0947\u0915\u0947\u0928\u094d\u0921"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_nl.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_nl.json deleted file mode 100644 index 00072f3ebe..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_nl.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Dutch", "LanguageCode": "nl", "Week": "week", "Weeks": "weken", "Day": "dag", "Days": "dagen", "Hour": "uur", "Hours": "uur", "Minute": "minuut", "Minutes": "minuten", "Second": "seconde", "Seconds": "seconden"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_no.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_no.json deleted file mode 100644 index 23d5cd59f6..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_no.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Norwegian", "LanguageCode": "no", "Week": "uke", "Weeks": "uker", "Day": "dag", "Days": "dager", "Hour": "time", "Hours": "timer", "Minute": "minutt", "Minutes": "minutter", "Second": "sekund", "Seconds": "sekunder"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ny.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ny.json deleted file mode 100644 index dfd004b889..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ny.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Nyanja (Chichewa)", "LanguageCode": "ny", "Week": "sabata", "Weeks": "masabata", "Day": "tsiku", "Days": "masiku", "Hour": "ola", "Hours": "maola", "Minute": "miniti", "Minutes": "mphindi", "Second": "chachiwiri", "Seconds": "masekondi"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_or.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_or.json deleted file mode 100644 index 5cb7b98efd..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_or.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Odia (Oriya)", "LanguageCode": "or", "Week": "\u0b38\u0b2a\u0b4d\u0b24\u0b3e\u0b39", "Weeks": "\u0b38\u0b2a\u0b4d\u0b24\u0b3e\u0b39\u0b17\u0b41\u0b21\u0b3f\u0b15 |", "Day": "\u0b26\u0b3f\u0b28", "Days": "\u0b26\u0b3f\u0b28", "Hour": "\u0b18\u0b23\u0b4d\u0b1f\u0b3e", "Hours": "\u0b18\u0b23\u0b4d\u0b1f\u0b3e", "Minute": "\u0b2e\u0b3f\u0b28\u0b3f\u0b1f\u0b4d", "Minutes": "\u0b2e\u0b3f\u0b28\u0b3f\u0b1f\u0b4d |", "Second": "\u0b26\u0b4d\u0b71\u0b3f\u0b24\u0b40\u0b5f", "Seconds": "\u0b38\u0b47\u0b15\u0b47\u0b23\u0b4d\u0b21\u0b4d |"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_pa.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_pa.json deleted file mode 100644 index 167a85a80a..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_pa.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Punjabi", "LanguageCode": "pa", "Week": "\u0a39\u0a2b\u0a3c\u0a24\u0a3e", "Weeks": "\u0a39\u0a2b\u0a3c\u0a24\u0a47", "Day": "\u0a26\u0a3f\u0a28", "Days": "\u0a26\u0a3f\u0a28", "Hour": "\u0a18\u0a70\u0a1f\u0a3e", "Hours": "\u0a18\u0a70\u0a1f\u0a47", "Minute": "\u0a2e\u0a3f\u0a70\u0a1f", "Minutes": "\u0a2e\u0a3f\u0a70\u0a1f", "Second": "\u0a26\u0a42\u0a1c\u0a3e", "Seconds": "\u0a38\u0a15\u0a3f\u0a70\u0a1f"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_pl.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_pl.json deleted file mode 100644 index 21297dddd5..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_pl.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Polish", "LanguageCode": "pl", "Week": "tydzie\u0144", "Weeks": "tygodnie", "Day": "dzie\u0144", "Days": "dni", "Hour": "godzina", "Hours": "godziny", "Minute": "minuta", "Minutes": "minuty", "Second": "drugi", "Seconds": "sekundy"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ps.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ps.json deleted file mode 100644 index 790c25533c..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ps.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Pashto", "LanguageCode": "ps", "Week": "\u0627\u0648\u0646\u06cd", "Weeks": "\u0627\u0648\u0646\u06cd", "Day": "\u0648\u0631\u0681", "Days": "\u0648\u0631\u0681\u06d0", "Hour": "\u0633\u0627\u0639\u062a", "Hours": "\u0633\u0627\u0639\u062a\u0648\u0646\u0647", "Minute": "\u062f\u0642\u06cc\u0642\u0647", "Minutes": "\u062f\u0642\u06cc\u0642\u06d0", "Second": "\u062f\u0648\u0647\u0645", "Seconds": "\u062b\u0627\u0646\u06cc\u06d0"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_pt.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_pt.json deleted file mode 100644 index 1938ee7cc8..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_pt.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Portuguese", "LanguageCode": "pt", "Week": "semana", "Weeks": "semanas", "Day": "dia", "Days": "dias", "Hour": "hora", "Hours": "horas", "Minute": "minuto", "Minutes": "minutos", "Second": "segundo", "Seconds": "segundos"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ro.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ro.json deleted file mode 100644 index fa18bf8434..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ro.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Romanian", "LanguageCode": "ro", "Week": "s\u0103pt\u0103m\u00e2n\u0103", "Weeks": "s\u0103pt\u0103m\u00e2ni", "Day": "zi", "Days": "zile", "Hour": "ora", "Hours": "ore", "Minute": "minut", "Minutes": "minute", "Second": "al doilea", "Seconds": "secunde"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ru.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ru.json deleted file mode 100644 index eb5b59155b..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ru.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Russian", "LanguageCode": "ru", "Week": "\u043d\u0435\u0434\u0435\u043b\u044f", "Weeks": "\u043d\u0435\u0434\u0435\u043b\u0438", "Day": "\u0434\u0435\u043d\u044c", "Days": "\u0434\u043d\u0438", "Hour": "\u0447\u0430\u0441", "Hours": "\u0447\u0430\u0441\u044b", "Minute": "\u043c\u0438\u043d\u0443\u0442\u0430", "Minutes": "\u043c\u0438\u043d\u0443\u0442\u044b", "Second": "\u0432\u0442\u043e\u0440\u043e\u0439", "Seconds": "\u0441\u0435\u043a\u0443\u043d\u0434\u044b"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_rw.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_rw.json deleted file mode 100644 index 1b95698d18..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_rw.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Kinyarwanda", "LanguageCode": "rw", "Week": "icyumweru", "Weeks": "ibyumweru", "Day": "umunsi", "Days": "iminsi", "Hour": "isaha", "Hours": "amasaha", "Minute": "umunota", "Minutes": "iminota", "Second": "kabiri", "Seconds": "amasegonda"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_sd.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_sd.json deleted file mode 100644 index c1ea6f9889..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_sd.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Sindhi", "LanguageCode": "sd", "Week": "\u0647\u0641\u062a\u0648", "Weeks": "\u0647\u0641\u062a\u0627", "Day": "\u068f\u064a\u0646\u0647\u0646", "Days": "\u068f\u064a\u0646\u0647\u0646", "Hour": "\u06aa\u0644\u0627\u06aa", "Hours": "\u06aa\u0644\u0627\u06aa", "Minute": "\u0645\u0646\u067d", "Minutes": "\u0645\u0646\u067d", "Second": "\u067b\u064a\u0648\u0646", "Seconds": "\u0633\u064a\u06aa\u0646\u068a"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_si.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_si.json deleted file mode 100644 index 26a40e19fc..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_si.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Sinhala (Sinhalese)", "LanguageCode": "si", "Week": "\u0dc3\u0dad\u0dd2\u0dba", "Weeks": "\u0dc3\u0dad\u0dd2", "Day": "\u0daf\u0dc0\u0dc3", "Days": "\u0daf\u0dd2\u0db1", "Hour": "\u0db4\u0dd0\u0dba", "Hours": "\u0db4\u0dd0\u0dba", "Minute": "\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0", "Minutes": "\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4", "Second": "\u0daf\u0dd9\u0dc0\u0dd0\u0db1\u0dd2", "Seconds": "\u0dad\u0dad\u0dca\u0db4\u0dbb"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_sk.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_sk.json deleted file mode 100644 index 273e097a9a..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_sk.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Slovak", "LanguageCode": "sk", "Week": "t\u00fd\u017ede\u0148", "Weeks": "t\u00fd\u017ed\u0148ov", "Day": "de\u0148", "Days": "dni", "Hour": "hodina", "Hours": "hodiny", "Minute": "min\u00fatu", "Minutes": "min\u00fat", "Second": "druh\u00fd", "Seconds": "sek\u00fand"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_sl.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_sl.json deleted file mode 100644 index c535b26434..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_sl.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Slovenian", "LanguageCode": "sl", "Week": "teden", "Weeks": "tedne", "Day": "dan", "Days": "dnevi", "Hour": "uro", "Hours": "ure", "Minute": "minuta", "Minutes": "minut", "Second": "drugo", "Seconds": "sekund"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_sm.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_sm.json deleted file mode 100644 index 0d1afe500e..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_sm.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Samoan", "LanguageCode": "sm", "Week": "vaiaso", "Weeks": "vaiaso", "Day": "aso", "Days": "aso", "Hour": "itula", "Hours": "itula", "Minute": "minute", "Minutes": "minute", "Second": "tulaga lua", "Seconds": "sekone"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_sn.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_sn.json deleted file mode 100644 index fde43a9389..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_sn.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Shona", "LanguageCode": "sn", "Week": "vhiki", "Weeks": "mavhiki", "Day": "zuva", "Days": "mazuva", "Hour": "awa", "Hours": "maawa", "Minute": "Mineti", "Minutes": "maminitsi", "Second": "chepiri", "Seconds": "seconds"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_so.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_so.json deleted file mode 100644 index 94b68ebdea..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_so.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Somali", "LanguageCode": "so", "Week": "usbuuca", "Weeks": "toddobaadyo", "Day": "maalin", "Days": "maalmo", "Hour": "saac", "Hours": "saacadood", "Minute": "daqiiqo", "Minutes": "daqiiqado", "Second": "labaad", "Seconds": "ilbiriqsi"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_sq.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_sq.json deleted file mode 100644 index 9fffa39d29..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_sq.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Albanian", "LanguageCode": "sq", "Week": "jav\u00eb", "Weeks": "weken", "Day": "dag", "Days": "dagen", "Hour": "uur", "Hours": "uur", "Minute": "minuut", "Minutes": "minut\u00eb", "Second": "dyt\u00eb", "Seconds": "dyt\u00ebsoj"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_sr.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_sr.json deleted file mode 100644 index 651c4ea353..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_sr.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Serbian", "LanguageCode": "sr", "Week": "\u041d\u0435\u0434\u0435\u0459\u0430", "Weeks": "\u043d\u0435\u0434\u0435\u0459\u0435", "Day": "\u0434\u0430\u043d", "Days": "\u0434\u0430\u043d\u0430", "Hour": "\u0441\u0430\u0442", "Hours": "\u0441\u0430\u0442\u0438", "Minute": "\u043c\u0438\u043d\u0443\u0442", "Minutes": "\u043c\u0438\u043d\u0443\u0442\u0430", "Second": "\u0434\u0440\u0443\u0433\u043e", "Seconds": "\u0441\u0435\u043a\u0443\u043d\u0434\u0438"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_st.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_st.json deleted file mode 100644 index 5824be38c5..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_st.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Sesotho", "LanguageCode": "st", "Week": "beke", "Weeks": "libeke", "Day": "letsatsi", "Days": "matsatsi", "Hour": "hora", "Hours": "lihora", "Minute": "motsotso", "Minutes": "metsotso", "Second": "ea bobeli", "Seconds": "metsotsoana"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_su.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_su.json deleted file mode 100644 index fd20e6ef40..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_su.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Sudanese", "LanguageCode": "su", "Week": "minggu", "Weeks": "minggu", "Day": "dinten", "Days": "po\u00e9", "Hour": "jam", "Hours": "jam", "Minute": "menit", "Minutes": "menit", "Second": "kadua", "Seconds": "detik"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_sv.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_sv.json deleted file mode 100644 index 6e397cca8e..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_sv.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Swedish", "LanguageCode": "sv", "Week": "vecka", "Weeks": "Veckor", "Day": "dag", "Days": "dagar", "Hour": "timme", "Hours": "timmar", "Minute": "minut", "Minutes": "minuter", "Second": "andra", "Seconds": "sekunder"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_sw.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_sw.json deleted file mode 100644 index 2d629965e9..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_sw.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Swahili", "LanguageCode": "sw", "Week": "wiki", "Weeks": "wiki", "Day": "siku", "Days": "siku", "Hour": "saa", "Hours": "masaa", "Minute": "dakika", "Minutes": "dakika", "Second": "pili", "Seconds": "sekunde"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ta.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ta.json deleted file mode 100644 index 66d81533ff..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ta.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Tamil", "LanguageCode": "ta", "Week": "\u0bb5\u0bbe\u0bb0\u0bae\u0bcd", "Weeks": "\u0bb5\u0bbe\u0bb0\u0b99\u0bcd\u0b95\u0bb3\u0bcd", "Day": "\u0ba8\u0bbe\u0bb3\u0bcd", "Days": "\u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bbf\u0bb2\u0bcd", "Hour": "\u0bae\u0ba3\u0bbf", "Hours": "\u0bae\u0ba3\u0bbf", "Minute": "\u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd", "Minutes": "\u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd", "Second": "\u0b87\u0bb0\u0ba3\u0bcd\u0b9f\u0bbe\u0bb5\u0ba4\u0bc1", "Seconds": "\u0bb5\u0bbf\u0ba9\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_te.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_te.json deleted file mode 100644 index c6d90c22fa..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_te.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Telugu", "LanguageCode": "te", "Week": "\u0c35\u0c3e\u0c30\u0c02", "Weeks": "\u0c35\u0c3e\u0c30\u0c3e\u0c32\u0c41", "Day": "\u0c30\u0c4b\u0c1c\u0c41", "Days": "\u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41", "Hour": "\u0c17\u0c02\u0c1f", "Hours": "\u0c17\u0c02\u0c1f\u0c32\u0c41", "Minute": "\u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02", "Minutes": "\u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41", "Second": "\u0c30\u0c46\u0c02\u0c21\u0c35", "Seconds": "\u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_tg.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_tg.json deleted file mode 100644 index 3bbe8f7c30..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_tg.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Tajik", "LanguageCode": "tg", "Week": "\u04b3\u0430\u0444\u0442\u0430", "Weeks": "\u04b3\u0430\u0444\u0442\u0430\u04b3\u043e", "Day": "\u0440\u04ef\u0437", "Days": "\u0440\u04ef\u0437", "Hour": "\u0441\u043e\u0430\u0442", "Hours": "\u0441\u043e\u0430\u0442", "Minute": "\u0434\u0430\u049b\u0438\u049b\u0430", "Minutes": "\u0434\u0430\u049b\u0438\u049b\u0430", "Second": "\u0434\u0443\u044e\u043c", "Seconds": "\u0441\u043e\u043d\u0438\u044f"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_th.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_th.json deleted file mode 100644 index 7fda0ac122..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_th.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Thai", "LanguageCode": "th", "Week": "\u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c", "Weeks": "\u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c", "Day": "\u0e27\u0e31\u0e19", "Days": "\u0e27\u0e31\u0e19", "Hour": "\u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07", "Hours": "\u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07", "Minute": "\u0e19\u0e32\u0e17\u0e35", "Minutes": "\u0e19\u0e32\u0e17\u0e35", "Second": "\u0e17\u0e35\u0e48\u0e2a\u0e2d\u0e07", "Seconds": "\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_tk.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_tk.json deleted file mode 100644 index 8104885222..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_tk.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Turkmen", "LanguageCode": "tk", "Week": "hepde", "Weeks": "hepdeler", "Day": "g\u00fcn", "Days": "g\u00fcnler", "Hour": "sagat", "Hours": "sagat", "Minute": "minut", "Minutes": "minut", "Second": "ikinji", "Seconds": "sekunt"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_tr.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_tr.json deleted file mode 100644 index 24ce3f8c6d..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_tr.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Turkish", "LanguageCode": "tr", "Week": "hafta", "Weeks": "haftalar", "Day": "g\u00fcn", "Days": "g\u00fcnler", "Hour": "saat", "Hours": "saat", "Minute": "dakika", "Minutes": "dakika", "Second": "ikinci", "Seconds": "saniye"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_tt.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_tt.json deleted file mode 100644 index 7fd12eec5c..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_tt.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Tatar", "LanguageCode": "tt", "Week": "\u0430\u0442\u043d\u0430", "Weeks": "\u0430\u0442\u043d\u0430\u043b\u0430\u0440", "Day": "\u043a\u04e9\u043d", "Days": "\u043a\u04e9\u043d\u043d\u04d9\u0440", "Hour": "\u0441\u04d9\u0433\u0430\u0442\u044c", "Hours": "\u0441\u04d9\u0433\u0430\u0442\u044c\u043b\u04d9\u0440", "Minute": "\u043c\u0438\u043d\u0443\u0442", "Minutes": "\u043c\u0438\u043d\u0443\u0442", "Second": "\u0438\u043a\u0435\u043d\u0447\u0435", "Seconds": "\u0441\u0435\u043a\u0443\u043d\u0434"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ug.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ug.json deleted file mode 100644 index e2c4cdfb4e..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ug.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Uyghur", "LanguageCode": "ug", "Week": "\u06be\u06d5\u067e\u062a\u06d5", "Weeks": "\u06be\u06d5\u067e\u062a\u06d5", "Day": "\u0643\u06c8\u0646", "Days": "\u0643\u06c8\u0646\u0644\u06d5\u0631", "Hour": "\u0633\u0627\u0626\u06d5\u062a", "Hours": "\u0633\u0627\u0626\u06d5\u062a", "Minute": "\u0645\u0649\u0646\u06c7\u062a", "Minutes": "\u0645\u0649\u0646\u06c7\u062a", "Second": "\u0626\u0649\u0643\u0643\u0649\u0646\u0686\u0649", "Seconds": "\u0633\u06d0\u0643\u06c7\u0646\u062a"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_uk.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_uk.json deleted file mode 100644 index 445e89edfd..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_uk.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Ukranian", "LanguageCode": "uk", "Week": "\u0442\u0438\u0436\u0434\u0435\u043d\u044c", "Weeks": "\u0442\u0438\u0436\u043d\u0456\u0432", "Day": "\u0434\u0435\u043d\u044c", "Days": "\u0434\u043d\u0456\u0432", "Hour": "\u0433\u043e\u0434\u0438\u043d\u0430", "Hours": "\u0433\u043e\u0434\u0438\u043d\u0438", "Minute": "\u0445\u0432\u0438\u043b\u0438\u043d\u0430", "Minutes": "\u0445\u0432\u0438\u043b\u0438\u043d", "Second": "\u0434\u0440\u0443\u0433\u0438\u0439", "Seconds": "\u0441\u0435\u043a\u0443\u043d\u0434"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_ur.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_ur.json deleted file mode 100644 index 7b9928759f..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_ur.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Urdu", "LanguageCode": "ur", "Week": "ہفتہ", "Weeks": "ہفتے", "Day": "دن", "Days": "دن", "Hour": "گھنٹہ", "Hours": "گھنٹے", "Minute": "منٹ", "Minutes": "منٹ", "Second": "سیکنڈ", "Seconds": "سیکنڈ"} diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_uz.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_uz.json deleted file mode 100644 index fbf81a3e15..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_uz.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Uzbek", "LanguageCode": "uz", "Week": "hafta", "Weeks": "haftalar", "Day": "kun", "Days": "kunlar", "Hour": "soat", "Hours": "soat", "Minute": "daqiqa", "Minutes": "daqiqa", "Second": "ikkinchi", "Seconds": "soniya"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_vi.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_vi.json deleted file mode 100644 index 28b1193a93..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_vi.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Vietnamese", "LanguageCode": "vi", "Week": "tu\u1ea7n", "Weeks": "tu\u1ea7n", "Day": "ng\u00e0y", "Days": "ng\u00e0y", "Hour": "gi\u1edd", "Hours": "gi\u1edd", "Minute": "ph\u00fat", "Minutes": "ph\u00fat", "Second": "th\u1ee9 hai", "Seconds": "gi\u00e2y"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_xh.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_xh.json deleted file mode 100644 index b0aae48153..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_xh.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Xhosa", "LanguageCode": "xh", "Week": "iveki", "Weeks": "iiveki", "Day": "usuku", "Days": "iintsuku", "Hour": "yure", "Hours": "iiyure", "Minute": "mzuzu", "Minutes": "imizuzu", "Second": "Isibini", "Seconds": "imizuzwana"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_yi.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_yi.json deleted file mode 100644 index 9d3cdbd4dc..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_yi.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Yiddish", "LanguageCode": "yi", "Week": "\u05d5\u05d5\u05d0\u05b8\u05da", "Weeks": "\u05d5\u05d5\u05d0\u05b8\u05db\u05df", "Day": "\u05d8\u05d0\u05b8\u05d2", "Days": "\u05d8\u05e2\u05d2", "Hour": "\u05e9\u05e2\u05d4", "Hours": "\u05e9\u05e2\u05d4", "Minute": "\u05de\u05d9\u05e0\u05d5\u05d8", "Minutes": "\u05de\u05d9\u05e0\u05d5\u05d8", "Second": "\u05e1\u05e2\u05e7\u05d5\u05e0\u05d3\u05e2", "Seconds": "\u05e1\u05e2\u05e7\u05d5\u05e0\u05d3\u05e2\u05e1"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_yo.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_yo.json deleted file mode 100644 index 58411146c8..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_yo.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Yoruba", "LanguageCode": "yo", "Week": "ose", "Weeks": "\u1ecds\u1eb9", "Day": "ojo", "Days": "aw\u1ecdn \u1ecdj\u1ecd", "Hour": "wakati", "Hours": "wakati", "Minute": "iseju", "Minutes": "iseju", "Second": "keji", "Seconds": "i\u1e63\u1eb9ju-aaya"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_zh-CN.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_zh-CN.json deleted file mode 100644 index abc7330d88..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_zh-CN.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "ChineseSimplified", "LanguageCode": "zh-CN", "Week": "\u661f\u671f", "Weeks": "\u5468", "Day": "\u5929", "Days": "\u5929", "Hour": "\u5c0f\u65f6", "Hours": "\u5c0f\u65f6", "Minute": "\u5206\u949f", "Minutes": "\u5206\u949f", "Second": "\u7b2c\u4e8c", "Seconds": "\u79d2"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_zh-TW.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_zh-TW.json deleted file mode 100644 index 0339c364c5..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_zh-TW.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "ChineseTraditional", "LanguageCode": "zh-TW", "Week": "\u661f\u671f", "Weeks": "\u9031", "Day": "\u5929", "Days": "\u5929", "Hour": "\u5c0f\u6642", "Hours": "\u5c0f\u6642", "Minute": "\u5206\u5206\u9418", "Minutes": "\u5206\u5206\u9418", "Second": "\u7b2c\u4e8c", "Seconds": "\u79d2"} \ No newline at end of file diff --git a/libsession/src/main/assets/json/time_strings/time_strings_dict_zu.json b/libsession/src/main/assets/json/time_strings/time_strings_dict_zu.json deleted file mode 100644 index 79736af2ce..0000000000 --- a/libsession/src/main/assets/json/time_strings/time_strings_dict_zu.json +++ /dev/null @@ -1 +0,0 @@ -{"LanguageName": "Zulu", "LanguageCode": "zu", "Week": "isonto", "Weeks": "amasonto", "Day": "usuku", "Days": "izinsuku", "Hour": "ihora", "Hours": "amahora", "Minute": "umzuzu", "Minutes": "imizuzu", "Second": "okwesibili", "Seconds": "imizuzwana"} \ No newline at end of file diff --git a/libsession/src/main/java/org/session/libsession/utilities/LocalisedTimeUtil.kt b/libsession/src/main/java/org/session/libsession/utilities/LocalisedTimeUtil.kt index 5c019e99d0..4733e67563 100644 --- a/libsession/src/main/java/org/session/libsession/utilities/LocalisedTimeUtil.kt +++ b/libsession/src/main/java/org/session/libsession/utilities/LocalisedTimeUtil.kt @@ -1,14 +1,10 @@ package org.session.libsession import android.content.Context +import android.icu.text.MeasureFormat +import android.icu.util.Measure +import android.icu.util.MeasureUnit import android.view.View -import kotlinx.serialization.decodeFromString -import kotlinx.serialization.json.Json -import org.session.libsignal.utilities.Log -import java.io.BufferedReader -import java.io.IOException -import java.io.InputStreamReader -import java.util.Locale import kotlin.time.Duration import kotlin.time.Duration.Companion.days import kotlin.time.Duration.Companion.hours @@ -17,29 +13,6 @@ import kotlin.time.Duration.Companion.minutes object LocalisedTimeUtil { private const val TAG = "LocalisedTimeUtil" - // Keys for the map lookup - private const val WEEK_KEY = "Week" - private const val WEEKS_KEY = "Weeks" - private const val DAY_KEY = "Day" - private const val DAYS_KEY = "Days" - private const val HOUR_KEY = "Hour" - private const val HOURS_KEY = "Hours" - private const val MINUTE_KEY = "Minute" - private const val MINUTES_KEY = "Minutes" - private const val SECOND_KEY = "Second" - private const val SECONDS_KEY = "Seconds" - - // Prefix & suffix for the specific language / locale that we're loading time strings for - private const val TIME_STRINGS_PATH_PREFIX = "json/time_strings/time_strings_dict_" - private const val TIME_STRINGS_PATH_SUFFIX = ".json" - - // If we couldn't open the specific time strings map then we'll fall back to English - private const val FALLBACK_ENGLISH_TIME_STRINGS = "json/time_strings/time_strings_dict_en.json" - - // The map containing key->value pairs such as "Minutes" -> "minutos" and - // "Hours" -> "horas" for Spanish etc. - private var timeUnitMap: MutableMap = mutableMapOf() - // Extension property to extract the whole weeks from a given duration private val Duration.inWholeWeeks: Long get() { return this.inWholeDays.floorDiv(7) } @@ -78,152 +51,90 @@ object LocalisedTimeUtil { "0m ${this.inWholeSeconds}s" } - // Method to load the time string map for a given locale - fun loadTimeStringMap(context: Context, locale: Locale) { - // Attempt to load the appropriate time strings map based on the language code of our locale, i.e., "en" for English, "fr" for French etc. - val filename = TIME_STRINGS_PATH_PREFIX + locale.language + TIME_STRINGS_PATH_SUFFIX - val inputStream = try { - context.assets.open(filename) - } - catch (ioe: IOException) { - Log.e(TAG, "Failed to open time string map file: $filename - falling back to English.", ioe) - context.assets.open(FALLBACK_ENGLISH_TIME_STRINGS) - } - - val bufferedReader = BufferedReader(InputStreamReader(inputStream)) - val jsonString = bufferedReader.use { it.readText() } - timeUnitMap = Json.decodeFromString(jsonString) - } - // Method to get a locale-aware duration string using the largest time unit in a given duration. // For example a duration of 3 hours and 7 minutes will return "3 hours" in English, or // "3 horas" in Spanish. fun getDurationWithSingleLargestTimeUnit(context: Context, duration: Duration): String { - // Load the time string map if we haven't already - if (timeUnitMap.isEmpty()) { loadTimeStringMap(context, Locale.getDefault()) } - // Build up the key/value string map. First is always our number (i.e. 3), and Second is - // always our time unit (i.e., "weeks" or "hours" or whatever). - var durationMap = when { - duration.inWholeWeeks > 0L -> { - duration.inWholeWeeks.toString() to - if (duration.inWholeWeeks == 1L) timeUnitMap[WEEK_KEY] - else timeUnitMap[WEEKS_KEY] + val locale = context.resources.configuration.locales[0] + val format = MeasureFormat.getInstance(locale, MeasureFormat.FormatWidth.WIDE) + + return when { + duration.inWholeWeeks >= 1 -> { + val weeks = duration.inWholeWeeks + format.format(Measure(weeks, MeasureUnit.WEEK)) } - duration.inWholeDays > 0 -> { - duration.inWholeDays.toString() to - if (duration.inWholeDays == 1L) timeUnitMap[DAY_KEY] - else timeUnitMap[DAYS_KEY] + duration.inWholeDays >= 1 -> { + val days = duration.inWholeDays + format.format(Measure(days, MeasureUnit.DAY)) } - duration.inWholeHours > 0 -> { - duration.inWholeHours.toString() to - if (duration.inWholeHours == 1L) timeUnitMap[HOUR_KEY] - else timeUnitMap[HOURS_KEY] + duration.inWholeHours >= 1 -> { + val hours = duration.inWholeHours + format.format(Measure(hours, MeasureUnit.HOUR)) } - duration.inWholeMinutes > 0 -> { - duration.inWholeMinutes.toString() to - if (duration.inWholeMinutes == 1L) timeUnitMap[MINUTE_KEY] - else timeUnitMap[MINUTES_KEY] + duration.inWholeMinutes >= 1 -> { + val minutes = duration.inWholeMinutes + format.format(Measure(minutes, MeasureUnit.MINUTE)) } - else -> { - duration.inWholeSeconds.toString() to - if (duration.inWholeSeconds == 1L) timeUnitMap[SECOND_KEY] - else timeUnitMap[SECONDS_KEY] + val seconds = duration.inWholeSeconds + format.format(Measure(seconds, MeasureUnit.SECOND)) } } - - // Return the duration string in the correct order - return if (isLtrLanguage(context)) { - durationMap.first + " " + durationMap.second // e.g., "3 minutes" - } else { - durationMap.second + " " + durationMap.first // e.g., "minutes 3" - } } // Method to get a locale-aware duration using the two largest time units for a given duration. For example // a duration of 3 hours and 7 minutes will return "3 hours 7 minutes" in English, or "3 horas 7 minutos" in Spanish. fun getDurationWithDualTimeUnits(context: Context, duration: Duration): String { - // Load the time string map for the currently locale if we haven't already - if (timeUnitMap.isEmpty()) { loadTimeStringMap(context, Locale.getDefault()) } + val locale = context.resources.configuration.locales[0] + val format = MeasureFormat.getInstance(locale, MeasureFormat.FormatWidth.WIDE) - val isLTR = isLtrLanguage(context) + val totalSeconds = duration.inWholeSeconds + var remainingSeconds = totalSeconds - // Assign our largest time period based on the duration. However, if the duration is less than a minute then - // it messes up our large/small unit response because we don't do seconds and *milliseconds* - so we'll force - // the use of minutes and seconds as a special case. Note: Durations cannot be negative so we don't have to check - // <= 0L or anything. - var smallTimePeriod = "" - var bailFollowingSpecialCase = false - var largeTimePeriod = if (duration.inWholeMinutes > 0L) { - getDurationWithSingleLargestTimeUnit(context, duration) - } else { - // If seconds is the largest time period - smallTimePeriod = getDurationWithSingleLargestTimeUnit(context, duration) - bailFollowingSpecialCase = true - if (isLTR) { - "0 ${timeUnitMap[MINUTES_KEY]}" // i.e., large time period will be "0 minutes" in the current language - } else { - "${timeUnitMap[MINUTES_KEY]} 0" // i.e., large time period will be "minutes 0" in the current language - } + val secondsInOneWeek = 7.days.inWholeSeconds + val secondsInOneDay = 1.days.inWholeSeconds + val secondsInOneHour = 1.hours.inWholeSeconds + val secondsInOneMinute = 1.minutes.inWholeSeconds + + val weeks = remainingSeconds / secondsInOneWeek + remainingSeconds %= secondsInOneWeek + + val days = remainingSeconds / secondsInOneDay + remainingSeconds %= secondsInOneDay + + val hours = remainingSeconds / secondsInOneHour + remainingSeconds %= secondsInOneHour + + val minutes = remainingSeconds / secondsInOneMinute + remainingSeconds %= secondsInOneMinute + + val seconds = remainingSeconds + + // Build a list of non-zero units + val units = mutableListOf() + if (weeks > 0) { + units.add(Measure(weeks, MeasureUnit.WEEK)) + units.add(Measure(days, MeasureUnit.DAY)) + } else if (days > 0) { + units.add(Measure(days, MeasureUnit.DAY)) + units.add(Measure(hours, MeasureUnit.HOUR)) + } else if (hours > 0) { + units.add(Measure(hours, MeasureUnit.HOUR)) + units.add(Measure(minutes, MeasureUnit.MINUTE)) + } + else if (minutes > 0) { + units.add(Measure(minutes, MeasureUnit.MINUTE)) + units.add(Measure(seconds, MeasureUnit.SECOND)) + } + else { + units.add(Measure(seconds, MeasureUnit.SECOND)) } - // If we hit our special case of having to return big/small units for a sub-1-minute duration we can exit early, - // otherwise we need to figure out the small unit before we can return it. - if (bailFollowingSpecialCase) { - return if (isLTR) "$largeTimePeriod $smallTimePeriod" // i.e., "3 hours 7 minutes" - else "$smallTimePeriod $largeTimePeriod" // i.e., "minutes 7 hours 3" - } - - if (duration.inWholeWeeks > 0) { - // If the duration is more than a week then our small unit is days - val durationMinusWeeks = duration.minus(7.days.times(duration.inWholeWeeks.toInt())) - if (durationMinusWeeks.inWholeDays > 0) { - smallTimePeriod = getDurationWithSingleLargestTimeUnit(context, durationMinusWeeks) - } - else { - smallTimePeriod = if (isLTR) "0 ${timeUnitMap[DAYS_KEY]}" - else "${timeUnitMap[DAYS_KEY]} 0" - } - - } else if (duration.inWholeDays > 0) { - // If the duration is more than a day then our small unit is hours - val durationMinusDays = duration.minus(1.days.times(duration.inWholeDays.toInt())) - if (durationMinusDays.inWholeHours > 0) { - smallTimePeriod = getDurationWithSingleLargestTimeUnit(context, durationMinusDays) - } - else { - smallTimePeriod = if (isLTR) "0 ${timeUnitMap[HOURS_KEY]}" - else "${timeUnitMap[HOURS_KEY]} 0" - } - - } else if (duration.inWholeHours > 0) { - // If the duration is more than an hour then our small unit is minutes - val durationMinusHours = duration.minus(1.hours.times(duration.inWholeHours.toInt())) - if (durationMinusHours.inWholeMinutes > 0) { - smallTimePeriod = getDurationWithSingleLargestTimeUnit(context, durationMinusHours) - } - else { - smallTimePeriod = if (isLTR) "0 ${timeUnitMap[MINUTES_KEY]}" - else "${timeUnitMap[MINUTES_KEY]} 0" - } - - } else if (duration.inWholeMinutes > 0) { - // If the duration is more than a a minute then our small unit is seconds. - // Note: We don't need to check if there are any seconds because it's our 'default' option - val durationMinusMinutes = duration.minus(1.minutes.times(duration.inWholeMinutes.toInt())) - smallTimePeriod = getDurationWithSingleLargestTimeUnit(context, durationMinusMinutes) - } else { - Log.w(TAG, "We should never get here as a duration of sub-1-minute is handled by our special case block, above - falling back to use seconds as small unit.") - val durationMinusMinutes = duration.minus(1.minutes.times(duration.inWholeMinutes.toInt())) - smallTimePeriod = getDurationWithSingleLargestTimeUnit(context, durationMinusMinutes) - } - - // Return the pair of time durations in the correct order - return if (isLTR) "$largeTimePeriod $smallTimePeriod" // i.e., "3 hours 7 minutes" - else "$smallTimePeriod $largeTimePeriod" // i.e., "minutes 7 hours 3" + // Format the measures + return format.formatMeasures(*units.toTypedArray()) } } \ No newline at end of file