升级到7.1汉化出问题了,怎么弄?

过滤器的检索按钮没有汉化,在beta版还是好的?怎么解决一下?
12

是系统界面的过滤器吗?还是你们自己开发的页面,是否有做过过滤器的客户化设置?

自己和系统的界面都一样,没有做什么处理,之前beta版本是好的,升级后发现这个地方变成英文了。

好的。很奇怪,你这个显示的 Refresh,正常应该显示 Search(搜索),我这边试了最新的 7.1+汉化包 7.0.2,没有复现这个问题:
image

那我重装汉化插件试试

重装了汉化插件7.0.2依然是这样,显示refresh

看下7.1源码,这块的message配置有变化:


    protected String getSearchBtnCaption() {
        return isApplyImmediately()
                ? getMainMessage("filter.searchBtn.applyImmediately.caption")
                : getMainMessage("filter.search");
    }

filter.searchBtn.applyImmediately.caption的默认定义就是Refresh。

isApplyImmediately()是受配置文件控制:

    /**
     * If true, the filter will be applied immediately after every parameter's value changing. True by default.
     *
     * @return true if the filter should be applied immediately after every parameter's value changing
     */
    @Property("cuba.gui.genericFilterApplyImmediately")
    @Source(type = SourceType.DATABASE)
    @DefaultBoolean(true)
    boolean getGenericFilterApplyImmediately();