Skip to content

Commit 14e18a4

Browse files
committedNov 25, 2009
refs #1249
* 언어 리소스 도입 및 교정
1 parent 4589685 commit 14e18a4

File tree

6 files changed

+18
-21
lines changed

6 files changed

+18
-21
lines changed
 

‎interface/i/archive/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343

4444
$itemsView .= '<li class="pagination">'.CRLF;
4545
if(isset($paging['prev'])){
46-
$itemsView .= '<a href="' .$blogURL . '/archive/' . $period . '?page=' . $paging['prev'] . '" class="previous">Page ' . $paging['prev'] . '</a>'.CRLF;
46+
$itemsView .= '<a href="' .$blogURL . '/archive/' . $period . '?page=' . $paging['prev'] . '" class="previous">'._textf('%1 페이지',$paging['prev']) . '</a>'.CRLF;
4747
}
4848
if (isset($paging['next'])) {
49-
$itemsView .= '<a href="' .$blogURL . '/archive/' . $period . '?page=' . $paging['next'] . '" class="next">Page ' . $paging['next'] . '</a>'.CRLF;
49+
$itemsView .= '<a href="' .$blogURL . '/archive/' . $period . '?page=' . $paging['next'] . '" class="next">'._textf('%1 페이지',$paging['next']) . '</a>'.CRLF;
5050
}
5151
if ($suri['page'] > 1 && $suri['page'] != $paging['pages']) {
5252
$itemsView .= '<strong>' . $suri['page'] . '</strong>'.CRLF;

‎interface/i/category/index.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
$list = array('title' => (empty($suri['value']) ? getCategoryLabelById($blogid, 0) : $suri['value']), 'items' => $listWithPaging[0], 'count' => $listWithPaging[1]['total']);
1717
$paging = $listWithPaging[1];
1818
?>
19-
<ul class="posts" id="category_<?php echo $suri['page'];?>" title="<?php echo ($category == 0 ? 'All Category' : ucwords(getCategoryNameById($blogid, $category)));?>" selected="false">
19+
<ul class="posts" id="category_<?php echo $suri['page'];?>" title="<?php echo ($category == 0 ? _text('모든 카테고리') : ucwords(getCategoryNameById($blogid, $category)));?>" selected="false">
2020
<?php
2121
$itemsView .= '<li class="group">'.CRLF;
22-
$itemsView .= ' <span class="left">' . ($category == 0 ? 'All Category' : ucwords(getCategoryNameById($blogid, $category))) . ' ('.$list['count'].')</span>'.CRLF;
22+
$itemsView .= ' <span class="left">' . ($category == 0 ? _text('모든 카테고리') : ucwords(getCategoryNameById($blogid, $category))) . ' ('.$list['count'].')</span>'.CRLF;
2323
$itemsView .= ' <span class="right">Page <span class="now_page">' . $paging['page'] . '</span> / '.$paging['pages'].'</span>'.CRLF;
2424
$itemsView .= '</li>'.CRLF;
2525
foreach ($list['items'] as $item) {
@@ -42,10 +42,10 @@
4242

4343
$itemsView .= '<li class="pagination">'.CRLF;
4444
if(isset($paging['prev'])){
45-
$itemsView .= '<a href="' .$blogURL . '/category/' . $category . '?page=' . $paging['prev'] . '" class="previous">Page ' . $paging['prev'] . '</a>'.CRLF;
45+
$itemsView .= '<a href="' .$blogURL . '/category/' . $category . '?page=' . $paging['prev'] . '" class="previous">'._textf('%1 페이지',$paging['prev']) . '</a>'.CRLF;
4646
}
4747
if (isset($paging['next'])) {
48-
$itemsView .= '<a href="' .$blogURL . '/category/' . $category . '?page=' . $paging['next'] . '" class="next">Page ' . $paging['next'] . '</a>'.CRLF;
48+
$itemsView .= '<a href="' .$blogURL . '/category/' . $category . '?page=' . $paging['next'] . '" class="next">'._textf('%1 페이지',$paging['next']) . '</a>'.CRLF;
4949
}
5050
if ($suri['page'] > 1 && $suri['page'] != $paging['pages']) {
5151
$itemsView .= '<strong>' . $suri['page'] . '</strong>'.CRLF;

‎interface/i/entry/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141

4242
$itemsView .= '<li class="pagination">'.CRLF;
4343
if(isset($paging['prev'])){
44-
$itemsView .= '<a href="' .$blogURL . '/entry?page=' . $paging['prev'] . '" class="previous">Page ' . $paging['prev'] . '</a>'.CRLF;
44+
$itemsView .= '<a href="' .$blogURL . '/entry?page=' . $paging['prev'] . '" class="previous">'._textf('%1 페이지',$paging['prev']) . '</a>'.CRLF;
4545
}
4646
if (isset($paging['next'])) {
47-
$itemsView .= '<a href="' .$blogURL . '/entry?page=' . $paging['next'] . '" class="next">Page ' . $paging['next'] . '</a>'.CRLF;
47+
$itemsView .= '<a href="' .$blogURL . '/entry?page=' . $paging['next'] . '" class="next">'._textf('%1 페이지',$paging['next']) . '</a>'.CRLF;
4848
}
4949
if ($suri['page'] > 1 && $suri['page'] != $paging['pages']) {
5050
$itemsView .= '<strong>' . $suri['page'] . '</strong>'.CRLF;

‎interface/i/link/index.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@
55
define('__TEXTCUBE_IPHONE__', true);
66
require ROOT . '/library/preprocessor.php';
77
requireView('iphoneView');
8-
if (false) {
9-
fetchConfigVal();
10-
}
118

12-
$linkView .= '<ul class="posts" id="links" title="Links" selected="false">'.CRLF;
9+
$linkView .= '<ul class="posts" id="links" title="'._text('링크').'" selected="false">'.CRLF;
1310
$linkView .= printIphoneLinksView(getLinks($blogid));
1411
$linkView .= '</ul>';
1512
print $linkView;

‎interface/i/#/index.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@
3333
} else if (!empty($_POST['loginid']) && !empty($_POST['password'])) {
3434
$isLogin = login($_POST['loginid'],$_POST['password']);
3535
if (!$isLogin) {
36-
$message = _text('Wrong E-mail or Password.');
36+
$message = _text('잘못된 E-mail 주소 또는 비밀번호입니다.');
3737
// if (!doesHaveMembership() && isLoginId(getBlogId(), $_POST['loginid'])){
3838
// $showPasswordReset = true;
3939
// }
4040
} else if($isLogin == 2) {
41-
$message=_t('Permission denied.');
41+
$message=_text('권한이 없습니다.');
4242
}
4343
}
4444

4545
if(!doesHaveOwnership()) {
4646
?>
4747
<form id="Login" method="GET" action="<?php echo $blogURL;?>/#" title="Login" class="panel" selected="false">
48-
<h2>Blog Admin Login.</h2>
48+
<h2><?php echo _text('블로그 로그인');?></h2>
4949
<fieldset>
5050
<?php if($message) { ?>
5151
<div class="row">
@@ -57,27 +57,27 @@
5757
<input type="text" class="input-text" id="loginid" name="loginid" value="<?php echo htmlspecialchars(empty($_POST['loginid']) ? (empty($_COOKIE['TSSESSION_LOGINID']) ? '' : $_COOKIE['TSSESSION_LOGINID']) : $_POST['loginid']);?>" maxlength="64" tabindex="1" />
5858
</div>
5959
<div class="row">
60-
<label for="password"><?php echo _text('Password');?></label>
60+
<label for="password"><?php echo _text('비밀번호');?></label>
6161
<input type="password" class="input-text" id="password" name="password" onkeydown="if (event.keyCode == 13) document.forms[0].submit()" maxlength="64" tabindex="2" />
6262
</div>
6363
<div class="row">
64-
<label>Save E-mail</label>
64+
<label><?php echo _text('E-mail 저장');?></label>
6565
<div id="emailSave" class="toggle" <?php echo (empty($_COOKIE['TSSESSION_LOGINID']) ? '' : 'toggled="true"');?> onclick="emailSaveToggleCheck(this);"><span class="thumb"></span><span class="toggleOn">ON</span><span class="toggleOff">OFF</span></div>
6666
</div>
6767
</fieldset>
6868
<input type="hidden" id="save" class="checkbox" name="save" />
6969
<input type="hidden" name="requestURI" value="#home" />
7070

71-
<a href="#" class="whiteButton " type="submit"><?php echo _text('Blog Login');?></a>
71+
<a href="#" class="whiteButton " type="submit"><?php echo _text('블로그 로그인');?></a>
7272
</form>
7373
<?php
7474
} else {
7575
?>
7676
<div id="Login" title="Login" class="panel" selected="false">
7777
<div class="content">
78-
Login Successfully.
78+
<?php echo _text('로그인 하였습니다.');?>
7979
</div>
80-
<a href="#" onclick="self.location.reload();" class="whiteButton margin-top10"><?php echo _text('Go to front page');?></a>
80+
<a href="#" onclick="self.location.reload();" class="whiteButton margin-top10"><?php echo _text('첫 페이지로 돌아가기');?></a>
8181
</div>
8282
<?php
8383
}

‎interface/i/trackback/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
list($entries, $paging) = getEntryWithPaging($blogid, $suri['id']);
99
$entry = $entries ? $entries[0] : null;
1010
?>
11-
<div id="trackback_<?php echo $entry['id']."_".time();?>" title="Trackback <?php echo $entry['id'];?>" selected="false">
11+
<div id="trackback_<?php echo $entry['id']."_".time();?>" title="<?php echo _text('트랙백');?> : <?php echo $entry['title'];?>" selected="false">
1212
<?php
1313
printIphoneTrackbackView($entry['id']);
1414
?>

0 commit comments

Comments
 (0)