fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [14812] translation


From: Sigurd Nes
Subject: [Fmsystem-commits] [14812] translation
Date: Sun, 06 Mar 2016 14:38:38 +0000

Revision: 14812
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14812
Author:   sigurdne
Date:     2016-03-06 14:38:37 +0000 (Sun, 06 Mar 2016)
Log Message:
-----------
translation

Modified Paths:
--------------
    trunk/property/setup/phpgw_no.lang
    trunk/property/templates/base/generic.xsl

Modified: trunk/property/setup/phpgw_no.lang
===================================================================
--- trunk/property/setup/phpgw_no.lang  2016-03-06 14:19:53 UTC (rev 14811)
+++ trunk/property/setup/phpgw_no.lang  2016-03-06 14:38:37 UTC (rev 14812)
@@ -2053,4 +2053,5 @@
 entity group   common  no      RegisterGruppe
 modified on    common  no      Oppdatert
 property type  property        no      Type
-hjemmel        common  no      Hjemmel
\ No newline at end of file
+hjemmel        common  no      Hjemmel
+record has been edited common  no      data er editert
\ No newline at end of file

Modified: trunk/property/templates/base/generic.xsl
===================================================================
--- trunk/property/templates/base/generic.xsl   2016-03-06 14:19:53 UTC (rev 
14811)
+++ trunk/property/templates/base/generic.xsl   2016-03-06 14:38:37 UTC (rev 
14812)
@@ -24,10 +24,10 @@
 
 <!-- add / edit  -->
 <xsl:template xmlns:php="http://php.net/xsl"; match="edit">
-               <script type="text/javascript">
-                       self.name="first_Window";
-                       <xsl:value-of select="lookup_functions"/>
-               </script>
+       <script type="text/javascript">
+               self.name="first_Window";
+               <xsl:value-of select="lookup_functions"/>
+       </script>
 
        <div id="generic_edit_tabview">
                        
@@ -39,81 +39,81 @@
        
                <form id="form" name="form" method="post" 
action="{$form_action}" class="pure-form pure-form-aligned">
                        <dl>
-               <xsl:choose>
-                       <xsl:when test="msgbox_data != ''">
+                               <xsl:choose>
+                                       <xsl:when test="msgbox_data != ''">
                                                <dt>
-                               <xsl:call-template name="msgbox"/>
+                                                       <xsl:call-template 
name="msgbox"/>
                                                </dt>
-                       </xsl:when>
-               </xsl:choose>
+                                       </xsl:when>
+                               </xsl:choose>
                        </dl>
                        
                        <div id="tab-content">
                                <xsl:value-of disable-output-escaping="yes" 
select="tabs"/>
                                <div id="generic">
                                        <fieldset>
-                                                       <xsl:choose>
-                                                               <xsl:when 
test="id_type != 'auto'">
+                                               <xsl:choose>
+                                                       <xsl:when test="id_type 
!= 'auto'">
                                                                <div 
class="pure-control-group">
                                                                        <label 
for="name">
-                                                                               
        <xsl:value-of select="php:function('lang', 'id')"/>
+                                                                               
<xsl:value-of select="php:function('lang', 'id')"/>
                                                                        </label>
-                                                                               
        <xsl:choose>
-                                                                               
                <xsl:when test="value_id != ''">
-                                                                               
                        <xsl:value-of select="value_id"/>
-                                                                               
                </xsl:when>
-                                                                               
                <xsl:otherwise>
+                                                                       
<xsl:choose>
+                                                                               
<xsl:when test="value_id != ''">
+                                                                               
        <xsl:value-of select="value_id"/>
+                                                                               
</xsl:when>
+                                                                               
<xsl:otherwise>
                                                                                
        <input data-validation="number" type="text" name="values[{id_name}]" 
value="{value_id}">
-                                                                               
                                <xsl:attribute name="title">
-                                                                               
                                        <xsl:value-of 
select="php:function('lang', 'Enter the ID')"/>
-                                                                               
                                </xsl:attribute>
-                                                                               
                        </input>
-                                                                               
                </xsl:otherwise>
-                                                                               
        </xsl:choose>
+                                                                               
                <xsl:attribute name="title">
+                                                                               
                        <xsl:value-of select="php:function('lang', 'Enter the 
ID')"/>
+                                                                               
                </xsl:attribute>
+                                                                               
        </input>
+                                                                               
</xsl:otherwise>
+                                                                       
</xsl:choose>
                                                                </div>
-                                                               </xsl:when>
-                                                               <xsl:otherwise>
-                                                                       
<xsl:choose>
-                                                                               
<xsl:when test="value_id != ''">
+                                                       </xsl:when>
+                                                       <xsl:otherwise>
+                                                               <xsl:choose>
+                                                                       
<xsl:when test="value_id != ''">
                                                                                
