Commit Graph

173 Commits

Author SHA1 Message Date
Marcin Mikołajczak
2993379aaf i18n: Update Polish translation (#407) 2019-01-04 18:46:48 +01:00
Marek Ľach
3128e6a3b9 Tags grammar and admin string corrections (#397) 2018-12-29 17:40:11 +01:00
Marek Ľach
4059a840be Batch of correnctions for text strings in plume.pot (#395) 2018-12-27 14:13:00 +01:00
Marek Ľach
9b3b79ef9c A small batch of rephrashings for text strings (#378)
* A small batch of rephrashings for text strings

* Update plume.pot
2018-12-25 16:00:00 +01:00
Baptiste Gelez
3fce5d6a14
Use Rust for the front-end too (#374)
Rust can compile to WASM, so let's use it for front-end code as well.

To compile the front-end:

```
cargo install cargo-web
cargo web deploy -p plume-front
```
2018-12-25 11:51:40 +01:00
Marek Ľach
22bc8c1d40 Text strings updated (#377)
* Texts strings updated

* Update plume.pot

* Update plume.pot

* Update plume.pot

* Update plume.pot

* Update plume.pot
2018-12-24 19:04:25 +01:00
Marcin Mikołajczak
61a79f426b i18n: Update Polish translation (#366) 2018-12-20 19:57:53 +01:00
Baptiste Gelez
b73fbd3768
License federation (#343)
* Federate license

* Make it possible to use no license
2018-12-09 18:43:34 +01:00
Ryo Nakano
4182e67dbf Update Japanese translation (#339) 2018-12-08 15:39:47 +01:00
Baptiste Gelez
70af57c6e1
Use Ructe (#327)
All the template are now compiled at compile-time with the `ructe` crate.

I preferred to use it instead of askama because it allows more complex Rust expressions, where askama only supports a small subset of expressions and doesn't allow them everywhere (for instance, `{{ macro!() | filter }}` would result in a parsing error).

The diff is quite huge, but there is normally no changes in functionality.

Fixes #161 and unblocks #110 and #273
2018-12-06 18:54:16 +01:00
Ryo Nakano
5ff3b65cc5 i18n: Add Japanese translation (#333)
Browsing the Demo instance, I sometimes found Japanese articles. So I decided to translate Plume into Japanese.
2018-12-03 19:06:10 +01:00
Alexander
d724eba772 i18n: Add Russian translation (#306) 2018-11-05 19:18:46 +01:00
Marcin Mikołajczak
1bcde7fb86 i18n: Update Polish translation 2018-11-01 12:47:28 +01:00
Baptiste Gelez
185cb5142a Better style for subtitles 2018-10-31 15:19:42 +01:00
Baptiste Gelez
485aac2e20 Add an interface to select an article illustration 2018-10-31 15:07:40 +01:00
Baptiste Gelez
9f1b37648e Fix error in de.po 2018-10-31 15:06:00 +01:00
Sylke Vicious
9871f03d29
Added italian translation 2018-10-27 08:35:24 +02:00
Sylke Vicious
999e213eda
Added IT to LINGUAS files 2018-10-27 08:34:51 +02:00
Baptiste Gelez
fc5acac861
Merge pull request #283 from Plume-org/hashtags
Support hashtags
2018-10-21 13:53:15 +01:00
Trinity Pointard
d47aff70f7 Add new string to translate for blog deletion 2018-10-21 12:09:22 +02:00
Trinity Pointard
95ea248518 Add support for hashtag on user interface
Add migration to fix typo
Add support for linking hashtags with posts
Rework tag search page so it says a nicer message than page not found
when no post use that tag
Add new string to translation
2018-10-20 19:27:49 +02:00
Andrew Morgan
7eebfe991b Welcome on -> Welcome to 2018-10-18 17:52:26 +02:00
midzer
dda41b1c57
Update de.po 2018-10-10 18:51:10 +02:00
Yannick Armand
14bfb410ab Update French translation 2018-10-08 21:07:36 +02:00
Marcin Mikołajczak
47eeed1008 i18n: Update Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-09-27 12:42:09 +02:00
Rhonda D'Vine
88d8fb95c3 Updated German translation 2018-09-25 16:27:59 +02:00
Bat
d8ca1d70b7 Fix CSRF issues
GET routes are not protected against CSRF. This commit changes the needed URLs to
POST and replace simple links with forms.

Thanks @fdb-hiroshima for noticing it!
2018-09-19 18:13:07 +01:00
Bat
5b138df8ce Remove duplicated message in gl.po 2018-09-12 17:07:41 +01:00
Bat
b01212f4a6 Make it impossible to view drafts if you are not the author
Even if you got the URL
2018-09-12 16:58:38 +01:00
Xose M
f5633f4e7f
Merge branch 'master' into master 2018-09-12 07:40:16 +02:00
Xosé M
3d52afc804 fixed some fuzzies & new 2018-09-12 07:23:23 +02:00
Xosé M
c5d93a2951 update 2018-09-12 07:15:33 +02:00
Bat
d50f989977 Add forgotten message to POT
And translate it in French
2018-09-11 19:30:24 +01:00
Bat
501fb39ad6 Update fr.po 2018-09-10 20:42:13 +01:00
Bat
18a892ee61 Update translations
Make sure everything is translatable
2018-09-10 20:23:35 +01:00
Bat
d6d48adda4 I18n update 2018-09-07 20:05:13 +01:00
Bat
3918bd4501 Edit posts 2018-09-07 18:51:53 +01:00
Bat
dd9c4a6a73 Add a page to list articles by tag 2018-09-06 13:06:04 +01:00
Bat
b66d4f73ce Reorganize the homepage 2018-09-05 18:03:02 +01:00
Bat
39342d2f72 Fix a bug in french translation
Wrong variable name
2018-09-05 17:24:05 +01:00
Bat
09bae00b9c Update POT + french translation 2018-09-05 16:50:54 +01:00
Marcin Mikołajczak
c4c1cab86a i18n: Update Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-09-04 17:36:08 +02:00
Bat
dbdc9f317e Show like/boost counters even when not logged in 2018-09-04 13:46:08 +01:00
Bat
94a386ea2c Add subtitles to articles
Fix #152
2018-09-04 12:26:13 +01:00
Xosé M
dc6e0d3b2e cadeas e fuzzy 2018-09-04 07:03:49 +02:00
Bat
ac631627ab Make it possible to disable registrations
Fix #41
2018-09-03 17:05:45 +01:00
Bat
1621915ee8 Update french translation 2018-09-03 14:02:34 +01:00
Bat
66816f238e Fix a double message in POT 2018-09-03 13:57:20 +01:00
Bat
8ac6b8307a I18n for media pages 2018-09-03 13:28:20 +01:00
Dominik Pataky
1fc89e8aeb Merge branch 'master' of https://github.com/Plume-org/Plume into feature/reshare_to_boost 2018-09-03 10:41:37 +02:00
Bat
092ad5b795 Instance about page
Fixes #39
2018-09-01 17:39:40 +01:00
Bat
cea548b821 Add a way to delete articles
Fixes #116
2018-09-01 16:28:47 +01:00
Baptiste Gelez
2111e024e7
Merge pull request #176 from xmgz/master
first galician translation
2018-08-31 15:14:52 +01:00
GnoxR
d03d14b2ca
Revert bad changes in the French translation
I didn't look up how plurals worked with this i18n engine and I had the wrong belief that the zero in French was plural.
2018-08-22 20:08:09 +00:00
GnoxR
5bc7284a72
Improve French translation
Consistently use infinitive for action strings (Commentez → Commenter).
Fix a few typos and simplify inclusive writing (aut⋅eur⋅ice⋅s → auteur⋅ice⋅s).
End more error messages with a period to make forms more consistent.
Translate previous page and next page.
2018-08-21 15:22:00 +00:00
Xosé M
60c889ad76 primera ao galego 2018-08-21 07:28:00 +02:00
Dominik Pataky
001eb99091 Rename 'reshare' to 'boost' in templates and PO
For now it might be enough to only reword 'reshare' to 'boost' in the
frontend. The code can continue to use 'reshare'.

Includes the most recent German translation.

Fixes #74
2018-08-19 00:52:28 +02:00
Bat
7fc5d7b5b0 Fix #167 2018-08-18 12:37:40 +02:00
Bat
46675df78c Merge branch 'master' of github.com:Plume-org/Plume 2018-08-17 21:39:59 +02:00
Bat
6ec43a56ec Add Galician to the list of languages
Fixes #165
2018-08-17 21:37:43 +02:00
Baptiste Gelez
de15787701
Merge pull request #164 from fediverse-pl/master
i18n: Update Polish translation
2018-08-01 23:28:31 +02:00
Baptiste Gelez
af7cbb42a6
Merge pull request #166 from snake66/norwegian
Add norwegian translation.
2018-08-01 23:27:30 +02:00
Dominik Pataky
93941cdff8 Update German translation 2018-08-01 13:51:50 +02:00
Harald Eilertsen
a9df788a01 Add norwegian translation. 2018-07-30 20:56:44 +02:00
Marcin Mikołajczak
233d540de4 i18n: Update Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-07-28 14:57:00 +02:00
Bat
63774e058c Update french translation 2018-07-27 22:23:24 +02:00
Bat
ed8982b7fd Add a presentation of Plume and of the instance on the homepage
Fixes #132
2018-07-27 22:16:17 +02:00
Bat
f4a2d920a0 Merge branch 'master' of github.com:Plume-org/Plume 2018-07-27 20:35:52 +02:00
Bat
b32015fa7d Show a message telling you that there are no comments
Fix #142
2018-07-27 20:34:23 +02:00
Bat
fb2f4e9bcd Take in account instance's default license
Fix #145
2018-07-27 20:31:47 +02:00
Bat
6a062f78ff I18n: admin page 2018-07-27 20:14:14 +02:00
Bat
74ec59e77c Add some configuration options for instance admins 2018-07-27 19:05:36 +02:00
Marcin Mikołajczak
c3b19b3ffc i18n: Update Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-07-27 15:05:46 +02:00
Bat
b35ee44942 Add a footer
Fixes #133
2018-07-27 14:08:39 +02:00
Bat
7a6c01fec5 Add icons to notifications
And some space between each of them

Fix #139
2018-07-26 16:09:36 +02:00
Bat
c87d490664 Refactor notifications 2018-07-26 15:46:10 +02:00
Bat
18125ab398 Paginate the homepage 2018-07-25 15:20:09 +02:00
Bat
740393bc18 Better style for pagination links 2018-07-25 14:41:48 +02:00
Bat
04dac6f87f Add pagination links 2018-07-25 14:29:34 +02:00
Kevin "Ilphrin" Pellet
4b84fb7ed0 Add translation string for article count on blog 2018-07-21 20:59:47 +02:00
Marcin Mikołajczak
114a5295bb i18n: Update Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-07-20 20:56:04 +02:00
Bat
8ad0abd921 Mark optional fields as optionals
Fix #121
2018-07-19 11:32:20 +02:00
Bat
782955e2c4 Hide social button when not connected
Fixes #143
2018-07-18 23:37:05 +02:00
Bat
ce256d6e39 List authors of a blog
Update french translation accordingly

Fixes #129
2018-07-18 23:08:49 +02:00
Baptiste Gelez
b963fab45f
Fix empty button
When using the french translation
2018-07-17 12:12:12 +02:00
Baptiste Gelez
d0a898a6e8
Update french translation 2018-07-17 12:10:55 +02:00
Marcin Mikołajczak
a68adba884 i18n: Update Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-07-16 11:26:18 +02:00
Bat
b95e384ed7 Use the ApRequest guard for routes that need it + Fix a few issues with its impl
Also fixes some Rocket warnings!
2018-07-11 17:30:01 +02:00
Baptiste Gelez
6fe70cd723
Merge pull request #111 from Plume-org/form-validation
Form validation
2018-07-08 14:28:47 +02:00
Bat
06d590ff3b Make form errors i18nalizable 2018-07-07 22:57:53 +02:00
Dominik Pataky
a391f1ae9d Add German (de) translation 2018-07-05 21:58:32 +02:00
Marcin Mikołajczak
64998db08d i18n: Update Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-06-29 23:02:28 +02:00
Bat
68a041711c We can't mix GET and POST (in the comment form)
in_response_to was always null
2018-06-27 00:19:18 +02:00
Bat
a8b47de28b Explicitely escape user data in translations to avoid XSS 2018-06-26 17:58:11 +02:00
Bat
4c211b4308 Remove the routes and the template for the comment form 2018-06-21 15:00:25 +01:00
Bat
461c26f159 Move comment form to the post page 2018-06-21 14:40:00 +01:00
Bat
c171916d0a Merge branch 'master' into mentions 2018-06-20 22:58:55 +01:00
Didier Link
ca44627a79 use html entities for single quotes in translations 2018-06-20 23:13:28 +02:00
Bat
c4cc4a4e13 Notify when receiving a mention 2018-06-20 21:05:30 +01:00
Baptiste Gelez
41792b3c19
Merge pull request #31 from Madeorsk/master
New design
2018-06-20 12:44:04 +01:00