gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.i18n / DefaultI18nSourceSet

DefaultI18nSourceSet

class DefaultI18nSourceSet : I18nSourceSet

Implementation for a combination of one SourceDirectorySets for each of the three supported translation formats.

Constructors

<init>

DefaultI18nSourceSet(sourceSet: SourceSet, objFactory: ObjectFactory)

Implementation for a combination of one SourceDirectorySets for each of the three supported translation formats.

Properties

lang

val lang: SourceDirectorySet

Source set for *.lang files (by default only files ending in .lang are considered)

mo

val mo: SourceDirectorySet

Source set for *.mo files (by default only files ending in .mo are considered).

name

val name: String

The name of the SourceSet for which this interface provides SourceDirectorySets for i18n.

po

val po: SourceDirectorySet

Source set for *.po files (by default only files ending in .po are considered).

Functions

lang

fun lang(configureClosure: Closure<in SourceDirectorySet>): I18nSourceSet

Configure the SourceDirectorySet for *.lang files using a Closure.

fun lang(configureAction: Action<in SourceDirectorySet>): I18nSourceSet

Configure the SourceDirectorySet for *.lang files using an Action.

mo

fun mo(configureClosure: Closure<in SourceDirectorySet>): I18nSourceSet

Configure the SourceDirectorySet for *.mo files using a Closure.

fun mo(configureAction: Action<in SourceDirectorySet>): I18nSourceSet

Configure the SourceDirectorySet for *.mo files using an Action.

po

fun po(configureClosure: Closure<in SourceDirectorySet>): I18nSourceSet

Configure the SourceDirectorySet for *.po files using a Closure.

fun po(configureAction: Action<in SourceDirectorySet>): I18nSourceSet

Configure the SourceDirectorySet for *.po files using an Action.