Skip to content

Commit 704a926

Browse files
authored
Merge pull request #4481 from esl/translations_as_a_service
Translations as a service
2 parents 249ba9e + 8f4011d commit 704a926

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+122
-99
lines changed

doc/configuration/Services.md

Lines changed: 5 additions & 0 deletions

include/mod_vcard.hrl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
-export_type([vcard_search/0]).
1717

1818
-define(TLFIELD(Type, Label, Var),
19-
#{var => Var, type => Type, label => translate:translate(Lang, Label)}).
19+
#{var => Var, type => Type, label => service_translations:do(Lang, Label)}).
2020

2121
-define(FIELD(Var, Val),
2222
#{var => Var, values => [Val]}).
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)