tclaus / stocks

A simple stocks app for haiku. Mimics Stocks from macOS. The released packages are ready to use on a Haiku instance. Just download the latest release.
5 stars 3 forks source link

Enabling translations #38

Closed tclaus closed 1 year ago

tclaus commented 1 year ago

Adding translation macros (thanks @hfsfox ) Enabling translation in the make files (WIP) At last a $: make catkeys should run and create the locales file.

tclaus commented 1 year ago

@humdingerb Thanks for your review - the ctror's I will check or change in another PR on short notice.

augiedoggie commented 1 year ago

Does the make catkeys step work for you? I wasn't able to get it to work. In order for me to build both the app and catkeys I need to add a build/ prefix to the two generated source files in the CMakeLists.txt file. There is an issue with the Haiku cmake module that I'll have to fix so that this isn't necessary.

I needed to add a build/ prefix here: https://github.com/tclaus/stocks/blob/enabling_translations/CMakeLists.txt#L157 and https://github.com/tclaus/stocks/blob/enabling_translations/CMakeLists.txt#L181