Skip to content
This repository
Newer
Older
100644 30 lines (21 sloc) 1.245 kb
46928796 »
2011-09-08 [feature] Internationalisation: add @i18n directive and start support…
1 (*
2 Copyright © 2011 MLstate
3
4 This file is part of OPA.
5
6 OPA is free software: you can redistribute it and/or modify it under the
7 terms of the GNU Affero General Public License, version 3, as published by
8 the Free Software Foundation.
9
10 OPA is distributed in the hope that it will be useful, but WITHOUT ANY
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
13 more details.
14
15 You should have received a copy of the GNU Affero General Public License
16 along with OPA. If not, see <http://www.gnu.org/licenses/>.
17 *)
18
19 (* @author Rudy Sicard *)
20
21 (** warning classes of this module, (to be inserted by users) *)
22 val warning_set : WarningClass.Set.t
23
24 (** list of valid package to import if required *)
25 val may_import_package : ?package:string -> exists:(string->bool) -> options:OpaEnv.opa_options -> string list
26
27 (** eliminates `i18n and `string directive
28 while potentially generating translation source and introducing @i18_lang directive *)
29 val process_directives__i18n__string : options:OpaEnv.opa_options -> ((Ident.t, (SurfaceAst.dependency_directive)) SurfaceAstPassesTypes.env_both_lcodes as 'env)-> 'env
Something went wrong with that request. Please try again.