Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Localize (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

        }
    
        /**
         * Converts validation messages to a localized string representation for API responses.
         * Uses the request locale if available, otherwise defaults to English.
         *
         * @param validationMessagesLambda lambda function that adds validation messages
         * @return concatenated string of localized validation messages separated by spaces
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                }
                return false;
            }).orElse(false);
        }
    
        /**
         * Retrieves the localized label value for the given key from the current request's label map.
         *
         * @param value the label key to retrieve
         * @return the localized label value, or the key itself if not found
         */
        public static String label(final String value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  3. guava/src/com/google/common/collect/ImmutableMap.java

          // a copy of the entries array. Likewise, localSize is the same as size except in that case.
          // It's possible to keep using this Builder after calling buildKeepingLast(), so we need to
          // ensure that its state is not corrupted by removing duplicates that should cause a later
          // buildOrThrow() to fail, or by changing the size.
          @Nullable Entry<K, V>[] localEntries;
          int localSize = size;
          if (valueComparator == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                return null;
            }).filter(StringUtil::isNotBlank).orElse(url);
        }
    
        /**
         * Gets the localized page path for a given page name.
         * Checks for locale-specific versions before falling back to default.
         *
         * @param page the page name
         * @return the localized page path
         */
        public String getPagePath(final String page) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            assertNotNull(newStackTrace);
            assertTrue(newStackTrace.length > 0);
        }
    
        public void test_getLocalizedMessage() {
            // Test getLocalizedMessage method
            String message = "Localized message test";
            ResultOffsetExceededException exception = new ResultOffsetExceededException(message);
    
            // By default, getLocalizedMessage returns the same as getMessage
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertEquals(message, firstCall);
        }
    
        public void test_getLocalizedMessage() {
            // Test getLocalizedMessage (should be same as getMessage for this exception)
            String message = "Localized message test";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
            assertEquals(exception.getMessage(), exception.getLocalizedMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

                localSize = localAlternatingKeysAndValues.length >>> 1;
              }
            }
            sortEntries(localAlternatingKeysAndValues, localSize, valueComparator);
          }
          entriesUsed = true;
          ImmutableMap<K, V> map =
              RegularImmutableMap.create(localSize, localAlternatingKeysAndValues, this);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            assertTrue(exception.getMessage().length() > 5000);
        }
    
        public void test_getLocalizedMessage() {
            // Test getLocalizedMessage method (inherited from Throwable)
            String message = "Localized error message";
            DataStoreException exception = new DataStoreException(message);
    
            // By default, getLocalizedMessage returns the same as getMessage
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertTrue(toString2.contains("CrawlerSystemException"));
        }
    
        /**
         * Test getLocalizedMessage
         */
        public void test_getLocalizedMessage() {
            String message = "Localized message test";
            CrawlerSystemException exception = new CrawlerSystemException(message);
    
            assertEquals(message, exception.getLocalizedMessage());
    
            // With null message
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            return getHelpUrl(url);
        }
    
        /**
         * Gets the help URL for a given base URL.
         *
         * @param url The base URL.
         * @return The localized help URL.
         */
        protected String getHelpUrl(final String url) {
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top