Skip to content

Commit

Permalink
Polish locale (#263)
Browse files Browse the repository at this point in the history
* Polish localization

* Polish locale

* Update locales.js
  • Loading branch information
KarolRk authored and yotamberk committed Jan 21, 2020
1 parent 1affb70 commit e66c357
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/timeline/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2209,6 +2209,13 @@ <h3 id="available-locales">Available locales</h3>
<code>ru_RU</code>
</td>
</tr>
<tr>
<td>Polish</td>
<td>
<code>pl</code><br>
<code>pl_PL</code>
</td>
</tr>
</table>


Expand Down
13 changes: 12 additions & 1 deletion lib/timeline/locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ const ru = {
};
const ru_RU = ru;

// Polish
import 'moment/locale/pl';
const pl = {
current: 'aktualny',
time: 'czas',
deleteSelected: 'Usuń wybrane',
};
const pl_PL = pl;

// Japanese
import 'moment/locale/ja';
const ja = {
Expand Down Expand Up @@ -106,8 +115,10 @@ const locales = {
uk_UA,
ru,
ru_RU,
pl,
pl_PL,
ja,
ja_JP,
}

export default locales
export default locales

0 comments on commit e66c357

Please sign in to comment.