-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the provided plural mechanisms of QT. The "PO" translation also works smoothly and the translation mechanisms between .po <-> .qt was tested successfully. The new english translation file translates the single phrase: "Delete the %n revocation list(s): '%1'?" into "Delete the revocation list: '%1'?" for one item and "Delete the %n revocation lists: '%1'?" otherwise
- Loading branch information
Showing
18 changed files
with
151 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!DOCTYPE TS> | ||
<TS version="2.1" language="en"> | ||
<context> | ||
<name>ExportDialog</name> | ||
<message numerus="yes"> | ||
<location filename="../widgets/ExportDialog.cpp" line="43"/> | ||
<source>%n selected item(s)</source> | ||
<translation> | ||
<numerusform>selected item</numerusform> | ||
<numerusform>%n selected items</numerusform> | ||
</translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>XcaTreeView</name> | ||
<message numerus="yes"> | ||
<location filename="../widgets/XcaTreeView.cpp" line="510"/> | ||
<source>Please enter the password to encrypt all %n exported private key(s) in: | ||
%1</source> | ||
<comment>Singular form for 0 or 1 item can be ignored. Will always be called with n >= 2</comment> | ||
<translation> | ||
<numerusform>Please enter the password to encrypt the exported private key in: | ||
%1</numerusform> | ||
<numerusform>Please enter the password to encrypt all %n exported private keys in: | ||
%1</numerusform> | ||
</translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>pki_crl</name> | ||
<message numerus="yes"> | ||
<location filename="../lib/pki_crl.cpp" line="60"/> | ||
<source>Delete the %n revocation list(s): '%1'?</source> | ||
<translation> | ||
<numerusform>Delete the revocation list: '%1'?</numerusform> | ||
<numerusform>Delete the %n revocation lists: '%1'?</numerusform> | ||
</translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>pki_key</name> | ||
<message numerus="yes"> | ||
<location filename="../lib/pki_key.cpp" line="214"/> | ||
<source>Delete the %n %1 public key(s) '%2'?</source> | ||
<comment>%1 will be replaced by 'RSA', 'DSA', 'EC'. %2 is/are the internal name(s) of the key(s)</comment> | ||
<translation> | ||
<numerusform>Delete the %1 public key '%2'?</numerusform> | ||
<numerusform>Delete the %n %1 public keys '%2'?</numerusform> | ||
</translation> | ||
</message> | ||
<message numerus="yes"> | ||
<location filename="../lib/pki_key.cpp" line="222"/> | ||
<source>Delete the %n %1 private key(s) '%2'?</source> | ||
<comment>%1 will be replaced by 'RSA', 'DSA', 'EC'. %2 is/are the internal name(s) of the key(s)</comment> | ||
<translation> | ||
<numerusform>Delete the %1 private key '%2'?</numerusform> | ||
<numerusform>Delete the %n %1 private keys '%2'?</numerusform> | ||
</translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>pki_scard</name> | ||
<message numerus="yes"> | ||
<location filename="../lib/pki_scard.cpp" line="47"/> | ||
<source>Delete the %n token key(s): '%1'?</source> | ||
<translation> | ||
<numerusform>Delete the token key: '%1'?</numerusform> | ||
<numerusform>Delete the %n token keys: '%1'?</numerusform> | ||
</translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>pki_temp</name> | ||
<message numerus="yes"> | ||
<location filename="../lib/pki_temp.cpp" line="159"/> | ||
<source>Delete the %n XCA template(s): '%1'?</source> | ||
<translation> | ||
<numerusform>Delete the XCA template: '%1'?</numerusform> | ||
<numerusform>Delete the %n XCA templates: '%1'?</numerusform> | ||
</translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>pki_x509</name> | ||
<message numerus="yes"> | ||
<location filename="../lib/pki_x509.cpp" line="63"/> | ||
<source>Delete the %n certificate(s): '%1'?</source> | ||
<translation> | ||
<numerusform>Delete the certificate: '%1'?</numerusform> | ||
<numerusform>Delete the %n certificates: '%1'?</numerusform> | ||
</translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>pki_x509req</name> | ||
<message numerus="yes"> | ||
<location filename="../lib/pki_x509req.cpp" line="148"/> | ||
<source>Delete the %n PKCS#10 certificate request(s): '%1'?</source> | ||
<translation> | ||
<numerusform>Delete the PKCS#10 certificate request: '%1'?</numerusform> | ||
<numerusform>Delete the %n PKCS#10 certificate requests: '%1'?</numerusform> | ||
</translation> | ||
</message> | ||
</context> | ||
</TS> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.