2020-07-03 05:59:36 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								/*
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * i18n.js
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * Copyright (c) 2020 james@firefly-iii.org
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 *
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * This file is part of Firefly III (https://github.com/firefly-iii).
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 *
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * This program is free software: you can redistribute it and/or modify
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * it under the terms of the GNU Affero General Public License as
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * published by the Free Software Foundation, either version 3 of the
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * License, or (at your option) any later version.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 *
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * This program is distributed in the hope that it will be useful,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * but WITHOUT ANY WARRANTY; without even the implied warranty of
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * GNU Affero General Public License for more details.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 *
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * You should have received a copy of the GNU Affero General Public License
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 */
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-27 16:17:24 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								// Create VueI18n instance with options
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								module.exports = new vuei18n({
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    locale: document.documentElement.lang, // set locale
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    fallbackLocale: 'en',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    messages: {
							 | 
						
					
						
							
								
									
										
										
										
											2020-08-20 20:43:23 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'bg': require('./locales/bg.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2023-01-15 15:47:25 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'ca-es': require('./locales/ca.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-27 16:17:24 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'cs': require('./locales/cs.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-08 06:47:56 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'da': require('./locales/da.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-27 16:17:24 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'de': require('./locales/de.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-08 06:47:56 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'el': require('./locales/el.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-27 16:17:24 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'en': require('./locales/en.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-09-13 07:38:31 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'en-us': require('./locales/en.json'),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'en-gb': require('./locales/en-gb.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-27 16:17:24 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'es': require('./locales/es.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-08 06:47:56 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'fi': require('./locales/fi.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-27 16:17:24 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'fr': require('./locales/fr.json'),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'hu': require('./locales/hu.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-08 06:47:56 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'id': require('./locales/id.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-27 16:17:24 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'it': require('./locales/it.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2021-08-10 19:43:51 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'ja': require('./locales/ja.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-27 07:12:04 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'ko': require('./locales/ko.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-09-13 07:38:31 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'nb': require('./locales/nb.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-08 06:47:56 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'nl': require('./locales/nl.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-12 06:31:03 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'nn': require('./locales/nn.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-27 16:17:24 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'pl': require('./locales/pl.json'),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'pt-br': require('./locales/pt-br.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2021-02-02 19:20:44 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'pt-pt': require('./locales/pt.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-08 06:47:56 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'pt': require('./locales/pt.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-27 16:17:24 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'ro': require('./locales/ro.json'),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'ru': require('./locales/ru.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-10-02 08:46:41 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'sk': require('./locales/sk.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-08 06:47:56 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'sl': require('./locales/sl.json'),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'sr': require('./locales/sl.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-27 16:17:24 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'sv': require('./locales/sv.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-08 06:47:56 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'tr': require('./locales/tr.json'),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'uk': require('./locales/uk.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-27 16:17:24 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'vi': require('./locales/vi.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-08 06:47:56 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'zh': require('./locales/zh-cn.json'),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'zh-tw': require('./locales/zh-tw.json'),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'zh-cn': require('./locales/zh-cn.json'),
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-27 16:17:24 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							
								
									
										
										
										
											2020-05-30 07:33:06 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								});
							 |