Browse Source

Internationalization support

Translate in french too

Fixes #1
dependabot/bundler/rake-13.0.1
Baptiste Gelez 2 years ago
parent
commit
7d75c48e4a
16 changed files with 893 additions and 114 deletions
  1. +2
    -0
      .gitignore
  2. +1
    -0
      Gemfile
  3. +31
    -25
      Gemfile.lock
  4. +18
    -36
      config.rb
  5. +12
    -0
      i18n.sh
  6. +3
    -0
      po/LINGUAS
  7. +188
    -0
      po/en.po
  8. +188
    -0
      po/es.po
  9. +231
    -0
      po/fr.po
  10. +185
    -0
      po/joinplume.pot
  11. +6
    -6
      source/_nav.erb
  12. +26
    -45
      source/index.html.erb
  13. +2
    -2
      source/layouts/layout.erb
  14. BIN
      translations/en/LC_MESSAGES/joinplume.mo
  15. BIN
      translations/es/LC_MESSAGES/joinplume.mo
  16. BIN
      translations/fr/LC_MESSAGES/joinplume.mo

+ 2
- 0
.gitignore View File

@@ -3,3 +3,5 @@
.DS_Store
.sass-cache
build/
.po~
translations

+ 1
- 0
Gemfile View File

@@ -4,3 +4,4 @@ gem 'middleman', '~> 4.2'
gem 'middleman-autoprefixer', '~> 2.7'
gem 'tzinfo-data', platforms: [:mswin, :mingw, :jruby]
gem 'wdm', '~> 0.1', platforms: [:mswin, :mingw]
gem 'gettext', '~> 3.2'

+ 31
- 25
Gemfile.lock View File

