Skip to content

Commit

Permalink
Add korean translaction to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
acktsap committed May 18, 2020
1 parent 68c3fc3 commit 135e624
Show file tree
Hide file tree
Showing 40 changed files with 2,265 additions and 79 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ Gemfile.lock
!.gitignore
!.gitmodules
**/bin/
pack/
fat/

# docs
*.mo
2 changes: 2 additions & 0 deletions docs/source/aergo-client/accountoperation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ At current block.
AccountAddress nameOwner = client.getAccountOperation().getNameOwner(name);
System.out.println("Nonce owner: " + nameOwner);
At specific block.

.. code-block:: java
// get name owner at block 3
Expand Down
12 changes: 6 additions & 6 deletions docs/source/aergo-client/contractoperation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Deploy smart contract. Normally, deployment process is

deploy -> wait for confirm -> get contract tx receipt -> find a contract address -> get contract interface

For more about making contract definition, see :doc:`ContractDefinition <../model/contract-definition>`.
For more about making contract definition, see :doc:`ContractDefinition <../model/contractdefinition>`.

.. code-block:: java
Expand Down Expand Up @@ -49,7 +49,7 @@ For more about making contract definition, see :doc:`ContractDefinition <../mode
Re-Deploy
---------

Re-deploy to an already deployed one. It replaces contract logic while keeping contract state. This operations is available private mode only. For more about making contract definition, see :doc:`ContractDefinition <../model/contract-definition>`.
Re-deploy to an already deployed one. It replaces contract logic while keeping contract state. This operations is available private mode only. For more about making contract definition, see :doc:`ContractDefinition <../model/contractdefinition>`.

.. code-block:: java
Expand Down Expand Up @@ -100,7 +100,7 @@ Get contract interface. It returns null if no corresponding one.
Execute
-------

Execute contract function of already deployed one. For more about making contract invocation, see :doc:`ContractInvocation <../model/contract-invocation>`.
Execute contract function of already deployed one. For more about making contract invocation, see :doc:`ContractInvocation <../model/contractinvocation>`.

.. code-block:: java
Expand All @@ -123,7 +123,7 @@ Execute contract function of already deployed one. For more about making contrac
Query
-----

Get state of contract. It can be binded to an java bean. For more about making contract invocation, see :doc:`ContractInvocation <../model/contract-invocation>`.
Get state of contract. It can be binded to an java bean. For more about making contract invocation, see :doc:`ContractInvocation <../model/contractinvocation>`.

.. code-block:: java
Expand Down Expand Up @@ -175,7 +175,7 @@ Get state of contract. It can be binded to an java bean. For more about making c
List Event
----------

Get event infos at some block. For more about making event filter, see :doc:`EventFilter <../model/event-filter>`.
Get event infos at some block. For more about making event filter, see :doc:`EventFilter <../model/eventfilter>`.

.. code-block:: java
Expand All @@ -191,7 +191,7 @@ Get event infos at some block. For more about making event filter, see :doc:`Eve
Event Subscription
------------------

Subscribe new generated event of specific contract. For more about making event filter, see :doc:`EventFilter <../model/event-filter>`.
Subscribe new generated event of specific contract. For more about making event filter, see :doc:`EventFilter <../model/eventfilter>`.

.. code-block:: java
Expand Down
12 changes: 6 additions & 6 deletions docs/source/contract/contractapi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ContractApi provides java interface based smart contract call. ContractApi autom
Prepare
-------

To use contract api, first you have to deploy smart contract. Then, write an interface corresponding to smart contract functions.
To use ContractApi, first you have to deploy smart contract. Then, write an interface corresponding to smart contract functions.

Write a smart contract. For more about writing lua smart contract, see `Programming Guide <https://docs.aergo.io/en/latest/smart-contracts/lua/guide.html>`_.

Expand Down Expand Up @@ -152,9 +152,9 @@ Write an interface. Interface methods should matches with smart contract functio
Make
----

Given deployed smart contract and an java interface to use it, you can make a contract api for it.
Given deployed smart contract and an java interface to use it, you can make a ContractApi for it.

