Giter Club home page Giter Club logo

docs's People

Contributors

nicopace avatar patogit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

convert PO to JSON - macro or script with regex match including newline in dot character

converting PO to JSON in order to update translation files to our new format and workflow, and looking for help to automate the process.

In order to convert easily, we need to do a search and replace sequence that includes mutli-line patterns with multi-line wildcards. In the Bluefish editor, there's an option for "dot character in regex pattern matches newlines", so I made two demo files with Bluefish, but it can't record macros, which would make this work faster.

original format:
https://github.com/translation-bridge/lime-docs/tree/master/Booklet-01-Networks

target format:
https://github.com/patogit/lime-docs/tree/testing-JSON/Booklet-01-Networks/json

The seven search and replace steps for PO files generated by translatewiki.net are thus (where I mean a newline character, I write newline. Where I mean "replace the characters \n in the text" I write \n):

1) (Regex) msgid.*?msgstr -> newline
2) (Regex) "newline#: 01.en.txt:.*?newline " -> "newline"
3) (Regex) # Translation of LibreMesh.?Language: -> {"
4) (Regex) \\n"newline"X-Generator.? plural=(n > 1);\\n" -> ": {
5) newline " -> ,newline"booklet-01-paragraph-000
6) )\n -> ": "
7) \n -> space \n space

I've tried po2json, json2po, and https://localise.biz/free/converter/po-to-json . The latter at least produces a file, but still requires multiple search and replace steps, so I may as well just figure this out without a converter.

Any hints about how to automate this, very welcome.

Diccionario Visual

Diseñar iconografías para representar diferentes conceptos o elementos utilizados recurrentemente en nuestro material gráfico.
Colaboran Rodrigo y, tal vez, Pablitux.

Cuadernillos "Valorización de la red"

  • Infraestructura
  • Diagnóstico de problemas de la red y sus resoluciones posibles
  • Análisis de flujo en red, consideraciones sobre mejoras en la infraestructura de la red
  • Valor social
  • Inclusión en la red de instituciones y espacios de bien común (escuelas, plazas, etc)
  • Función social específica a resolver a beneficiar con la existecia de una red
  • Contenidos y servicios locales

Cuadernillos de "Planificación"

Todo material gráfico que corresponda a la primera parte de la trilogía de documentación.
Se cierra cuando está terminado, impreso y testeado todo el capítulo

Cuadernillos "Armado y Administración"

  • Armado y administración
    -Montaje de nodos
  • Manejo de herramientas de administración y monitoreo de nodos y red
    + WebAdmin LibreMesh y FirstBootWizard
    + LimeApp
    + LibreMap
    + FirmwareChef/?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.