Skip to content

Commit

Permalink
Languages fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dsbaars committed May 8, 2022
1 parent 685b496 commit d5418a4
Show file tree
Hide file tree
Showing 22 changed files with 103 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ help:
.PHONY: help Makefile


gettext:
gettext3:
@$(SPHINXBUILD) -b gettext "$(SOURCEDIR)" "$(BUILDDIR)/gettext"


Expand Down
8 changes: 5 additions & 3 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

# -- Project information -----------------------------------------------------

project = 'ringtools'
copyright = '2022, Djuri Baars'
project = 'RingTools'
copyright = '2021-2022 Djuri Baars'
author = 'Djuri Baars'


Expand Down Expand Up @@ -73,4 +73,6 @@
# 'titles_only': False
}

html_static_path = ['_static']
html_static_path = ['_static']

locale_dirs = ['locales/']
2 changes: 1 addition & 1 deletion source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ hidden: true
---
Satoshi Radio <https://t.me/satoshiradio>
Satoshi Radio ROF <https://t.me/SatoshiRadioROF>
Connect the World: <https://t.me/connect_the_world>
Connect the World <https://t.me/connect_the_world>
````

A set of tools which help to set up and manage Rings of Fire, a concept of Bitcoin Lightning Networks.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ringtools \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-05-09 01:15+0200\n"
"POT-Creation-Date: 2022-05-09 01:25+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -42,7 +42,7 @@ msgid "Satoshi Radio ROF"
msgstr ""

#: ../../source/index.md:35
msgid "Connect the World:"
msgid "Connect the World"
msgstr ""

#: ../../source/index.md:35
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added source/locales/nl_NL/LC_MESSAGES/faq.mo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ msgstr ""

#: ../../source/faq.md:1
msgid "Frequently asked questions"
msgstr "Vaak gestelde vragen"
msgstr "Vaakgestelde vragen"

#: ../../source/faq.md:3
msgid "How many sats do I need to open a channel when joining a ring?"
msgstr "Hoeveel sats heb ik nodig om een ring te openen?"
msgstr ""

#: ../../source/faq.md:5
msgid ""
Expand All @@ -38,7 +38,7 @@ msgstr ""
msgid ""
"Why is the channel size of my channel lower than the amount I entered "
"when opening?"
msgstr "Waarom is de kanaal grootte van mijn kanaal lager dan het bedrag wat ik heb opgegeven?"
msgstr ""

#: ../../source/faq.md:9
msgid ""
Expand All @@ -51,7 +51,7 @@ msgstr ""
msgid ""
"Why can't I spend or receive the full amount visible on one side of a "
"channel?"
msgstr "Waarom kan ik niet het hele zichtbare bedrag uitgeven aan een kant van een kanaal?"
msgstr ""

#: ../../source/faq.md:13
msgid ""
Expand Down
Binary file added source/locales/nl_NL/LC_MESSAGES/index.mo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@ msgid "RingTools"
msgstr ""

#: ../../source/index.md:46
msgid ""
"A set of tools which help to set up and manage Rings of Fire, a concept "
"of Bitcoin Lightning Networks."
msgstr ""
msgid "A set of tools which help to set up and manage Rings of Fire, a concept of Bitcoin Lightning Networks."
msgstr "Een set tools die helpen om Rings of Fire te beheren, een concept van Bitcoin Lightning Network"

#: ../../source/index.md:48
msgid "![Screenshot](screenshots/web-main.png)"
Expand Down
Binary file added source/locales/nl_NL/LC_MESSAGES/ringtools-cli.mo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ msgstr ""

#: ../../source/ringtools-cli.md:1
msgid "Installation and usage"
msgstr ""
msgstr "Installatie en gebruik"

#: ../../source/ringtools-cli.md:3
msgid ""
Expand All @@ -30,7 +30,7 @@ msgstr ""

#: ../../source/ringtools-cli.md:5
msgid "Installation"
msgstr ""
msgstr "Installatie"

#: ../../source/ringtools-cli.md:6
msgid "Open your SSH client and log into your node"
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ msgstr ""

#: ../../source/ringtools-web-public.md:1
msgid "Public instance"
msgstr ""
msgstr "Publieke instantie"

#: ../../source/ringtools-web-public.md:3
msgid ""
Expand Down
Binary file added source/locales/nl_NL/LC_MESSAGES/tg.mo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ msgstr ""

#: ../../source/tg/admins.md:1
msgid "For admins"
msgstr ""
msgstr "Voor beheerders"

#: ../../source/tg/admins.md:3
msgid "Ring Wizard"
msgstr ""
msgstr "Ring Wizard"

#: ../../source/tg/admins.md:5
msgid ""
Expand All @@ -34,7 +34,7 @@ msgstr ""

#: ../../source/tg/admins.md:11
msgid "Manually set up Telegram channel"
msgstr ""
msgstr "Handmatig opzetten"

#: ../../source/tg/admins.md:13
msgid ""
Expand Down Expand Up @@ -182,7 +182,7 @@ msgstr ""

#: ../../source/tg/convenience.md:1
msgid "Convenience features"
msgstr ""
msgstr "Gemaksfunctionaliteiten"

#: ../../source/tg/convenience.md:3
msgid ""
Expand Down Expand Up @@ -244,7 +244,7 @@ msgstr ""

#: ../../source/tg/overview.md:1
msgid "Overview"
msgstr ""
msgstr "Overzicht"

#: ../../source/tg/overview.md:3
msgid ""
Expand Down Expand Up @@ -280,7 +280,7 @@ msgstr ""

#: ../../source/tg/participate.md:1
msgid "Participants"
msgstr ""
msgstr "Deelnemers"

#: ../../source/tg/participate.md:3
msgid "Participate in ring"
Expand Down
Binary file added source/locales/nl_NL/LC_MESSAGES/web.mo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ msgstr ""

#: ../../source/web/local-install.md:5
msgid "Umbrel using docker image"
msgstr ""
msgstr "Umbrel met Docker image"

#: ../../source/web/local-install.md:7
msgid "You can run ringtools-web on your umbrel node with the pre-made image:"
Expand Down
78 changes: 78 additions & 0 deletions source/nl/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

source_suffix = ['.rst', '.md']

# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))


# -- Project information -----------------------------------------------------

project = 'RingTools'
copyright = '2021-2022 Djuri Baars'
author = 'Djuri Baars'


# -- General configuration ---------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx_rtd_theme',
"myst_parser",
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
#language = 'en,nl,de'

language = 'nl'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = []


# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'

html_theme_options = {
# 'logo_only': False,
# 'display_version': True,
# 'prev_next_buttons_location': 'bottom',
# 'style_external_links': False,
# 'vcs_pageview_mode': '',
# # Toc options
'collapse_navigation': True,
'sticky_navigation': True,
# 'navigation_depth': 4,
# 'includehidden': True,
# 'titles_only': False
}

html_static_path = ['_static']

locale_dirs = ['../locales/']

0 comments on commit d5418a4

Please sign in to comment.