documentation.scm
1 | ;;; Nani Project website |
2 | ;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu> |
3 | ;;; |
4 | ;;; This file is part of the Nani Project website. |
5 | ;;; |
6 | ;;; The Nani Project website is free software; you can redistribute it and/or modify it |
7 | ;;; under the terms of the GNU Affero General Public License as published by |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at |
9 | ;;; your option) any later version. |
10 | ;;; |
11 | ;;; The Nani Project website is distributed in the hope that it will be useful, but |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | ;;; GNU Affero General Public License for more details. |
15 | ;;; |
16 | ;;; You should have received a copy of the GNU Affero General Public License |
17 | ;;; along with the Nani Project website. If not, see <http://www.gnu.org/licenses/>. |
18 | |
19 | (define-module (pages documentation) |
20 | #:use-module (tools haunt-i18n) |
21 | #:use-module (tools i18n) |
22 | #:use-module (tools theme) |
23 | #:export (page-documentation)) |
24 | |
25 | (define page-documentation |
26 | (internationalize "documentation" "documentation" |
27 | `(div |
28 | (h1 (_ "Documentation")) |
29 | (div (@ (class "article")) |
30 | (p (_ "This documentation will guide you in some of the most important |
31 | aspects of the application. Please read it carefuly!")) |
32 | (h2 (_ "Downloading a dictionary")) |
33 | (p (_ "This application is based on multiple dictionaries that |
34 | you can download in the app. They all add some functionality to the application. |
35 | In the following sections we will see how to use them.")) |
36 | (p (_ "To download a dictionary, you need to click on the three dots |
37 | at the top right of the screens and select “Manage Dictionaries”. This will |
38 | open a new view where you can select a dictionary in a list.")) |
39 | (p (_ "Tap on the dictionary you want to add. You will be presented |
40 | with more details on the dictionary and options to download, refresh or delete |
41 | it. Once you have successfuly downloaded a dictionary, you are ready to use |
42 | the app!")) |
43 | (h2 (_ "Searching vocabulary")) |
44 | (p (_ "To be able to look for vocabulary, you must first download a |
45 | dictionary. There are dictionaries for different languages.")) |
46 | (p (_ "From the main view, tap on the search bar and type your search |
47 | term. It can be a word written in kanji, with its pronounciation or the meaning |
48 | of a word in the language of a dictionary you downloaded.")) |
49 | (p (_ "Tap on the search button and you'll see the results. Easy, right?")) |
50 | (h2 (_ "Settings")) |
51 | (p (_ "There are currently no settings.")) |
52 | (h2 (_ "Building the app")) |
53 | (p (_ "To develop the app, I use android studio. This is the best way to |
54 | build it, because you can easily modify some of it too. If you don't want to |
55 | use android studio, you can still build the app with only gradle.")) |
56 | (h2 (_ "You can help too!")) |
57 | (p (_ "Lastly, note that you can help make this app the best. You can help |
58 | in so many different ways, some of the greatest are listed below:")) |
59 | (ul |
60 | (li (_ "<a href=\"~a\">Translate</a> the app and this website" |
61 | "https://framagit.org/nani-project")) |
62 | (li (_ "Talk about it to fellow Japanese learners")) |
63 | (li (_ "<a href=\"~a\">Report</a> a bug, or two" |
64 | "https://framagit.org/nani-project/nani-app/issues")) |
65 | (li (_ "<a href=\"~a\">Suggest</a> improvements and more data sources" |
66 | "https://framagit.org/nani-project/nani-app/issues")) |
67 | (li (_ "Write some code and send me a patch"))) |
68 | (p (_ "In any case, I hope you will enjoy Nani as much as I enjoyed writting |
69 | it!")))) |
70 | nani-theme)) |
71 |