forked from miraheze/landing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtranslations.php
310 lines (306 loc) · 14.3 KB
/
translations.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
<?php
$translations = [
'header-logo-text' => [
'en' => 'Miraheze',
],
'header-menu-title' => [
'en' => 'Menu'
],
'header-menu-home' => [
'en' => 'Home',
'es' => 'Página principal',
'fr' => "Page d'accueil",
'tr' => "Ana sayfa",
'ko' => '홈',
'it' => 'Pagina principale',
'pl' => 'Strona główna',
'pt' => 'Página principal',
],
'header-menu-features' => [
'en' => 'Features',
'pl' => 'Funkcje',
'pt' => 'Recursos',
],
'header-menu-about' => [
'en' => 'About',
'pl' => 'O nas',
'pt' => 'Sobre',
],
'header-menu-wiki' => [
'en' => 'Wiki',
],
'header-menu-blog' => [
'en' => 'Blog',
],
'header-menu-status' => [
'en' => 'Status',
'pt' => 'Status',
],
'header-menu-donate' => [
'en' => 'Donate',
'es' => '¡Donar',
'fr' => 'Faire un don',
'tr' => 'Bağış yap',
'ko' => '기부',
'it' => 'Fai una donazione',
'pl' => 'Przekaż darowiznę',
'pt' => 'Doar',
],
'welcome-text' => [
'en' => 'Welcome to Miraheze!',
'es' => '¡Bienvenido a Miraheze!',
'fr' => 'Bienvenue à Miraheze!',
'tr' => "Miraheze'ye hoş geldiniz",
'ko' => 'Miraheze에 오신 것을 환영합니다!',
'it' => 'Benvenuto a Miraheze',
'pl' => 'Witaj na Miraheze!',
'pt' => 'Bem-vindo(a) ao Miraheze!',
],
'description-text' => [
'en' => 'Miraheze is a non-profit, with a mission to provide a free community-centric wiki farm.',
'es' => 'Miraheze es una organización sin fines de lucro, con la misión de proporcionar una granja de wikis gratuita centrada en la comunidad.',
'fr' => "Miraheze est une organisation à but non lucratif dont la mission est de fournir une ferme d'hébergement wiki gratuite, centrée sur la communauté.",
'tr' => 'Miraheze kâr amacı gütmeyen, topluluk merkezli bir wiki çiftliği sağlama misyonudur.',
'ko' => 'Miraheze는 무료로 위키 공동체를 제공한다는 사명을 가진 비영리 단체입니다.',
'it' => 'Miraheze è una organizzazione senza scopo di lucro, con la missione di fornire una farm di wiki gratuita incentrata sulla comunità.',
'pl' => 'Miraheze to organizacja non-profit, z misją bycia darmową farmą wiki skupioną wokół społeczności.',
'pt' => 'Miraheze é uma organização sem fins lucrativos, com a missão de proporcionar uma farm de wikis gratuita e centrada em sua comunidade.',
],
'join-text' => [
'en' => 'Join Today!',
'pl' => 'Dołącz dzisiaj!',
'pt' => 'Junte-se hoje!',
],
'donate-text' => [
'en' => 'Donate Today!',
'es' => '¡Donar hoy!',
'fr' => "Faites un don aujourd'hui",
'tr' => 'Bugün bağış yapın!',
'ko' => '오늘 기부해보세요!',
'it' => 'Fai una donazione',
'pl' => 'Przekaż darowiznę',
'pt' => 'Doe hoje!',
],
'features-text' => [
'en' => 'Features',
'pl' => 'Funkcje',
'pt' => 'Recursos',
],
'features-mediawiki' => [
'en' => 'MediaWiki',
],
'features-mediawiki-desc' => [
'en' => 'Miraheze runs the same software as Wikipedia, <a href="https://www.mediawiki.org">MediaWiki!</a> ' .
'You can do anything from uploading media such as images or videos, to writing articles or blogs. ' .
'We have over 200 extensions and over 15 skins to choose from to customize your experience with MediaWiki!',
'pt' => 'Miraheze usa o mesmo software que a Wikipédia, <a href="https://www.mediawiki.org">MediaWiki!</a> '.
'Você pode fazer qualquer coisa, desde enviar arquivos como imagens ou vídeos, até escrever artigos ou blogs. '.
'Temos mais de 200 extensões e mais de 15 skins (temas) para customizar sua experiência com o MediaWiki!',
],
'features-non-profit-text' => [
'en' => 'Non-Profit',
'pt' => 'Sem fins lucrativos',
],
'features-non-profit-desc' => [
'en' => 'Miraheze is registered as Miraheze Limited in the United Kingdom. ' .
'We provide 100% free wikis as a non-profit that maintains the servers and keeps up with the development of our in house extensions.',
'pl' => 'Miraheze zostało zarejestrowane jako Miraheze Limited w Wielkiej Brytanii. ' .
'Zapewniamy 100% darmowe wiki jako organizacja non-profit, która konserwuje serwery i samodzielnie rozwija swoje rozszerzenia.',
'pt' => 'Miraheze está registrado como Miraheze Limited no Reino Unido. '.
'Providenciamos wikis 100% gratuitas, sem fins lucrativos, que mantêm os servidores e continua o desenvolvimento de nossas extensões domésticas.',
],
'features-community-text' => [
'en' => 'Community',
'es' => '¡Comunidad',
'fr' => 'Communauté',
'tr' => 'Topluluk',
'ko' => '커뮤니티',
'it' => 'Communità',
'pl' => 'Społeczność',
'pt' => 'Comunidade',
],
'features-community-desc' => [
'en' => 'As a community, we all work together to achieve a common goal of being a great wiki farm! '.
'This allows us to achieve the best possible outcome for users, by allowing users to learn!',
'es' => '¡Como comunidad, todos trabajamos juntos para lograr el objetivo común de ser una gran granja de wikis! ' .
'¡Esto nos permite lograr el mejor resultado posible para los usuarios, al permitirles aprender!',
'fr' => 'En tant que communauté, on travaille tous ensemble pour atteindre un objectif commun: devenir une grande ferme wiki! ' .
'Cela nous permet d’obtenir le meilleur résultat possible pour nos utilisateurs, en leur permettant d’apprendre!',
'tr' => 'Bir topluluk olarak hepimiz birlikte büyük bir wiki çiftliği olma ortak hedefine ulaşmak için çalışıyoruz! ' .
'Bunların tamamı, kullanıcıların öğrenmesini sağlayarak, kullanıcılar için mümkün olan en iyi sonucu elde etmemizi sağlar!',
'ko' => '커뮤니티에서 우리는 훌륭한 위키 호스팅이 되기 위한 공동의 목표 달성을 위해 함께 노력합니다! ' .
'이를 통해 사용자들이 학습할 수 있게 함으로써 사용자가 최상의 결과를 얻을 수 있게 해줍니다!',
'it' => 'Come communità, lavoriamo tutti insieme per raggiungere l\'obbiettivo comune di essere una grande wiki farm! ' .
'Questo ci permette di ottenere il miglior risultato possibile per gli utenti, permettendogli di imparare!',
'pl' => 'Jako społeczność, pracujemy razem, by osiągnąć wspólny cel bycia wspaniałą farmą wiki! ' .
'Pozwala nam to na osiągnięcie najlepszych rozwiązań dla użytkowników, pozwalając im się uczyć!',
'pt' => 'Como comunidade, todos trabalhamos juntos para alcançar um objetivo em comum em ser uma grande wiki farm! '.
'Isto nos permite alcançar o melhor resultado possível para todos os usuários ao permiti-los aprender!',
],
'features-responsive-text' => [
'en' => 'Responsive',
'pl' => 'Responsywność',
'pt' => 'Responsivo',
],
'features-responsive-desc' => [
'en' => 'All our wikis use MobileFrontend which makes the UI mobile friendly. We also allow you to switch this off by disabling it.',
'pl' => 'Wszystkie nasze wiki używają MobileFrontend, który czyni interfejs przyjaznym dla urządzeń mobilnych. Pozwalamy także na wyłączenie tego rozszerzenia.',
'pt' => 'Todas as nossas wikis usam MobileFrontend que fazem com que a UI seja amigável com dispositivos móveis. Também permitimos que você desligue o recurso ao desabilitá-lo.',
],
'features-extensions-text' => [
'en' => 'In house extensions',
'es' => '¡En las extensiones de la casa',
'fr' => 'Des extensions internes',
'tr' => 'Evizdeki kadar uzağınızda',
'ko' => '내부 확장기능',
'it' => 'Estensioni disegnate da noi',
'pl' => 'Własne rozszerzenia',
'pt' => 'Extensões domésticas',
],
'features-extensions-desc' => [
'en' => 'We have designed some of the most cutting edge extensions to help us grow and become one of the world\'s best wiki farms! ' .
'Our extensions allow communities to have more control over their own wikis, requiring little oversight from our staff. ' .
'We listen to community input over the management of their wikis.',
'pt' => 'Designamos e projetamos algumas das mais extensões de ponta para ajudar-nos crescer e tornar-mos uma das melhores wiki farms! ' .
'Nossas extensões ajudam com a criação das wikis e gestão pelas páginas especiais. ' .
'Isso nos dá o poder de administrar a wiki, requerindo pouca fiscalização dos comissários ou equipe técnica. ' .
'Esperamos elevar a contribuição da comunidade na gestão de suas wikis.',
],
'features-more-desc' => [
'en' => 'And many more features!',
'pl' => 'I wiele innych funkcji!',
'pt' => 'E muito mais recursos!',
],
'about-title' => [
'en' => 'About',
'pl' => 'O nas',
'pt' => 'Sobre',
],
'about-desc' => [
'en' => 'In July 2015, John Lewis and Ferran Tufan created a new wiki farm - named Miraheze. ' .
'Through the use of community crowdfunding and personal investment, Miraheze officially went live in August of 2015. ' .
'Over the years, the project has grown immensely to be one of the largest and most recognizable wiki farms specializing in MediaWiki on offer. '.
'Despite the success and evolution, one aspect of Miraheze never changed - formal existence. ' .
'In November 2019, Miraheze became an registered non-profit in the UK as Miraheze Limited.',
'pl' => 'W lipcu 2015, John Lewis i Ferran Tufan stworzyli nową farmę wiki - Miraheze.' .
'Dzięki crowdfundingowi i inwestycjom prywatnym, Miraheze została oficjalnie uruchomiona w sierpniu 2015. ' .
'Od tamtego czasu, projekt stał się jedną z największych i najbardziej rozpoznawanych farm wiki specjalizujących się w MediaWiki na żądanie. ' .
'Pomimo sukcesu i ewolucji, jeden z aspektów Miraheze się nie zmienił - prawne istnienie. ' .
'W listopadzie 2019, Miraheze oficjalnie została zarejestrowaną organizacją non-profit w Wielkiej Brytanii jako Miraheze Limited.',
'pt' => 'Em julho de 2015, John Lewis e Ferran Tufan criaram uma nova wiki farm - chamada de Miraheze. ' .
'Com o uso de financiamento colaborativo da comunidade e investimento pessoal, Miraheze oficialmente foi ao ar em agosto de 2015. ' .
'Com o passar dos anos, o projeto cresceu imensamente para se tornar uma das maiores e mais reconhecidas wiki farms especializadas em MediaWiki. ' .
'Apesar do sucesso e evolução, um aspecto do Miraheze nunca mudou - existência formal. ' .
'Em novembro de 2019, Miraheze se tornou uma empresa sem fins lucrativos registrada no Reino Unido como Miraheze Limited.',
],
'socialmedia-title' => [
'en' => 'Social Media',
'pt' => 'Mídia Social',
],
'footer-desc' => [
'en' => 'Miraheze Limited <br />' .
'A company limited by guarantee registered in England and Wales company no. 12323854 <br />' .
'Except where otherwise noted, the content of this site is licensed under a ' .
'<a href="https://creativecommons.org/licenses/by-sa/4.0/">Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.',
'pl' => 'Miraheze Limited <br />' .
'Firma z ograniczoną odpowiedzialność zarejestrowana w Anglii oraz Walii z numere 12323854 <br />' .
'Treść, której licencja nie została określona, jest objęta ' .
'<a href="https://creativecommons.org/licenses/by-sa/4.0/">Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.',
'pt' => 'Miraheze Limited <br />' .
'Uma empresa limitada por garantia registrada na Inglaterra e País de Gales, companhia nº 12323854 <br />'.
'Salvo em indicação ao contrário, o conteúdo deste site está licenciado sob ' .
'<a href="https://creativecommons.org/licenses/by-sa/4.0/">Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a>.',
],
'footer-terms' => [
'en' => 'Terms of Use',
'es' => 'Términos de uso',
'fr' => 'Conditions d’utilisation',
'tr' => 'Kullanım Şartları',
'ko' => '이용약관',
'it' => "Termini d'uso",
'pl' => 'Warunki użytkowania',
'pt' => 'Termos de uso',
],
'footer-privacy-policy' => [
'en' => 'Privacy Policy',
'es' => 'Política de privacidad',
'fr' => 'Politique de confidentialité',
'tr' => 'Gizlilik Politikası',
'ko' => '개인정보 보호정책',
'it' => "Politica sulla privacy",
'pl' => 'Polityka prywatności',
'pt' => 'Política de privacidade',
],
'footer-disclaimers' => [
'en' => 'Disclaimers',
'es' => 'Renuncias',
'fr' => 'Avertissements',
'tr' => 'Feragatler',
'ko' => '면책조항',
'it' => "Disclaimer",
'pl' => 'Informacje prawne',
'pt' => 'Avisos Legais',
],
'footer-cookie' => [
'en' => 'Cookie Statement',
'es' => 'Declaración de cookies',
'fr' => 'Déclaration sur les cookies',
'tr' => 'Çerez Bildirimi',
'ko' => '쿠키 정책',
'it' => "Informativa sui cookie",
'pl' => 'Polityka dot. cookies',
'pt' => 'Declaração de cookies',
],
'footer-contact' => [
'en' => 'Contact Us',
'pl' => 'Skontaktuj się z nami',
'pt' => 'Contate-nos',
],
'footer-faq' => [
'en' => 'FAQ',
'pt' => 'Perguntas Frequentes',
],
'footer-translate' => [
'en' => 'Translate this page',
'es' => 'Traducir esta página',
'fr' => 'Traduire cette page',
'tr' => 'Bu sayfayı çevirin',
'ko' => '이 페이지 번역',
'it' => 'Traduci questa pagina',
'pl' => 'Przetłumacz tę witrynę',
'pt' => 'Traduza esta página',
],
// Donate page
'header-donate-logo-text' => [
'en' => 'Miraheze Donate',
'pt' => 'Doe ao Miraheze',
],
'header-menu-home' => [
'en' => 'Home',
'pl' => 'Strona główna',
'pt' => 'Página principal',
],
'donate-amount' => [
'en' => 'Amount',
'pl' => 'Kwota',
'pt' => 'Montante',
],
'donate-note' => [
'en' => 'This form is for donations with PayPal (you may use credit/debit cards). ' .
'You should select your local currency using the dropdown on the page.',
'pl' => 'Ten formularz dotyczy darowizn dokonywanych z użyciem PayPal (możliwe jest użycie kart kredytowych/debetowych). ' .
'Prosimy o wybranie swojej lokalnej waluty używając menu na stronie.',
'pt' => 'Este formulário é para doações com PayPal (você pode usar cartão de crédito/débito); ' .
'Escolha sua moeda local usando o menu suspenso na página.',
],
];
function translate( $key ) {
global $translations;
$lang = isset( $_GET['lang'] ) && $_GET['lang'] ? $_GET['lang'] : 'en';
if ( isset( $translations[$key][$lang] ) && $translations[$key][$lang] ) {
return $translations[$key][$lang];
} else {
return $translations[$key]['en'];
}
}
?>