Latest Posts

Topic: How to submit changes?

foxmulder32
Avatar
Topic Opener
Joined: 2015-09-09, 20:08
Posts: 6
Ranking
Pry about Widelands
Posted at: 2015-09-09, 20:48

I have a .patch-file with some changings and additions in russian translation. How can I "apply" this changes to source code? Please, provide me step-by-step way. Thanks. Also I want to do changings in russian texts in future. Sorry for my english.


Top Quote
Tibor

Joined: 2009-03-23, 23:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2015-09-09, 20:59

Oh, nice to see another contributor!

We are using launchpad for our source code. You need to get trunk to your PC, branch it into new branch (under new name) and push it back to launchpad, see here:

https://code.launchpad.net/widelands

Once you feel your branch is mature enough, propose it for merge, see here:

https://code.launchpad.net/widelands/+activereviews

When approved, somebody will merge it back to trunk. For more details:

https://wl.widelands.org/wiki/BzrPrimer/

EDIT: see post bellow face-smile.png

Edited: 2015-09-09, 21:07

Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2434
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2015-09-09, 21:01

Hi face-smile.png

welcome to the forum. Translations are managed via transifex. You have to make an account on transifex and after that you could work on translations into russian.

Edited: 2015-09-09, 21:03

Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
foxmulder32
Avatar
Topic Opener
Joined: 2015-09-09, 20:08
Posts: 6
Ranking
Pry about Widelands
Posted at: 2015-09-09, 21:09

Thank you all for fast replies. Transifex is too complicated and weird way IMO - it need JS and I don't want edit text in browser window, so I should learn launchpad. Ok. I just dream that is a simple way like e-mail patch to somebody. But if not, it's ok.


Top Quote
Tibor

Joined: 2009-03-23, 23:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2015-09-09, 21:11

@foxmulder32

I am not sure if translations can go also via launchpad... I am not involved in this kind of stuff.


Top Quote
foxmulder32
Avatar
Topic Opener
Joined: 2015-09-09, 20:08
Posts: 6
Ranking
Pry about Widelands
Posted at: 2015-09-09, 21:14

But texts is just text files in po/ directory. Why not? I'm confused a bit. Need to learn more. Not easy way to just write some human text )


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2434
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2015-09-09, 21:24

If your patch contains only translation related stuff i think it's not possible (anymore) to make this via launchpad. On launchpad only program code related stuff is managed.

Changing po files should be possible... maybe GunChleoc could tell if it is possible (or/and wanted). So please wait until GunChleoc answers face-smile.png


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
foxmulder32
Avatar
Topic Opener
Joined: 2015-09-09, 20:08
Posts: 6
Ranking
Pry about Widelands
Posted at: 2015-09-09, 21:30

Ok, I just wait for him.


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2015-09-10, 14:47

Welcome to the team! face-smile.png

Please use Transifex to manage your translations, because there are other translators working on there as well, and you might overwrite their efforts.

Transifex has a download/upload function that you can use if you prefer to edit your translations offline. I like to use Virtaal or PoEdit myself face-smile.png

  1. Go to your language: https://www.transifex.com/widelands/widelands/language/ru/
  2. Click on the template that you wish to download/upload
  3. Click on what you want: Download for use / Download for translation / Upload file

ETA: You should also join the Russian translation team on Transifex if you haven't done so already, so we can add you to the credits and you will receive announcements.

We also have a general translation guide for Widelands: https://wl.widelands.org/wiki/TranslatingWidelands/

Edited: 2015-09-10, 14:51

Busy indexing nil values

Top Quote
foxmulder32
Avatar
Topic Opener
Joined: 2015-09-09, 20:08
Posts: 6
Ranking
Pry about Widelands
Posted at: 2015-09-10, 14:56

Got it. Thank you for short manual. It's useful. Will join to russian team soon.


Top Quote