diff options
author | senator <senator> | 2009-11-16 10:50:00 +0000 |
---|---|---|
committer | senator <senator> | 2009-11-16 10:50:00 +0000 |
commit | 36492da266df3f7e66ad5a330c76af285d765fa7 (patch) | |
tree | 38e39e1635eea60bb7aa5e2c8af22f38e8d960ae /server/xml/macros/pupilstoerrelse-1.0.xml | |
parent | 7864f9d561657a5b7d557268c50837ef3ee585f9 (diff) |
auto-replaced all instances of Højre øje and Venstre øje with o.dxt and o.sin. This was done using sed. These changes are not verified 100%, but i assume it went well. A quick check showed no errors.
Diffstat (limited to 'server/xml/macros/pupilstoerrelse-1.0.xml')
-rw-r--r-- | server/xml/macros/pupilstoerrelse-1.0.xml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/server/xml/macros/pupilstoerrelse-1.0.xml b/server/xml/macros/pupilstoerrelse-1.0.xml index 4fe4b53..93ed6bc 100644 --- a/server/xml/macros/pupilstoerrelse-1.0.xml +++ b/server/xml/macros/pupilstoerrelse-1.0.xml @@ -2,19 +2,19 @@ <macro name="pupilstoerrelse" version="1.0"> <resume language="lua"> out = '' - if ( getValue('pupilstoerrelse.right.missing') == '' or getValue('pupilstoerrelse.left.missing') == '' ) + if ( getValue('pupilstoerrelse.odxt.missing') == '' or getValue('pupilstoerrelse.osin.missing') == '' ) then out = out .. 'Pupilstørrelse, ' .. getValue('pupilstoerrelse.method') .. ':\n' end - if ( getValue('pupilstoerrelse.right.missing') == '' ) + if ( getValue('pupilstoerrelse.odxt.missing') == '' ) then - out = out .. 'Højre øje: ' .. getValue('pupilstoerrelse.right.diameter') .. ' mm\n' + out = out .. 'o.dxt: ' .. getValue('pupilstoerrelse.odxt.diameter') .. ' mm\n' end - if ( getValue('pupilstoerrelse.left.missing') == '' ) + if ( getValue('pupilstoerrelse.osin.missing') == '' ) then - out = out .. 'Venstre øje: ' .. getValue('pupilstoerrelse.left.diameter') .. ' mm\n' + out = out .. 'o.sin: ' .. getValue('pupilstoerrelse.osin.diameter') .. ' mm\n' end return out @@ -102,17 +102,17 @@ <frame layout="hbox"> - <!-- Højre øje --> + <!-- o.dxt --> <frame layout="vbox"> <checkbox caption="Der er ikke målt på højre øje" - name="pupilstoerrelse.right.missing" script="right_eye" + name="pupilstoerrelse.odxt.missing" script="right_eye" map="missing_eye_right_map" truevalue="mangler" falsevalue="" value=""/> - <frame name="right_eye_frame" caption="Højre øje" layout="hbox"> + <frame name="right_eye_frame" caption="o.dxt" layout="hbox"> <frame layout="vbox"> <label caption="Diameter:"/> <frame layout="hbox"> - <lineedit name="pupilstoerrelse.right.diameter" script="lt12gt0" + <lineedit name="pupilstoerrelse.odxt.diameter" script="lt12gt0" regexp="\d{1,2},\d{1}" value=""/> <label caption="mm"/> </frame> @@ -120,17 +120,17 @@ </frame> </frame> - <!-- Venstre øje --> + <!-- o.sin --> <frame layout="vbox"> <checkbox caption="Der er ikke målt på venstre øje" - name="pupilstoerrelse.left.missing" script="left_eye" + name="pupilstoerrelse.osin.missing" script="left_eye" map="missing_eye_left_map" truevalue="mangler" falsevalue="" value=""/> - <frame name="left_eye_frame" caption="Venstre øje" layout="hbox"> + <frame name="left_eye_frame" caption="o.sin" layout="hbox"> <frame layout="vbox"> <label caption="Diameter:"/> <frame layout="hbox"> - <lineedit name="pupilstoerrelse.left.diameter" script="lt12gt0" + <lineedit name="pupilstoerrelse.osin.diameter" script="lt12gt0" regexp="\d{1,2},\d{1}" value=""/> <label caption="mm"/> </frame> |