locale revision 5525
15N/A#
15N/A# CDDL HEADER START
15N/A#
15N/A# The contents of this file are subject to the terms of the
15N/A# Common Development and Distribution License (the "License").
15N/A# You may not use this file except in compliance with the License.
15N/A#
15N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15N/A# or http://www.opensolaris.org/os/licensing.
15N/A# See the License for the specific language governing permissions
15N/A# and limitations under the License.
15N/A#
15N/A# When distributing Covered Code, include this CDDL HEADER in each
15N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15N/A# If applicable, add the following below this CDDL HEADER, with the
15N/A# fields enclosed by brackets "[]" replaced with your own identifying
15N/A# information: Portions Copyright [yyyy] [name of copyright owner]
15N/A#
15N/A# CDDL HEADER END
15N/A#
15N/A
15N/A#
5525N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
15N/A#
15N/A
15N/A# general locale
53N/A<transform dir link hardlink path=.*/locale$ -> default facet.locale true>
22N/A
1412N/A# add locale specific facets to using the the locale name encoded in
1412N/A# the pathname. We don't need the portion after the '@' or '.', only
1412N/A# .../locale/{locale-name}[@.]*.
53N/A<transform dir file link hardlink \
1412N/A path=.*/locale/([^/@\.]+)(.+){0,1}(/.+){0,1}$ -> \
53N/A default facet.locale.%<\1> true>
454N/A
5525N/A# thunderbird uses the locale format ab-CD instead of ab_CD, which is the
5525N/A# Solaris standard. Convert the locale facet to Solaris standard format.
5525N/A# pkgmogrify doesn't seem to support using a regular expression as the
5525N/A# "attribute" in a "attribute=value" matcher so we need to enumerate all
5525N/A# locales where this is a problem.
5525N/A<transform file facet.locale.en-US=true -> default facet.locale.en_US true>
5525N/A<transform file facet.locale.en-US=true -> delete facet.locale.en-US .*>
5525N/A<transform file facet.locale.es-AR=true -> default facet.locale.es_AR true>
5525N/A<transform file facet.locale.es-AR=true -> delete facet.locale.es-AR .*>
5525N/A<transform file facet.locale.es-ES=true -> default facet.locale.es_ES true>
5525N/A<transform file facet.locale.es-ES=true -> delete facet.locale.es-ES .*>
5525N/A<transform file facet.locale.nb-NO=true -> default facet.locale.nb_NO true>
5525N/A<transform file facet.locale.nb-NO=true -> delete facet.locale.nb-NO .*>
5525N/A<transform file facet.locale.nn-NO=true -> default facet.locale.nn_NO true>
5525N/A<transform file facet.locale.nn-NO=true -> delete facet.locale.nn-NO .*>
5525N/A<transform file facet.locale.pt-BR=true -> default facet.locale.pt_BR true>
5525N/A<transform file facet.locale.pt-BR=true -> delete facet.locale.pt-BR .*>
5525N/A<transform file facet.locale.pt-PT=true -> default facet.locale.pt_PT true>
5525N/A<transform file facet.locale.pt-PT=true -> delete facet.locale.pt-PT .*>
5525N/A<transform file facet.locale.sv-SE=true -> default facet.locale.sv_SE true>
5525N/A<transform file facet.locale.sv-SE=true -> delete facet.locale.sv-SE .*>
5525N/A<transform file facet.locale.zh-CN=true -> default facet.locale.zh_CN true>
5525N/A<transform file facet.locale.zh-TW=true -> delete facet.locale.zh-TW .*>
5525N/A
454N/A# unfacet the C locale
454N/A<transform dir file link hardlink \
454N/A facet.locale.C=.+ -> delete facet.locale.C .+ >