-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spanish website translation + Hability to localize the site #2
Changes from 14 commits
462cda9
1985fc4
9e470a4
413ee04
14b91ba
eeb14f2
75ffbb3
fb4331c
605b8b4
b6dcd2e
a8e4a8b
46a39da
abfce10
02effc8
af7e663
cc5001e
60f4479
059f6de
982783c
6350759
8b97ca1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# baseURL = "https://florisboard.org/" | ||
baseURL = "https://f.delthia.com/" | ||
defaultContentLanguage = 'en' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suggest using a double quote for the en-string, to be in line with the other strings in the config. |
||
disableKinds = ["RSS", "taxonomy", "taxonomyTerm"] | ||
assetDir = "src" | ||
enableRobotsTXT = true | ||
|
||
title = "FlorisBoard" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing empty line at the end (this is a convention I use throughout all my projects, because it allows to print a file in the terminal quickly without messed up formats). |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
contentDir = 'content/en' | ||
description = "An open-source keyboard for Android which respects your privacy. Currently in early-beta." | ||
weight = 1 | ||
languageCode = "en-US" | ||
gh-repo = "Visit GitHub repo" | ||
privacy = "Privacy policy" | ||
not-found = "The requested resource could not be found. Please check the address and try again." | ||
footer = "For more information and download options check out the GitHub repo!" | ||
modificated = "Last modified:" | ||
florisboard-icon = "FlorisBoard app icon" | ||
florisboard-screenshot = "FlorisBoard screenshot" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here, missing empty line at the end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
contentDir = 'content/es' | ||
description = "Un teclado libre para Android que respeta tu privacidad. Actualmente en beta temprana." | ||
weight = 2 | ||
languageCode = "es-ES" | ||
gh-repo = "Visitar el repositorio de GitHub" | ||
privacy = "Política de privacidad" | ||
not-found = "No se pudo encontrar el recurso solicitado. Por favor, comprueba la dirección y prueba otra vez." | ||
footer = "¡Para más información y opciones de descarga echa un vistazo al repositorio de GitHub!" | ||
modificated = "Modificado por última vez el" | ||
florisboard-icon = "Icono de la aplicación FlorisBoard" | ||
florisboard-screenshot = "Captura de pantalla de FlorisBoard" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here, missing empty line at the end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
title: "Política de privacidad" | ||
description: "Política de privacidad de FlorisBoard que explica el acceso y uso de tus datos personales" | ||
lastmod: "2022-08-25" | ||
--- | ||
|
||
FlorisBoard (el "Proyecto") es un teclado libre que respeta la privacidad, desarrollado y mantenido principalmente por Patrick Goldinger ([@patrickgold](https://github.com/patrickgold)), junto al increíble apoyo de la comunidad de este proyecto. Esta política de privacidad existe para darte un mejor entendimiento de los datos a los que se debe de acceder y/o almacenar localmente por lo menos para proveerte con un servicio de teclado. | ||
|
||
## Acceso y uso a los datos | ||
|
||
El compromiso principal de este proyecto es acceder y almacenar a los mínimos datos personales posibles mientras que se provee una buena experiencia personalizada. Cualquier datos personales a los que se acceda o que se almacenen se mantienen exclusivamente localmente,!ªQ en memoria o en el directorio de datos privados de la aplicación, y **nunca** se comparten con nadie. | ||
|
||
### ¿A qué datos personales accede FlorisBoard y por qué? | ||
|
||
En cualquier momento que enfoques una área de texto y FlorisBoard sea el método de entrada por defecto (el "IME"), FlorisBoard tiene acceso a los contenidos completos de esa área de texto. Monitorizará y almacenará una pequeña ventana alrededor del cursor en memoria para ayudar a hacer un seguimiento del estado actual y mejorar el rendimiento. Adicionalmente, como un IME por defecto, FlorisBoard tiene acceso al portapapeles del sistema y lo monitoriza para proveerte con las características del portapapeles. Más allá, FlorisBoard tiene acceso al diccionario de usuario del sistema, aunque solo leyendo los contenidos si la comprobación ortográfica, las sugerencias, o la escritura por deslizamiento están activadas. | ||
|
||
A menos que enuncie de otra manera en la siguiente sección, cualquiera de los datos personales a los que se acceda solo se almacenan temporalmente en memoria, y se descartarán cuando el campo de texto pierda el enfoque o el proceso del teclado termine. | ||
|
||
### ¿Qué datos personales guarda FlorisBoard y por qué? | ||
|
||
Algunas de las características requieren datos personales que se persistan de manera local en el disco, para poder ser reutilizados más tarde. Esto se aplica a: | ||
|
||
- **Comprobación ortográfica, sugerencias y escritura por deslizamiento** | ||
Para poder crear diccionarios personales automáticamente y proveer sugerencias dinámicas basadas en tus entradas anteriores, FlorisBoard tiene que monitorizar tu comportamiento de escritura, aprender de él y guardar los resultados localmente. El monitorizado del comportamiento de escritura se para completamente si el teclado está en modo incógnito, o si no hay ninguna característica habilitada que requiera esta opción. | ||
- **Historial del portapapeles** | ||
Para poder almacenar y mostrar múltiples ítems del portapapeles, FlorisBoard almacena los ítems del portapapeles en una base de datos local. La base de datos solo se mantiene y se usa si la característica de historial del portapapeles está habilitada. | ||
|
||
### ¿Alguno de los datos personales almacenados deja el dispositivo? | ||
|
||
No. Cualquier dato personal que persista se almacena localmente y **nunca** deja tu dispositivo. | ||
|
||
## Otro | ||
|
||
Para información sobre la lista de permisos pedidos por FlorisBoard, por favor, lee [este](https://github.com/florisboard/florisboard/wiki/List-of-perimssions-Florisboard-requests) documento. | ||
delthia marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
### Actualizaciones de esta política de privacidad | ||
|
||
Nos reservamos el derecho de revisar y actualizar esta política periódicamente. Los cambios a está política se anunciarán públicamente y se enlazarán en el correspondiente conjunto de cambios de la versión en la que la nueva política tome efecto. El uso continuado de FlorisBoard se considerará la aceptación de esos cambios. | ||
|
||
### Contacto | ||
|
||
Si tienes preguntas adicionales, comentarios o preocupaciones con respecto a esta política de privacidad, por favor ponte en contacto con [[email protected]](mailto:[email protected]) o presenta una incidencia en el [gestor de incidencias](https://github.com/florisboard/florisboard/issues) de FlorisBoard. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{{ define "main" }} | ||
<p style="color: red;">The requested resource could not be found. Please check the address and try again.</p> | ||
<p style="color: red;">{{ .Param "not-found" }}</p> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not sure, but can't one use (if it is possible to use the i18n syntax this comment is valid for all usage sites, but I won't comment individually on all occurrences) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did it that way because it was the quickest I found, as I haven't much experience with the multilang part of hugo, but now that the translations where splitted into diferent files, I think it would be feasible to use the i18n syntax after I look into it. |
||
{{ end }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{{ define "main" }} | ||
<h1>{{ .Title }}</h1> | ||
{{ with .Lastmod }}<p class="last-modified">Last modified: {{ . | time.Format ":date_medium" }}</p>{{ end }} | ||
<p class="last-modified">{{ .Param "modificated" }} {{ with .Lastmod }}{{ . | time.Format ":date_medium" }}</p>{{ end }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here you moved the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll have to look a bit more into this, as I changed it because otherwise the translation variable would work. It does make sense like that, but as currently the site only has a single page that does contain the lastmod tag, I didn't think about that. |
||
{{ .Content }} | ||
{{ end }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{{ define "main" }} | ||
<main id="floris-main"> | ||
<p class="main-description">An open-source keyboard for Android which respects your privacy. Currently in early-beta.</p> | ||
<img src="/images/florisboard-screenshot.jpeg" class="main-image" alt="FlorisBoard screenshot"> | ||
<p class="main-moreinfo">For more information and download options check out the GitHub repo!</p> | ||
<a href="https://github.com/florisboard/florisboard" target="_blank">Visit GitHub repo</a> | ||
<p class="main-description">{{ .Param "description" }}</p> | ||
<img src="/images/florisboard-screenshot.{{ .Lang }}.jpeg" class="main-image" alt="{{ .Param "florisboard-screenshot" }}"> | ||
<p class="main-moreinfo">{{ .Param "footer" }}</p> | ||
<a href="https://github.com/florisboard/florisboard" target="_blank">{{ .Param "gh-repo" }}</a> | ||
</main> | ||
{{ end }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<footer id="floris-footer"> | ||
<span class="copyright">© 2022 Patrick Goldinger</span> • <a href="/legal/privacy/">Privacy policy</a> | ||
<span class="copyright">© 2022 Patrick Goldinger</span> • <a href="{{ if (ne .Language.Lang "en") }}/{{ .Language.Lang }}{{ end }}/legal/privacy/">{{ .Param "privacy" }}</a> | ||
</footer> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
<header id="floris-header"> | ||
<a href="{{ .Site.BaseURL }}" class="floris-branding-banner"> | ||
<img src="/images/app-icon.png" alt="FlorisBoard app icon"> | ||
<img src="/images/app-icon.png" alt="{{ .Param "florisboard-icon" }}"> | ||
<span>FlorisBoard</span> | ||
</a> | ||
<a href="https://github.com/florisboard/florisboard" target="_blank"> | ||
<span>Visit GitHub repo</span> | ||
</a> | ||
<div> | ||
<nav id="lang-select"> | ||
<input type="checkbox" id="lang"> | ||
<label for="lang" id="lang-label"><span>{{ $.Site.Language }} ▼</span></label> | ||
|
||
<div class="langs"> | ||
{{ range .AllTranslations }}{{ if (ne $.Lang .Lang)}}<p><a href="{{ .Permalink }}">{{ .Lang }}</a></p>{{ end }}{{ end}} | ||
</div> | ||
</nav> | ||
<a href="https://github.com/florisboard/florisboard" target="_blank"> | ||
<span>{{ .Param "gh-repo" }}</span> | ||
</a> | ||
</div> | ||
</header> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For testing this is OK, but we must not forget changing this back to the florisboard.org domain before merging in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this could be made to work by having a different action when it is in a fork or on another branch, I haven't much experience with that, but if I find a simple way to make it work like that, maybe it would be easier if people contribute translations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm I don't really know if an action can be configured to run with different params tbh, and even then how do you configure this param without having to commit it to the fork?