Evgeny Khramtsov
00f2a736eb
Improve extraction of translated strings
...
Now every such string MUST be encapsulated into ?T() macro.
The macro itself is defined in include/translate.hrl.
Example:
-module(foo).
-export([bar/1]).
-include("translate.hrl").
bar(Lang) ->
translate:translate(Lang, ?T("baz")).
2019-06-22 17:08:45 +03:00
..
2019-01-08 22:53:27 +01:00
2019-01-08 22:53:27 +01:00
2017-11-14 14:12:33 +02:00
2019-01-08 22:53:27 +01:00
2019-06-19 09:30:53 +02:00
2019-01-08 22:53:27 +01:00
2019-01-08 22:53:27 +01:00
2019-06-14 12:33:26 +03:00
2019-01-08 22:53:27 +01:00
2019-06-14 12:33:26 +03:00
2019-06-14 12:33:26 +03:00
2019-06-14 12:33:26 +03:00
2019-06-14 13:36:28 +03:00
2019-01-08 22:53:27 +01:00
2019-06-22 17:08:45 +03:00
2019-06-14 12:33:26 +03:00
2013-06-22 03:27:59 +10:00
2019-01-08 22:53:27 +01:00
2019-06-14 12:33:26 +03:00
2019-01-08 22:53:27 +01:00
2019-01-08 22:53:27 +01:00
2019-01-08 22:53:27 +01:00
2019-06-14 12:33:26 +03:00
2019-06-14 12:33:26 +03:00
2019-01-08 22:53:27 +01:00
2019-01-08 22:53:27 +01:00
2019-01-08 22:53:27 +01:00
2019-01-08 22:53:27 +01:00
2019-01-08 22:53:27 +01:00
2019-02-27 09:56:31 +01:00
2019-01-08 22:53:27 +01:00
2019-01-08 22:53:27 +01:00
2019-01-08 22:53:27 +01:00
2019-01-08 22:53:27 +01:00
2019-02-25 11:42:09 +03:00
2019-01-08 22:53:27 +01:00
2017-09-24 12:42:35 +03:00