tests/auto/linguist/lconvert/data/test20.ts
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!DOCTYPE TS>
       
     3 <TS version="2.0">
       
     4 <context>
       
     5     <name>Dialog2</name>
       
     6     <message numerus="yes">
       
     7         <location filename="main.cpp" line="29"/>
       
     8         <source>%n files</source>
       
     9         <comment>plural form</comment>
       
    10         <translation type="unfinished">
       
    11             <numerusform></numerusform>
       
    12         </translation>
       
    13     </message>
       
    14     <message numerus="yes">
       
    15         <location filename="main.cpp" line="30"/>
       
    16         <source>%n cars</source>
       
    17         <translation type="unfinished">
       
    18             <numerusform></numerusform>
       
    19         </translation>
       
    20     </message>
       
    21     <message numerus="yes">
       
    22         <location filename="main.cpp" line="31"/>
       
    23         <source>&amp;Find %n cars</source>
       
    24         <translation type="unfinished">
       
    25             <numerusform></numerusform>
       
    26         </translation>
       
    27     </message>
       
    28     <message numerus="yes">
       
    29         <location filename="main.cpp" line="32"/>
       
    30         <source>Search in %n items?</source>
       
    31         <translation type="unfinished">
       
    32             <numerusform></numerusform>
       
    33         </translation>
       
    34     </message>
       
    35     <message numerus="yes">
       
    36         <location filename="main.cpp" line="33"/>
       
    37         <source>%1. Search in %n items?</source>
       
    38         <translation type="unfinished">
       
    39             <numerusform></numerusform>
       
    40         </translation>
       
    41     </message>
       
    42     <message>
       
    43         <location filename="main.cpp" line="34"/>
       
    44         <source>Age: %1</source>
       
    45         <translation type="unfinished"></translation>
       
    46     </message>
       
    47     <message numerus="yes">
       
    48         <location filename="main.cpp" line="35"/>
       
    49         <source>There are %n house(s)</source>
       
    50         <comment>Plurals and function call</comment>
       
    51         <translation type="unfinished">
       
    52             <numerusform></numerusform>
       
    53         </translation>
       
    54     </message>
       
    55     <message numerus="yes">
       
    56         <location filename="main.cpp" line="53"/>
       
    57         <source>QTranslator</source>
       
    58         <comment>Simple</comment>
       
    59         <translation type="unfinished">
       
    60             <numerusform></numerusform>
       
    61         </translation>
       
    62     </message>
       
    63     <message numerus="yes">
       
    64         <location filename="main.cpp" line="54"/>
       
    65         <source>QTranslator</source>
       
    66         <comment>Simple with comment</comment>
       
    67         <translation type="unfinished">
       
    68             <numerusform></numerusform>
       
    69         </translation>
       
    70     </message>
       
    71     <message numerus="yes">
       
    72         <location filename="main.cpp" line="55"/>
       
    73         <source>QTranslator</source>
       
    74         <comment>Plural without comment</comment>
       
    75         <translation type="unfinished">
       
    76             <numerusform></numerusform>
       
    77         </translation>
       
    78     </message>
       
    79     <message numerus="yes">
       
    80         <location filename="main.cpp" line="57"/>
       
    81         <source>QTranslator</source>
       
    82         <comment>Plural with comment</comment>
       
    83         <translation type="unfinished">
       
    84             <numerusform></numerusform>
       
    85         </translation>
       
    86     </message>
       
    87     <message>
       
    88         <location filename="main.cpp" line="102"/>
       
    89         <source>func3</source>
       
    90         <translation type="unfinished"></translation>
       
    91     </message>
       
    92 </context>
       
    93 <context>
       
    94     <name>QApplication</name>
       
    95     <message>
       
    96         <location filename="main.cpp" line="13"/>
       
    97         <source>QT_LAYOUT_DIRECTION</source>
       
    98         <comment>Translate this string to the string &apos;LTR&apos; in left-to-right languages or to &apos;RTL&apos; in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.</comment>
       
    99         <translation type="unfinished"></translation>
       
   100     </message>
       
   101 </context>
       
   102 <context>
       
   103     <name>QCoreApplication</name>
       
   104     <message numerus="yes">
       
   105         <location filename="main.cpp" line="40"/>
       
   106         <source>Plurals, QCoreApplication</source>
       
   107         <comment>%n house(s)</comment>
       
   108         <translation type="unfinished">
       
   109             <numerusform></numerusform>
       
   110         </translation>
       
   111     </message>
       
   112     <message numerus="yes">
       
   113         <location filename="main.cpp" line="41"/>
       
   114         <source>Plurals, QCoreApplication</source>
       
   115         <comment>%n car(s)</comment>
       
   116         <translation type="unfinished">
       
   117             <numerusform></numerusform>
       
   118         </translation>
       
   119     </message>
       
   120     <message numerus="yes">
       
   121         <location filename="main.cpp" line="42"/>
       
   122         <source>Plurals, QCoreApplication</source>
       
   123         <comment>%n horse(s)</comment>
       
   124         <translation type="unfinished">
       
   125             <numerusform></numerusform>
       
   126         </translation>
       
   127     </message>
       
   128 </context>
       
   129 <context>
       
   130     <name>TestClass</name>
       
   131     <message>
       
   132         <location filename="main.cpp" line="116"/>
       
   133         <source>inline function</source>
       
   134         <comment>TestClass</comment>
       
   135         <translation type="unfinished"></translation>
       
   136     </message>
       
   137     <message>
       
   138         <location filename="main.cpp" line="120"/>
       
   139         <source>inline function 2</source>
       
   140         <comment>TestClass</comment>
       
   141         <translation type="unfinished"></translation>
       
   142     </message>
       
   143     <message>
       
   144         <location filename="main.cpp" line="124"/>
       
   145         <source>static inline function</source>
       
   146         <comment>TestClass</comment>
       
   147         <translation type="unfinished"></translation>
       
   148     </message>
       
   149 </context>
       
   150 </TS>