docs-common/common new-legal-files.sh,NONE,1.1
Tommy Reynolds (jtr)
fedora-docs-commits at redhat.com
Mon Apr 3 11:59:59 UTC 2006
- Previous message (by thread): press-release pt.po,NONE,1.1
- Next message (by thread): docs-common/common fedora-entities-de.ent, NONE, 1.1 legalnotice-content-de.xml, NONE, 1.1 legalnotice-content-p1-de.xml, NONE, 1.1 legalnotice-content-p2-de.xml, NONE, 1.1 legalnotice-content-p3-de.xml, NONE, 1.1 legalnotice-content-p4-de.xml, NONE, 1.1 legalnotice-content-p5-de.xml, NONE, 1.1 legalnotice-content-p6-de.xml, NONE, 1.1 legalnotice-opl-de.xml, NONE, 1.1 legalnotice-relnotes-de.xml, NONE, 1.1 legalnotice-section-de.xml, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jtr
Update of /cvs/docs/docs-common/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9835
Added Files:
new-legal-files.sh
Log Message:
Create template files for new legalnotice files. Use the "*-en_US.*"
files as canonical.
--- NEW FILE new-legal-files.sh ---
#!/bin/bash
########################################################################
# Use this script to create the files needed to add support for a new
# locale. To keep life simple, we simply copy the canonical "*-en_US.*"
# file content into a new "*-${LANG}.*" file set.
#
# TRANSLATORS NOTE: Legal notices require the assistance of a legal
# expert who is familiar with the copyright laws for the given locale.
# IT IS NOT PERMITTED TO SIMPLY TRANSLITERATE THE "en_US" FILE CONTENT
# INTO THE NEW LOCALE; THIS WILL MEAN ABSOLUTELY NOTHING LEGALLY.
########################################################################
# DEBUG=echo
initFile() {
dest=$(echo $1 | sed "s/-en_US/-${L}/")
${DEBUG} cp $1 ${dest}
${DEBUG} sed -i -e "s/-en_US/-${L}/g" ${dest}
echo ${dest}
}
if [ $# -eq 0 ]; then
echo "Usage: $0 locale ..." >&2
exit 1
fi
echo "Take these files to your legal expert in copyright law:"
for L in $@
do
for f in legalnotice-*-en_US.xml
do
initFile $f
done
for f in fedora-entities-en_US.ent
do
initFile $f
done
done
- Previous message (by thread): press-release pt.po,NONE,1.1
- Next message (by thread): docs-common/common fedora-entities-de.ent, NONE, 1.1 legalnotice-content-de.xml, NONE, 1.1 legalnotice-content-p1-de.xml, NONE, 1.1 legalnotice-content-p2-de.xml, NONE, 1.1 legalnotice-content-p3-de.xml, NONE, 1.1 legalnotice-content-p4-de.xml, NONE, 1.1 legalnotice-content-p5-de.xml, NONE, 1.1 legalnotice-content-p6-de.xml, NONE, 1.1 legalnotice-opl-de.xml, NONE, 1.1 legalnotice-relnotes-de.xml, NONE, 1.1 legalnotice-section-de.xml, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-docs-commits
mailing list