<div class="pure-control-group">
                                                                                
        <label for="name">
-                                                                               
                        <xsl:value-of select="php:function('lang', 'id')"/>
+                                                                               
                <xsl:value-of select="php:function('lang', 'id')"/>
                                                                                
        </label>
-                                                                               
                        <xsl:value-of select="value_id"/>
+                                                                               
        <xsl:value-of select="value_id"/>
                                                                                
</div>
-                                                                               
</xsl:when>
-                                                                       
</xsl:choose>
-                                                               </xsl:otherwise>
-                                                       </xsl:choose>
+                                                                       
</xsl:when>
+                                                               </xsl:choose>
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
                                                        
-                                                       <xsl:choose>
-                                                               <xsl:when 
test="value_id != ''">
-                                                                       <input 
type="hidden" name="{id_name}" value="{value_id}">
-                                                                       </input>
-                                                               </xsl:when>
-                                                       </xsl:choose>
+                                               <xsl:choose>
+                                                       <xsl:when 
test="value_id != ''">
+                                                               <input 
type="hidden" name="{id_name}" value="{value_id}">
+                                                               </input>
+                                                       </xsl:when>
+                                               </xsl:choose>
                                                        
-                                                       <xsl:for-each 
select="fields">
+                                               <xsl:for-each select="fields">
                                                                
                                                        <xsl:variable 
name="descr">
-                                                                               
<xsl:value-of select="descr"/>
+                                                               <xsl:value-of 
select="descr"/>
                                                        </xsl:variable>
                                                                                
                                                                                
                                                        <div 
class="pure-control-group">
                                                                <label 
for="name">
-                                                                       
<xsl:value-of select="php:function('lang', $descr)"/>
+                                                                       
<xsl:value-of select="$descr"/>
                                                                </label>
-                                                                               
<xsl:choose>
-                                                                               
        <xsl:when test="type='text'">
-                                                                               
                <textarea cols="{//textareacols}" rows="{//textarearows}" 
name="values[{name}]">
-                                                                               
                        <xsl:value-of select="value"/>
-                                                                               
                </textarea>
-                                                                               
        </xsl:when>
+                                                               <xsl:choose>
+                                                                       
<xsl:when test="type='text'">
+                                                                               
<textarea cols="{//textareacols}" rows="{//textarearows}" name="values[{name}]">
+                                                                               
        <xsl:value-of select="value"/>
+                                                                               
</textarea>
+                                                                       
</xsl:when>
                                                                        
<xsl:when test="type='varchar'">
-                                                                               
                <input type="text" name="values[{name}]" value="{value}" 
size="{size}">
-                                                                               
                        <xsl:attribute name="title">
-                                                                               
                                <xsl:value-of select="descr"/>
-                                                                               
                        </xsl:attribute>
+                                                                               
<input type="text" name="values[{name}]" value="{value}" size="{size}">
+                                                                               
        <xsl:attribute name="title">
+                                                                               
                <xsl:value-of select="$descr"/>
+                                                                               
        </xsl:attribute>
                                                                                
        <xsl:choose>
                                                                                
                <xsl:when test="nullable!='1'">
                                                                                
                        <xsl:attribute name="data-validation">
@@ -126,7 +126,7 @@
                                                                        
<xsl:when test="type='integer' or type='int'">
                                                                                
<input data-validation="number" type="text" name="values[{name}]" 
value="{value}" size="{size}">
                                                                                
        <xsl:attribute name="title">
-                                                                               
                <xsl:value-of select="descr"/>
+                                                                               
                <xsl:value-of select="$descr"/>
                                                                                
        </xsl:attribute>
                                                                                
        <xsl:choose>
                                                                                
                <xsl:when test="nullable='1'">
@@ -140,7 +140,7 @@
                                                                        
<xsl:when test="type='numeric'">
                                                                                
<input data-validation="number" data-validation-allowing="float" 
data-validation-decimal-separator="." type="text" name="values[{name}]" 
value="{value}" size="{size}">
                                                                                
        <xsl:attribute name="title">
-                                                                               
                <xsl:value-of select="descr"/>
+                                                                               
                <xsl:value-of select="$descr"/>
                                                                                
        </xsl:attribute>
                                                                                
        <xsl:choose>
                                                                                
                <xsl:when test="nullable='1'">
@@ -149,28 +149,28 @@
                                                                                
                        </xsl:attribute>
                                                                                
                </xsl:when>
                                                                                
        </xsl:choose>
+                                                                               
</input>
+                                                                       
</xsl:when>
+                                                                       
<xsl:when test="type='checkbox'">
+                                                                               
<xsl:choose>
+                                                                               
        <xsl:when test="value = 1">
+                                                                               
                <input type="checkbox" name="values[{name}]" value="1" 
checked="checked">
+                                                                               
                        <xsl:attribute name="title">
