3.3.16 • Published 1 year ago

@cidgravity/cidgravity-locales v3.3.16

Weekly downloads
-
License
MIT AND Apache-2....
Repository
github
Last release
1 year 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

1 year ago

1.2.0

1 year ago

1.1.1

1 year ago

1.0.2

2 years ago

3.3.14

1 year ago

1.1.0

1 year ago

3.3.15

1 year ago

3.3.16

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.0.5

1 year ago

1.2.2

1 year ago

1.0.4

1 year ago

3.3.12

1 year ago

1.2.1

1 year ago

1.0.3

2 years ago

1.2.9

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago