Skip to content

Commit

Permalink
Fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkowz committed Aug 2, 2015
1 parent abbaf98 commit 6c96a7a
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 39 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Swift library that helps in localizing apps in a different, better, simpler, mor
# Table of Contents
- [Introduction](#introduction)
- [Practical Usage Example](#practical-usage-example)
- [Features](#features)
- [Features](#features-1)
- [Pluralization](#pluralization)
- [Length variation](#length-variation)
- [Length variations](#length-variations)
- [Expressions](#expressions)
- [Inequality Expressions](#inequality-expressions)
- [Inequality Extended Expressions](#inequality-extended-expressions)
Expand All @@ -37,7 +37,7 @@ Swift library that helps in localizing apps in a different, better, simpler, mor
- [Getting localized string](#getting-localized-string)
- [Contribution](#contribution)
- [Swift 2](#swift-2)
- [Things To Do](#things-to-do)
- [Things To Do](#things-to-do-in-future-releases)
- [License](#license)

## Introduction
Expand Down Expand Up @@ -355,7 +355,7 @@ Docsets:
- [Public API docset](http://szulctomasz.com/docs/swifternalization/public/docsets/Swifternalization%20Public%20API.docset.zip)
- [Full API docset](http://szulctomasz.com/docs/swifternalization/framework/docsets/Swifternalization.docset.zip)

### Instalation
### Installation
It works with iOS 8.0 and newer.

With CocoaPods:
Expand Down Expand Up @@ -406,7 +406,7 @@ In pseudo-language:
Expressions from the files may be used inside localizable files. All the shared expressions for different languages are placed in the same file because there will be just few expressions for every language. Mostly the expression will be defined in *base* variant because if expression is in *base* it is also available in every other language too. So, "ten" is available in "pl", but "three" is not available in "base".


### Creating Localizable Files
### Creating file with localization per country

Localizable file contains translations for specific language. The files might look like below:

Expand Down Expand Up @@ -483,15 +483,15 @@ The last method `localizedString(_:intValue:fittingWidth:defaultValue:comment:)`

I18n.localizedString("cars", intValue: 5)

## Contribution and change or feature requests
## Contribution
Swifternalization is open sourced so everyone may contribute if want to. If you want to develop it just fork the repo, do your work and create pull request. If you have some idea or question feel free to create issue and add proper tag for it.

There is no guide for contributors but if you added new functionality you must write unit tests for it.

## Swift 2
Swifternalization supports Swift 2 and works on Xcode 7 beta 4. Please check out *swift2* branch.

## Things to do in future releases:
## Things to do in future releases
- Add more built-in expressions for another countries.
- Add support for float numbers in built in expressions that uses regular expressions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,13 @@
<a href='#table_of_contents' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h1 id='table_of_contents'>Table of Contents</h1>

<ul>
<li><a href="#introdcution">Introduction</a></li>
<li><a href="#introduction">Introduction</a></li>
<li><a href="#practical-usage-example">Practical Usage Example</a></li>
<li><a href="#features">Features</a>
<li><a href="#features-1">Features</a>

<ul>
<li><a href="#pluralization">Pluralization</a></li>
<li><a href="#length-variation">Length variation</a></li>
<li><a href="#length-variations">Length variations</a></li>
</ul></li>
<li><a href="#expressions">Expressions</a>

Expand All @@ -212,7 +212,7 @@
</ul></li>
<li><a href="#contribution">Contribution</a></li>
<li><a href="#swift-2">Swift 2</a></li>
<li><a href="#things-to-do">Things To Do</a></li>
<li><a href="#things-to-do-in-future-releases">Things To Do</a></li>
<li><a href="#license">License</a></li>
</ul>
<a href='#introduction' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='introduction'>Introduction</h2>
Expand Down Expand Up @@ -538,7 +538,7 @@
<p>Docsets:
- <a href="http://szulctomasz.com/docs/swifternalization/public/docsets/Swifternalization%20Public%20API.docset.zip">Public API docset</a>
- <a href="http://szulctomasz.com/docs/swifternalization/framework/docsets/Swifternalization.docset.zip">Full API docset</a></p>
<a href='#instalation' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='instalation'>Instalation</h3>
<a href='#installation' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='installation'>Installation</h3>

<p>It works with iOS 8.0 and newer.</p>

Expand Down Expand Up @@ -587,7 +587,7 @@
</span></code></pre>

<p>Expressions from the files may be used inside localizable files. All the shared expressions for different languages are placed in the same file because there will be just few expressions for every language. Mostly the expression will be defined in <em>base</em> variant because if expression is in <em>base</em> it is also available in every other language too. So, <q>ten</q> is available in <q>pl</q>, but <q>three</q> is not available in <q>base</q>.</p>
<a href='#creating_localizable_files' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='creating_localizable_files'>Creating Localizable Files</h3>
<a href='#creating_file_with_localization_per_country' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='creating_file_with_localization_per_country'>Creating file with localization per country</h3>

<p>Localizable file contains translations for specific language. The files might look like below:</p>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
Expand Down Expand Up @@ -663,15 +663,15 @@
<p>The last method <code>localizedString(_:intValue:fittingWidth:defaultValue:comment:)</code> allows you to get a localized string for int value. This method calls the above one and just turn the int value into string because all the framework operates on strings.</p>
<pre class="highlight plaintext"><code>I18n.localizedString("cars", intValue: 5)
</code></pre>
<a href='#contribution_and_change_or_feature_requests' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='contribution_and_change_or_feature_requests'>Contribution and change or feature requests</h2>
<a href='#contribution' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='contribution'>Contribution</h2>

<p>Swifternalization is open sourced so everyone may contribute if want to. If you want to develop it just fork the repo, do your work and create pull request. If you have some idea or question feel free to create issue and add proper tag for it.</p>

<p>There is no guide for contributors but if you added new functionality you must write unit tests for it.</p>
<a href='#swift_2' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='swift_2'>Swift 2</h2>

<p>Swifternalization supports Swift 2 and works on Xcode 7 beta 4. Please check out <em>swift2</em> branch.</p>
<a href='#things_to_do_in_future_releases' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='things_to_do_in_future_releases'>Things to do in future releases:</h2>
<a href='#things_to_do_in_future_releases' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='things_to_do_in_future_releases'>Things to do in future releases</h2>

<ul>
<li>Add more built-in expressions for another countries.</li>
Expand Down
Binary file modified docs/framework/docsets/Swifternalization.tgz
Binary file not shown.
16 changes: 8 additions & 8 deletions docs/framework/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,13 @@
<a href='#table_of_contents' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h1 id='table_of_contents'>Table of Contents</h1>

<ul>
<li><a href="#introdcution">Introduction</a></li>
<li><a href="#introduction">Introduction</a></li>
<li><a href="#practical-usage-example">Practical Usage Example</a></li>
<li><a href="#features">Features</a>
<li><a href="#features-1">Features</a>

<ul>
<li><a href="#pluralization">Pluralization</a></li>
<li><a href="#length-variation">Length variation</a></li>
<li><a href="#length-variations">Length variations</a></li>
</ul></li>
<li><a href="#expressions">Expressions</a>

Expand All @@ -212,7 +212,7 @@
</ul></li>
<li><a href="#contribution">Contribution</a></li>
<li><a href="#swift-2">Swift 2</a></li>
<li><a href="#things-to-do">Things To Do</a></li>
<li><a href="#things-to-do-in-future-releases">Things To Do</a></li>
<li><a href="#license">License</a></li>
</ul>
<a href='#introduction' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='introduction'>Introduction</h2>
Expand Down Expand Up @@ -538,7 +538,7 @@
<p>Docsets:
- <a href="http://szulctomasz.com/docs/swifternalization/public/docsets/Swifternalization%20Public%20API.docset.zip">Public API docset</a>
- <a href="http://szulctomasz.com/docs/swifternalization/framework/docsets/Swifternalization.docset.zip">Full API docset</a></p>
<a href='#instalation' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='instalation'>Instalation</h3>
<a href='#installation' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='installation'>Installation</h3>

<p>It works with iOS 8.0 and newer.</p>

Expand Down Expand Up @@ -587,7 +587,7 @@
</span></code></pre>

<p>Expressions from the files may be used inside localizable files. All the shared expressions for different languages are placed in the same file because there will be just few expressions for every language. Mostly the expression will be defined in <em>base</em> variant because if expression is in <em>base</em> it is also available in every other language too. So, <q>ten</q> is available in <q>pl</q>, but <q>three</q> is not available in <q>base</q>.</p>
<a href='#creating_localizable_files' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='creating_localizable_files'>Creating Localizable Files</h3>
<a href='#creating_file_with_localization_per_country' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='creating_file_with_localization_per_country'>Creating file with localization per country</h3>

<p>Localizable file contains translations for specific language. The files might look like below:</p>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
Expand Down Expand Up @@ -663,15 +663,15 @@
<p>The last method <code>localizedString(_:intValue:fittingWidth:defaultValue:comment:)</code> allows you to get a localized string for int value. This method calls the above one and just turn the int value into string because all the framework operates on strings.</p>
<pre class="highlight plaintext"><code>I18n.localizedString("cars", intValue: 5)
</code></pre>
<a href='#contribution_and_change_or_feature_requests' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='contribution_and_change_or_feature_requests'>Contribution and change or feature requests</h2>
<a href='#contribution' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='contribution'>Contribution</h2>

<p>Swifternalization is open sourced so everyone may contribute if want to. If you want to develop it just fork the repo, do your work and create pull request. If you have some idea or question feel free to create issue and add proper tag for it.</p>

<p>There is no guide for contributors but if you added new functionality you must write unit tests for it.</p>
<a href='#swift_2' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='swift_2'>Swift 2</h2>

<p>Swifternalization supports Swift 2 and works on Xcode 7 beta 4. Please check out <em>swift2</em> branch.</p>
<a href='#things_to_do_in_future_releases' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='things_to_do_in_future_releases'>Things to do in future releases:</h2>
<a href='#things_to_do_in_future_releases' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='things_to_do_in_future_releases'>Things to do in future releases</h2>

<ul>
<li>Add more built-in expressions for another countries.</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@
<a href='#table_of_contents' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h1 id='table_of_contents'>Table of Contents</h1>

<ul>
<li><a href="#introdcution">Introduction</a></li>
<li><a href="#introduction">Introduction</a></li>
<li><a href="#practical-usage-example">Practical Usage Example</a></li>
<li><a href="#features">Features</a>
<li><a href="#features-1">Features</a>

<ul>
<li><a href="#pluralization">Pluralization</a></li>
<li><a href="#length-variation">Length variation</a></li>
<li><a href="#length-variations">Length variations</a></li>
</ul></li>
<li><a href="#expressions">Expressions</a>

Expand All @@ -99,7 +99,7 @@
</ul></li>
<li><a href="#contribution">Contribution</a></li>
<li><a href="#swift-2">Swift 2</a></li>
<li><a href="#things-to-do">Things To Do</a></li>
<li><a href="#things-to-do-in-future-releases">Things To Do</a></li>
<li><a href="#license">License</a></li>
</ul>
<a href='#introduction' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='introduction'>Introduction</h2>
Expand Down Expand Up @@ -425,7 +425,7 @@
<p>Docsets:
- <a href="http://szulctomasz.com/docs/swifternalization/public/docsets/Swifternalization%20Public%20API.docset.zip">Public API docset</a>
- <a href="http://szulctomasz.com/docs/swifternalization/framework/docsets/Swifternalization.docset.zip">Full API docset</a></p>
<a href='#instalation' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='instalation'>Instalation</h3>
<a href='#installation' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='installation'>Installation</h3>

<p>It works with iOS 8.0 and newer.</p>

Expand Down Expand Up @@ -474,7 +474,7 @@
</span></code></pre>

<p>Expressions from the files may be used inside localizable files. All the shared expressions for different languages are placed in the same file because there will be just few expressions for every language. Mostly the expression will be defined in <em>base</em> variant because if expression is in <em>base</em> it is also available in every other language too. So, <q>ten</q> is available in <q>pl</q>, but <q>three</q> is not available in <q>base</q>.</p>
<a href='#creating_localizable_files' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='creating_localizable_files'>Creating Localizable Files</h3>
<a href='#creating_file_with_localization_per_country' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h3 id='creating_file_with_localization_per_country'>Creating file with localization per country</h3>

<p>Localizable file contains translations for specific language. The files might look like below:</p>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
Expand Down Expand Up @@ -550,15 +550,15 @@
<p>The last method <code>localizedString(_:intValue:fittingWidth:defaultValue:comment:)</code> allows you to get a localized string for int value. This method calls the above one and just turn the int value into string because all the framework operates on strings.</p>
<pre class="highlight plaintext"><code>I18n.localizedString("cars", intValue: 5)
</code></pre>
<a href='#contribution_and_change_or_feature_requests' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='contribution_and_change_or_feature_requests'>Contribution and change or feature requests</h2>
<a href='#contribution' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='contribution'>Contribution</h2>

<p>Swifternalization is open sourced so everyone may contribute if want to. If you want to develop it just fork the repo, do your work and create pull request. If you have some idea or question feel free to create issue and add proper tag for it.</p>

<p>There is no guide for contributors but if you added new functionality you must write unit tests for it.</p>
<a href='#swift_2' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='swift_2'>Swift 2</h2>

<p>Swifternalization supports Swift 2 and works on Xcode 7 beta 4. Please check out <em>swift2</em> branch.</p>
<a href='#things_to_do_in_future_releases' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='things_to_do_in_future_releases'>Things to do in future releases:</h2>
<a href='#things_to_do_in_future_releases' class='anchor' aria-hidden=true><span class="header-anchor"></span></a><h2 id='things_to_do_in_future_releases'>Things to do in future releases</h2>

<ul>
<li>Add more built-in expressions for another countries.</li>
Expand Down
Binary file modified docs/public/docsets/Swifternalization Public API.tgz
Binary file not shown.
Loading

0 comments on commit 6c96a7a

Please sign in to comment.