Skip to content

Commit 7b4a220

Browse files
authored
french - Update lv_i18n.c
1 parent 79dc68a commit 7b4a220

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

locale/lv_i18n.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,14 @@ static lv_i18n_phrase_t fr_singulars[] = {
603603
{NULL, NULL} // End mark
604604
};
605605

606+
static lv_i18n_phrase_t fr_plurals_one[] = {
607+
{"%d active chat(s)", "%d chat actif"}, {"%d sur %d nodes online", "1 noeud connecté"}, {NULL, NULL} // End mark
608+
};
609+
610+
static lv_i18n_phrase_t fr_plurals_other[] = {
611+
{"%d active chat(s)", "%d chats actifs"}, {"%d of %d nodes online", "%d/%d noeuds connectés"}, {NULL, NULL} // End mark
612+
};
613+
606614
static uint8_t fr_plural_fn(int32_t num)
607615
{
608616
uint32_t n = op_n(num);
@@ -617,6 +625,8 @@ static uint8_t fr_plural_fn(int32_t num)
617625

618626
static const lv_i18n_lang_t fr_lang = {.locale_name = "fr",
619627
.singulars = fr_singulars,
628+
.plurals[LV_I18N_PLURAL_TYPE_ONE] = fr_plurals_one,
629+
.plurals[LV_I18N_PLURAL_TYPE_OTHER] = fr_plurals_other,
620630
.locale_plural_fn = fr_plural_fn};
621631

622632
static lv_i18n_phrase_t it_singulars[] = {

0 commit comments

Comments
 (0)