Skip to content

Commit

Permalink
Create ja.lua
Browse files Browse the repository at this point in the history
Create a file translated into japanese.
  • Loading branch information
YutoMaeda1209 committed Apr 5, 2024
1 parent 9a4bcd8 commit bb37400
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions locales/ja.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
local Translations = {
error = {
to_far_from_door = 'ドアベルから離れすぎています',
nobody_home = '家には誰もいません..',
nobody_at_door = 'ドアの前には誰もいません...'
},
success = {
receive_apart = 'アパートを借りました',
changed_apart = 'アパートを引っ越しました',
},
info = {
at_the_door = '誰かがドアの前にいます!',
},
text = {
options = '[E] アパートオプション',
enter = 'アパートに入る',
ring_doorbell = 'ドアベルを鳴らす',
logout = 'このキャラクターからログアウトする',
change_outfit = '衣装を変更する',
open_stash = '隠し倉庫を開ける',
move_here = 'ここに移動する',
open_door = 'ドアを開ける',
leave = 'アパートを出る',
close_menu = '⬅ メニューを閉じる',
tennants = '部屋',
},
}

if GetConvar('qb_locale', 'en') == 'ja' then
Lang = Locale:new({
phrases = Translations,
warnOnMissing = true,
fallbackLang = Lang
})
end

0 comments on commit bb37400

Please sign in to comment.