summaryrefslogtreecommitdiff
path: root/server/xml/macros/visus-autoref-1.0.xml
diff options
context:
space:
mode:
authorsenator <senator>2009-11-16 10:50:00 +0000
committersenator <senator>2009-11-16 10:50:00 +0000
commit36492da266df3f7e66ad5a330c76af285d765fa7 (patch)
tree38e39e1635eea60bb7aa5e2c8af22f38e8d960ae /server/xml/macros/visus-autoref-1.0.xml
parent7864f9d561657a5b7d557268c50837ef3ee585f9 (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/visus-autoref-1.0.xml')
-rw-r--r--server/xml/macros/visus-autoref-1.0.xml116
1 files changed, 58 insertions, 58 deletions
diff --git a/server/xml/macros/visus-autoref-1.0.xml b/server/xml/macros/visus-autoref-1.0.xml
index 603fbcc..a0252c3 100644
--- a/server/xml/macros/visus-autoref-1.0.xml
+++ b/server/xml/macros/visus-autoref-1.0.xml
@@ -10,75 +10,75 @@
-->
<resume language="lua">
out = ''
- if ( getValue('visus.autoref.missing.right') == '' )
+ if ( getValue('visus.autoref.missing.odxt') == '' )
then
out = out .. 'Visus, autoref, o.dxt'
- if ( getValue('visus.autoref.kontrast.right') ~= '' )
+ if ( getValue('visus.autoref.kontrast.odxt') ~= '' )
then
- out = out .. ', ' .. getValue('visus.autoref.kontrast.right') .. ' kontrast'
+ out = out .. ', ' .. getValue('visus.autoref.kontrast.odxt') .. ' kontrast'
end
- if ( getValue('visus.autoref.st_hul.right') ~= '' )
+ if ( getValue('visus.autoref.st_hul.odxt') ~= '' )
then
- out = out .. ', ' .. getValue('visus.autoref.st_hul.right')
+ out = out .. ', ' .. getValue('visus.autoref.st_hul.odxt')
end
out = out .. ':\n'
- if ( getValue('visus.autoref.snellen.right') ~= '' )
+ if ( getValue('visus.autoref.snellen.odxt') ~= '' )
then
- out = out .. 'Snellen: ' .. getValue('visus.autoref.snellen.right') .. '\n'
+ out = out .. 'Snellen: ' .. getValue('visus.autoref.snellen.odxt') .. '\n'
end
- if ( getValue('visus.autoref.etdrs.right') ~= '' )
+ if ( getValue('visus.autoref.etdrs.odxt') ~= '' )
then
- out = out .. 'ETDRS: ' .. getValue('visus.autoref.etdrs.right') .. '\n'
+ out = out .. 'ETDRS: ' .. getValue('visus.autoref.etdrs.odxt') .. '\n'
end
- out = out .. 'Korr.: ' .. getValue('visus.autoref.korr.sf.right') .. ' sf'
- if ( getValue('visus.autoref.korr.cyl.right') ~= '' )
+ out = out .. 'Korr.: ' .. getValue('visus.autoref.korr.sf.odxt') .. ' sf'
+ if ( getValue('visus.autoref.korr.cyl.odxt') ~= '' )
then
- out = out .. ', ' .. getValue('visus.autoref.korr.cyl.right') .. ' cyl'
+ out = out .. ', ' .. getValue('visus.autoref.korr.cyl.odxt') .. ' cyl'
end
- if ( getValue('visus.autoref.korr.grader.right') ~= '' )
+ if ( getValue('visus.autoref.korr.grader.odxt') ~= '' )
then
- out = out .. ', ' .. getValue('visus.autoref.korr.grader.right') .. ' grader'
+ out = out .. ', ' .. getValue('visus.autoref.korr.grader.odxt') .. ' grader'
end
out = out .. '\n'
- if ( getValue('visus.autoref.missing.left') == '' )
+ if ( getValue('visus.autoref.missing.osin') == '' )
then
out = out .. '\n'
end
end
- if ( getValue('visus.autoref.missing.left') == '' )
+ if ( getValue('visus.autoref.missing.osin') == '' )
then
out = out .. 'Visus, autoref, o.sin'
- if ( getValue('visus.autoref.kontrast.left') ~= '' )
+ if ( getValue('visus.autoref.kontrast.osin') ~= '' )
then
- out = out .. ', ' .. getValue('visus.autoref.kontrast.left') .. ' kontrast'
+ out = out .. ', ' .. getValue('visus.autoref.kontrast.osin') .. ' kontrast'
end
- if ( getValue('visus.autoref.st_hul.left') ~= '' )
+ if ( getValue('visus.autoref.st_hul.osin') ~= '' )
then
- out = out .. ', ' .. getValue('visus.autoref.st_hul.left')
+ out = out .. ', ' .. getValue('visus.autoref.st_hul.osin')
end
out = out .. ':\n'
- if ( getValue('visus.autoref.snellen.left') ~= '' )
+ if ( getValue('visus.autoref.snellen.osin') ~= '' )
then
- out = out .. 'Snellen: ' .. getValue('visus.autoref.snellen.left') .. '\n'
+ out = out .. 'Snellen: ' .. getValue('visus.autoref.snellen.osin') .. '\n'
end
- if ( getValue('visus.autoref.etdrs.left') ~= '' )
+ if ( getValue('visus.autoref.etdrs.osin') ~= '' )
then
- out = out .. 'ETDRS: ' .. getValue('visus.autoref.etdrs.left') .. '\n'
+ out = out .. 'ETDRS: ' .. getValue('visus.autoref.etdrs.osin') .. '\n'
end
- out = out .. 'Korr.: ' .. getValue('visus.autoref.korr.sf.left') .. ' sf'
- if ( getValue('visus.autoref.korr.cyl.left') ~= '' )
+ out = out .. 'Korr.: ' .. getValue('visus.autoref.korr.sf.osin') .. ' sf'
+ if ( getValue('visus.autoref.korr.cyl.osin') ~= '' )
then
- out = out .. ', ' .. getValue('visus.autoref.korr.cyl.left') .. ' cyl'
+ out = out .. ', ' .. getValue('visus.autoref.korr.cyl.osin') .. ' cyl'
end
- if ( getValue('visus.autoref.korr.grader.left') ~= '' )
+ if ( getValue('visus.autoref.korr.grader.osin') ~= '' )
then
- out = out .. ', ' .. getValue('visus.autoref.korr.grader.left') .. ' grader'
+ out = out .. ', ' .. getValue('visus.autoref.korr.grader.osin') .. ' grader'
end
out = out .. '\n'
- if ( getValue('visus.autoref.missing.left') == '' )
+ if ( getValue('visus.autoref.missing.osin') == '' )
then
out = out .. '\n'
end
@@ -175,40 +175,40 @@
return false
end
</script>
- <script language="lua" name="snellen.right">
+ <script language="lua" name="snellen.odxt">
if (value == '')
then
- if ( getValue('visus.autoref.etdrs.right') == '' )
+ if ( getValue('visus.autoref.etdrs.odxt') == '' )
then
return false
end
end
return true
</script>
- <script language="lua" name="snellen.left">
+ <script language="lua" name="snellen.osin">
if (value == '')
then
- if ( getValue('visus.autoref.etdrs.left') == '' )
+ if ( getValue('visus.autoref.etdrs.osin') == '' )
then
return false
end
end
return true
</script>
- <script language="lua" name="etdrs.right">
+ <script language="lua" name="etdrs.odxt">
if (value == '')
then
- if ( getValue('visus.autoref.snellen.right') == '' )
+ if ( getValue('visus.autoref.snellen.odxt') == '' )
then
return false
end
end
return true
</script>
- <script language="lua" name="etdrs.left">
+ <script language="lua" name="etdrs.osin">
if (value == '')
then
- if ( getValue('visus.autoref.snellen.left') == '' )
+ if ( getValue('visus.autoref.snellen.osin') == '' )
then
return false
end
@@ -239,16 +239,16 @@
<frame layout="hbox">
- <!-- Højre øje -->
+ <!-- o.dxt -->
<frame layout="vbox">
<checkbox caption="Der er ikke målt på højre øje"
- name="visus.autoref.missing.right" script="right_eye"
+ name="visus.autoref.missing.odxt" script="right_eye"
map="missing_eye_right_map"
truevalue="mangler" falsevalue="" value=""/>
- <frame name="right_eye_frame" caption="Højre øje" layout="vbox">
+ <frame name="right_eye_frame" caption="o.dxt" layout="vbox">
<frame layout="hbox">
<label caption="Kontrast:"/>
- <combobox name="visus.autoref.kontrast.right" value="">
+ <combobox name="visus.autoref.kontrast.odxt" value="">
<item caption="Ej relevant" value=""/>
<item caption="20%" value="20%"/>
<item caption="50%" value="50%"/>
@@ -257,12 +257,12 @@
<spacer/>
</frame>
<frame layout="hbox">
- <checkbox name="visus.autoref.st_hul.right" caption="Der er anvendt st. hul" truevalue="st. hul er anvendt" falsevalue=""/>
+ <checkbox name="visus.autoref.st_hul.odxt" caption="Der er anvendt st. hul" truevalue="st. hul er anvendt" falsevalue=""/>
</frame>
<frame layout="hbox">
<frame layout="vbox">
<label caption="Snellen:"/>
- <combobox name="visus.autoref.snellen.right" layout="vbox" type="search" value="" script="snellen.right">
+ <combobox name="visus.autoref.snellen.odxt" layout="vbox" type="search" value="" script="snellen.odxt">
<item caption="Ikke udfyldt" value=""/>
<item caption="2,0" value="2,0"/>
<item caption="1,6" value="1,6"/>
@@ -295,7 +295,7 @@
</frame>
<frame layout="vbox">
<label caption="ETDRS:"/>
- <combobox name="visus.autoref.etdrs.right" value="" type="search" script="etdrs.right">
+ <combobox name="visus.autoref.etdrs.odxt" value="" type="search" script="etdrs.odxt">
<item caption="Ikke udfyldt" value=""/>
<item caption="0" value="0"/>
<item caption="1" value="1"/>
@@ -409,31 +409,31 @@
</frame>
<frame layout="vbox">
<label caption="Sf:"/>
- <lineedit name="visus.autoref.korr.sf.right" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt-25" value=""/>
+ <lineedit name="visus.autoref.korr.sf.odxt" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt-25" value=""/>
</frame>
<frame layout="vbox">
<label caption="Cyl:"/>
- <lineedit name="visus.autoref.korr.cyl.right" regexp="|[-+]?[\d]{1,2},[\d]{2,2}" script="lt10gt-15" value=""/>
+ <lineedit name="visus.autoref.korr.cyl.odxt" regexp="|[-+]?[\d]{1,2},[\d]{2,2}" script="lt10gt-15" value=""/>
</frame>
<frame layout="vbox">
<label caption="Grader:"/>
- <lineedit name="visus.autoref.korr.grader.right" regexp="|[\d]+" script="lt359gt0" value=""/>
+ <lineedit name="visus.autoref.korr.grader.odxt" regexp="|[\d]+" script="lt359gt0" value=""/>
</frame>
</frame>
</frame>
</frame>
</frame>
- <!-- Venstre øje -->
+ <!-- o.sin -->
<frame layout="vbox">
<checkbox caption="Der er ikke målt på venstre øje"
- name="visus.autoref.missing.left" script="left_eye"
+ name="visus.autoref.missing.osin" script="left_eye"
map="missing_eye_left_map"
truevalue="mangler" falsevalue="" value=""/>
- <frame name="left_eye_frame" caption="Venstre øje" layout="vbox">
+ <frame name="left_eye_frame" caption="o.sin" layout="vbox">
<frame layout="hbox">
<label caption="Kontrast:"/>
- <combobox name="visus.autoref.kontrast.left" value="">
+ <combobox name="visus.autoref.kontrast.osin" value="">
<item caption="Ej relevant" value=""/>
<item caption="20%" value="20%"/>
<item caption="50%" value="50%"/>
@@ -442,12 +442,12 @@
<spacer/>
</frame>
<frame layout="hbox">
- <checkbox name="visus.autoref.st_hul.left" caption="Der er anvendt st. hul" truevalue="st. hul er anvendt" falsevalue=""/>
+ <checkbox name="visus.autoref.st_hul.osin" caption="Der er anvendt st. hul" truevalue="st. hul er anvendt" falsevalue=""/>
</frame>
<frame layout="hbox">
<frame layout="vbox">
<label caption="Snellen:"/>
- <combobox name="visus.autoref.snellen.left" layout="vbox" type="search" value="" script="snellen.left">
+ <combobox name="visus.autoref.snellen.osin" layout="vbox" type="search" value="" script="snellen.osin">
<item caption="Ikke udfyldt" value=""/>
<item caption="2,0" value="2,0"/>
<item caption="1,6" value="1,6"/>
@@ -480,7 +480,7 @@
</frame>
<frame layout="vbox">
<label caption="ETDRS:"/>
- <combobox name="visus.autoref.etdrs.left" value="" type="search" script="etdrs.left">
+ <combobox name="visus.autoref.etdrs.osin" value="" type="search" script="etdrs.osin">
<item caption="Ikke udfyldt" value=""/>
<item caption="0" value="0"/>
<item caption="1" value="1"/>
@@ -594,15 +594,15 @@
</frame>
<frame layout="vbox">
<label caption="Sf:"/>
- <lineedit name="visus.autoref.korr.sf.left" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt-25" value=""/>
+ <lineedit name="visus.autoref.korr.sf.osin" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt-25" value=""/>
</frame>
<frame layout="vbox">
<label caption="Cyl:"/>
- <lineedit name="visus.autoref.korr.cyl.left" regexp="|[-+]?[\d]{1,2},[\d]{2,2}" script="lt10gt-15" value=""/>
+ <lineedit name="visus.autoref.korr.cyl.osin" regexp="|[-+]?[\d]{1,2},[\d]{2,2}" script="lt10gt-15" value=""/>
</frame>
<frame layout="vbox">
<label caption="Grader:"/>
- <lineedit name="visus.autoref.korr.grader.left" regexp="|[\d]+" script="lt359gt0" value=""/>
+ <lineedit name="visus.autoref.korr.grader.osin" regexp="|[\d]+" script="lt359gt0" value=""/>
</frame>
</frame>
</frame>