3.3.16 • Published 3 years ago

@cidgravity/cidgravity-locales v3.3.16

Weekly downloads
-
License
MIT AND Apache-2....
Repository
github
Last release
3 years ago

CIDgravity

This directory contains locales for https://app.cidgravity.com project.

Testing locally

  • Clone this repo
  • Run verdaccio cd ../build && ./verdaccio.sh start
  • Run npm login --registry http://localhost:4873 and ... login
  • Make your changes in this repo
  • Run npm run republish-locally
  • In CIDgravity main repo, run npm run install-latest-locales-dev
  • Repeat the last 3 steps as much as you want

You can automate the 3 steps with a script ./update-locales.sh (file purposingly in .gitignore):

#!/bin/sh
cd ~/cidgravity/cidgravity-localization/cidgravity
npm run republish-locally
cd ~/cidgravity/CIDgravity/frontend
npm run install-latest-locales-dev

And then configure your IDE or operating system to run this script everytime you change the ./locales files in this repo.

For example you can install inotify-tools and then create a systemd service as folows:

sudo vi /lib/systemd/system/reload-cidgravity-locales.service:

[Unit]
Description = Reload cidgravity locales by running inotifywait in background

[Service]
User=ubuntu
Group=ubuntu
ExecStart=/bin/sh /home/nicolas/cidgravity/cidgravity-localization/build/reload-cidgravity-locales.sh
RestartSec=10

[Install]
WantedBy=multi-user.target

and finally sudo systemctl start reload-cidgravity-locales.service

3.3.13

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.0.2

3 years ago

3.3.14

3 years ago

1.1.0

3 years ago

3.3.15

3 years ago

3.3.16

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.0.5

3 years ago

1.2.2

3 years ago

1.0.4

3 years ago

3.3.12

3 years ago

1.2.1

3 years ago

1.0.3

3 years ago

1.2.9

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago