Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Document Properties Marker
overridefalse
Short DescriptionPatching text resources allows to add or override generated text resources.
Doctypetopichide
NamePatch Text Resources
Short Name
Parent
Parent Property
propertyParent
property-nameName

Audience
Name List
doctyperole
render-no-hits-as-blanktrue
propertyAudience

Level of Experience
Name List
doctypeexperience-level
render-no-hits-as-blanktrue
propertyLevel of Experience

Expected Duration
Subject
Name List
doctypesubject
propertySubject

Categories
Name List
doctypecategory
propertyCategories

Tags
Tag List
propertyTags

Iteration

Iteration
valuefinished

hide
Type
Name List
doctypetopic-type
render-no-hits-as-blanktrue
propertyType

Sponsors
Name List
doctypestakeholder
render-no-hits-as-blanktrue
propertySponsors

Sort Key000100hide
Section
show-titlefalse
titleDescription

To patch text resources resource bundles for the supported locales are placed in the folder projectdoc-models/patch/l10n.

The name of the properties files for the resource bundle need to follow the following naming scheme:

Code Block
text-resources${locale}.properties

For the default locale use text-resources.properties.

Example Box

The directory layout with text resource bundles for patching looks like this.

A replaced property will be commented with "PATCHED!", new text resources will be added under the comment "Patched Resources - note that overridden resources are replaced, marked with PATCHED!."

...