Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 229 for localize (0.16 sec)

  1. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

    import java.sql.SQLException;
    import java.util.Locale;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author manhole
     */
    public class SQLRuntimeExceptionTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/misc/LocaleUtilTest.java

    package org.codelibs.core.misc;
    
    import java.util.Locale;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class LocaleUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetLocale() throws Exception {
            assertEquals("1", LocaleUtil.getDefault(), LocaleUtil.getLocale(null));
            assertEquals("2", Locale.JAPANESE, LocaleUtil.getLocale("ja"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

                }
            };
    
            assertEquals(Locale.ROOT, fessConfig.getQueryLocaleFromName(null));
            assertEquals(Locale.ROOT, fessConfig.getQueryLocaleFromName(""));
            assertEquals(Locale.ROOT, fessConfig.getQueryLocaleFromName("ja"));
            assertEquals(Locale.JAPANESE, fessConfig.getQueryLocaleFromName("test_ja"));
            assertEquals(Locale.CHINESE, fessConfig.getQueryLocaleFromName("test_zh"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/text/DecimalFormatUtilTest.java

     */
    package org.codelibs.core.text;
    
    import java.util.Locale;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class DecimalFormatUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testNormalize() throws Exception {
            assertEquals("1", "1000.00", DecimalFormatUtil.normalize("1,000.00", Locale.JAPAN));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/testdata/endpoint/portfilter_output.txt

    NAME                  STATUS      LOCALITY     CLUSTER
    10.244.0.176:8080     HEALTHY                  outbound|80||istio-ingressgateway.istio-system.svc.cluster.local
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 21 14:17:23 UTC 2023
    - 270 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                return null;
            }
            String target = null;
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale != null) {
                final String lang = locale.getLanguage();
                if (ComponentUtil.getFessConfig().isOnlineHelpSupportedLang(lang)) {
                    target = lang.toUpperCase(Locale.ROOT);
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

            final List<Map<String, String>> itemList = new ArrayList<>();
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_basic"), Constants.BASIC));
            itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_digest"), Constants.DIGEST));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java

            //} catch (IllegalArgumentException ignored) { // not found
            //    return null; // handled later
            //}
        }
    
        @Override
        public OptionalThing<String> determineAlias(final Locale locale) {
            return OptionalObject.empty();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

    import java.util.Calendar;
    import java.util.Date;
    import java.util.Locale;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class DateConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProvider.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.mylasta.direction.sponsor;
    
    import java.util.Locale;
    
    import org.apache.commons.lang3.LocaleUtils;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top