@@ -6,55 +6,56 @@ GEM
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.2)
addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
autoprefixer-rails (8.6.5)
autoprefixer-rails (9.4.6)
execjs
backports (3.11.4)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
compass-import-once (1.0.5)
sass (>= 3.2, < 3.5)
concurrent-ruby (1.1.3)
concurrent-ruby (1.1.4)
contracts (0.13.0)
dotenv (2.5.0)
dotenv (2.6.0)
erubis (2.7.0)
execjs (2.7.0)
fast_blank (1.0.0)
fastimage (2.1.5)
ffi (1.9.25)
gettext (3.2.9)
locale (>= 2.0.5)
text (>= 1.3.0)
haml (5.0.4)
temple (>= 0.8.0)
tilt
hamster (3.0.0)
concurrent-ruby (~> 1.0)
hashie (3.6.0)
i18n (0.7.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
kramdown (1.17.0)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
locale (2.1.2)
memoist (0.16.0)
middleman (4.2.1)
middleman (4.3.2)
coffee-script (~> 2.2)
compass-import-once (= 1.0.5)
haml (>= 4.0.5)
kramdown (~> 1.2)
middleman-cli (= 4.2.1)
middleman-core (= 4.2.1)
sass (>= 3.4.0, < 4.0)
middleman-autoprefixer (2.9.0)
autoprefixer-rails (~> 8.0)
middleman-cli (= 4.3.2)
middleman-core (= 4.3.2)
middleman-autoprefixer (2.10.0)
autoprefixer-rails (>= 9.1.4)
middleman-core (>= 3.3.3)
middleman-cli (4.2.1)
middleman-cli (4.3.2)
thor (>= 0.17.0, < 2.0)
middleman-core (4.2.1)
middleman-core (4.3.2)
activesupport (>= 4.2, < 5.1)
addressable (~> 2.3)
backports (~> 3.6)
bundler (~> 1.1)
bundler
contracts (~> 0.13.0)
dotenv
erubis
@@ -63,15 +64,15 @@ GEM
fastimage (~> 2.0)
hamster (~> 3.0)
hashie (~> 3.4)
i18n (~> 0.7.0)
i18n (~> 0.9.0)
listen (~> 3.0.0)
memoist (~> 0.14)
padrino-helpers (~> 0.13.0)
parallel
rack (>= 1.4.5, < 3)
sass (>= 3.4)
sassc (~> 2.0)
servolux
tilt (~> 2.0)
tilt (~> 2.0.9)
uglifier (~> 3.0)
minitest (5.11.3)
padrino-helpers (0.13.3.4)
@@ -80,15 +81,19 @@ GEM
tilt (>= 1.4.1, < 3)
padrino-support (0.13.3.4)
activesupport (>= 3.1)
parallel (1.12.1)
parallel (1.13.0)
public_suffix (3.0.3)
rack (2.0.6)
rake (12.3.2)
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
sass (3.4.25)
rb-inotify (0.10.0)
ffi (~> 1.0)
sassc (2.0.0)
ffi (~> 1.9.6)
rake
servolux (0.13.0)
temple (0.8.0)
text (1.3.1)
thor (0.20.3)
thread_safe (0.3.6)
tilt (2.0.9)
@@ -101,10 +106,11 @@ PLATFORMS
ruby

DEPENDENCIES
gettext (~> 3.2)
middleman (~> 4.2)
middleman-autoprefixer (~> 2.7)
tzinfo-data
wdm (~> 0.1)

BUNDLED WITH
1.17.1
2.0.1

+ 18
- 36
config.rb View File

@@ -1,44 +1,26 @@
# Activate and configure extensions
# https://middlemanapp.com/advanced/configuration/#configuring-extensions
require "gettext"
require "middleman-core/sitemap/extensions/proxies"

GetText::bindtextdomain 'joinplume', { path: 'translations' }

ready do
File.readlines('po/LINGUAS').each do |lang|
lang = lang.strip
GetText::set_locale lang
puts(GetText::_("A federated blogging application"))
sitemap.resources.select{ |r| !r.respond_to?(:target_resource) && r.ext == ".html" }.each do |res|
proxy "#{lang}/#{res.destination_path}", res.path, {}
end
end
end

activate :autoprefixer do |prefix|
prefix.browsers = "last 2 versions"
end

# Layouts
# https://middlemanapp.com/basics/layouts/

# Per-page layout changes
page '/*.xml', layout: false
page '/*.json', layout: false
page '/*.txt', layout: false

# With alternative layout
# page '/path/to/file.html', layout: 'other_layout'

# Proxy pages
# https://middlemanapp.com/advanced/dynamic-pages/

# proxy(
# '/this-page-has-no-template.html',
# '/template-file.html',
# locals: {
# which_fake_page: 'Rendering a fake page with a local variable'
# },
# )

# Helpers
# Methods defined in the helpers block are available in templates
# https://middlemanapp.com/basics/helper-methods/

# helpers do
# def some_helper
# 'Helping'
# end
# end

# Build-specific configuration
# https://middlemanapp.com/advanced/configuration/#environment-specific-settings
helpers do
include GetText
end

# configure :build do
# activate :minify_css


+ 12
- 0
i18n.sh View File

@@ -0,0 +1,12 @@
#! /bin/bash

rxgettext source/index.html.erb source/_nav.erb source/layouts/* -o po/joinplume.pot
for lang in `cat po/LINGUAS`; do
if [ -f "po/$lang.po" ]; then
msgmerge -U "po/$lang.po" "po/joinplume.pot"
else
msginit --input "po/joinplume.pot" --output-file "po/$lang.po" -l $lang --no-translator
fi
mkdir -p "translations/$lang/LC_MESSAGES"
msgfmt --output-file "translations/$lang/LC_MESSAGES/joinplume.mo" "po/$lang.po"
done;

+ 3
- 0
po/LINGUAS View File

@@ -0,0 +1,3 @@
en
es
fr

+ 188
- 0
po/en.po View File

@@ -0,0 +1,188 @@
# English translations for PACKAGE package.
# Copyright (C) 2019 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Automatically generated, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-01-27 17:14+0100\n"
"PO-Revision-Date: 2019-01-27 16:01+0100\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: ../source/_nav.erb:4
msgid "Contribute"
msgstr ""

#: ../source/_nav.erb:7
msgid "Documentation"
msgstr ""

#: ../source/_nav.erb:10
msgid "Source code"
msgstr ""

#: ../source/_nav.erb:13
msgid "Chat room"
msgstr ""

#: ../source/_nav.erb:16
msgid "Loomio group"
msgstr ""

#: ../source/index.html.erb:6
msgid "Plume"
msgstr ""

#: ../source/index.html.erb:7
msgid "A federated blogging application"
msgstr "A federated blogging application"

#: ../source/index.html.erb:18
msgid "Write once, publish everywhere"
msgstr ""

#: ../source/index.html.erb:20
msgid ""
"Plume is not a single website, but an entire interconnected, yet independent "
"network of what we call <em>instances</em>."
msgstr ""

#: ../source/index.html.erb:21
msgid ""
"You write content from your own instance, but anyone else on any other Plume "
"instance can enjoy your stories too."
msgstr ""

#: ../source/index.html.erb:29
msgid "Social blogging"
msgstr ""

#: ../source/index.html.erb:31
msgid ""
"When we write, it is, most of the time, to share something with other people."
msgstr ""

#: ../source/index.html.erb:32
msgid ""
"Plume has many features that allow the exchange between writers and readers "
"to be bi-directional from the get-go."
msgstr ""

#: ../source/index.html.erb:40
msgid "Collaborative writing"
msgstr ""

#: ../source/index.html.erb:42
msgid ""
"Plume also makes it easy to collaborate on an article. Since blogs are not "
"limited to one author, many people can write in the same blog, improve each "
"other's work, to get to the best final result."
msgstr ""

#: ../source/index.html.erb:49
msgid "Find an instance"
msgstr ""

#: ../source/index.html.erb:55
msgid "Enter the Fediverse"
msgstr ""

#: ../source/index.html.erb:59
msgid "Not just Plume"
msgstr ""

#: ../source/index.html.erb:61
msgid ""
"Plume instances form one part of a huge network, collectively called the "
"Fediverse. It is made up of many instances, servers with different "
"specifications and policies, each one running a specific application, with "
"different purposes, not always Plume. It means that for instance, Plume is "
"able to communicate with microblogging apps like <a href=\"https://"
"joinmastodon.org\">Mastodon</a>, or <a href=\"https://pleroma.social/"
"\">Pleroma</a>. Even other blogging apps which support federation, such as "
"<a href=\"https://writefreely.org\">WriteFreely</a> can also communicate "
"with Plume! It means that you can comment and like Plume articles from any "
"of these other instances."
msgstr ""

#: ../source/index.html.erb:63
msgid "Learn more about the Fediverse"
msgstr ""

#: ../source/index.html.erb:70
msgid "Great diversity"
msgstr ""

#: ../source/index.html.erb:72
msgid ""
"Each instance is hosted and moderated by different peoples across varied "
"locations of the world, resulting in diverse rules, thematics and ambiance "
"that it focuses on. Thus one given instance can suit you better than "
"another, depending on your opinions and interests."
msgstr ""

#: ../source/index.html.erb:75
msgid ""
"And if no existing instance makes you feel at home, you can very well create "
"your own, if you are a bit adventureous."
msgstr ""

#: ../source/index.html.erb:77
msgid "Find your dream instance"
msgstr ""

#: ../source/index.html.erb:84
msgid "A solid network"
msgstr ""

#: ../source/index.html.erb:86
msgid ""
"Because the Fediverse is mostly backed by volunteers, and not investors, it "
"is resilient to economic problems. And because of its decentralized nature "
"it is also harder to censor than traditional platforms."
msgstr ""

#: ../source/index.html.erb:88
msgid ""
"And even if one instance happens to go down, the rest of the network will "
"continue to work uninterrupted."
msgstr ""

#: ../source/index.html.erb:95
msgid "Open to everyone"
msgstr ""

#: ../source/index.html.erb:97
msgid ""
"Plume is a libre software, based on open standards, like <a href=\"https://"
"activitypub.rocks\">ActivityPub</a>, which means you can help making it "
"better."
msgstr ""

#: ../source/index.html.erb:100
msgid ""
"We are not only welcoming coders, but really anyone who wants to help: "
"translators, user experience designers, people with communication skills, or "
"anybody else who feels like they can offer something to move the project "
"ahead!"
msgstr ""

#: ../source/index.html.erb:102
msgid "Discover how you can help"
msgstr ""

#: ../source/layouts/layout.erb:15
msgid "Website under the GPL 3.0 license."
msgstr ""

#: ../source/layouts/layout.erb:17
msgid "Source code of this website"
msgstr ""

+ 188
- 0
po/es.po View File

@@ -0,0 +1,188 @@
# Spanish translations for PACKAGE package.
# Copyright (C) 2019 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Automatically generated, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-01-27 17:14+0100\n"
"PO-Revision-Date: 2019-01-27 16:01+0100\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: ../source/_nav.erb:4
msgid "Contribute"
msgstr ""

#: ../source/_nav.erb:7
msgid "Documentation"
msgstr ""

#: ../source/_nav.erb:10
msgid "Source code"
msgstr ""

#: ../source/_nav.erb:13
msgid "Chat room"
msgstr ""

#: ../source/_nav.erb:16
msgid "Loomio group"
msgstr ""

#: ../source/index.html.erb:6
msgid "Plume"
msgstr ""

#: ../source/index.html.erb:7
msgid "A federated blogging application"
msgstr ""

#: ../source/index.html.erb:18
msgid "Write once, publish everywhere"
msgstr ""

#: ../source/index.html.erb:20
msgid ""
"Plume is not a single website, but an entire interconnected, yet independent "
"network of what we call <em>instances</em>."
msgstr ""

#: ../source/index.html.erb:21
msgid ""
"You write content from your own instance, but anyone else on any other Plume "
"instance can enjoy your stories too."
msgstr ""

#: ../source/index.html.erb:29
msgid "Social blogging"
msgstr ""

#: ../source/index.html.erb:31
msgid ""
"When we write, it is, most of the time, to share something with other people."
msgstr ""

#: ../source/index.html.erb:32
msgid ""
"Plume has many features that allow the exchange between writers and readers "
"to be bi-directional from the get-go."
msgstr ""

#: ../source/index.html.erb:40
msgid "Collaborative writing"
msgstr ""

#: ../source/index.html.erb:42
msgid ""
"Plume also makes it easy to collaborate on an article. Since blogs are not "
"limited to one author, many people can write in the same blog, improve each "
"other's work, to get to the best final result."
msgstr ""

#: ../source/index.html.erb:49
msgid "Find an instance"
msgstr ""

#: ../source/index.html.erb:55
msgid "Enter the Fediverse"
msgstr ""

#: ../source/index.html.erb:59
msgid "Not just Plume"
msgstr ""

#: ../source/index.html.erb:61
msgid ""
"Plume instances form one part of a huge network, collectively called the "
"Fediverse. It is made up of many instances, servers with different "
"specifications and policies, each one running a specific application, with "
"different purposes, not always Plume. It means that for instance, Plume is "
"able to communicate with microblogging apps like <a href=\"https://"
"joinmastodon.org\">Mastodon</a>, or <a href=\"https://pleroma.social/"
"\">Pleroma</a>. Even other blogging apps which support federation, such as "
"<a href=\"https://writefreely.org\">WriteFreely</a> can also communicate "
"with Plume! It means that you can comment and like Plume articles from any "
"of these other instances."
msgstr ""

#: ../source/index.html.erb:63
msgid "Learn more about the Fediverse"
msgstr ""

#: ../source/index.html.erb:70
msgid "Great diversity"
msgstr ""

#: ../source/index.html.erb:72
msgid ""
"Each instance is hosted and moderated by different peoples across varied "
"locations of the world, resulting in diverse rules, thematics and ambiance "
"that it focuses on. Thus one given instance can suit you better than "
"another, depending on your opinions and interests."
msgstr ""

#: ../source/index.html.erb:75
msgid ""
"And if no existing instance makes you feel at home, you can very well create "
"your own, if you are a bit adventureous."
msgstr ""

#: ../source/index.html.erb:77
msgid "Find your dream instance"
msgstr ""

#: ../source/index.html.erb:84
msgid "A solid network"
msgstr ""

#: ../source/index.html.erb:86
msgid ""
"Because the Fediverse is mostly backed by volunteers, and not investors, it "
"is resilient to economic problems. And because of its decentralized nature "
"it is also harder to censor than traditional platforms."
msgstr ""

#: ../source/index.html.erb:88
msgid ""
"And even if one instance happens to go down, the rest of the network will "
"continue to work uninterrupted."
msgstr ""

#: ../source/index.html.erb:95
msgid "Open to everyone"
msgstr ""

#: ../source/index.html.erb:97
msgid ""
"Plume is a libre software, based on open standards, like <a href=\"https://"
"activitypub.rocks\">ActivityPub</a>, which means you can help making it "
"better."
msgstr ""

#: ../source/index.html.erb:100
msgid ""
"We are not only welcoming coders, but really anyone who wants to help: "
"translators, user experience designers, people with communication skills, or "
"anybody else who feels like they can offer something to move the project "
"ahead!"
msgstr ""

#: ../source/index.html.erb:102
msgid "Discover how you can help"
msgstr ""

#: ../source/layouts/layout.erb:15
msgid "Website under the GPL 3.0 license."
msgstr ""

#: ../source/layouts/layout.erb:17
msgid "Source code of this website"
msgstr ""

+ 231
- 0
po/fr.po View File

@@ -0,0 +1,231 @@
# French translations for PACKAGE package.
# Copyright (C) 2019 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Automatically generated, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-01-27 17:14+0100\n"
"PO-Revision-Date: 2019-01-27 16:01+0100\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#: ../source/_nav.erb:4
msgid "Contribute"
msgstr "Contribuez"

#: ../source/_nav.erb:7
msgid "Documentation"
msgstr "Documentation"

#: ../source/_nav.erb:10
msgid "Source code"
msgstr "Code source"

#: ../source/_nav.erb:13
msgid "Chat room"
msgstr "Salon de discussion"

#: ../source/_nav.erb:16
msgid "Loomio group"
msgstr "Groupe Loomio"

#: ../source/index.html.erb:6
msgid "Plume"
msgstr "Plume"

#: ../source/index.html.erb:7
msgid "A federated blogging application"
msgstr "Une application de blogging fédérée"

#: ../source/index.html.erb:18
msgid "Write once, publish everywhere"
msgstr "Écrivez une fois, publiez partout"

#: ../source/index.html.erb:20
msgid ""
"Plume is not a single website, but an entire interconnected, yet independent "
"network of what we call <em>instances</em>."
msgstr ""
"Plume n'est pas un site unique, mais tout un réseau interconnecté de ce que "
"nous appelons « instances », indépendantes."

#: ../source/index.html.erb:21
msgid ""
"You write content from your own instance, but anyone else on any other Plume "
"instance can enjoy your stories too."
msgstr ""
"Vous écrivez depuis votre instance, mais n'importe qui, sur n'importe quelle "
"autre instance Plume peut lire vos textes."

#: ../source/index.html.erb:29
msgid "Social blogging"
msgstr "Blogging social"

#: ../source/index.html.erb:31
msgid ""
"When we write, it is, most of the time, to share something with other people."
msgstr ""
"Quand on écrit, c'est la plupart du temps pour partager quelque chose avec "
"d'autres personnes."

#: ../source/index.html.erb:32
msgid ""
"Plume has many features that allow the exchange between writers and readers "
"to be bi-directional from the get-go."
msgstr ""
"Plume a de nombreuses fonctionnalités qui permettent d'échanger entre "
"auteur⋅rice⋅s et lecteur⋅rice⋅s."

#: ../source/index.html.erb:40
msgid "Collaborative writing"
msgstr "Rédaction collaborative"

#: ../source/index.html.erb:42
msgid ""
"Plume also makes it easy to collaborate on an article. Since blogs are not "
"limited to one author, many people can write in the same blog, improve each "
"other's work, to get to the best final result."
msgstr ""
"Avec Plume, c'est facile de rédiger un article à plusieurs. Puisque les "
"blogs ne sont pas limités à un⋅e seul⋅e auteur⋅rice, plusieurs personnes "
"peuvent écrire dans le même blog et améliorer leurs écrits pour obtenir le "
"meilleur résultat final"

#: ../source/index.html.erb:49
msgid "Find an instance"
msgstr "Trouver une instance"

#: ../source/index.html.erb:55
msgid "Enter the Fediverse"
msgstr "Bienvenue dans le Fédiverse"

#: ../source/index.html.erb:59
msgid "Not just Plume"
msgstr "Plus que Plume"

#: ../source/index.html.erb:61
msgid ""
"Plume instances form one part of a huge network, collectively called the "
"Fediverse. It is made up of many instances, servers with different "
"specifications and policies, each one running a specific application, with "
"different purposes, not always Plume. It means that for instance, Plume is "
"able to communicate with microblogging apps like <a href=\"https://"
"joinmastodon.org\">Mastodon</a>, or <a href=\"https://pleroma.social/"
"\">Pleroma</a>. Even other blogging apps which support federation, such as "
"<a href=\"https://writefreely.org\">WriteFreely</a> can also communicate "
"with Plume! It means that you can comment and like Plume articles from any "
"of these other instances."
msgstr ""
"Les instances Plume font partie d'un grand réseau appelé le Fédiverse. Ce "
"réseau est composé de centaines d'instances, ayant chacune leurs "
"spécificités et leurs règles, et fonctionnant avec diverses applications "
"n'ayant pas toujours les mêmes fonctions, pas forcément Plume. Par exemple, "
"Plume est capable de communiquer avec des applications de microblogging "
"comme <a href=\"https://joinmastodon.org\">Mastodon</a> ou <a href=\"https://"
"pleroma.social/\">Pleroma</a>. Même d'autres applications de blogging qui "
"fédèrent, comme <a href=\"https://writefreely.org\">WriteFreely</a> peuvent "
"communiquer avec Plume ! Celà signifie donc que vous pouvez commenter et "
"intéragir avec des articles venant de Plume depuis toutes ces autres "
"instances."

#: ../source/index.html.erb:63
msgid "Learn more about the Fediverse"
msgstr "En apprendre plus sur le Fédiverse"

#: ../source/index.html.erb:70
msgid "Great diversity"
msgstr "Une grande diversité"

#: ../source/index.html.erb:72
msgid ""
"Each instance is hosted and moderated by different peoples across varied "
"locations of the world, resulting in diverse rules, thematics and ambiance "
"that it focuses on. Thus one given instance can suit you better than "
"another, depending on your opinions and interests."
msgstr ""
"Chaque instance est hébergée et modérée par différentes personnes un peu "
"partout autour du monde. Elles ont donc des règles, des thèmes etdes "
"ambiances très différentes. Une instance peut donc mieux vous convenir "
"qu'une autre, selon vos opinions et vos intérêts."

#: ../source/index.html.erb:75
msgid ""
"And if no existing instance makes you feel at home, you can very well create "
"your own, if you are a bit adventureous."
msgstr ""
"Et si aucune instance existante ne vous convient, vous pouvez très bien "
"créer la votre, à condition d'être un peu aventureux⋅euse."

#: ../source/index.html.erb:77
msgid "Find your dream instance"
msgstr "Trouver l'instance de vos rêves"

#: ../source/index.html.erb:84
msgid "A solid network"
msgstr "Un réseau solide"

#: ../source/index.html.erb:86
msgid ""
"Because the Fediverse is mostly backed by volunteers, and not investors, it "
"is resilient to economic problems. And because of its decentralized nature "
"it is also harder to censor than traditional platforms."
msgstr ""
"Parce que le Fédiverse est avant tout mis en place par des volontaires, et "
"non des investisseurs, il n'est pas affecté par les problèmes économiques. "
"Et grâce à sa nature décentralisée, il est aussi plus difficile à censurer "
"que les plateformes traditionelles."

#: ../source/index.html.erb:88
msgid ""
"And even if one instance happens to go down, the rest of the network will "
"continue to work uninterrupted."
msgstr ""
"Et même si une instance n'est plus disponible, le reste du réseau "
"continueras à fonctionner sans problème."

#: ../source/index.html.erb:95
msgid "Open to everyone"
msgstr "Ouvert à tous"

#: ../source/index.html.erb:97
msgid ""
"Plume is a libre software, based on open standards, like <a href=\"https://"
"activitypub.rocks\">ActivityPub</a>, which means you can help making it "
"better."
msgstr ""
"Plume est un logiciel libre, basé sur des standards ouverts, comme <a href="
"\"https://activitypub.rocks\">ActivityPub</a>, ce qui signifie que vous "
"pouvez aider à l'améliorer."

#: ../source/index.html.erb:100
msgid ""
"We are not only welcoming coders, but really anyone who wants to help: "
"translators, user experience designers, people with communication skills, or "
"anybody else who feels like they can offer something to move the project "
"ahead!"
msgstr ""
"Nous accueillons non seuleument les développeur⋅euse⋅s, mais aussi toutes "
"les autres personnes qui veulent apporter leur pierre à l'édifice : les "
"traducteur⋅rice⋅s, les design⋅eur⋅euse⋅s, les communiquant⋅e⋅s, ou "
"n'importequelle personne qui sent qu'elle peut apporter quelque chose au "
"projet !"

#: ../source/index.html.erb:102
msgid "Discover how you can help"
msgstr "Découvrez comment vous pouvez aider"

#: ../source/layouts/layout.erb:15
msgid "Website under the GPL 3.0 license."
msgstr "Site web placé sous la licence GPL 3.0"

#: ../source/layouts/layout.erb:17
msgid "Source code of this website"
msgstr "Code source de ce site web"

+ 185
- 0
po/joinplume.pot View File

@@ -0,0 +1,185 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-01-27 17:14+0100\n"
"PO-Revision-Date: 2019-01-27 17:14+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"

#: ../source/_nav.erb:4
msgid "Contribute"
msgstr ""

#: ../source/_nav.erb:7
msgid "Documentation"
msgstr ""

#: ../source/_nav.erb:10
msgid "Source code"
msgstr ""

#: ../source/_nav.erb:13
msgid "Chat room"
msgstr ""

#: ../source/_nav.erb:16
msgid "Loomio group"
msgstr ""

#: ../source/index.html.erb:6
msgid "Plume"
msgstr ""

#: ../source/index.html.erb:7
msgid "A federated blogging application"
msgstr ""

#: ../source/index.html.erb:18
msgid "Write once, publish everywhere"
msgstr ""

#: ../source/index.html.erb:20
msgid ""
"Plume is not a single website, but an entire interconnected, yet independent n"
"etwork of what we call <em>instances</em>."
msgstr ""

#: ../source/index.html.erb:21
msgid ""
"You write content from your own instance, but anyone else on any other Plume i"
"nstance can enjoy your stories too."
msgstr ""

#: ../source/index.html.erb:29
msgid "Social blogging"
msgstr ""

#: ../source/index.html.erb:31
msgid "When we write, it is, most of the time, to share something with other people."
msgstr ""

#: ../source/index.html.erb:32
msgid ""
"Plume has many features that allow the exchange between writers and readers to"
" be bi-directional from the get-go."
msgstr ""

#: ../source/index.html.erb:40
msgid "Collaborative writing"
msgstr ""

#: ../source/index.html.erb:42
msgid ""
"Plume also makes it easy to collaborate on an article. Since blogs are not lim"
"ited to one author, many people can write in the same blog, improve each other"
"'s work, to get to the best final result."
msgstr ""

#: ../source/index.html.erb:49
msgid "Find an instance"
msgstr ""

#: ../source/index.html.erb:55
msgid "Enter the Fediverse"
msgstr ""

#: ../source/index.html.erb:59
msgid "Not just Plume"
msgstr ""

#: ../source/index.html.erb:61
msgid ""
"Plume instances form one part of a huge network, collectively called the Fediv"
"erse. It is made up of many instances, servers with different specifications a"
"nd policies, each one running a specific application, with different purposes,"
" not always Plume. It means that for instance, Plume is able to communicate wi"
"th microblogging apps like <a href=\"https://joinmastodon.org\">Mastodon</a>, or"
" <a href=\"https://pleroma.social/\">Pleroma</a>. Even other blogging apps which"
" support federation, such as <a href=\"https://writefreely.org\">WriteFreely</a>"
" can also communicate with Plume! It means that you can comment and like Plume"
" articles from any of these other instances."
msgstr ""

#: ../source/index.html.erb:63
msgid "Learn more about the Fediverse"
msgstr ""

#: ../source/index.html.erb:70
msgid "Great diversity"
msgstr ""

#: ../source/index.html.erb:72
msgid ""
"Each instance is hosted and moderated by different peoples across varied locat"
"ions of the world, resulting in diverse rules, thematics and ambiance that it "
"focuses on. Thus one given instance can suit you better than another, dependin"
"g on your opinions and interests."
msgstr ""

#: ../source/index.html.erb:75
msgid ""
"And if no existing instance makes you feel at home, you can very well create y"
"our own, if you are a bit adventureous."
msgstr ""

#: ../source/index.html.erb:77
msgid "Find your dream instance"
msgstr ""

#: ../source/index.html.erb:84
msgid "A solid network"
msgstr ""

#: ../source/index.html.erb:86
msgid ""
"Because the Fediverse is mostly backed by volunteers, and not investors, it is"
" resilient to economic problems. And because of its decentralized nature it is"
" also harder to censor than traditional platforms."
msgstr ""

#: ../source/index.html.erb:88
msgid ""
"And even if one instance happens to go down, the rest of the network will cont"
"inue to work uninterrupted."
msgstr ""

#: ../source/index.html.erb:95
msgid "Open to everyone"
msgstr ""

#: ../source/index.html.erb:97
msgid ""
"Plume is a libre software, based on open standards, like <a href=\"https://acti"
"vitypub.rocks\">ActivityPub</a>, which means you can help making it better."
msgstr ""

#: ../source/index.html.erb:100
msgid ""
"We are not only welcoming coders, but really anyone who wants to help: transla"
"tors, user experience designers, people with communication skills, or anybody "
"else who feels like they can offer something to move the project ahead!"
msgstr ""

#: ../source/index.html.erb:102
msgid "Discover how you can help"
msgstr ""

#: ../source/layouts/layout.erb:15
msgid "Website under the GPL 3.0 license."
msgstr ""

#: ../source/layouts/layout.erb:17
msgid "Source code of this website"
msgstr ""

+ 6
- 6
source/_nav.erb View File

@@ -1,19 +1,19 @@
<nav>
<ul>
<li>
<a href="https://contribute.joinplu.me/">Contribute</a>
<a href="https://contribute.joinplu.me/"><%= _('Contribute') %></a>
</li>
<li>
<a href="https://docs.joinplu.me/">Documentation</a>
<a href="https://docs.joinplu.me/"><%= _('Documentation') %></a>
</li>
<li>
<a href="https://github.com/Plume-org/Plume">Source code</a>
<a href="https://github.com/Plume-org/Plume"><%= _('Source code') %></a>
</li>
<li>
<a href="https://riot.im/app/#/room/#plume:disroot.org">Chat room</a>
<a href="https://riot.im/app/#/room/#plume:disroot.org"><%= _('Chat room') %></a>
</li>
<li>
<a href="https://framavox.org/g/WK40YHMA/plume">Loomio group</a>
<a href="https://framavox.org/g/WK40YHMA/plume"><%= _('Loomio group') %></a>
</li>
</ul>
</nav>
</nav>

+ 26
- 45
source/index.html.erb View File

@@ -3,8 +3,8 @@ title: 'Plume: A federated blogging engine'
---

<header>
<h1>Plume</h1>
<h2>A federated blogging application</h2>
<h1><%= _('Plume') %></h1>
<h2><%= _('A federated blogging application') %></h2>
<img src="/images/logo.png"/>
</header>

@@ -15,10 +15,10 @@ title: 'Plume: A federated blogging engine'
<div class="card">
<span class="icon"><i data-feather="globe"></i></span>
<main>
<h2>Write once, publish everywhere</h2>
<h2><%= _('Write once, publish everywhere') %></h2>
<p>
Plume is not a single website, but an entire interconnected, yet independent network of what we call <em>instances</em>.
You write content from your own instance, but anyone else on any other Plume instance can enjoy your stories too.
<%= _('Plume is not a single website, but an entire interconnected, yet independent network of what we call <em>instances</em>.') %>
<%= _('You write content from your own instance, but anyone else on any other Plume instance can enjoy your stories too.') %>
</p>
</main>
</div>
@@ -26,10 +26,10 @@ title: 'Plume: A federated blogging engine'
<div class="card">
<span class="icon"><i data-feather="message-circle"></i></span>
<main>
<h2>Social blogging</h2>
<h2><%= _('Social blogging') %></h2>
<p>
When we write, it is, most of the time, to share something with other people.
Plume has many features that allow the exchange between writers and readers to be bi-directional from the get-go.
<%= _('When we write, it is, most of the time, to share something with other people.') %>
<%= _('Plume has many features that allow the exchange between writers and readers to be bi-directional from the get-go.') %>
</p>
</main>
</div>
@@ -37,88 +37,69 @@ title: 'Plume: A federated blogging engine'
<div class="card">
<span class="icon"><i data-feather="users"></i></span>
<main>
<h2>Collaborative writing</h2>
<h2><%= _('Collaborative writing') %></h2>
<p>
Plume also makes it easy to collaborate on an article. Since blogs are not
limited to one author, many people can write in the same blog, improve each other's work,
to get to the best final result.
<%= _('Plume also makes it easy to collaborate on an article. Since blogs are not limited to one author, many people can write in the same blog, improve each other\'s work, to get to the best final result.') %>
</p>
</main>
</div>
</section>

<section>
<h2>Find an instance</h2>
<h2><%= _('Find an instance') %></h2>
<ul id="instances">
</ul>
</section>

<section class="grid">
<h2>Enter the Fediverse</h2>
<h2><%= _('Enter the Fediverse') %></h2>
<div class="card vertical">
<span class="icon"><i data-feather="share-2"></i></span>
<main>
<h3>Not just Plume</h3>
<h3><%= _('Not just Plume') %></h3>
<p>
Plume instances form one part of a huge network, collectively called the Fediverse. It is made up
of many instances, servers with different specifications and policies, each one running a specific application,
with different purposes, not always Plume.
It means that for instance, Plume is able to communicate with microblogging apps
like <a href="https://joinmastodon.org">Mastodon</a>, or
<a href="https://pleroma.social/">Pleroma</a>.
Even other blogging apps which support federation, such as <a href="https://writefreely.org">WriteFreely</a> can also
communicate with Plume! It means that you can comment and like Plume articles
from any of these other instances.
<%= _('Plume instances form one part of a huge network, collectively called the Fediverse. It is made up of many instances, servers with different specifications and policies, each one running a specific application, with different purposes, not always Plume. It means that for instance, Plume is able to communicate with microblogging apps like <a href="https://joinmastodon.org">Mastodon</a>, or <a href="https://pleroma.social/">Pleroma</a>. Even other blogging apps which support federation, such as <a href="https://writefreely.org">WriteFreely</a> can also communicate with Plume! It means that you can comment and like Plume articles from any of these other instances.') %>
</p>
<a href="">Learn more about the Fediverse</a>
<a href=""><%= _('Learn more about the Fediverse') %></a>
</main>
</div>

<div class="card vertical">
<span class="icon"><i data-feather="user"></i></span>
<main>
<h3>Great diversity</h3>
<h3><%= _('Great diversity') %></h3>
<p>
Each instance is hosted and moderated by different peoples across varied locations of the world,
resulting in diverse rules, thematics and ambiance that it focuses on.
Thus one given instance can suit you better than another, depending on your opinions and interests.
<%= _('Each instance is hosted and moderated by different peoples across varied locations of the world, resulting in diverse rules, thematics and ambiance that it focuses on. Thus one given instance can suit you better than another, depending on your opinions and interests.') %>
</p>
<p>
And if no existing instance makes you feel at home, you can very well create your own, if you are a bit
adventureous.
<%= _('And if no existing instance makes you feel at home, you can very well create your own, if you are a bit adventureous.') %>
</p>
<a href="#instances">Find your dream instance</a>
<a href="#instances"><%= _('Find your dream instance') %></a>
</main>
</div>

<div class="card vertical">
<span class="icon"><i data-feather="lock"></i></span>
<main>
<h3>A solid network</h3>
<h3><%= _('A solid network') %></h3>
<p>
Because the Fediverse is mostly backed by volunteers, and not investors,
it is resilient to economic problems. And because of its decentralized nature it is
also harder to censor than traditional platforms.
<%= _('Because the Fediverse is mostly backed by volunteers, and not investors, it is resilient to economic problems. And because of its decentralized nature it is also harder to censor than traditional platforms.') %>
</p>
<p>And even if one instance happens to go down, the rest of the network will continue to work uninterrupted.</p>
<p><%= _('And even if one instance happens to go down, the rest of the network will continue to work uninterrupted.') %></p>
</main>
</div>

<div class="card vertical">
<span class="icon"><i data-feather="heart"></i></span>
<main>
<h3>Open to everyone</h3>
<h3><%= _('Open to everyone') %></h3>
<p>
Plume is a libre software, based on open standards, like
<a href="https://activitypub.rocks">ActivityPub</a>,
which means you can help making it better.
<%= _('Plume is a libre software, based on open standards, like <a href="https://activitypub.rocks">ActivityPub</a>, which means you can help making it better.') %>
</p>
<p>
We are not only welcoming coders, but really anyone who wants to help: translators,
user experience designers, people with communication skills, or anybody else who feels like they can offer
something to move the project ahead!
<%= _('We are not only welcoming coders, but really anyone who wants to help: translators, user experience designers, people with communication skills, or anybody else who feels like they can offer something to move the project ahead!') %>
</p>
<a href="https://contribute.joinplu.me">Discover how you can help</a>
<a href="https://contribute.joinplu.me"><%= _('Discover how you can help') %></a>
</main>
</div>
</section>


+ 2
- 2
source/layouts/layout.erb View File

@@ -12,9 +12,9 @@
<body>
<%= yield %>
<footer>
Website under the GPL 3.0 license.
<%= _('Website under the GPL 3.0 license.') %>
&mdash;
<a href="https://github.com/Plume-org/joinplu.me">Source code of this website</a>
<a href="https://github.com/Plume-org/joinplu.me"><%= _('Source code of this website') %></a>
</footer>
<script>feather.replace()</script>
<%= javascript_include_tag "site" %>


BIN
translations/en/LC_MESSAGES/joinplume.mo View File


BIN
translations/es/LC_MESSAGES/joinplume.mo View File


BIN
translations/fr/LC_MESSAGES/joinplume.mo View File


Loading…
Cancel
Save