1 ##rem $Id: E21b.sd 253 2014-02-18 11:15:58Z damato $
5 /****************************************************************
7 This file was created automatically by `%fv'
12 ****************************************************************/
14 /* External modules */
15 MODULE 'locale' , 'libraries/locale'
16 MODULE 'utility/tagitem'
18 /* Object definitions */
24 /* Global variables */
25 DEF catalog_%b : PTR TO catalog
29 /* Opening catalog procedure */
30 PROC open_%b_catalog( loc : PTR TO locale , language : PTR TO CHAR )
34 %i.id := %d ; %i.str := %s
38 IF (localebase AND (catalog_%b = NIL))
51 catalog_%b := OpenCatalogA( loc , '%b.catalog' ,
52 [ OC_BUILTINLANGUAGE , %l ,
61 /* Closing catalog procedure */
62 PROC close_%b_catalog()
64 IF localebase THEN CloseCatalog( catalog_%b )
70 /* Procedure which returns the correct string according to the catalog */
71 PROC get_%b_string( fcstr : PTR TO fc_type ) RETURN IF catalog_%b THEN GetCatalogStr( catalog_%b , fcstr.id , fcstr.str ) ELSE fcstr.str
72 /****************************************************************
73 End of the automatically created part!
74 ****************************************************************/