/usr/share/qt5/doc/qtdoc/i18n-plural-rules.html is in qt5-doc-html 5.3.2-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- i18n.qdoc -->
<title>Translation Rules for Plurals | QtDoc 5.3</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li><a href="index.html">Qt 5.3</a></li>
<li>Translation Rules for Plurals</li>
<li id="buildversion">
Qt 5.3.2 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<link rel="prev" href="i18n-source-translation.html" />
<p class="naviNextPrevious headerNavi">
<a class="prevPage" href="i18n-source-translation.html">Writing Source Code for Translation</a>
</p><p/>
<h1 class="title">Translation Rules for Plurals</h1>
<span class="subtitle"></span>
<!-- $$$i18n-plural-rules.html-description -->
<div class="descr"> <a name="details"></a>
<p>The table below shows the specific rules that are produced by Qt Linguist and <tt>lrelease</tt> for a selection of languages. Cells marked <i>otherwise</i> indicate the form used when none of the other rules are appropriate for a specific language.</p>
<table class="generic" width="80%">
<thead><tr class="qt-style"><th >Language</th><th >Rule 1</th><th >Rule 2</th><th >Rule 3</th></tr></thead>
<tr valign="top" class="odd"><td >English</td><td ><tt>n == 1</tt></td><td ><i>otherwise</i></td><td >N/A</td></tr>
<tr valign="top" class="even"><td >French</td><td ><tt>n < 2</tt></td><td ><i>otherwise</i></td><td >N/A</td></tr>
<tr valign="top" class="odd"><td >Czech</td><td ><tt>n % 100 == 1</tt></td><td ><tt>n % 100 >= 2 && n % 100 <= 4</tt></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="even"><td >Irish</td><td ><tt>n == 1</tt></td><td ><tt>n == 2</tt></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="odd"><td >Latvian</td><td ><tt>n % 10 == 1&& n % 100 != 11</tt></td><td ><tt>n != 0</tt></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="even"><td >Lithuanian</td><td ><tt>n % 10 == 1&& n % 100 != 11</tt></td><td ><tt>n % 100 != 12 && n % 10 == 2</tt></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="odd"><td >Macedonian</td><td ><tt>n % 10 == 1</tt></td><td ><tt>n % 10 == 2</tt></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="even"><td >Polish</td><td ><tt>n == 1</tt></td><td ><tt>n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 > 20)</tt></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="odd"><td >Romanian</td><td ><tt>n == 1</tt></td><td ><tt>n == 0|| (n % 100 >= 1 && n % 100 <= 20)</tt></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="even"><td >Russian</td><td ><tt>n % 10 == 1&& n % 100 != 11</tt></td><td ><tt>n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 > 20)</tt></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="odd"><td >Slovak</td><td ><tt>n == 1</tt></td><td ><tt>n >= 2 && n <= 4</tt></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="even"><td >Japanese</td><td ><i>otherwise</i></td><td >N/A</td><td >N/A</td></tr>
</table>
<p>The rules themselves are not documented and are internal to Qt Linguist and <tt>lrelease</tt>.</p>
</div>
<!-- @@@i18n-plural-rules.html -->
<p class="naviNextPrevious footerNavi">
<a class="prevPage" href="i18n-source-translation.html">Writing Source Code for Translation</a>
</p>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2014 Digia Plc and/or its
subsidiaries. Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|