All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jukusoft.i18n.TestClass Maven / Gradle / Ivy

package com.jukusoft.i18n;

/**
* test class which is used to check, if gettext-maven-plugin finds language string literals
*/
public class TestClass {

    public void test () {
        I.tr("my-string");
        I.tr("duplicate-string");
        I.tr("duplicate-string");

        System.out.println(I.tr("my-domain", "my-string"));

        String str = I.ntr("sg1", "pl1", 2);
        String str1 = I.ntr("my-test-domain", "sg2", "pl2", 2);

        System.out.println(I.tr("test1") + I.tr("test2-in-same-line"));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy