mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
add pt_BR language option
This commit is contained in:
@ -148,6 +148,7 @@ class CompanyController extends Controller
|
|||||||
["code"=>"fr", "name" => "French"],
|
["code"=>"fr", "name" => "French"],
|
||||||
["code"=>"es", "name" => "Spanish"],
|
["code"=>"es", "name" => "Spanish"],
|
||||||
["code"=>"ar", "name" => "العربية"],
|
["code"=>"ar", "name" => "العربية"],
|
||||||
|
["code"=>"pt_BR", "name" => "Portuguese"],
|
||||||
];
|
];
|
||||||
|
|
||||||
return response()->json([
|
return response()->json([
|
||||||
|
|||||||
@ -4,6 +4,7 @@ import en from './en.json'
|
|||||||
import fr from './fr.json'
|
import fr from './fr.json'
|
||||||
import es from './es.json'
|
import es from './es.json'
|
||||||
import ar from './ar.json'
|
import ar from './ar.json'
|
||||||
|
import pt_BR from './pt-br.json'
|
||||||
|
|
||||||
Vue.use(VueI18n)
|
Vue.use(VueI18n)
|
||||||
|
|
||||||
@ -13,7 +14,8 @@ const i18n = new VueI18n({
|
|||||||
en,
|
en,
|
||||||
fr,
|
fr,
|
||||||
es,
|
es,
|
||||||
ar
|
ar,
|
||||||
|
pt_BR
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user