Make a contract api with implicit retry count and interval on nonce failure.
Make a ContractApi with implicit retry count and interval on nonce failure.

.. code-block:: java
Expand All @@ -164,7 +164,7 @@ Make a contract api with implicit retry count and interval on nonce failure.
.create(contractAddress, CustomInterface1.class);
System.out.println("ContractApi: " + contractApi);
Make a contract api with explicit retry count and interval on nonce failure.
Make a ContractApi with explicit retry count and interval on nonce failure.

.. code-block:: java
Expand All @@ -178,7 +178,7 @@ Make a contract api with explicit retry count and interval on nonce failure.
Execute
-------

With an aergo key.
With an AergoKey.

.. code-block:: java
Expand All @@ -195,7 +195,7 @@ With an aergo key.
.set("key", 123, "test", Fee.INFINITY);
System.out.println("Execute tx hash: " + executeTxHash);
With a wallet api.
With a WalletApi.

.. code-block:: java
Expand Down
2 changes: 1 addition & 1 deletion docs/source/introduction/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Gradle
Compatibility
-------------

Heraj can be used in jdk 7 or higher. But jdk 8 is recommanded.
Heraj can be used in jdk7 or higher. But jdk8 is recommanded.

======== ================ ================ ========================
heraj aergo jdk android
Expand Down
114 changes: 114 additions & 0 deletions docs/source/locale/e/ko/LC_MESSAGES/aergo-client/accountoperation.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2020, aergo team and contributors
# This file is distributed under the same license as the heraj package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: heraj \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-18 13:52+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"

#: ../../source/aergo-client/accountoperation.rst:2
msgid "AccountOperation"
msgstr ""

#: ../../source/aergo-client/accountoperation.rst:4
msgid "Provides account related operations."
msgstr "계정과 관련되어 있는 연산들을 제공합니다."

#: ../../source/aergo-client/accountoperation.rst:7
msgid "Get Account State"
msgstr ""

#: ../../source/aergo-client/accountoperation.rst:9
msgid "Get state of account."
msgstr "계정의 상태 조회."

#: ../../source/aergo-client/accountoperation.rst:19
msgid "Create Name"
msgstr ""

#: ../../source/aergo-client/accountoperation.rst:21
msgid "Create name which owns by a transaction signer."
msgstr "Transaction을 서명한 계정의 소유가 되는 이름을 생성."

#: ../../source/aergo-client/accountoperation.rst:35
msgid "Update Name"
msgstr ""

#: ../../source/aergo-client/accountoperation.rst:37
msgid "Update name owner to new account. It should be done by origin name owner."
msgstr "이미 생성되어 있는 이름의 소유권을 다른 계정으로 넘김. 이 연산은 원래 소유자만 할 수 있습니다."

#: ../../source/aergo-client/accountoperation.rst:60
msgid "Get Name Owner"
msgstr ""

#: ../../source/aergo-client/accountoperation.rst:62
msgid "Get name owner."
msgstr "이름의 소유 계정을 조회합니다."

#: ../../source/aergo-client/accountoperation.rst:64
msgid "At current block."
msgstr "현재 블록 기준으로 조회합니다."

#: ../../source/aergo-client/accountoperation.rst:73
msgid "At specific block."
msgstr "특정 블록 기준으로 조회합니다."

#: ../../source/aergo-client/accountoperation.rst:83
msgid "Stake"
msgstr ""

#: ../../source/aergo-client/accountoperation.rst:85
msgid "Stake an aergo."
msgstr "Aergo를 staking합니다."

#: ../../source/aergo-client/accountoperation.rst:99
msgid "Unstake"
msgstr ""

#: ../../source/aergo-client/accountoperation.rst:101
msgid "UnStake an aergo."
msgstr "Staking되어 있는 Aergo를 UnStaking합니다."

#: ../../source/aergo-client/accountoperation.rst:115
msgid "Get Stake Info"
msgstr ""

#: ../../source/aergo-client/accountoperation.rst:117
msgid "Get stake info of an account."
msgstr "계정의 staking 정보를 조회합니다."

#: ../../source/aergo-client/accountoperation.rst:127
msgid "Vote"
msgstr ""

