Andreas Wacknitz
2024-04-04 8590298b09ebad29af56370cd23105cd0931b389
transforms/locale
@@ -20,18 +20,19 @@
#
#
# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
#
# general locale
<transform dir link hardlink path=.*/locale$ -> default facet.locale true>
# add locale specific facets to using the the locale name encoded in
# the pathname.  We don't need the portion after the '@' or '.', only
# .../locale/{locale-name}[@.]*.
<transform dir file link hardlink \
    path=.*/locale/([^/]+)(\..+){0,1}(/.+){0,1}$ -> \
    path=.*/locale/([^/@\.]+)(.+){0,1}(/.+){0,1}$ -> \
    default facet.locale.%<\1> true>
# skip pkglint(1) on actions where where facet.locale tags contains '_' until
# we can change this to only skip the '_' in attribute name warning.
# unfacet the C locale
<transform dir file link hardlink \
    path=.*/locale/[^_/]+_[^/]+(/.+){0,1}$ -> \
    default pkg.linted true>
    facet.locale.C=.+ -> delete facet.locale.C .+ >