Celestia 1.7.0 Development Thread

The place to discuss creating, porting and modifying Celestia's source code.
Georgi
Posts: 22
Joined: 22.07.2020
With us: 3 years 11 months
Location: Bulgaria

Post #921by Georgi » 22.07.2020, 13:04

Hello, everyone, this is my first post here! :hi:

Basically, I'm using Celestia since around 2013, I'm astronomy nerd and I'm very excited for the incoming releases. I want to revise and finish the Bulgarian translation of Celestia and also if you (the developers) need help with testing I will be more than happy to help - I have Arch and Debian laptops, and Windows 7 64 bit PC's which I can use as a test beds. Unfortunately, I'm still not a good programmer to do other work than testing and translation... :biggrin:

My questions are how and which files to translate, Celestia have quite a few branches on GitHub (I do not have an account there) and which version to translate? I applied for Transifex membership, however I'm still waiting for a response, do I really need it though?

Thanks in advance!

Topic author
onetwothree
Site Admin
Posts: 705
Joined: 22.09.2018
With us: 5 years 9 months

Post #922by onetwothree » 22.07.2020, 17:49

Georgi wrote:Hello, everyone, this is my first post here! :hi:

Hello Georgi and welcome to our community!

Georgi wrote:Basically, I'm using Celestia since around 2013, I'm astronomy nerd and I'm very excited for the incoming releases. I want to revise and finish the Bulgarian translation of Celestia and also if you (the developers) need help with testing I will be more than happy to help - I have Arch and Debian laptops, and Windows 7 64 bit PC's which I can use as a test beds. Unfortunately, I'm still not a good programmer to do other work than testing and translation... :biggrin:

Testing and translation is always appreciated.

Georgi wrote:My questions are how and which files to translate, Celestia have quite a few branches on GitHub (I do not have an account there) and which version to translate? I applied for Transifex membership, however I'm still waiting for a response, do I really need it though?

Currently we are working on two branches: one for 1.6.2 version, its branch is 1.6.x and another one for 1.7 and it's master. Transifex hosts files only from master. So for 1.6.2 you need tools installed to your local PC, personally I prefer poeditor (https://poedit.net/). For 1.7 you can use any approach you like - either local with poeditor or remote using Transifex. And currently Transifex has only *.po files, it doesn't have other resources from `locale` directory (locale/controls_bg.txt locale/guide_bg.cel locale/start_bg.cel, as you can see demo.cel is not translated). If you don't like Transifex and don't want to create a github account you can simply send translated files to me or Makerz using email or PM here.

I accepted your request and made you a coordinator for Bulgarian translation.

Georgi
Posts: 22
Joined: 22.07.2020
With us: 3 years 11 months
Location: Bulgaria

Post #923by Georgi » 22.07.2020, 18:31

