mirror of
https://github.com/tateisu/SubwayTooter
synced 2025-01-11 00:44:03 +01:00
add korean string resource file.
This commit is contained in:
parent
d55ea76a6c
commit
59653fda44
@ -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">
|
||||
|
5
app/src/main/res/values-ko/strings.xml
Normal file
5
app/src/main/res/values-ko/strings.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="account">계정</string>
|
||||
<string name="account_add">계정 추가</string>
|
||||
</resources>
|
@ -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}}){
|
||||
|
Loading…
Reference in New Issue
Block a user