+                                                                               
                                <xsl:value-of select="$descr"/>
+                                                                               
                        </xsl:attribute>
                                                                                
                </input>
                                                                                
        </xsl:when>
-                                                                               
        <xsl:when test="type='checkbox'">
-                                                                               
                <xsl:choose>
-                                                                               
                        <xsl:when test="value = 1">
-                                                                               
                                <input type="checkbox" name="values[{name}]" 
value="1" checked="checked">
-                                                                               
                                        <xsl:attribute name="title">
-                                                                               
                                                <xsl:value-of select="descr"/>
-                                                                               
                                        </xsl:attribute>
-                                                                               
                                </input>
-                                                                               
                        </xsl:when>
-                                                                               
                        <xsl:otherwise>
-                                                                               
                                <input type="checkbox" name="values[{name}]" 
value="1">
-                                                                               
                                        <xsl:attribute name="title">
-                                                                               
                                                <xsl:value-of select="descr"/>
-                                                                               
                                        </xsl:attribute>
-                                                                               
                                </input>
-                                                                               
                        </xsl:otherwise>
-                                                                               
                </xsl:choose>
-                                                                               
        </xsl:when>
-                                                                               
        <xsl:when test="type='select'">
-                                                                               
                <select name="values[{name}]">
+                                                                               
        <xsl:otherwise>
+                                                                               
                <input type="checkbox" name="values[{name}]" value="1">
+                                                                               
                        <xsl:attribute name="title">
+                                                                               
                                <xsl:value-of select="$descr"/>
+                                                                               
                        </xsl:attribute>
+                                                                               
                </input>
+                                                                               
        </xsl:otherwise>
+                                                                               
</xsl:choose>
+                                                                       
</xsl:when>
+                                                                       
<xsl:when test="type='select'">
+                                                                               
<select name="values[{name}]">
                                                                                
        <xsl:choose>
                                                                                
                <xsl:when test="nullable!='1'">
                                                                                
                        <xsl:attribute name="data-validation">
@@ -178,21 +178,21 @@
                                                                                
                        </xsl:attribute>
                                                                                
                </xsl:when>
                                                                                
        </xsl:choose>
-                                                                               
                        <option value="">
-                                                                               
                                <xsl:value-of select="php:function('lang', 
'select value')"/>
-                                                                               
                        </option>
-                                                                               
                        <xsl:for-each select="valueset">
-                                                                               
                                <option value="{id}">
-                                                                               
                                        <xsl:if test="selected != 0">
-                                                                               
                                                <xsl:attribute name="selected" 
value="selected"/>
-                                                                               
                                        </xsl:if>
-                                                                               
                                        <xsl:value-of select="name"/>
-                                                                               
                                </option>
-                                                                               
                        </xsl:for-each>
-                                                                               
                </select>
-                                                                               
        </xsl:when>
-                                                                               
        <xsl:when test="type='multiple_select'">
-                                                                               
                <select name="values[{name}][]" multiple="multiple">
+                                                                               
        <option value="">
+                                                                               
                <xsl:value-of select="php:function('lang', 'select value')"/>
+                                                                               
        </option>
+                                                                               
        <xsl:for-each select="valueset">
+                                                                               
                <option value="{id}">
+                                                                               
                        <xsl:if test="selected != 0">
+                                                                               
                                <xsl:attribute name="selected" 
value="selected"/>
+                                                                               
                        </xsl:if>
+                                                                               
                        <xsl:value-of select="name"/>
+                                                                               
                </option>
+                                                                               
        </xsl:for-each>
+                                                                               
</select>
+                                                                       
</xsl:when>
+                                                                       
<xsl:when test="type='multiple_select'">
+                                                                               
<select name="values[{name}][]" multiple="multiple">
                                                                                
        <xsl:choose>
                                                                                
                <xsl:when test="nullable!='1'">
                                                                                
                        <xsl:attribute name="data-validation">
@@ -200,70 +200,70 @@
                                                                                
                        </xsl:attribute>
                                                                                
                </xsl:when>
                                                                                
        </xsl:choose>
-                                                                               
                        <xsl:for-each select="valueset">
-                                                                               
                                <option value="{id}">
-                                                                               
                                        <xsl:if test="selected != 0">
-                                                                               
                                                <xsl:attribute name="selected" 
value="selected"/>
-                                                                               
                                        </xsl:if>
-                                                                               
                                        <xsl:value-of select="name"/>
-                                                                               
                                </option>
-                                                                               
                        </xsl:for-each>
-                                                                               
                </select>
-                                                                               
        </xsl:when>
-                                                                               
        <xsl:when test="type='link'">
-                                                                               
                <input type="text" name="values[{name}]" value="{value}" 
size="30">
-                                                                               
                        <xsl:choose>
-                                                                               
                                <xsl:when test="disabled!=''">
