Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(esx_society/fxmanifest): Use lazy loading for locales. #27

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,24 @@ description 'Provides a way for Jobs to have a society system. (boss menu, salar
lua54 'yes'
version '1.0'

shared_script '@es_extended/imports.lua'

shared_scripts {
'@es_extended/imports.lua',
'@es_extended/locale.lua',
'config.lua'
}
server_scripts {
'@oxmysql/lib/MySQL.lua',
'@es_extended/locale.lua',
'locales/*.lua',
'config.lua',
'server/main.lua'
}

client_scripts {
'@es_extended/locale.lua',
'locales/*.lua',
'config.lua',
'client/main.lua'
}

files {
'locales/*.lua',
}

dependencies {
'es_extended',
'cron',
Expand Down
2 changes: 1 addition & 1 deletion locales/cs.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locales['cs'] = {
return {
['actions'] = 'akce',
['boss_menu'] = 'akce šéfa',
['money_generic'] = '$%s',
Expand Down
2 changes: 1 addition & 1 deletion locales/de.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locales['de'] = {
return {
['actions'] = 'Aktionen',
['boss_menu'] = 'Bossmenü',
['money_generic'] = '%s€',
Expand Down
2 changes: 1 addition & 1 deletion locales/el.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locales['el'] = {
return {
['actions'] = 'Ενέργειες',
['boss_menu'] = 'Μενού αφεντικού',
['money_generic'] = '$%s',
Expand Down
2 changes: 1 addition & 1 deletion locales/en.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locales['en'] = {
return {
['actions'] = 'actions',
['boss_menu'] = 'boss menu',
['money_generic'] = '$%s',
Expand Down
2 changes: 1 addition & 1 deletion locales/es.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locales['es'] = {
return {
['actions'] = 'Acciones',
['boss_menu'] = 'Menú de jefe',
['money_generic'] = '%s$',
Expand Down
2 changes: 1 addition & 1 deletion locales/fi.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locales['fi'] = {
return {
['actions'] = 'Toiminnot',
['boss_menu'] = 'Pomo valikko',
['money_generic'] = '€%s',
Expand Down
2 changes: 1 addition & 1 deletion locales/fr.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locales['fr'] = {
return {
['actions'] = 'actions',
['boss_menu'] = 'patron',
['money_generic'] = '$%s',
Expand Down
2 changes: 1 addition & 1 deletion locales/hu.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locales['hu'] = {
return {
['actions'] = 'Cselekvések',
['boss_menu'] = 'Fönök Menü',
['money_generic'] = '%s $',
Expand Down
2 changes: 1 addition & 1 deletion locales/it.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locales['it'] = {
return {
['actions'] = 'azioni',
['boss_menu'] = 'boss menu',
['money_generic'] = '$%s',
Expand Down
2 changes: 1 addition & 1 deletion locales/nl.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locales['nl'] = {
return {
['check_society_balance'] = 'Bekijk genootschap saldo',
['check_balance'] = 'Saldo is ~g~€%s',
['grade_management'] = 'rang labelbeheer',
Expand Down
2 changes: 1 addition & 1 deletion locales/pl.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locales['pl'] = {
return {
['actions'] = 'akcje',
['boss_menu'] = 'boss menu',
['money_generic'] = '$%s',
Expand Down
2 changes: 1 addition & 1 deletion locales/sr.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locales['sr'] = {
return {
['actions'] = 'Akcije',
['boss_menu'] = 'Šef Meni',
['money_generic'] = '$%s',
Expand Down
2 changes: 1 addition & 1 deletion locales/zh-cn.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locales['zh-cn'] = {
return {
['actions'] = '可操作功能',
['boss_menu'] = '人事管理',
['money_generic'] = '$%s',
Expand Down