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", "extends": "@antfu",
"ignorePatterns": ["!pages/public"] "ignorePatterns": ["!pages/public"],
"overrides": [
{
"files": ["locales/**.json"],
"rules": {
"jsonc/sort-keys": "error"
}
}
]
} }

View File

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

View File

@ -1,5 +1,6 @@
{ {
"account": { "account": {
"avatar_description": "avatar de {0}",
"blocked_domains": "Dominios bloqueados", "blocked_domains": "Dominios bloqueados",
"blocked_users": "Usuarios bloqueados", "blocked_users": "Usuarios bloqueados",
"favourites": "Favoritos", "favourites": "Favoritos",
@ -10,15 +11,14 @@
"following": "Siguiendo", "following": "Siguiendo",
"following_count": "{0} Siguiendo", "following_count": "{0} Siguiendo",
"follows_you": "Te sigue", "follows_you": "Te sigue",
"joined": "Se unió",
"muted_users": "Usuarios silenciados", "muted_users": "Usuarios silenciados",
"mutuals": "Mutuales", "mutuals": "Mutuales",
"pinned": "Fijado", "pinned": "Fijado",
"posts_count": "{0} publicaciones|{0} publicación|{0} publicaciones", "posts_count": "{0} publicaciones|{0} publicación|{0} publicaciones",
"unfollow": "Dejar de seguir",
"joined": "Se unió",
"profile_description": "encabezado del perfil de {0}", "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": { "action": {
"bookmark": "Añadir marcador", "bookmark": "Añadir marcador",
@ -125,22 +125,22 @@
"posts_with_replies": "Publicaciones y respuestas" "posts_with_replies": "Publicaciones y respuestas"
}, },
"time_ago_options": { "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", "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", "day_past": "hace 0 días|ayer|hace {n} días",
"week_future": "dentro de 0 semanas|la próxima semana|dentro de {n} semanas", "hour_future": "dentro de 0 horas|dentro de 1 hora|dentro {n} horas",
"month_past": "hace 0 meses|el mes pasado|hace {n} meses", "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", "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", "month_past": "hace 0 meses|el mes pasado|hace {n} meses",
"year_future": "dentro de 0 años|el próximo año|dentro de {n} años", "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", "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" "yesterday": "ayer"
}, },
"timeline": { "timeline": {