#: ../../source/aergo-client/accountoperation.rst:129
msgid "Vote candidate to a vote id."
msgstr "Vote id에 해당되는 candidate에 투표합니다."

#: ../../source/aergo-client/accountoperation.rst:143
msgid "Get Vote of Account"
msgstr ""

#: ../../source/aergo-client/accountoperation.rst:145
msgid "Get vote info of an account."
msgstr "계정의 투표 정보를 조회합니다."

#: ../../source/aergo-client/accountoperation.rst:155
msgid "Get Vote Result"
msgstr ""

#: ../../source/aergo-client/accountoperation.rst:157
msgid "Get vote result for vote id."
msgstr "Vote id에 해당되는 투표 결과를 조회합니다."
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2020, aergo team and contributors
# This file is distributed under the same license as the heraj package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: heraj \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-17 17:03+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.7.0\n"

#: ../../source/aergo-client/blockchainoperation.rst:2
msgid "BlockchainOperation"
msgstr ""

#: ../../source/aergo-client/blockchainoperation.rst:4
msgid "Provides blockchain, node related operations."
msgstr "Blockchain과 Node에 관계되어 있는 연산을 제공합니다."

#: ../../source/aergo-client/blockchainoperation.rst:7
msgid "Get Chain Id Hash"
msgstr ""

#: ../../source/aergo-client/blockchainoperation.rst:9
msgid "Get chain id hash of current node."
msgstr "현재 연결되어 있는 node의 chain id hash를 조회합니다."

#: ../../source/aergo-client/blockchainoperation.rst:17
msgid "Get Blockchain Status"
msgstr ""

#: ../../source/aergo-client/blockchainoperation.rst:19
msgid "Get blockchain status of current node."
msgstr "현재 연결되어 있는 node의 blockchain 상태를 조회합니다."

#: ../../source/aergo-client/blockchainoperation.rst:27
msgid "Get Chain Info"
msgstr ""

#: ../../source/aergo-client/blockchainoperation.rst:29
msgid "Get chain info of current node."
msgstr "현재 연결되어 있는 node의 chain 정보를 조회합니다."

#: ../../source/aergo-client/blockchainoperation.rst:37
msgid "Get Chain Stats"
msgstr ""

#: ../../source/aergo-client/blockchainoperation.rst:39
msgid "Get chain statistics of current node."
msgstr "현재 연결되어 있는 node의 chain 상태를 조회합니다."

#: ../../source/aergo-client/blockchainoperation.rst:47
msgid "List Peers"
msgstr ""

#: ../../source/aergo-client/blockchainoperation.rst:49
msgid "List peers of current node."
msgstr "현재 연결되어 있는 node의 peer정보를 조회합니다."

#: ../../source/aergo-client/blockchainoperation.rst:51
msgid "Filtering itself and hidden."
msgstr "자기 자신과 hidden peer를 제외하고 조회합니다."

#: ../../source/aergo-client/blockchainoperation.rst:58
msgid "Not filtering itself and hidden."
msgstr "자기 자신과 hidden peer를 제외하지 않고 조회합니다."

#: ../../source/aergo-client/blockchainoperation.rst:66
msgid "List Peers Metrics"
msgstr ""

#: ../../source/aergo-client/blockchainoperation.rst:68
msgid "List peers metrics of current node."
msgstr "현재 연결되어 있는 node의 peer 상태를 조회합니다."

#: ../../source/aergo-client/blockchainoperation.rst:76
msgid "Get Server Info"
msgstr ""

#: ../../source/aergo-client/blockchainoperation.rst:78
msgid "Get server info of current node. Category is not implemented yet."
msgstr "현재 연결되어 있는 node의 서버 정보를 조회합니다. Category는 아직 구현되어 있지 않습니다."

#: ../../source/aergo-client/blockchainoperation.rst:87
msgid "Get Node Status"
msgstr ""

#: ../../source/aergo-client/blockchainoperation.rst:89
msgid "Get node status of current node."
msgstr "현재 연결되어 있는 node자체의 상태를 조회합니다."

Loading

0 comments on commit 135e624

Please sign in to comment.