Skip to main content

Topic: Any volunteers translate foo_uie_esyric to English ? (Read 7395 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • elia_is_me
  • [*][*]
Any volunteers translate foo_uie_esyric to English ?
foo_uie_eslyrc is a lyric component by ttsping (aka @ohyeah)

- similar to lyric show 3
- use JScript language to grab lyrics from online websites.
- desktop lyric show
- ...

The only problem is that there is not an English version of it........
A rose will bloom, it then will fade.

  • Qwghlm
  • [*]
Re: Any volunteers translate foo_uie_esyric to English ?
Reply #1
i have previous version customized into russian, but as for me google translate "chineese=>english" is much more better then "chineese=>russian" and of course "chineese=>russian=>english".

i'm translate callback function description (dblclick on some searching script to open wsh-like window, left bottom last menu item)

Code: ("original") [Select]
//==========//
//回调函数说明//
//==========//
//获取歌词源信息时调用,返回值为歌词源名称。
function get_my_name();
//获取歌词源信息时调用,返回值为歌词源版本。
function get_version();
//获取歌词源信息时调用,返回值为歌词源作者。
function get_author();
//歌词搜索时调用。
//参数info为ITrackInfo对象,callback为IESLyricCallback对象。
function start_search(info,callback);
//当启用搜索过滤时,歌词搜索时调用。
//参数tf为ITitleFormat对象。
//返回false表示禁止/不过滤当前音轨的歌词搜索,返回true则忽略搜索该音轨的歌词。
function is_item_filtered(tf);
//歌词搜索时调用,用于获取歌词搜索时使用的标题内容。
//参数tf为ITitleFormat对象。
//返回相应的用于后续歌词搜索中的关键字字符串。
function get_title(tf);
function get_artist(tf);。

//接口说明
// 全局对象:
//   fb - IFbUtils
//   utils - IESUtils

//音轨信息接口描述
interface ITrackInfo{
属性:
(只读) String Title;//音轨标题
(只读) String Artist;
(只读) String Album;
(只读) String RawPath;//音轨路径(e.g "file://c:\\____.mp3")
(只读) UINT SubSong;
(只读) double Length;
};

//歌词信息接口描述
interface ILyricInfo {
属性:
(读,写) String Title;//获取的歌词标题
(读,写) String Artist;//获取的歌词艺术家,此两项信息必填,否则可能被ESLyric过滤。
(读,写) String Album;//可选
(读,写) String LyricText;//歌词纯文本
(读,写) String LyricData;//歌词数据
(读,写) String FileType;//歌词文件类型,缺省为"lrc"
(读,写) String Location;//歌词来源位置,可选
(读,写) String Source;//歌词来源,通常为外部歌词源名称
方法:
void Dispose();//显式销毁歌词信息对象
};

//歌词添加回调接口描述
interface IESLyricCallback {
方法:
    ILyricInfo CreateLyric();//创建一个新的歌词信息对象。
void AddLyric(ILyricInfo lyric);//添加一个新歌词。
};

//HTTP请求接口描述
interface IHttpRequest {
方法:
//e.g. "name: value"
void AddHeader(head_line);//添加一个请求头
void AddPostData(name,value);//添加POST数据,仅"POST"方式下有效。
String Run(url);//失败时(连接错误或响应无效等)返回空字符串。
};

//ESLyric辅助工具接口描述
interface IESUtils {
方法:
String ReadTextFile(filename, codepage = 0);
String LCMapString(src,lcid,flag);//LCMapString API的封装.
IHttpRequest CreateHttpRequest(type);参数:请求类型,当前支持:"GET"与"POST"。
String ZCompress(data);
String ZUnCompress(data);
String ANSIToUnicode(data);
String ANSIToUTF8(data);
String UTF8ToUnicode(data);
String UTF8ToANSI(data);
String UnicodeToUTF8(data);
String UnicodeToANSI(data);
};

//FB2K辅助工具接口描述
interface IFbUtils {
属性:
(只读) String ComponentPath;
(只读) String FoobarPath;
(只读) String ProfilePath;
方法:
void trace(...);//信息输出
IFbProfiler CreateProfiler(name="");
};

interface IFbProfiler {
属性:
    (只读) int Time;//ms
   
方法:
    void Reset();
    void Print();
}

interface ITitleFormat {
方法:
    String Eval(expr);//根据expr对当前音轨进行TitleFormat,返回结果。
}


Code: ("Google translate") [Select]
//==========//
// Callback function description
//==========//

// Called when the lyrics get source information, the return value is the lyrics source name.

function get_my_name();

// Called when the lyrics get source information, the return value is the lyrics source version.

function get_version();

// Called when the lyrics get source information, the return value is the original author of the lyrics.

function get_author();

// Called when lyrics search.
// Parameter 'info' of ITrackInfo object,callback of IESLyricCallback object.

function start_search(info,callback);

// When a search filter is enabled, the call lyrics search.
// Parameter 'tf' is ITitleFormat object.
// Return false is disabled / not filtered current track lyrics search, lyrics search returns true then ignored the track.
 
function is_item_filtered(tf);

// Search lyrics calling for acquiring title content search using lyrics.
// Parameter 'tf' is ITitleFormat object.
// Returns the corresponding lyrics for subsequent search keyword string.

function get_title(tf);
function get_artist(tf);.

// Interface description

// 全局 (? global variables/ global state) object:
// fb - IFbUtils
// utils - IESUtils

// Track information Interface description

interface ITrackInfo{
attributes:
(ReadOnly) String Title; // track title
(ReadOnly) String Artist;
(ReadOnly) String Album;
(ReadOnly) String RawPath; // Track path (e.g "file://c:\\____.mp3")
(ReadOnly) UINT SubSong;
(ReadOnly) double Length;
};

// Lyrics Interface description

interface ILyricInfo {
attributes:
(Read, Write) String Title; // Get lyrics title
(Read, Write) String Artist; // Get lyrics artists, this required two pieces of information, or it may be filtered ESLyric.
(Read, Write) String Album; // Optional
(Read, Write) String LyricText; // Lyrics plain text
(Read, Write) String LyricData; // Lyrics data
(Read, Write) String FileType; // Lyrics file type, default "lrc"
(Read, Write) String Location; // Lyrics source position, optional
(Read, Write) String Source; // Lyrics source, usually an external source name lyrics
method:
void Dispose(); //Explicit lyrics destruction object
};

// Lyrics add callback interface description

interface IESLyricCallback {
method:
    ILyricInfo CreateLyric(); // Create a new lyrics object.
void AddLyric(ILyricInfo lyric); // Add a new lyrics.
};

// HTTP request interface description

interface IHttpRequest {
method:
//e.g. "name: value"
void AddHeader(head_line); // Add a request header
void AddPostData(name,value); // Adding POST data, only the "POST" under effective manner..
String Run(url); // Failure (connection error or an invalid response, etc.) returns an empty string.
};

// ESLyric access Interface description

interface IESUtils {
method:
String ReadTextFile(filename, codepage = 0);
String LCMapString(src,lcid,flag); // LCMapString API Package.
IHttpRequest CreateHttpRequest(type); // Parameters: request type, currently supported: "GET" and "POST".
String ZCompress(data);
String ZUnCompress(data);
String ANSIToUnicode(data);
String ANSIToUTF8(data);
String UTF8ToUnicode(data);
String UTF8ToANSI(data);
String UnicodeToUTF8(data);
String UnicodeToANSI(data);
};

// FB2K access Interface description

interface IFbUtils {
attributes:
(ReadOnly) String ComponentPath;
(ReadOnly) String FoobarPath;
(ReadOnly) String ProfilePath;
method:
void trace(...); // Output information
IFbProfiler CreateProfiler(name="");
};

interface IFbProfiler {
attributes:
    (ReadOnly) int Time; //ms
method:
    void Reset();
    void Print();
}

interface ITitleFormat {
method:
    String Eval(expr); //According to the current track 'expr' be TitleFormat, return results.
}

by the way, it's awesome plugin with incredibly rich functionality

  • elia_is_me
  • [*][*]
Re: Any volunteers translate foo_uie_esyric to English ?
Reply #2
Code: [Select]
//===========//
// Callbacks //
//===========//

// Return: lyric source name, which will displayed on source list
function get_my_name() {};
// Return: version info
function get_version();
// Return: lyric source script's author info
function get_author();

// This function will be called when lyric search starts
// Parameters:
// info: ITrackInfo object,
// callback: IESLyricCallback object
function start_search(info, callback);

// tf: ITitleFormat object
// Will be called when search filtering function enabled
// Return:
// false - filtering disabled,
// true - will not search/load nowplaying track's lyric
function is_item_filtered(tf);

// tf: ITitleFormat object
// will return keywords that used in lyric search
function get_title(tf);
function get_artist(tf);

// Interfaces
//
// Global object:
//   fb - IFbUtils
//   utils - IESUtils

interface ITrackInfo {
Properties:
// track title
(readonly) String Title;
(readonly) String Artist;
(readonly) String Album;
// track path(e.g "file://c:\\____.mp3")
(readonly) String RawPath;
(readonly) UINT SubSong;
(readonly) double Length;
};

interface ILyricInfo {
Properties:
// Lyric title
(read, write) String Title;
// Lyric artist
//
// Attention: Title and artist is required or may be filtered by ESLyric
(read, write) String Artist;
// Optional
(read, write) String Album;
// Lyric text
(read, write) String LyricText;
// lyric data
(read, write) String LyricData;
// Lyric filetype, default is "lrc"
(read, write) String FileType;
// optional, lyric's link
(read, write) String Location;
// usually lyric source name
(read, write) String Source;
Method:
// Distroy/Release ILyricInfo object
void Dispose();
};

interface IESLyricCallback {
Method:
// Create a new ILyricInfo object
    ILyricInfo CreateLyric();
// Add a lyric object
void AddLyric(ILyricInfo lyric);
};

interface IHttpRequest {
Method:
//e.g. "name: value"
void AddHeader(head_line);
// Only available in "POST" type
// Add POST data
void AddPostData(name,value);
// Return empty text("") if failed
String Run(url);
};

interface IESUtils {
Method:
String ReadTextFile(filename, codepage = 0);
//
String LCMapString(src,lcid,flag);
// type:
// "GET",
// "POST"
IHttpRequest CreateHttpRequest(type);
String ZCompress(data);
String ZUnCompress(data);
String ANSIToUnicode(data);
String ANSIToUTF8(data);
String UTF8ToUnicode(data);
String UTF8ToANSI(data);
String UnicodeToUTF8(data);
String UnicodeToANSI(data);
};

interface IFbUtils {
Properties:
(readonly) String ComponentPath;
(readonly) String FoobarPath;
(readonly) String ProfilePath;
Method:
// output message in foobar2000's Console
void trace(...);
IFbProfiler CreateProfiler(name="");
};

interface IFbProfiler {
Properties:
// ms
    (readonly) int Time;
   
Method:
    void Reset();


I tried to translate it's document days before.
A rose will bloom, it then will fade.

  • elia_is_me
  • [*][*]
Re: Any volunteers translate foo_uie_esyric to English ?
Reply #3
I found that someone had translate ESLyric to Russian, link here.
A rose will bloom, it then will fade.

  • nikolai4ik
  • [*][*][*]
Re: Any volunteers translate foo_uie_esyric to English ?
Reply #4
I made a rough translation in a picture if anyone needs it - http://i.imgur.com/xGi47ZF.jpg

  • zeremy
  • [*][*][*][*]
Re: Any volunteers translate foo_uie_esyric to English ?
Reply #5
Sharing my attempt to translate to english.
Only the Preferences Dialogs are translated to english with google translate.

  • Last Edit: 18 February, 2016, 01:46:20 PM by zeremy

  • elia_is_me
  • [*][*]
Re: Any volunteers translate foo_uie_esyric to English ?
Reply #6


A rose will bloom, it then will fade.

  • Havokdan
  • [*]
Re: Any volunteers translate foo_uie_esyric to English ?
Reply #7
Sharing my attempt to translate to english.
Only the Preferences Dialogs are translated to english with google translate.


Me too, for portuguese from Brazil.

Re: Any volunteers translate foo_uie_esyric to English ?
Reply #8
Sharing my attempt to translate to english.
Only the Preferences Dialogs are translated to english with google translate.


Me too, for portuguese from Brazil.


Obrigado!!!!!!!!! u got more "fonts" script?

  • PengQ
  • [*]
Re: Any volunteers translate foo_uie_esyric to English ?
Reply #9
that`s so cool .....love chinese

  • Havokdan
  • [*]
Re: Any volunteers translate foo_uie_esyric to English ?
Reply #10
Sharing my attempt to translate to english.
Only the Preferences Dialogs are translated to english with google translate.


Me too, for portuguese from Brazil.


Obrigado!!!!!!!!! u got more "fonts" script?

No. Eu vou refazer a tradução, usando como base a versão em inglês.

  • Havokdan
  • [*]
Re: Any volunteers translate foo_uie_esyric to English ?
Reply #11
I'm sorry, I just answered in Portuguese last post. Here is the latest version, but this time translated from the English version:


  • elia_is_me
  • [*][*]
Re: Any volunteers translate foo_uie_esyric to English ?
Reply #12
I'm sorry, I just answered in Portuguese last post. Here is the latest version, but this time translated from the English version:



Thank you for your works.
A rose will bloom, it then will fade.

  • Havokdan
  • [*]
Re: Any volunteers translate foo_uie_esyric to English ?
Reply #13
Update for version ESLyric v0.3.5 beta2

Portuguese from Brazil

Re: Any volunteers translate foo_uie_esyric to English ?
Reply #14
Hello,
where do you translate? I openened all files (I think) and did not find