-                                                                               
                                        <xsl:attribute name="disabled">
-                                                                               
                                                <xsl:text> disabled</xsl:text>
-                                                                               
                                        </xsl:attribute>
-                                                                               
                                </xsl:when>
+                                                                               
        <xsl:for-each select="valueset">
+                                                                               
                <option value="{id}">
+                                                                               
                        <xsl:if test="selected != 0">
+                                                                               
                                <xsl:attribute name="selected" 
value="selected"/>
+                                                                               
                        </xsl:if>
+                                                                               
                        <xsl:value-of select="name"/>
+                                                                               
                </option>
+                                                                               
        </xsl:for-each>
+                                                                               
</select>
+                                                                       
</xsl:when>
+                                                                       
<xsl:when test="type='link'">
+                                                                               
<input type="text" name="values[{name}]" value="{value}" size="30">
+                                                                               
        <xsl:choose>
+                                                                               
                <xsl:when test="disabled!=''">
+                                                                               
                        <xsl:attribute name="disabled">
+                                                                               
                                <xsl:text> disabled</xsl:text>
+                                                                               
                        </xsl:attribute>
+                                                                               
                </xsl:when>
                                                                                
                <xsl:when test="nullable!='1'">
                                                                                
                        <xsl:attribute name="data-validation">
                                                                                
                                <xsl:text>required</xsl:text>
                                                                                
                        </xsl:attribute>
                                                                                
                </xsl:when>
-                                                                               
                        </xsl:choose>
-                                                                               
                </input>
-                                                                               
                <xsl:choose>
-                                                                               
                        <xsl:when test="value!=''">
-                                                                               
                                <br/>
-                                                                               
                                <a href="{value}" target="_blank">
-                                                                               
                                        <xsl:value-of select="value"/>
-                                                                               
                                </a>
-                                                                               
                        </xsl:when>
-                                                                               
                </xsl:choose>
+                                                                               
        </xsl:choose>
+                                                                               
</input>
+                                                                               
<xsl:choose>
+                                                                               
        <xsl:when test="value!=''">
+                                                                               
                <br/>
+                                                                               
                <a href="{value}" target="_blank">
+                                                                               
                        <xsl:value-of select="value"/>
+                                                                               
                </a>
                                                                                
        </xsl:when>
                                                                                
</xsl:choose>
+                                                                       
</xsl:when>
+                                                               </xsl:choose>
                                                                        
-                                       </div>
+                                                       </div>
                                                </xsl:for-each>
-                                       <xsl:call-template 
name="attributes_values"/>
+                                               <xsl:call-template 
name="attributes_values"/>
                                        </fieldset>
                                </div>
                        </div>
                        <div class="proplist-col">
                                <input type="submit" class="pure-button 
pure-button-primary" name="values[save]" value="{lang_save}" 
onMouseout="window.status='';return true;">
-                                                                       
<xsl:attribute name="title">
-                                                                               
<xsl:value-of select="php:function('lang', 'Save the record and return to the 
list')"/>
-                                                                       
</xsl:attribute>
-                                                               </input>
+                                       <xsl:attribute name="title">
+                                               <xsl:value-of 
select="php:function('lang', 'Save the record and return to the list')"/>
+                                       </xsl:attribute>
+                               </input>
                                <input type="submit" class="pure-button 
pure-button-primary" name="values[apply]" value="{lang_apply}" 
onMouseout="window.status='';return true;">
-                                                                       
<xsl:attribute name="title">
-                                                                               
<xsl:value-of select="php:function('lang', 'Apply the values')"/>
-                                                                       
</xsl:attribute>
-                                                               </input>
+                                       <xsl:attribute name="title">
+                                               <xsl:value-of 
select="php:function('lang', 'Apply the values')"/>
+                                       </xsl:attribute>
+                               </input>
                                <input type="button" class="pure-button 
pure-button-primary" name="values[cancel]" value="{lang_cancel}" 
onMouseout="window.status='';return true;" 
onClick="document.cancel_form.submit();">
-                                                                       
<xsl:attribute name="title">
-                                                                               
<xsl:value-of select="php:function('lang', 'Leave the record untouched and 
return to the list')"/>
-                                                                       
</xsl:attribute>
-                                                               </input>
-                               </div>
-                       </form>
+                                       <xsl:attribute name="title">
+                                               <xsl:value-of 
select="php:function('lang', 'Leave the record untouched and return to the 
list')"/>
+                                       </xsl:attribute>
+                               </input>
+                       </div>
+               </form>
                <xsl:variable name="cancel_url">
                        <xsl:value-of select="cancel_url"/>
                </xsl:variable>
                <form name="cancel_form" id="cancel_form" 
action="{$cancel_url}" method="post">
                </form>
-               </div>
+       </div>
 </xsl:template>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]