You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
851 B
37 lines
851 B
3 years ago
|
/*
|
||
|
* Copyright (C), 2018-2020
|
||
|
* Project: starter
|
||
|
* FileName: LocaleFinder
|
||
|
* Author: Louis
|
||
|
* Date: 2020/8/31 22:19
|
||
|
*/
|
||
|
package com.fr.plugin.idnf;
|
||
|
|
||
|
import com.fr.intelli.record.Focus;
|
||
|
import com.fr.intelli.record.Original;
|
||
|
import com.fr.record.analyzer.EnableMetrics;
|
||
|
import com.fr.stable.fun.impl.AbstractLocaleFinder;
|
||
|
|
||
|
import static com.fr.plugin.idnf.config.IdnfConfig.PLUGIN_ID;
|
||
|
|
||
|
/**
|
||
|
* <Function Description><br>
|
||
|
* <LocaleFinder>
|
||
|
*
|
||
|
* @author fr.open
|
||
|
* @since 1.0.0
|
||
|
*/
|
||
|
@EnableMetrics
|
||
|
public class LocaleFinder extends AbstractLocaleFinder {
|
||
|
|
||
|
@Override
|
||
|
@Focus(id = PLUGIN_ID, text = "Plugin-idnf", source = Original.PLUGIN)
|
||
|
public String find() {
|
||
|
return "com/fr/plugin/idnf/locale/lang";
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public int currentAPILevel() {
|
||
|
return CURRENT_LEVEL;
|
||
|
}
|
||
|
}
|