Skip to content

Commit f39729d

Browse files
committed
Language Add/Bug Fix.
1 parent dfcd312 commit f39729d

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

nutscript/plugins/improveddoors/language/sh_korean.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ PLUGIN:AddPluginLanguage("doors_buyed_door", "구매된 문", language);
2424

2525
PLUGIN:AddPluginLanguage("doors_owner", "%s 의 소유", language);
2626
PLUGIN:AddPluginLanguage("doors_not_owner", "이 문은 당신의 소유가 아닙니다.", language);
27-
PLUGIN:AddPluginLanguage("doors_not_door", "조준점이 문을 바라보고 있지 않습니다.", language);
27+
PLUGIN:AddPluginLanguage("doors_not_door", "조준점이 문을 바라보고 있지 않습니다.", language);
28+
PLUGIN:AddPluginLanguage("already_buyed", "다른 플레이어가 소유중인 문 입니다.", language);
29+
PLUGIN:AddPluginLanguage("already_ownable", "이미 구매 가능한 문입니다.", language);
30+
PLUGIN:AddPluginLanguage("successful_selling", "성공적으로 문을 판매하였습니다.", language);

nutscript/plugins/improveddoors/sh_commands.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ nut.command.Register({
7777

7878
if (IsValid(entity) and PLUGIN:IsDoor(entity) and !entity:GetNetVar("hidden")) then
7979
if (!PLUGIN:IsDoorOwned(entity)) then
80-
nut.util.Notify("이미 구매 가능한 문입니다.", client);
80+
nut.util.Notify(PLUGIN:GetPluginLanguage("already_ownable"), client);
8181
else
8282
entity:SetNetVar("owner", nil)
8383
entity:SetNetVar("title", PLUGIN:GetPluginLanguage("doors_can_buy"));
8484
entity:SetNetVar("desc", PLUGIN:GetPluginLanguage("doors_buy_desc"));
8585

86-
nut.util.Notify("성공적으로 문을 판매하였습니다.", client)
86+
nut.util.Notify(PLUGIN:GetPluginLanguage("successful_selling"), client);
8787
end;
8888
else
8989
nut.util.Notify(PLUGIN:GetPluginLanguage("doors_not_door"), client)
@@ -142,7 +142,7 @@ nut.command.Register({
142142

143143
if (IsValid(entity) and PLUGIN:IsDoor(entity)) then
144144
if (PLUGIN:IsDoorOwned(entity)) then
145-
nut.util.Notify("다른 플레이어가 소유중인 문 입니다.", client);
145+
nut.util.Notify(PLUGIN:GetPluginLanguage("already_buyed"), client);
146146
else
147147
local title = PLUGIN:GetPluginLanguage("doors_cant_buy")
148148

@@ -183,7 +183,7 @@ nut.command.Register({
183183

184184
if (IsValid(entity) and PLUGIN:IsDoor(entity)) then
185185
if (PLUGIN:IsDoorOwned(entity)) then
186-
nut.util.Notify("다른 플레이어가 소유중인 문 입니다.", client);
186+
nut.util.Notify(PLUGIN:GetPluginLanguage("already_buyed"), client);
187187
else
188188
PLUGIN:DoorSetOwnable(entity);
189189

nutscript/plugins/improvedpersist/language/sh_korean.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
local language = "korean";
2+
local PLUGIN = PLUGIN;
23

34
PLUGIN:AddPluginLanguage("ps_saved", "이 엔티티는 이제 저장되는 엔티티입니다.", language);
45
PLUGIN:AddPluginLanguage("ps_unsaved", "이 엔티티는 더 이상 저장되는 엔티티가 아닙니다.", language);

nutscript/plugins/moderator/language/sh_korean.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
local language = "korean";
2+
local PLUGIN = PLUGIN;
23

34
PLUGIN:AddPluginLanguage("mr_low_permisson", "권한이 모자랍니다.", language);
45
PLUGIN:AddPluginLanguage("mr_exist_rank", "정의되지 않은 랭크입니다.", language);

0 commit comments

Comments
 (0)