/usr/share/qt5/doc/qtdoc/i18n-plural-rules.html is in qt5-doc-html 5.5.1-1.
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>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- i18n.qdoc -->
<title>Translation Rules for Plurals | Qt 5.5 </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.5</a></li>
<li>Translation Rules for Plurals</li>
<li id="buildversion">Qt 5.5.1 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/>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<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 <code>lrelease</code> 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>
<div class="table"><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 ><code>n == 1</code></td><td ><i>otherwise</i></td><td >N/A</td></tr>
<tr valign="top" class="even"><td >French</td><td ><code>n < 2</code></td><td ><i>otherwise</i></td><td >N/A</td></tr>
<tr valign="top" class="odd"><td >Czech</td><td ><code>n % 100 == 1</code></td><td ><code>n % 100 >= 2 && n % 100 <= 4</code></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="even"><td >Irish</td><td ><code>n == 1</code></td><td ><code>n == 2</code></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="odd"><td >Latvian</td><td ><code>n % 10 == 1&& n % 100 != 11</code></td><td ><code>n != 0</code></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="even"><td >Lithuanian</td><td ><code>n % 10 == 1&& n % 100 != 11</code></td><td ><code>n % 100 != 12 && n % 10 == 2</code></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="odd"><td >Macedonian</td><td ><code>n % 10 == 1</code></td><td ><code>n % 10 == 2</code></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="even"><td >Polish</td><td ><code>n == 1</code></td><td ><code>n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 > 20)</code></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="odd"><td >Romanian</td><td ><code>n == 1</code></td><td ><code>n == 0|| (n % 100 >= 1 && n % 100 <= 20)</code></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="even"><td >Russian</td><td ><code>n % 10 == 1&& n % 100 != 11</code></td><td ><code>n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 > 20)</code></td><td ><i>otherwise</i></td></tr>
<tr valign="top" class="odd"><td >Slovak</td><td ><code>n == 1</code></td><td ><code>n >= 2 && n <= 4</code></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></div>
<p>The rules themselves are not documented and are internal to Qt Linguist and <code>lrelease</code>.</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> 2015 The Qt Company Ltd.
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> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|