Thank you very much! I will start with Transifex (I'm a long time translator there) first and then I will move to the other files. I'm willing to send the other files directly to you when they are done.

By the way, does Transifex sync automatically with GitHub? And when the translation is ready, can we backport it to 1.6.x?

Topic author
onetwothree
Site Admin
Posts: 705
Joined: 22.09.2018
With us: 5 years 9 months

Post #924by onetwothree » 22.07.2020, 20:39

Georgi wrote:By the way, does Transifex sync automatically with GitHub?

One way only - when a source "pot" file is updated, all translations are updated as well. I haven't setup automatic merge of translated files.

Georgi wrote:And when the translation is ready, can we backport it to 1.6.x?

But some messages will be untranslated, because in 1.7 we chnaged a lot of messages.

Georgi
Posts: 22
Joined: 22.07.2020
With us: 3 years 11 months
Location: Bulgaria

Post #925by Georgi » 22.07.2020, 20:55

That's fine, I will do it after the translation of 1.7.0 then.

Another question though (or should I open another thread): what is the meaning of string number 62 "Iocaste"?

And a suggestion: I saw that the translation file still says "Astana" for the capital of Kazakhstan, however since March 2019 it was renamed to "Nur-Sultan" (Нұр-Сұлтан). The pot file should be updated. :smile:

Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 28
With us: 15 years 5 months
Location: Suzhou, China

Post #926by Markerz » 23.07.2020, 03:02

Georgi wrote:Iocaste

https://en.wikipedia.org/wiki/Iocaste_(moon)

and the world capitals database should be updated and then the pot file.

Georgi
Posts: 22
Joined: 22.07.2020
With us: 3 years 11 months
Location: Bulgaria

Post #927by Georgi » 23.07.2020, 16:28

Onetwothree, the translation into Bulgarian language in Transifex is finished (it was a lot of work actually :silenced: ). It's ready for merge, I strive and hope for high accuracy (however this will be tested during the actual usage of Celestia). I will translate the other files later and I would like to download a recent build of 1.7.0 for testing if appropriate. I'm going on a trip for the next 3 days so take your time. :smile:

EDIT: I created a Pull Request, let's hope that everything is okay with it. :pray:
Last edited by Georgi on 23.07.2020, 18:59, edited 1 time in total.

Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 28
With us: 15 years 5 months
Location: Suzhou, China

Post #928by Markerz » 23.07.2020, 17:24

@Georgi thanks for your contribution!

If you have time, you can also help with iOS/macOS/Android frontend UI element translation, you can use POEdit to translate, with the comment, it should be straightforward
https://github.com/levinli303/Celestia/blob/master/po3/bg.po

Enjoy your trip!

Georgi
Posts: 22
Joined: 22.07.2020
With us: 3 years 11 months
Location: Bulgaria

Post #929by Georgi » 23.07.2020, 17:40

Of course I will be glad to help, It will be cool to have Celestia running and translated both on my PC and on my phone! :smile:

Georgi
Posts: 22
Joined: 22.07.2020
With us: 3 years 11 months
Location: Bulgaria

Post #930by Georgi » 27.07.2020, 08:41

I'm back and I have another question about the translations:

Where are the original and most up to date English versions of the files, located in https://github.com/CelestiaProject/Celestia/tree/master/locale folder?

Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 28
With us: 15 years 5 months
Location: Suzhou, China

Post #931by Markerz » 28.07.2020, 04:31

Georgi wrote:Where are the original and most up to date English versions of the files
they are in the parent/root folder.

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 18 years 9 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #932by cartrite » 19.09.2020, 21:32

Just tried a fresh copy and got a question. What is the deal with the content folder? Cmake fails because there is nothing in it. Turned off enable_data. Then it built fine.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
Gurren Lagann
Posts: 430
Joined: 31.01.2018
Age: 18
With us: 6 years 5 months
Location: State of Rio de Janeiro, Brazil

Post #933by Gurren Lagann » 20.09.2020, 00:39

CelestiaContent contains the repository with the Celestia data files.
"The tomorrow we're trying to reach is not a tomorrow you had decided on!"
- Simon the Digger
"Nothing is impossible for me, as long I'm determinated to keep moving forward!"
"If other people aren't going to do it, I'm going to do it myself!"
- Me (Gurren)

Current major projects:
- Aur Cir
- Cel+
- Project Sisyphus
- Populating the Local Group
- An galaxy generator

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 18 years 9 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #934by cartrite » 20.09.2020, 02:52

Yeah, Celestia Content does, but when I cloned a new copy tonight, there was an empty folder named "content" case sensitive, and nothing is in it. The build fails if you don't do this.

Code: Select all

option(ENABLE_DATA    "Install data from content submodule? (Default: on)" OFF)
which looked like this when I downloaded the source tonight.

Code: Select all

option(ENABLE_DATA    "Install data from content submodule? (Default: on)" ON)
Just saying. :hi:
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Topic author
onetwothree
Site Admin
Posts: 705
Joined: 22.09.2018
With us: 5 years 9 months

Post #935by onetwothree » 20.09.2020, 07:43

use the following commands to properly clone:

Code: Select all

git clone https://github.com/CelestiaProject/Celestia
cd Celestia
git submodule update --init

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 18 years 9 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #936by cartrite » 20.09.2020, 14:14

That works. I guess you'll be removing those folders/files from the top directory? Because now there are two copies of them. Is that right?

Added after 1 hour 13 minutes:
Every thing built. Both builds, this one I did today and the one I did yesterday has no info text on the screen. I toggled the V key and no text appears.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
Gurren Lagann
Posts: 430
Joined: 31.01.2018
Age: 18
With us: 6 years 5 months
Location: State of Rio de Janeiro, Brazil

Post #937by Gurren Lagann » 20.09.2020, 18:18

Did you install the new fonts and set then up?
"The tomorrow we're trying to reach is not a tomorrow you had decided on!"
- Simon the Digger
"Nothing is impossible for me, as long I'm determinated to keep moving forward!"
"If other people aren't going to do it, I'm going to do it myself!"
- Me (Gurren)

Current major projects:
- Aur Cir
- Cel+
- Project Sisyphus
- Populating the Local Group
- An galaxy generator

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 18 years 9 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #938by cartrite » 20.09.2020, 18:29

No I didn't. Did not realize it was part of a separate build process. Will look into it.

Added after 35 minutes 45 seconds:
I'm a dummy. Was running celestia from the build folder. It works now that I did a make install.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 18 years 9 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #939by cartrite » 25.09.2020, 07:29

This android build went well after I did a

Code: Select all

git submodule update --init
in the AndroidCellestia folder.

Screenshot_20200925_030249.jpg
A few errors but it still runs on a virtual phone.

Added after 32 seconds:
Good Job :clap:
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Georgi
Posts: 22
Joined: 22.07.2020
With us: 3 years 11 months
Location: Bulgaria

Post #940by Georgi » 25.10.2020, 14:52

I'm curious what happened with the Bintray releases recently? Can we have newer test releases again? I don't really know which is the latest version currently, there are a bunch of newer exe files in this topic. :help:


Return to “Development”