forked from GitHub/gf-core
peacekeeping: add a module with phrases which are very different in different languages, e.g. greetings. The english and swedish implementations do not yet use the resource grammars, and the finnish is empty.
This commit is contained in:
12
examples/peacekeeping/swedish/PeacePhrases_Swe.gf
Normal file
12
examples/peacekeeping/swedish/PeacePhrases_Swe.gf
Normal file
@@ -0,0 +1,12 @@
|
||||
--# -path=.:..:present:prelude
|
||||
|
||||
concrete PeacePhrases_Swe of PeacePhrases =
|
||||
PeaceCat_Swe ** open CommonScand in {
|
||||
|
||||
lin
|
||||
Hello = { s = "hej" ++ "." } ;
|
||||
GoodMorning = { s = ["god morgon"] ++ "." } ;
|
||||
GoodEvening = { s = ["god kväll"] ++ "." } ;
|
||||
WhatIsNamePron p = { s = ["vad heter"] ++ p.s!NPNom ++ "?"; };
|
||||
|
||||
}
|
||||
@@ -1,3 +1,6 @@
|
||||
--# -path=.:..:present:prelude
|
||||
|
||||
concrete Peace_Swe of Peace = PeaceSyntax_Swe, PeaceLexCommon_Swe, PeaceLexExt_Swe ** {}
|
||||
concrete Peace_Swe of Peace =
|
||||
PeaceSyntax_Swe, PeaceLexCommon_Swe,
|
||||
PeaceLexExt_Swe, PeacePhrases_Swe
|
||||
** {}
|
||||
|
||||
Reference in New Issue
Block a user