You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,18 +17,19 @@ A practical command-line interface (CLI) for selected [astroquery](https://astro
17
17
-**Gaia**: Cone search
18
18
-**IRSA**: Infrared Science Archive queries
19
19
-**Heasarc**: HEASARC Archive queries
20
-
-**JPLSBDB**: JPL Small-Body Database queries
20
+
-**JPL**: JPL Small-Body Database queries
21
21
-**MAST**: Mikulski Archive for Space Telescopes queries
22
-
-**NASA-ADS**: NASA Astrophysics Data System literature search and BibTeX retrieval, allows simple commands to search for "latest papers" or "highly cited reviews".
22
+
-**ADS**: NASA Astrophysics Data System literature search and BibTeX retrieval, allows simple commands to search for "latest papers" or "highly cited reviews".
23
23
-**NED**: NASA/IPAC Extragalactic Database name resolution
24
24
-**NIST**: National Institute of Standards and Technology Atomic Spectra Database queries
_Some modules and commands are not fully implemented. Please refer to `aqc --help` for the latest status._
32
+
_Some modules and commands are not fully implemented. Aliases are available for some modules (e.g., `sim` for `simbad`, `viz` for `vizier`, `spl` for `splatalogue`, `hea` for `heasarc`, `exo` for `exoplanet`). Please refer to `aqc --help` for the latest status._
32
33
33
34
---
34
35
@@ -126,7 +127,16 @@ aqc --field simbad
126
127
127
128
### Updating Translations
128
129
129
-
Helper scripts in the `locales/` directory assist with extracting, updating, and compiling translation files. See script comments for details.
130
+
Helper scripts in the `locales/` directory assist with extracting, updating, and compiling translation files. The general workflow is as follows:
131
+
132
+
1.**Extract untranslated entries**: Run `locales/extract-untranslated.sh`. This script generates `untranslated_pot.tmp` (for new entries in `messages.pot`) and `untranslated_<lang>.tmp` files (for untranslated entries in language-specific `.po` files).
133
+
2.**Translate `untranslated_pot.tmp`**: Manually translate the entries in `locales/untranslated_pot.tmp`. These are new `msgid` entries that need to be added to all language files.
134
+
3.**Merge translations**: After translating `untranslated_pot.tmp`, merge these translations into the respective `untranslated_<lang>.tmp` files. This step typically involves copying the translated `msgstr` from `untranslated_pot.tmp` to the corresponding entries in `untranslated_<lang>.tmp`.
135
+
4.**Update `.po` files**: Run `locales/update-po.sh` to incorporate the translated entries from the `untranslated_<lang>.tmp` files into the `messages.po` files for each language.
136
+
5.**Check for updates**: Run `locales/check-update.sh` to ensure all translation files are consistent and up-to-date.
137
+
6.**Compile `.mo` files**: After updating `.po` files, compile them into `.mo` files using `locales/compile-mo.sh` (or similar command if not explicitly provided as a script).
138
+
139
+
Refer to the comments within each script in the `locales/` directory for more detailed instructions.
0 commit comments