#

[header]
language = ror
charset = utf-8

[data]
#
# replace slash with 100ms pause to avoid slash being read out literally (Bug JIRA: GI-704)
!(\D\d+)\/(\D\d+)!    -->   " $1 \\pause=100\\ $2 "
!(\D[-]\d+)\/(\D\d+)!    -->   " $1 \\pause=100\\ $2 "
!(\D\d+)\/(\d+)!    -->   " $1 \\pause=100\\ $2 "
!(\D[-]\d+)\/(\d+)!    -->   " $1 \\pause=100\\ $2 "
!(\D\d+)\/(\D[-]\d+)!    -->   " $1 \\pause=100\\ $2 "
!(\D[-]\d+)\/(\D[-]\d+)!    -->   " $1 \\pause=100\\ $2 "
#
# avoid '.' at the end when an audio file is inserted
!(audio=\".*\"\\)+(\.)! --> "$1"
#
# alternative writing for active prompts
/\b0(\.|\,)25\s+kilometru\b/   -->   "250 de metri"
/\b0(\.|\,)25\s+milă/   -->   "un sfert de milă"
/\b0(\.|\,)5\s+kilometru\b/   -->   "o jumătate de kilometru"
/\b0(\.|\,)5\s+milă/   -->   "o jumătate de milă"
/\b1(\.|\,)5\s+kilometru\b/   -->   "un kilometru şi jumătate"
/\b1(\.|\,)5\s+(milă|mile)/   -->   "o milă şi jumătate"
/\b2(\.|\,)5\s+kilometri\b/   -->   "doi kilometri şi jumătate"
/\b2(\.|\,)5\s+mile\b/   -->   "două mile şi jumătate"
/\b(\d+)(\.|\,)5\s+kilometri/   -->   "$1 kilometri şi jumătate"
/\b(\d+)(\.|\,)5\s+mile/   -->   "$1 mile şi jumătate"
/\b1\s+milă/   -->   "o milă"
/\b2\s+mile\b/   -->   "două mile"
/\b([Dd]upă)\s+50\s+(de\s+)?(metri|yarzi)\b/   -->   "$1 cincizeci de $3"
/\b([Dd]upă)\s+100\s+(de\s+)?(metri|yarzi)\b/   -->   "$1 o sută de $3"
/\b([Dd]upă)\s+150\s+(de\s+)?(metri|yarzi)\b/   -->   "$1 o sută cincizeci de $3"
/\b([Dd]upă)\s+200\s+(de\s+)?(metri|yarzi)\b/   -->   "$1 două sute de $3"
/\b([Dd]upă)\s+250\s+(de\s+)?(metri|yarzi)\b/   -->   "$1 două sute cincizeci de $3"
/\b([Dd]upă)\s+300\s+(de\s+)?(metri|yarzi)\b/   -->   "$1 trei sute de $3"
/\b([Dd]upă)\s+400\s+(de\s+)?(metri|yarzi)\b/   -->   "$1 patru sute de $3"
/\b([Dd]upă)\s+500\s+(de\s+)?(metri|yarzi)\b/   -->   "$1 cinci sute de $3"
/\b([Dd]upă)\s+600\s+(de\s+)?(metri|yarzi)\b/   -->   "$1 şase sute de $3"
/\b([Dd]upă)\s+700\s+(de\s+)?(metri|yarzi)\b/   -->   "$1 şapte sute de $3"
/\b([Dd]upă)\s+800\s+(de\s+)?(metri|yarzi)\b/   -->   "$1 opt sute de $3"
/\b([Dd]upă)\s+900\s+(de\s+)?(metri|yarzi)\b/   -->   "$1 nouă sute de $3"
