Skip to content

Commit

Permalink
chore: use gobstones-core v0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrodas committed Feb 13, 2021
1 parent 4d12ac9 commit f595065
Show file tree
Hide file tree
Showing 9 changed files with 187 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ <h3>from<wbr>Tokens</h3>
</div>
</div><div class="tsd-comment tsd-typography tsd-comment-tags">
<dl class="tsd-comment-tags"><dt>throws</dt>
<dd><p><a href="../interfaces/translations_locale.locale.html#__type-5.notolanguagegiven">NoToLanguageGiven</a> if the translator
<dd><p><a href="../interfaces/translations_locale.locale.html#__type-6.notolanguagegiven">NoToLanguageGiven</a> if the translator
was configured without a <a href="../interfaces/models_gobstonestranslator.gobstonestranslatoroptions.html#to">to</a> option.</p>
</dd><dt>throws</dt>
<dd><p><a href="models_errors.nonamesgiven.html">NoNamesGiven</a> if the option
Expand Down Expand Up @@ -558,7 +558,7 @@ <h3>to<wbr>Tokens</h3>
</div>
</div><div class="tsd-comment tsd-typography tsd-comment-tags">
<dl class="tsd-comment-tags"><dt>throws</dt>
<dd><p><a href="../interfaces/translations_locale.locale.html#__type-5.nofromlanguagegiven">NoFromLanguageGiven</a> if the translator
<dd><p><a href="../interfaces/translations_locale.locale.html#__type-6.nofromlanguagegiven">NoFromLanguageGiven</a> if the translator
was configured without a <a href="../interfaces/models_gobstonestranslator.gobstonestranslatoroptions.html#from">from</a> option.</p>
</dd><dt>throws</dt>
<dd><p><a href="models_errors.nonamesgiven.html">NoNamesGiven</a> if the option
Expand Down Expand Up @@ -606,10 +606,10 @@ <h3>translate</h3>
</div>
</div><div class="tsd-comment tsd-typography tsd-comment-tags">
<dl class="tsd-comment-tags"><dt>throws</dt>
<dd><p><a href="../interfaces/translations_locale.locale.html#__type-5.nofromlanguagegiven">NoFromLanguageGiven</a> if the translator
<dd><p><a href="../interfaces/translations_locale.locale.html#__type-6.nofromlanguagegiven">NoFromLanguageGiven</a> if the translator
was configured without a <a href="../interfaces/models_gobstonestranslator.gobstonestranslatoroptions.html#from">from</a> option.</p>
</dd><dt>throws</dt>
<dd><p><a href="../interfaces/translations_locale.locale.html#__type-5.notolanguagegiven">NoToLanguageGiven</a> if the translator
<dd><p><a href="../interfaces/translations_locale.locale.html#__type-6.notolanguagegiven">NoToLanguageGiven</a> if the translator
was configured without a <a href="../interfaces/models_gobstonestranslator.gobstonestranslatoroptions.html#to">to</a> option.</p>
</dd><dt>throws</dt>
<dd><p><a href="models_errors.nonamesgiven.html">NoNamesGiven</a> if the option
Expand Down
17 changes: 14 additions & 3 deletions docs/interfaces/translations_locale.locale.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h3>Hierarchy</h3>
<h3>Properties</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="translations_locale.locale.html#cli" class="tsd-kind-icon">cli</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="translations_locale.locale.html#errors" class="tsd-kind-icon">errors</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="translations_locale.locale.html#errors-1" class="tsd-kind-icon">errors</a></li>
</ul>
</section>
</div>
Expand Down Expand Up @@ -152,6 +152,17 @@ <h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signatur
</li>
</ul>
</li>
<li class="tsd-parameter">
<h5>errors<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span></h5>
<ul class="tsd-parameters">
<li class="tsd-parameter">
<h5>file<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
</li>
<li class="tsd-parameter">
<h5>language<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
</li>
</ul>
</li>
<li class="tsd-parameter">
<h5>from<wbr>Tokens<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span></h5>
<ul class="tsd-parameters">
Expand Down Expand Up @@ -180,7 +191,7 @@ <h5>description<span class="tsd-signature-symbol">: </span><span class="tsd-sign
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="errors" class="tsd-anchor"></a>
<a name="errors-1" class="tsd-anchor"></a>
<h3>errors</h3>
<div class="tsd-signature tsd-kind-icon">errors<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
Expand Down Expand Up @@ -221,7 +232,7 @@ <h5>Non<wbr>Existent<wbr>Locale<wbr>Given<span class="tsd-signature-symbol">: </
<a href="translations_locale.locale.html#cli" class="tsd-kind-icon">cli</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="translations_locale.locale.html#errors" class="tsd-kind-icon">errors</a>
<a href="translations_locale.locale.html#errors-1" class="tsd-kind-icon">errors</a>
</li>
</ul>
</li>
Expand Down
159 changes: 150 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gobstones/gobstones-lang-intl",
"version": "0.1.0",
"version": "0.1.1",
"description": "A Gobstones Language translation tool",
"repository": "https://github.com/gobstones/gobstones-lang-intl",
"author": "Alan Rodas Bonjour <alanrodas@gmail.com>",
Expand Down Expand Up @@ -41,6 +41,7 @@
"nps": "^5.10.0",
"nps-utils": "^1.7.0",
"onchange": "^7.1.0",
"pinst": "^2.1.4",
"prettier": "^2.2.1",
"serve": "^11.3.2",
"ts-jest": "^26.5.1",
Expand All @@ -53,6 +54,6 @@
"webpack-cli": "^4.5.0"
},
"dependencies": {
"@gobstones/gobstones-core": "^0.2.2"
"@gobstones/gobstones-core": "^0.2.3"
}
}
1 change: 1 addition & 0 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ cli({
help: 'cli.descriptions.help',
tool: 'cli.descriptions.tool',
language: 'cli.descriptions.language',
languageError: 'cli.errors.language',
version: 'cli.descriptions.version'
}
})
Expand Down
4 changes: 4 additions & 0 deletions src/translations/Locale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,9 @@ export interface Locale {
toTokens: {
description: string;
};
errors: {
language: string;
file: string;
};
};
}
Loading

0 comments on commit f595065

Please sign in to comment.