286N/A# The contents of this file are subject to the terms of the
70N/A# Common Development and Distribution License, Version 1.0 only
70N/A# (the "License"). You may not use this file except in compliance
70N/A# See the License for the specific language governing permissions
70N/A# and limitations under the License.
70N/A# When distributing Covered Code, include this CDDL HEADER in each
70N/A# If applicable, add the following below this CDDL HEADER, with the
70N/A# fields enclosed by brackets "[]" replaced with your own identifying
70N/A# information: Portions Copyright [yyyy] [name of copyright owner]
70N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
70N/A# Use is subject to license terms.
70N/AWhat is the "SUN_BRANDING" tag
70N/A==============================
70N/A The purpose is to extract Sun specific messages on GUI.
525N/A CLI warning messages don't have to be translated but we need
70N/A translations with visible GUI.
70N/A I'ld like to extract the Sun specific message strings when adding
70N/A new strings
and/or changing community strings for community packages.
98N/A====================
332N/AComment format per File type
501N/A============================
525N/A This is a comment line. */
326N/A This is a comment line. -->
493N/A <oaf_attribute name="name" type="string" _value="C string"/>
70N/A This is a comment line. -->
400N/A <_GOK:label>C string</_GOK:label>
277N/A This is a comment line. -->
469N/A <default><!-- SUN_BRANDING
290N/A This is a comment line. -->C string</default>
70N/A <property name="title" translatable="yes" comments="SUN_BRANDING">C string</property>
277N/A1. .theme and .icon files are not defined the comment "^#".
493N/A3. Need tests to work fine with comments in .cave and .soundlist files.
70N/ARequirement: intltool 0.35.5 or later
319N/A[2] It seem bash 3.0 i18n doesn't work on none UTF-8 so need to convert from UTF-8.
70N/AHow to generate po tarballs
98N/A===========================
493N/A# cp po-sun-tarballs/* %{_builddir}/SOURCES/.
# cd %{_builddir}/%{name}-%{version}/$
module/po# sed -e 's/#\. SUN_BRANDING/# SUN_BRANDING/' ${module}.pot \
==============================
Please make sure 'make clean; make' and pkgbuild and commit your .po files
How to update .spec files
=========================
+Source5: %{name}-po-sun-%{po_sun_version}
.tar.bz2 # date:2005-05-02 type:bug bugster:6222777 owner:mattman
# date:2006-04-05 type:branding owner:gman
@@ -63,6 +65,10 @@ This package contains some essential uti
+bzcat %SOURCE5 | tar xf -
+* Thu Dec 28 2006 - foo@sun.com
How to delete Sun l10n tarball in .spec files
=============================================
2. Remove foo-po-sun*
.tar.bz2 from .spec files