Fix locales again (#3010)
* Normalize locales * Restore "mention" locale key
This commit is contained in:
		
							parent
							
								
									2991a7cfe6
								
							
						
					
					
						commit
						e0c3ed29d8
					
				
					 30 changed files with 46 additions and 5 deletions
				
			
		|  | @ -2,6 +2,7 @@ import api, { getLinks } from '../api' | |||
| import Immutable from 'immutable'; | ||||
| import IntlMessageFormat from 'intl-messageformat'; | ||||
| import { fetchRelationships } from './accounts'; | ||||
| import { defineMessages } from 'react-intl'; | ||||
| 
 | ||||
| export const NOTIFICATIONS_UPDATE = 'NOTIFICATIONS_UPDATE'; | ||||
| 
 | ||||
|  | @ -16,6 +17,10 @@ export const NOTIFICATIONS_EXPAND_FAIL    = 'NOTIFICATIONS_EXPAND_FAIL'; | |||
| export const NOTIFICATIONS_CLEAR      = 'NOTIFICATIONS_CLEAR'; | ||||
| export const NOTIFICATIONS_SCROLL_TOP = 'NOTIFICATIONS_SCROLL_TOP'; | ||||
| 
 | ||||
| const messages = defineMessages({ | ||||
|   mention: { id: 'notification.mention', defaultMessage: '{name} mentioned you' }, | ||||
| }); | ||||
| 
 | ||||
| const fetchRelatedRelationships = (dispatch, notifications) => { | ||||
|   const accountIds = notifications.filter(item => item.type === 'follow').map(item => item.account.id); | ||||
| 
 | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "الخيط العام الموحد", | ||||
|   "notification.favourite": "{name} أعجب بمنشورك", | ||||
|   "notification.follow": "{name} يتابعك", | ||||
|   "notification.mention": "{name} ذكرك", | ||||
|   "notification.reblog": "{name} قام بترقية تبويقك", | ||||
|   "notifications.clear": "إمسح الإخطارات", | ||||
|   "notifications.clear_confirmation": "أمتأكد من أنك تود مسح جل الإخطارات الخاصة بك و المتلقاة إلى حد الآن ؟", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Публичен канал", | ||||
|   "notification.favourite": "{name} хареса твоята публикация", | ||||
|   "notification.follow": "{name} те последва", | ||||
|   "notification.mention": "{name} те спомена", | ||||
|   "notification.reblog": "{name} сподели твоята публикация", | ||||
|   "notifications.clear": "Clear notifications", | ||||
|   "notifications.clear_confirmation": "Are you sure you want to permanently clear all your notifications?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Föderierte Zeitleiste", | ||||
|   "notification.favourite": "{name} favorisierte deinen Status", | ||||
|   "notification.follow": "{name} folgt dir", | ||||
|   "notification.mention": "{name} erwähnte dich", | ||||
|   "notification.reblog": "{name} teilte deinen Status", | ||||
|   "notifications.clear": "Mitteilungen beseitigen", | ||||
|   "notifications.clear_confirmation": "Bist du sicher, dass du alle Mitteilungen beseitigen willst?", | ||||
|  |  | |||
|  | @ -1,4 +1,13 @@ | |||
| [ | ||||
|   { | ||||
|     "descriptors": [ | ||||
|       { | ||||
|         "defaultMessage": "{name} mentioned you", | ||||
|         "id": "notification.mention" | ||||
|       } | ||||
|     ], | ||||
|     "path": "app/javascript/mastodon/actions/notifications.json" | ||||
|   }, | ||||
|   { | ||||
|     "descriptors": [ | ||||
|       { | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Federated timeline", | ||||
|   "notification.favourite": "{name} favourited your status", | ||||
|   "notification.follow": "{name} followed you", | ||||
|   "notification.mention": "{name} mentioned you", | ||||
|   "notification.reblog": "{name} boosted your status", | ||||
|   "notifications.clear": "Clear notifications", | ||||
|   "notifications.clear_confirmation": "Are you sure you want to permanently clear all your notifications?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Fratara tempolinio", | ||||
|   "notification.favourite": "{name} favoris vian mesaĝon", | ||||
|   "notification.follow": "{name} sekvis vin", | ||||
|   "notification.mention": "{name} menciis vin", | ||||
|   "notification.reblog": "{name} diskonigis vian mesaĝon", | ||||
|   "notifications.clear": "Clear notifications", | ||||
|   "notifications.clear_confirmation": "Are you sure you want to permanently clear all your notifications?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Historia federada", | ||||
|   "notification.favourite": "{name} marcó tu estado como favorito", | ||||
|   "notification.follow": "{name} te empezó a seguir", | ||||
|   "notification.mention": "{name} te ha mencionado", | ||||
|   "notification.reblog": "{name} ha retooteado tu estado", | ||||
|   "notifications.clear": "Clear notifications", | ||||
|   "notifications.clear_confirmation": "Are you sure you want to permanently clear all your notifications?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "نوشتههای همهجا", | ||||
|   "notification.favourite": "{name} نوشتهٔ شما را پسندید", | ||||
|   "notification.follow": "{name} پیگیر شما شد", | ||||
|   "notification.mention": "{name} از شما نام برد", | ||||
|   "notification.reblog": "{name} نوشتهٔ شما را بازبوقید", | ||||
|   "notifications.clear": "پاککردن اعلانها", | ||||
|   "notifications.clear_confirmation": "واقعاً میخواهید همهٔ اعلانهایتان را برای همیشه پاک کنید؟", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Yleinen aikajana", | ||||
|   "notification.favourite": "{name} tykkäsi statuksestasi", | ||||
|   "notification.follow": "{name} seurasi sinua", | ||||
|   "notification.mention": "{name} mainitsi sinut", | ||||
|   "notification.reblog": "{name} buustasi statustasi", | ||||
|   "notifications.clear": "Clear notifications", | ||||
|   "notifications.clear_confirmation": "Are you sure you want to permanently clear all your notifications?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Fil public global", | ||||
|   "notification.favourite": "{name} a ajouté à ses favoris :", | ||||
|   "notification.follow": "{name} vous suit.", | ||||
|   "notification.mention": "{name} vous a mentionné⋅e :", | ||||
|   "notification.reblog": "{name} a partagé votre statut :", | ||||
|   "notifications.clear": "Nettoyer", | ||||
|   "notifications.clear_confirmation": "Voulez-vous vraiment supprimer toutes vos notifications ?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "ציר זמן בין-קהילתי", | ||||
|   "notification.favourite": "חצרוצך חובב על ידי {name}", | ||||
|   "notification.follow": "{name} במעקב אחרייך", | ||||
|   "notification.mention": "{name} mentioned you", | ||||
|   "notification.reblog": "חצרוצך הודהד על ידי {name}", | ||||
|   "notifications.clear": "הסרת התראות", | ||||
|   "notifications.clear_confirmation": "להסיר את כל ההתראות? בטוח?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Federalni timeline", | ||||
|   "notification.favourite": "{name} je lajkao tvoj status", | ||||
|   "notification.follow": "{name} te sada slijedi", | ||||
|   "notification.mention": "{name} mentioned you", | ||||
|   "notification.reblog": "{name} je podigao tvoj status", | ||||
|   "notifications.clear": "Očisti notifikacije", | ||||
|   "notifications.clear_confirmation": "Želiš li zaista obrisati sve svoje notifikacije?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Nyilvános időfolyam", | ||||
|   "notification.favourite": "{name} kedvencnek jelölte az állapotod", | ||||
|   "notification.follow": "{name} követ téged", | ||||
|   "notification.mention": "{name} megemlített", | ||||
|   "notification.reblog": "{name} reblogolta az állapotod", | ||||
|   "notifications.clear": "Clear notifications", | ||||
|   "notifications.clear_confirmation": "Are you sure you want to permanently clear all your notifications?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Linimasa gabungan", | ||||
|   "notification.favourite": "{name} menyukai status anda", | ||||
|   "notification.follow": "{name} mengikuti anda", | ||||
|   "notification.mention": "{name} mentioned you", | ||||
|   "notification.reblog": "{name} mem-boost status anda", | ||||
|   "notifications.clear": "Hapus notifikasi", | ||||
|   "notifications.clear_confirmation": "Apa anda yakin hendak menghapus semua notifikasi anda?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Federata tempolineo", | ||||
|   "notification.favourite": "{name} favorizis tua mesajo", | ||||
|   "notification.follow": "{name} sequeskis tu", | ||||
|   "notification.mention": "{name} mencionis tu", | ||||
|   "notification.reblog": "{name} repetis tua mesajo", | ||||
|   "notifications.clear": "Efacar savigi", | ||||
|   "notifications.clear_confirmation": "Ka tu esas certa, ke tu volas efacar omna tua savigi?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Timeline federata", | ||||
|   "notification.favourite": "{name} ha apprezzato il tuo post", | ||||
|   "notification.follow": "{name} ha iniziato a seguirti", | ||||
|   "notification.mention": "{name} ti ha menzionato", | ||||
|   "notification.reblog": "{name} ha condiviso il tuo post", | ||||
|   "notifications.clear": "Cancella notifiche", | ||||
|   "notifications.clear_confirmation": "Vuoi davvero cancellare tutte le notifiche?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "連合タイムライン", | ||||
|   "notification.favourite": "{name} さんがあなたのトゥートをお気に入りに登録しました", | ||||
|   "notification.follow": "{name} さんにフォローされました", | ||||
|   "notification.mention": "{name} さんがあなたに返信しました", | ||||
|   "notification.reblog": "{name} さんがあなたのトゥートをブーストしました", | ||||
|   "notifications.clear": "通知を消去", | ||||
|   "notifications.clear_confirmation": "本当に通知を消去しますか?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Globale tijdlijn", | ||||
|   "notification.favourite": "{name} markeerde jouw toot als favoriet", | ||||
|   "notification.follow": "{name} volgt jou nu", | ||||
|   "notification.mention": "{name} vermeldde jou", | ||||
|   "notification.reblog": "{name} boostte jouw toot", | ||||
|   "notifications.clear": "Meldingen verwijderen", | ||||
|   "notifications.clear_confirmation": "Weet je zeker dat je al jouw meldingen wilt verwijderen?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Felles tidslinje", | ||||
|   "notification.favourite": "{name} likte din status", | ||||
|   "notification.follow": "{name} fulgte deg", | ||||
|   "notification.mention": "{name} mentioned you", | ||||
|   "notification.reblog": "{name} fremhevde din status", | ||||
|   "notifications.clear": "Fjern varsler", | ||||
|   "notifications.clear_confirmation": "Er du sikker på at du vil fjerne alle dine varsler?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Fil public global", | ||||
|   "notification.favourite": "{name} a apondut a sos favorits :", | ||||
|   "notification.follow": "{name} vos sèc.", | ||||
|   "notification.mention": "{name} vos a mencionat :", | ||||
|   "notification.reblog": "{name} a partejat vòstre estatut :", | ||||
|   "notifications.clear": "Levar", | ||||
|   "notifications.clear_confirmation": "Volètz vertadièrament levar totas vòstras las notificacions ?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Oś czasu federacji", | ||||
|   "notification.favourite": "{name} dodał twój status do ulubionych", | ||||
|   "notification.follow": "{name} zaczął cię obserwować", | ||||
|   "notification.mention": "{name} mentioned you", | ||||
|   "notification.reblog": "{name} podbił twój status", | ||||
|   "notifications.clear": "Wyczyść powiadomienia", | ||||
|   "notifications.clear_confirmation": "Czy na pewno chcesz bezpowrotnie usunąć wszystkie powiadomienia?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Global", | ||||
|   "notification.favourite": "{name} adicionou o teu post aos favoritos", | ||||
|   "notification.follow": "{name} seguiu-te", | ||||
|   "notification.mention": "{name} mencionou-te", | ||||
|   "notification.reblog": "{name} partilhou o teu post", | ||||
|   "notifications.clear": "Limpar notificações", | ||||
|   "notifications.clear_confirmation": "Queres mesmo limpar todas as notificações?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Global", | ||||
|   "notification.favourite": "{name} adicionou o teu post aos favoritos", | ||||
|   "notification.follow": "{name} seguiu-te", | ||||
|   "notification.mention": "{name} mencionou-te", | ||||
|   "notification.reblog": "{name} partilhou o teu post", | ||||
|   "notifications.clear": "Limpar notificações", | ||||
|   "notifications.clear_confirmation": "Queres mesmo limpar todas as notificações?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Глобальная лента", | ||||
|   "notification.favourite": "{name} понравился Ваш статус", | ||||
|   "notification.follow": "{name} подписался(-лась) на Вас", | ||||
|   "notification.mention": "{name} упомянул(а) Вас", | ||||
|   "notification.reblog": "{name} продвинул(а) Ваш статус", | ||||
|   "notifications.clear": "Очистить уведомления", | ||||
|   "notifications.clear_confirmation": "Вы уверены, что хотите очистить все уведомления?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Federe zaman tüneli", | ||||
|   "notification.favourite": "{name} senin durumunu favorilere ekledi", | ||||
|   "notification.follow": "{name} seni takip ediyor", | ||||
|   "notification.mention": "{name} mentioned you", | ||||
|   "notification.reblog": "{name} senin durumunu boost etti", | ||||
|   "notifications.clear": "Bildirimleri temizle", | ||||
|   "notifications.clear_confirmation": "Tüm bildirimlerinizi kalıcı olarak temizlemek ister misiniz?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "Глобальна стрічка", | ||||
|   "notification.favourite": "{name} сподобався ваш допис", | ||||
|   "notification.follow": "{name} підписався(-лась) на Вас", | ||||
|   "notification.mention": "{name} згадав(-ла) Вас", | ||||
|   "notification.reblog": "{name} передмухнув(-ла) Ваш допис", | ||||
|   "notifications.clear": "Очистити сповіщення", | ||||
|   "notifications.clear_confirmation": "Ви впевнені, що хочете видалити всі сповіщеня?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "跨站公共时间轴", | ||||
|   "notification.favourite": "{name} 赞你的嘟文", | ||||
|   "notification.follow": "{name} 开始关注你", | ||||
|   "notification.mention": "{name} 提及你", | ||||
|   "notification.reblog": "{name} 转嘟你的嘟文", | ||||
|   "notifications.clear": "清空通知纪录", | ||||
|   "notifications.clear_confirmation": "你确定要清空通知纪录吗?", | ||||
|  |  | |||
|  | @ -88,6 +88,7 @@ | |||
|   "navigation_bar.public_timeline": "跨站時間軸", | ||||
|   "notification.favourite": "{name} 喜歡你的文章", | ||||
|   "notification.follow": "{name} 開始關注你", | ||||
|   "notification.mention": "{name} 提及你", | ||||
|   "notification.reblog": "{name} 轉推你的文章", | ||||
|   "notifications.clear": "清空通知紀錄", | ||||
|   "notifications.clear_confirmation": "你確定要清空通知紀錄嗎?", | ||||
|  |  | |||
|  | @ -4,10 +4,10 @@ ar: | |||
|     hints: | ||||
|       defaults: | ||||
|         avatar: PNG, GIF أو JPG. على الأكثر 2 ميغابيت . سوف يتم تصغيرها إلى 120x120px | ||||
|         display_name: '%{counter} أحرف متبقية' | ||||
|         locked: يتطلب منك الموافقة يدويا على كل طلب للإشتراك بحسابك و منشوراتك تعرض لمتابعيك فقط دون غيرهم | ||||
|         display_name: "%{counter} أحرف متبقية" | ||||
|         header: PNG, GIF or JPG. على الأكثر 2 ميغابيت . سوف يتم تصغيرها إلى 700x335px | ||||
|         note: '%{counter} أحرف متبقية' | ||||
|         locked: يتطلب منك الموافقة يدويا على كل طلب للإشتراك بحسابك و منشوراتك تعرض لمتابعيك فقط دون غيرهم | ||||
|         note: "%{counter} أحرف متبقية" | ||||
|       imports: | ||||
|         data: ملف CSV تم تصديره من خادوم مثيل  آخر لماستدون | ||||
|       sessions: | ||||
|  | @ -46,8 +46,8 @@ ar: | |||
|         follow_request: إبعث بريداً إلكترونياً عند تلقيك طلب بالمتابعة | ||||
|         mention: إبعث بريداً إلكترونياً عندما يشار إليك | ||||
|         reblog: إبعث بريداً إلكترونياً عندما يُرقّي احدهم منشورك | ||||
|     'no': 'لا' | ||||
|     'no': لا | ||||
|     required: | ||||
|       mark: "*" | ||||
|       text: مطلوب | ||||
|     'yes': 'نعم' | ||||
|     'yes': نعم | ||||
|  |  | |||
		Reference in a new issue