]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | # Copyright 2003, 2006 Vladimir Prus |
2 | # Distributed under the Boost Software License, Version 1.0. | |
3 | # (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt) | |
7c673cae FG |
4 | |
5 | ||
6 | # Declare a main target. | |
7 | exe main : main.cpp ; | |
8 | ||
9 | # Declare an action for updating translations | |
10 | # After changing main.cpp, invocation of | |
11 | # | |
12 | # bjam update-russian | |
1e59de90 | 13 | # |
7c673cae FG |
14 | # will update translations in russian.po |
15 | gettext.update update-russian : russian.po main ; | |
16 | ||
17 | # Compiled message catalog. | |
18 | gettext.catalog russian : russian.po ; | |
19 | ||
20 | # A stage rule which installs message catalog to the | |
21 | # location gettext expects. | |
22 | stage messages-russian : russian | |
1e59de90 | 23 | : <location>messages/ru_RU.KOI8-R/LC_MESSAGES |
7c673cae FG |
24 | <name>main.mo |
25 | ; | |
26 |