Added Esperanto translation inside the javascripts folder
This commit is contained in:
		
							parent
							
								
									d6d192c914
								
							
						
					
					
						commit
						f6463e595f
					
				
					 3 changed files with 73 additions and 2 deletions
				
			
		|  | @ -46,6 +46,7 @@ import fr from 'react-intl/locale-data/fr'; | ||||||
| import pt from 'react-intl/locale-data/pt'; | import pt from 'react-intl/locale-data/pt'; | ||||||
| import hu from 'react-intl/locale-data/hu'; | import hu from 'react-intl/locale-data/hu'; | ||||||
| import uk from 'react-intl/locale-data/uk'; | import uk from 'react-intl/locale-data/uk'; | ||||||
|  | import eo from 'react-intl/locale-data/eo'; | ||||||
| import getMessagesForLocale from '../locales'; | import getMessagesForLocale from '../locales'; | ||||||
| import { hydrateStore } from '../actions/store'; | import { hydrateStore } from '../actions/store'; | ||||||
| import createStream from '../stream'; | import createStream from '../stream'; | ||||||
|  | @ -58,7 +59,7 @@ const browserHistory = useRouterHistory(createBrowserHistory)({ | ||||||
|   basename: '/web' |   basename: '/web' | ||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
| addLocaleData([...en, ...de, ...es, ...fr, ...pt, ...hu, ...uk]); | addLocaleData([...en, ...de, ...es, ...fr, ...pt, ...hu, ...uk, ...eo]); | ||||||
| 
 | 
 | ||||||
| const Mastodon = React.createClass({ | const Mastodon = React.createClass({ | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
							
								
								
									
										68
									
								
								app/assets/javascripts/components/locales/eo.jsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										68
									
								
								app/assets/javascripts/components/locales/eo.jsx
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,68 @@ | ||||||
|  | const eo = { | ||||||
|  |   "column_back_button.label": "Reveni", | ||||||
|  |   "lightbox.close": "Fermi", | ||||||
|  |   "loading_indicator.label": "Ŝarĝanta...", | ||||||
|  |   "status.mention": "Mencii @{name}", | ||||||
|  |   "status.delete": "Forigi", | ||||||
|  |   "status.reply": "Respondi", | ||||||
|  |   "status.reblog": "Diskonigi", | ||||||
|  |   "status.favourite": "Favori", | ||||||
|  |   "status.reblogged_by": "{name} diskonigita", | ||||||
|  |   "status.sensitive_warning": "Tikla enhavo", | ||||||
|  |   "status.sensitive_toggle": "Alklaki por vidi", | ||||||
|  |   "video_player.toggle_sound": "Aktivigi sonojn", | ||||||
|  |   "account.mention": "Mencii @{name}", | ||||||
|  |   "account.edit_profile": "Redakti la profilon", | ||||||
|  |   "account.unblock": "Malbloki @{name}", | ||||||
|  |   "account.unfollow": "Malsekvi", | ||||||
|  |   "account.block": "Bloki @{name}", | ||||||
|  |   "account.follow": "Sekvi", | ||||||
|  |   "account.posts": "Mesaĝoj", | ||||||
|  |   "account.follows": "Sekvatoj", | ||||||
|  |   "account.followers": "Sekvantoj", | ||||||
|  |   "account.follows_you": "Sekvas vin", | ||||||
|  |   "account.requested": "Atendas aprobon", | ||||||
|  |   "getting_started.heading": "Por komenci", | ||||||
|  |   "getting_started.about_addressing": "Vi povas sekvi homojn se vi konas la uzantnomon kaj domajnon tajpinte retpoŝtecan adreson en la serĉilon.", | ||||||
|  |   "getting_started.about_shortcuts": "Se la celita uzanto troviĝas en la sama domajno de vi, uzi nur la uzantnomon sufiĉos. La sama regulo validas por mencii aliajn uzantojn en mesaĝo.", | ||||||
|  |   "getting_started.open_source_notice": "Mastodon estas malfermitkoda programo. Vi povas kontribui aŭ raporti problemojn en github je {github}. {apps}.", | ||||||
|  |   "column.home": "Hejmo", | ||||||
|  |   "column.community": "Loka tempolinio", | ||||||
|  |   "column.public": "Fratara tempolinio", | ||||||
|  |   "column.notifications": "Sciigoj", | ||||||
|  |   "tabs_bar.compose": "Ekskribi", | ||||||
|  |   "tabs_bar.home": "Hejmo", | ||||||
|  |   "tabs_bar.mentions": "Sciigoj", | ||||||
|  |   "tabs_bar.public": "Fratara tempolinio", | ||||||
|  |   "tabs_bar.notifications": "Sciigoj", | ||||||
|  |   "compose_form.placeholder": "Pri kio vi pensas?", | ||||||
|  |   "compose_form.publish": "Hup", | ||||||
|  |   "compose_form.sensitive": "Marki ke la enhavo estas tikla", | ||||||
|  |   "compose_form.spoiler": "Kaŝi la tekston malantaŭ averto", | ||||||
|  |   "compose_form.private": "Marki ke la enhavo estas privata", | ||||||
|  |   "compose_form.privacy_disclaimer": "Via privata mesaĝo estos sendita nur al menciitaj uzantoj en {domains}. Ĉu vi fidas {domainsCount, plural, one {tiun servilon} other {tiujn servilojn}}? Mesaĝa privateco funkcias nur en aperaĵoj de Mastodon. Se {domains} {domainsCount, plural, one {ne estas aperaĵo de Mastodon} other {ne estas aperaĵoj de Mastodon}}, estos neniu indiko ke via mesaĝo estas privata, kaj ĝi povus esti diskonigita aŭ videbligita al necelitaj ricevantoj.", | ||||||
|  |   "compose_form.unlisted": "Ne afiŝi en publikaj tempolinioj", | ||||||
|  |   "navigation_bar.edit_profile": "Redakti la profilon", | ||||||
|  |   "navigation_bar.preferences": "Preferoj", | ||||||
|  |   "navigation_bar.community_timeline": "Loka tempolinio", | ||||||
|  |   "navigation_bar.public_timeline": "Fratara tempolinio", | ||||||
|  |   "navigation_bar.logout": "Elsaluti", | ||||||
|  |   "reply_indicator.cancel": "Rezigni", | ||||||
|  |   "search.placeholder": "Serĉi", | ||||||
|  |   "search.account": "Konto", | ||||||
|  |   "search.hashtag": "Kradvorto", | ||||||
|  |   "upload_button.label": "Aldoni enhavaĵon", | ||||||
|  |   "upload_form.undo": "Malfari", | ||||||
|  |   "notification.follow": "{name} sekvis vin", | ||||||
|  |   "notification.favourite": "{name} favoris vian mesaĝon", | ||||||
|  |   "notification.reblog": "{name} diskonigis vian mesaĝon", | ||||||
|  |   "notification.mention": "{name} menciis vin", | ||||||
|  |   "notifications.column_settings.alert": "Retumilaj atentigoj", | ||||||
|  |   "notifications.column_settings.show": "Montri en kolono", | ||||||
|  |   "notifications.column_settings.follow": "Novaj sekvantoj:", | ||||||
|  |   "notifications.column_settings.favourite": "Favoroj:", | ||||||
|  |   "notifications.column_settings.mention": "Mencioj:", | ||||||
|  |   "notifications.column_settings.reblog": "Diskonigoj:", | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | export default eo; | ||||||
|  | @ -5,6 +5,7 @@ import hu from './hu'; | ||||||
| import fr from './fr'; | import fr from './fr'; | ||||||
| import pt from './pt'; | import pt from './pt'; | ||||||
| import uk from './uk'; | import uk from './uk'; | ||||||
|  | import eo from './eo'; | ||||||
| 
 | 
 | ||||||
| const locales = { | const locales = { | ||||||
|   en, |   en, | ||||||
|  | @ -13,7 +14,8 @@ const locales = { | ||||||
|   hu, |   hu, | ||||||
|   fr, |   fr, | ||||||
|   pt, |   pt, | ||||||
|   uk |   uk, | ||||||
|  |   eo | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| export default function getMessagesForLocale (locale) { | export default function getMessagesForLocale (locale) { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue