Add Portuguese translation (incomplete)

This commit is contained in:
Deluan
2020-04-13 19:51:03 -04:00
committed by Deluan Quintão
parent 2dfe01963a
commit 289ba68824
10 changed files with 208 additions and 25 deletions
+11 -1
View File
@@ -1,3 +1,13 @@
import en from './en'
import pt from './pt'
export default { en }
// When adding a new translation, import it above and add it to the list bellow
const allLanguages = { en, pt }
// "Hack" to make "albumSongs" resource use the same translations as "song"
Object.keys(allLanguages).forEach(
(k) => (allLanguages[k].resources.albumSong = allLanguages[k].resources.song)
)
export default allLanguages