feat(i18n): plurals support (#278)

This commit is contained in:
Joaquín Sánchez 2022-12-02 03:18:36 +01:00 committed by GitHub
parent 0f7de38c24
commit c4cf3fb371
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 234 additions and 91 deletions

View file

@ -14,7 +14,11 @@
"mutuals": "Mutuals",
"pinned": "Pinned",
"posts_count": "{0} Posts",
"unfollow": "Unfollow"
"unfollow": "Unfollow",
"joined": "Joined",
"profile_description": "{0}'s profile header",
"avatar_description": "{0}'s avatar",
"profile_unavailable": "Profile unavailable"
},
"action": {
"bookmark": "Bookmark",
@ -41,7 +45,9 @@
"end_of_list": "End of the list",
"error": "ERROR",
"not_found": "404 Not Found",
"offline_desc": "Seems like you are offline. Please check your network connection."
"offline_desc": "Seems like you are offline. Please check your network connection.",
"kiloSuffix": "K",
"megaSuffix": "M"
},
"conversation": {
"with": "with"
@ -97,7 +103,7 @@
"notification": {
"favourited_post": "favourited your post",
"followed_you": "followed you",
"followed_you_count": "{0} people followed you",
"followed_you_count": "{n} people followed you",
"missing_type": "MISSING notification.type:",
"reblogged_post": "reblogged your post",
"request_to_follow": "requested to follow you",
@ -135,20 +141,24 @@
"posts_with_replies": "Posts & Replies"
},
"time_ago_options": {
"in": "in",
"just_now": "just now",
"last_month": "last month",
"last_week": "last week",
"last_year": "last year",
"next_month": "next month",
"next_week": "next week",
"next_year": "next year",
"tomorrow": "tomorrow",
"week": "week",
"yesterday": "yesterday"
"past_second": "just now|{n} second ago|{n} seconds ago",
"future_second": "just now|in {n} second|in {n} seconds",
"past_minute": "0 minutes ago|1 minute ago|{n} minutes ago",
"future_minute": "in 0 minutes|in 1 minute|in {n} minutes",
"past_hour": "0 hours ago|1 hour ago|{n} hours ago",
"future_hour": "in 0 hours|in 1 hour|in {n} hours",
"past_day": "0 days ago|yesterday|{n} days ago",
"future_day": "in 0 days|tomorrow|in {n} days",
"past_week": "0 weeks ago|last week|{n} weeks ago",
"future_week": "in 0 weeks|next week|in {n} weeks",
"past_month": "0 months ago|last month|{n} months ago",
"future_month": "in 0 months|next month|in {n} months",
"past_year": "0 years ago|last year|{n} years ago",
"future_year": "in 0 years|next year|in {n} years"
},
"timeline": {
"show_new_items": "Show {0} new items"
"show_new_items": "Show {n} new items"
},
"title": {
"federated_timeline": "Federated Timeline",

View file

@ -6,15 +6,19 @@
"follow": "Seguir",
"follow_back": "Seguir de vuelta",
"follow_requested": "Enviado",
"followers_count": "{0} Seguidores",
"followers_count": "{0} Seguidores|{0} Seguidor|{0} Seguidores",
"following": "Siguiendo",
"following_count": "{0} Siguiendo",
"follows_you": "Te sigue",
"muted_users": "Usuarios silenciados",
"mutuals": "Mutuales",
"pinned": "Fijado",
"posts_count": "{0} publicaciones",
"unfollow": "Dejar de seguir"
"posts_count": "{0} publicaciones|{0} publicación|{0} publicaciones",
"unfollow": "Dejar de seguir",
"joined": "Se unió",
"profile_description": "encabezado del perfil de {0}",
"avatar_description": "avatar de {0}",
"profile_unavailable": "Perfil no disponible"
},
"action": {
"bookmark": "Añadir marcador",
@ -89,7 +93,7 @@
"notification": {
"favourited_post": "marcó tu publicación como favorito",
"followed_you": "te ha seguido",
"followed_you_count": "{0} personas te siguieron",
"followed_you_count": "{followers} personas te siguieron|{followers} persona te siguió|{followers} personas te siguieron",
"missing_type": "MISSING notification.type:",
"reblogged_post": "retooteó tu publicación",
"request_to_follow": "ha solicitado seguirte",
@ -121,18 +125,26 @@
"posts_with_replies": "Publicaciones y respuestas"
},
"time_ago_options": {
"last_month": "mes pasado",
"last_week": "semana pasada",
"last_year": "año pasado",
"next_month": "próximo mes",
"next_week": "próxima semana",
"next_year": "próximo año",
"just_now": "ahora mismo",
"past_second": "hace 0 segundos|hace {n} segundo|hace {n} segundos",
"future_second": "dentro de 0 segundos|dentro de {n} segundo|dentro de {n} segundos",
"past_minute": "hace 0 minutos|hace 1 minuto|hace {n} minutos",
"future_minute": "dentro de 0 minutos|dentro de 1 minuto|dentro de {n} minutos",
"past_hour": "hace 0 horas|hace 1 hora|hace {n} horas",
"future_hour": "dentro de 0 horas|dentro de 1 hora|dentro {n} horas",
"past_day": "hace 0 días|ayer|hace {n} días",
"future_day": "dentro de 0 días|mañana|dentro de {n} días",
"past_week": "hace 0 semanas|la semana pasada|hace {n} semanas",
"future_week": "dentro de 0 semanas|la próxima semana|dentro de {n} semanas",
"past_month": "hace 0 meses|el mes pasado|hace {n} meses",
"future_month": "dentro de 0 meses|el próximo mes|dentro de {n} meses",
"past_year": "hace 0 años|el año pasado|hace {n} años",
"future_year": "dentro de 0 años|el próximo año|dentro de {n} años",
"tomorrow": "mañana",
"week": "semana",
"yesterday": "ayer"
},
"timeline": {
"show_new_items": "Mostrar {0} nuevas publicaciones"
"show_new_items": "Mostrar {n} nuevas publicaciones|Mostrar {n} nueva publicación|Mostrar {n} nuevas publicaciones"
},
"title": {
"federated_timeline": "Línea de tiempo federada",

View file

@ -78,7 +78,7 @@
"posts_with_replies": "投稿と返信"
},
"timeline": {
"show_new_items": "{0}件の新しい投稿"
"show_new_items": "{n}件の新しい投稿"
},
"title": {
"federated_timeline": "連合タイムライン",

View file

@ -97,7 +97,7 @@
"notification": {
"favourited_post": "点赞了你的帖文",
"followed_you": "关注了你",
"followed_you_count": "{0} 人关注了你",
"followed_you_count": "{n} 人关注了你",
"missing_type": "未知的通知类型:",
"reblogged_post": "转发了你的帖文",
"request_to_follow": "请求关注你",
@ -148,7 +148,7 @@
"yesterday": "昨天"
},
"timeline": {
"show_new_items": "展示 {0} 条新帖文"
"show_new_items": "展示 {n} 条新帖文"
},
"title": {
"federated_timeline": "跨站时间线",