fix:change property name inside translation.md example (#1051)

This commit is contained in:
Ahmad Saman 2022-12-03 16:10:54 +03:00 committed by GitHub
parent 8404528aa6
commit b147fd30d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,10 +34,10 @@ import eo from './eo.json'
export const TRANSLATIONS: TDTranslations = [ export const TRANSLATIONS: TDTranslations = [
// Default language: // Default language:
{ code: 'en', label: 'English', messages: en }, { locale: 'en', label: 'English', messages: en },
// Translations: // Translations:
{ code: 'ar', label: 'عربي', messages: ar }, { locale: 'ar', label: 'عربي', messages: ar },
{ code: 'eo', label: 'Esperanto', messages: eo }, // <-- add an entry here { locale: 'eo', label: 'Esperanto', messages: eo }, // <-- add an entry here
] ]
``` ```