-
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
Merged
Merged
Changes from 17 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
462cda9
Start adding Spanish translation
delthia 1985fc4
Add Spanish translation and prepare site for translations
delthia 9e470a4
404 translation
delthia 413ee04
Domain config for preview site
delthia 14b91ba
Add domain for preview
delthia eeb14f2
Change to directory-based translation
delthia 75ffbb3
Move to directory-based configuration
delthia fb4331c
Translate last updated
delthia 605b8b4
Delete file based translation for index
delthia b6dcd2e
Start implementing language selector - Bad styling
delthia a8e4a8b
Style language dropdown
delthia 46a39da
Make language switcher work correctly
delthia abfce10
Fix typo
delthia 02effc8
Localize image descriptions and frontpage image
delthia af7e663
Fix formatting
delthia cc5001e
Change to i18n translations
delthia 60f4479
Add EndOfFile blank lines
delthia 059f6de
Change domain name before merging
delthia 982783c
Move description to translation file
delthia 6350759
Remove test domain from config file
delthia 8b97ca1
Fix wiki link for spanish privacy policy
delthia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
disableKinds = ["RSS", "taxonomy", "taxonomyTerm"] | ||
assetDir = "src" | ||
enableRobotsTXT = true | ||
|
||
title = "FlorisBoard" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
contentDir = "content/en" | ||
description = "An open-source keyboard for Android which respects your privacy. Currently in early-beta." | ||
weight = 1 | ||
languageCode = "en-US" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
contentDir = "content/es" | ||
description = "Un teclado libre para Android que respeta tu privacidad. Actualmente en beta temprana." | ||
weight = 2 | ||
languageCode = "es-ES" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[repo] | ||
other = "Visit GitHub repo" | ||
|
||
[privacy] | ||
other = "Privacy policy" | ||
|
||
[not-found] | ||
other = "The requested resource could not be found. Please check the address and try again." | ||
|
||
[footer] | ||
other = "For more information and download options check out the GitHub repo!" | ||
|
||
[modified] | ||
other = "Last modified" | ||
|
||
[florisboard-icon] | ||
other = "FlorisBoard app icon" | ||
|
||
[florisboard-screenshot] | ||
other = "Florisboard screenshot" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[repo] | ||
other = "Visitar el repositorio de GitHub" | ||
|
||
[privacy] | ||
other = "Política de privacidad" | ||
|
||
[not-found] | ||
other = "No se pudo encontrar el recurso solicitado. Por favor, comprueba la dirección y prueba otra vez" | ||
|
||
[footer] | ||
other = "¡Para más información y opciones de descarga echa un vistazo al repositorio de GitHub!" | ||
|
||
[modified] | ||
other = "Modificado por última vez el" | ||
|
||
[florisboard-icon] | ||
other = "Icono de la aplicación FlorisBard" | ||
|
||
[florisboard-screenshot] | ||
other = "Captura de pantalla de FlorisBoard" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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;">{{ i18n "not-found" }}</p> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{{ define "main" }} | ||
<h1>{{ .Title }}</h1> | ||
{{ with .Lastmod }}<p class="last-modified">Last modified: {{ . | time.Format ":date_medium" }}</p>{{ end }} | ||
<!-- <p class="last-modified">{{ i18n "modified" }} {{ with .Lastmod }}{{ . | time.Format ":date_medium" }}</p>{{ end }} --> | ||
{{ with .Lastmod }}<p class="last-modified">{{ i18n "modified" }}: {{ . | time.Format ":date_medium" }}</p>{{ end }} | ||
{{ .Content }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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">{{ i18n "description" }}</p> | ||
<img src="/images/florisboard-screenshot.{{ .Lang }}.jpeg" class="main-image" alt="{{ i18n "florisboard-screenshot" }}"> | ||
<p class="main-moreinfo">{{ i18n "footer" }}</p> | ||
<a href="https://github.com/florisboard/florisboard" target="_blank">{{ i18n "repo" }}</a> | ||
</main> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/">{{ i18n "privacy" }}</a> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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="{{ i18n "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>{{ i18n "repo" }}</span> | ||
</a> | ||
</div> | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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?