add korean string resource file.

This commit is contained in:
tateisu 2018-09-09 09:11:31 +09:00
parent d55ea76a6c
commit 59653fda44
3 changed files with 9 additions and 3 deletions

View File

@ -29,7 +29,7 @@
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="account">계정</string>
<string name="account_add">계정 추가</string>
</resources>

View File

@ -28,8 +28,9 @@ for my $file(@files){
$lang=$master_name;
}
my $data = $xml->XMLin($file);
#print dump($data);
#exit;
if( not $data->{string} or ($data->{string}{content} and not ref $data->{string}{content} )){
die "!! please make at least 2 string entries in $file\n";
}
my %names;
while(my($name,$o)=each %{$data->{string}}){