ci: force sort locales

zio/stable
Anthony Fu 2022-12-02 16:43:01 +08:00
parent 63896c4b1a
commit 1b1bf01d2c
3 changed files with 57 additions and 49 deletions

View File

@ -1,4 +1,12 @@
{
"extends": "@antfu",
"ignorePatterns": ["!pages/public"]
"ignorePatterns": ["!pages/public"],
"overrides": [
{
"files": ["locales/**.json"],
"rules": {
"jsonc/sort-keys": "error"
}
}
]
}

View File

@ -1,5 +1,6 @@
{
"account": {
"avatar_description": "{0}'s avatar",
"blocked_domains": "Blocked domains",
"blocked_users": "Blocked users",
"favourites": "Favourites",
@ -10,15 +11,14 @@
"following": "Following",
"following_count": "{0} Following",
"follows_you": "Follows you",
"joined": "Joined",
"muted_users": "Muted users",
"mutuals": "Mutuals",
"pinned": "Pinned",
"posts_count": "{0} Posts",
"unfollow": "Unfollow",
"joined": "Joined",
"profile_description": "{0}'s profile header",
"avatar_description": "{0}'s avatar",
"profile_unavailable": "Profile unavailable"
"profile_unavailable": "Profile unavailable",
"unfollow": "Unfollow"
},
"action": {
"bookmark": "Bookmark",
@ -44,10 +44,10 @@
"common": {
"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.",
"kiloSuffix": "K",
"megaSuffix": "M"
"megaSuffix": "M",
"not_found": "404 Not Found",
"offline_desc": "Seems like you are offline. Please check your network connection."
},
"conversation": {
"with": "with"
@ -141,35 +141,35 @@
"posts_with_replies": "Posts & Replies"
},
"time_ago_options": {
"just_now": "just now",
"second_past": "just now|{n} second ago|{n} seconds ago",
"second_future": "just now|in {n} second|in {n} seconds",
"minute_past": "0 minutes ago|1 minute ago|{n} minutes ago",
"minute_future": "in 0 minutes|in 1 minute|in {n} minutes",
"hour_past": "0 hours ago|1 hour ago|{n} hours ago",
"hour_future": "in 0 hours|in 1 hour|in {n} hours",
"day_past": "0 days ago|yesterday|{n} days ago",
"day_future": "in 0 days|tomorrow|in {n} days",
"week_past": "0 weeks ago|last week|{n} weeks ago",
"week_future": "in 0 weeks|next week|in {n} weeks",
"month_past": "0 months ago|last month|{n} months ago",
"day_past": "0 days ago|yesterday|{n} days ago",
"hour_future": "in 0 hours|in 1 hour|in {n} hours",
"hour_past": "0 hours ago|1 hour ago|{n} hours ago",
"just_now": "just now",
"minute_future": "in 0 minutes|in 1 minute|in {n} minutes",
"minute_past": "0 minutes ago|1 minute ago|{n} minutes ago",
"month_future": "in 0 months|next month|in {n} months",
"year_past": "0 years ago|last year|{n} years ago",
"year_future": "in 0 years|next year|in {n} years",
"short_second_past": "{n}s",
"short_second_future": "in {n}s",
"short_minute_past": "{n}min",
"short_minute_future": "in {n}min",
"short_hour_past": "{n}h",
"short_hour_future": "in {n}h",
"short_day_past": "{n}d",
"month_past": "0 months ago|last month|{n} months ago",
"second_future": "just now|in {n} second|in {n} seconds",
"second_past": "just now|{n} second ago|{n} seconds ago",
"short_day_future": "in {n}d",
"short_week_past": "{n}w",
"short_week_future": "in {n}w",
"short_month_past": "{n}mo",
"short_day_past": "{n}d",
"short_hour_future": "in {n}h",
"short_hour_past": "{n}h",
"short_minute_future": "in {n}min",
"short_minute_past": "{n}min",
"short_month_future": "in {n}mo",
"short_month_past": "{n}mo",
"short_second_future": "in {n}s",
"short_second_past": "{n}s",
"short_week_future": "in {n}w",
"short_week_past": "{n}w",
"short_year_future": "in {n}y",
"short_year_past": "{n}y",
"short_year_future": "in {n}y"
"week_future": "in 0 weeks|next week|in {n} weeks",
"week_past": "0 weeks ago|last week|{n} weeks ago",
"year_future": "in 0 years|next year|in {n} years",
"year_past": "0 years ago|last year|{n} years ago"
},
"timeline": {
"show_new_items": "Show {n} new items"

View File

@ -1,5 +1,6 @@
{
"account": {
"avatar_description": "avatar de {0}",
"blocked_domains": "Dominios bloqueados",
"blocked_users": "Usuarios bloqueados",
"favourites": "Favoritos",
@ -10,15 +11,14 @@
"following": "Siguiendo",
"following_count": "{0} Siguiendo",
"follows_you": "Te sigue",
"joined": "Se unió",
"muted_users": "Usuarios silenciados",
"mutuals": "Mutuales",
"pinned": "Fijado",
"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"
"profile_unavailable": "Perfil no disponible",
"unfollow": "Dejar de seguir"
},
"action": {
"bookmark": "Añadir marcador",
@ -125,22 +125,22 @@
"posts_with_replies": "Publicaciones y respuestas"
},
"time_ago_options": {
"just_now": "ahora mismo",
"second_past": "hace 0 segundos|hace {n} segundo|hace {n} segundos",
"second_future": "dentro de 0 segundos|dentro de {n} segundo|dentro de {n} segundos",
"minute_past": "hace 0 minutos|hace 1 minuto|hace {n} minutos",
"minute_future": "dentro de 0 minutos|dentro de 1 minuto|dentro de {n} minutos",
"hour_past": "hace 0 horas|hace 1 hora|hace {n} horas",
"hour_future": "dentro de 0 horas|dentro de 1 hora|dentro {n} horas",
"day_past": "hace 0 días|ayer|hace {n} días",
"day_future": "dentro de 0 días|mañana|dentro de {n} días",
"week_past": "hace 0 semanas|la semana pasada|hace {n} semanas",
"week_future": "dentro de 0 semanas|la próxima semana|dentro de {n} semanas",
"month_past": "hace 0 meses|el mes pasado|hace {n} meses",
"day_past": "hace 0 días|ayer|hace {n} días",
"hour_future": "dentro de 0 horas|dentro de 1 hora|dentro {n} horas",
"hour_past": "hace 0 horas|hace 1 hora|hace {n} horas",
"just_now": "ahora mismo",
"minute_future": "dentro de 0 minutos|dentro de 1 minuto|dentro de {n} minutos",
"minute_past": "hace 0 minutos|hace 1 minuto|hace {n} minutos",
"month_future": "dentro de 0 meses|el próximo mes|dentro de {n} meses",
"year_past": "hace 0 años|el año pasado|hace {n} años",
"year_future": "dentro de 0 años|el próximo año|dentro de {n} años",
"month_past": "hace 0 meses|el mes pasado|hace {n} meses",
"second_future": "dentro de 0 segundos|dentro de {n} segundo|dentro de {n} segundos",
"second_past": "hace 0 segundos|hace {n} segundo|hace {n} segundos",
"tomorrow": "mañana",
"week_future": "dentro de 0 semanas|la próxima semana|dentro de {n} semanas",
"week_past": "hace 0 semanas|la semana pasada|hace {n} semanas",
"year_future": "dentro de 0 años|el próximo año|dentro de {n} años",
"year_past": "hace 0 años|el año pasado|hace {n} años",
"yesterday": "ayer"
},
"timeline": {