[icedtea-web] RFC: move a number of translatable strings into Messages.properties

Omair Majid omajid at redhat.com
Wed Nov 10 10:46:36 PST 2010


On 11/01/2010 03:27 PM, Omair Majid wrote:
> Hi,
>
> The attached patch moves a number of user-visible strings to
> Messages.properties file. There should be no user-visible strings left
> in any class in the package net.sourceforge.jnlp.security.*. The only
> exception is AppletWarningPane which I have not modified as it is
> currently unused.
>

Updated patch attached. This works with the updated certificate viewer.

2010-11-09  Omair Majid  <omajid at redhat.com>

      * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
      ButAllow, ButClose, ButCopy, ButMoreInformation, ButProceed,
      ButRun, AlwaysAllowAction, Continue, Field, From, Name, Publisher,
      Value, Version, SNoAssociatedCertificate, SAlwaysTrustPublisher,
      SHttpsUnverified, SNotAllSignedSummary, SNotAllSignedDetail,
      SNotAllSignedQuestion, SCertificateDetails, SIssuer, SSerial,
      SMD5Fingerprint, SSHA1Fingerprint, SSignature, SSignatureAlgorithm,
      SSubject, SValidity, CVCertificateViewer, CVDetails, CVIssuedTo,
      CVExport, CVImport, CVIssuedBy, IssuedTo, CVRemove,
      CVRemoveConfirmMessage,CVRemoveConfirmTitle, CVUser, CVSystem,
      KS, KSCerts, KSJsseCerts, KSCaCerts, KSJsseCaCerts, and
      KSClientCerts.
      * netx/net/sourceforge/jnlp/security/AccessWarningPane.java
      (addComponents): Use localized strings.
      * netx/net/sourceforge/jnlp/security/CertWarningPane.java
      (addComponents): Likewise.
      * netx/net/sourceforge/jnlp/security/CertsInfoPane.java
      (parseCert): Likewise.
      (addComponents): Likewise.
      * netx/net/sourceforge/jnlp/security/MoreInfoPane.java
      (addComponents): Likewise.
      * netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java
      (addComponents): Likewise.
      * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java:
      Likewise.
      (addComponents): Likewise.
      (CertificateType.toString): Likewise.
      (RemoveButtonListener.actionPerformed): Likewise.


Any comments?

Thanks,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-web-move-translatable-strings-to-messages-01.patch
Type: text/x-patch
Size: 19606 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20101110/a7b514d5/icedtea-web-move-translatable-strings-to-messages-01.patch 


More information about the distro-pkg-dev mailing list