rk.i18n.comment: Create i18n comment for RKWard plugin code

View source: R/rk.i18n.comment.R

rk.i18n.commentR Documentation

Create i18n comment for RKWard plugin code

Description

This function is similar to rk.comment, but preceds the text with the keyword "i18n:" to give context to translators.

Usage

rk.i18n.comment(text, prefix = "i18n:")

Arguments

text

Character string, the text to be displayed.

prefix

Character string, the text to be prefixed to indicate this is an i18n comment.

Value

An object of class XiMpLe.node.

Examples

test.comment <- rk.i18n.comment("Added this text.")
cat(pasteXML(test.comment))

rkward-community/rkwarddev documentation built on May 9, 2022, 3:02 p.m.