Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
vti
committed
Apr 16, 2012
1 parent
6abd702
commit 5cfa4cf
Showing
10 changed files
with
63 additions
and
21 deletions.
There are no files selected for viewing
Submodule lamework
updated
from 6882a1 to 2d6b75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package Perliki::I18N::ru; | ||
|
||
use strict; | ||
use warnings; | ||
use utf8; | ||
|
||
use base 'Perliki::I18N'; | ||
|
||
our %Lexicon = ( | ||
'Login' => 'Вход', | ||
'Logout' => 'Выход', | ||
'Last changes' => 'Последние изменения', | ||
'All pages' => 'Все страницы', | ||
'Last modification' => 'Последнее изменение', | ||
'by' => 'от', | ||
'update' => 'изменить', | ||
'Update' => 'Изменить', | ||
'Create' => 'Создать', | ||
'Preview' => 'Предпросмотр', | ||
'last modification' => 'последнее изменение', | ||
'history' => 'история', | ||
); | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
{{#preview}} | ||
<h1>Preview</h1> | ||
<h1>{{#loc}}Preview{{/loc}}</h1> | ||
<div> | ||
{{&page.content_rendered}} | ||
</div> | ||
{{/preview}} | ||
|
||
<h1>Create page</h1> | ||
<h1>{{#loc}}Create page{{/loc}}</h1> | ||
<form method="POST"> | ||
<div> | ||
<textarea name="content">{{form.content}}</textarea> | ||
{{#errors.content}}{{errors.content}}{{/errors.content}} | ||
</div> | ||
<div> | ||
<input type="submit" name="preview" value="Preview" /> | ||
<input type="submit" name="submit" value="Create" /> | ||
<input type="submit" name="preview" value="{{#loc}}Preview{{/loc}}" /> | ||
<input type="submit" name="submit" value="{{#loc}}Create{{/loc}}" /> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<h1>Perliki</h1> | ||
|
||
<a href="/wiki/Index">Create Index page</a> | ||
<a href="/wiki/Index">{{#loc}}Create Index page{{/loc}}</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Not Foudn | ||
Not Found |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
← <a href="/wiki/{{page.name}}">{{page.name}}</a> | ||
|
||
{{#preview}} | ||
<h1>Preview</h1> | ||
<h1>{{#loc}}Preview{{/loc}}</h1> | ||
<div> | ||
{{&page.content_rendered}} | ||
</div> | ||
{{/preview}} | ||
|
||
<h1>Update</h1> | ||
<h1>{{#loc}}Update{{/loc}}</h1> | ||
<form method="POST"> | ||
<div> | ||
<textarea name="content">{{form.content}}</textarea> | ||
{{#errors.content}}{{errors.content}}{{/errors.content}} | ||
</div> | ||
<div> | ||
<input type="submit" name="preview" value="Preview" /> | ||
<input type="submit" name="submit" value="Update" /> | ||
<input type="submit" name="preview" value="{{#loc}}Preview{{/loc}}" /> | ||
<input type="submit" name="submit" value="{{#loc}}Update{{/loc}}" /> | ||
</div> | ||
</form> |