FoxToPhone 1.1.3. Corrected Chinese locale an avoid a validation warning.

This commit is contained in:
amla70
2011-06-25 09:12:08 +00:00
parent bd3964972b
commit 95ed1dc3d2
5 changed files with 48 additions and 47 deletions

View File

@@ -125,16 +125,16 @@ var sendtophone = {
{
var imgData = this.detectQR( images[i].src );
if (imgData)
QRs.push({data: imgData, img: images[i]});
QRs.push({imgData: imgData, img: images[i]});
}
if (QRs.length==1)
{
var data = QRs[0].data;
var data = QRs[0].imgData;
if (pref == 0)
{
var question = this.getString("ConfirmQR").replace("%s", data.substring(0, 80)) ;
var answer = this.confirm( question );
var question = this.getString("ConfirmQR").replace("%s", data.substring(0, 80)),
answer = this.confirm( question );
pref = (answer.confirm ? 1 : 2 );
if (answer.remember)
this.prefs.setIntPref("SearchQR", pref);
@@ -276,9 +276,9 @@ var sendtophone = {
// Get the data
clip.getData(trans, clip.kGlobalClipboard);
var str = new Object();
var strLength = new Object();
var pastetext;
var str = new Object(),
strLength = new Object(),
pastetext;
trans.getTransferData("text/unicode", str, strLength);

View File

@@ -1,24 +1,24 @@
<!ENTITY sendtophoneToolbarButton.label "Fox To Phone<EFBFBD><EFBFBD><EFBFBD><EFBFBD>">
<!ENTITY sendtophoneToolbarButton.tooltip "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>İ<EFBFBD>׿<EFBFBD>ֻ<EFBFBD>">
<!ENTITY sendtophoneContext.label "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>İ<EFBFBD>׿<EFBFBD>ֻ<EFBFBD>">
<!ENTITY sendtophoneToolbarButton.label "Fox To Phone程序">
<!ENTITY sendtophoneToolbarButton.tooltip "发送这个页面到你的安卓手机">
<!ENTITY sendtophoneContext.label "发送这个链接到你的安卓手机">
<!ENTITY sendtophoneContext.accesskey "A">
<!ENTITY sendtophoneContextImage.label "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼƬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>İ<EFBFBD>׿<EFBFBD>ֻ<EFBFBD>">
<!ENTITY sendtophoneContextImage.label "发送这张图片到你的安卓手机">
<!ENTITY sendtophoneContextImage.accesskey "A">
<!ENTITY sendtophoneContextText.label "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>İ<EFBFBD>׿<EFBFBD>ֻ<EFBFBD>">
<!ENTITY sendtophoneContextText.label "发送这个文本到你的安卓手机">
<!ENTITY sendtophoneContextText.accesskey "A">
<!ENTITY sendtophoneContextPage.label "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>İ<EFBFBD>׿<EFBFBD>ֻ<EFBFBD>">
<!ENTITY sendtophoneContextPage.label "发送这个页面到你的安卓手机">
<!ENTITY sendtophoneContextPage.accesskey "A">
<!ENTITY sendtophoneContextLogout.label "<EFBFBD>˳<EFBFBD><EFBFBD><EFBFBD>¼">
<!ENTITY sendtophoneContextLogout.label "退出登录">
<!ENTITY sendtophoneContextLogout.accesskey "L">
<!ENTITY sendtophoneOptions.title "Fox To Phone <EFBFBD><EFBFBD><EFBFBD><EFBFBD>">
<!ENTITY sendtophoneProtocols.label "Э<EFBFBD><EFBFBD>">
<!ENTITY sendtophoneContextSendFile.label "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>...">
<!ENTITY sendtophoneOptions.title "Fox To Phone 设置">
<!ENTITY sendtophoneProtocols.label "协议">
<!ENTITY sendtophoneContextSendFile.label "发送文件...">
<!ENTITY sendtophoneContextSendFile.accesskey "S">
<!ENTITY sendtophoneContextSendFolder.label "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>...">
<!ENTITY sendtophoneContextSendFolder.label "发送文件夹...">
<!ENTITY sendtophoneContextSendFolder.accesskey "F">
<!ENTITY sendtophoneContextQrImage.label "<EFBFBD>ѽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>QR<EFBFBD><EFBFBD><EFBFBD>ӷ<EFBFBD><EFBFBD>͵<EFBFBD><EFBFBD><EFBFBD>׿<EFBFBD>ֻ<EFBFBD>">
<!ENTITY sendtophoneContextQrImage.label "把解码的QR链接发送到安卓手机">
<!ENTITY sendtophoneContextQrImage.accesskey "Q">
<!ENTITY sendtophoneContextSendClipboard.label "<EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>">
<!ENTITY sendtophoneContextSendClipboard.label "发送剪贴板内容">
<!ENTITY sendtophoneContextSendClipboard.accesskey "C">
<!ENTITY sendtophoneContextVideo.label "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>İ<EFBFBD>׿<EFBFBD>ֻ<EFBFBD>">
<!ENTITY sendtophoneContextVideo.label "发送这个视频到你的安卓手机">
<!ENTITY sendtophoneContextVideo.accesskey "V">

View File

@@ -1,23 +1,23 @@
extensions.sendtophone@martinezdelizarrondo.com.description=发送当前页面到您的Android手机
extensions.sendtophone@martinezdelizarrondo.com.description=Sends the current page to your Android phone
SendToPhoneTitle=Fox To Phone
InvalidScheme=无效的计划,请只发送http://https/ /链接。
InfoSent=该链接已发送到您的手机。
ErrorOnSend=发生一个错误发送:
LoginRequired=登录后才可发送链接。
LoginSuccessful=您已登录
DeviceNotRegistered=您必须安装chrometophone.apk在您的手机从而注册此Gmail帐户
LogoutSuccessful=您已经登出
marketLink=市场链接
smsLink=SMS号码
smstoLink=SMS号码
telLink=电话号码
InvalidFile=不是一个有效的文件
SendFileToPhone=发送文件到您的手机。
SendFolderToPhone=发送到您的手机文件夹。
qrTitle=QR图像链接
ConfirmQR=一个QR图像被检测到了\n"%s"\n发送QR图像代替此页
RememberMyDecision=记住我的决定
qrContextMenu=发送“s”给Android
FileUploadsDisabled=不能上传文件到手机上。
FileTooBig=该文件太大了。
videoTitle=视频链接
InvalidScheme=Invalid scheme, please only send http:// or https:// links.
InfoSent=The link has been sent to your phone.
ErrorOnSend=There was an error sending:
LoginRequired=Login required to send the link.
LoginSuccessful=You have logged in.
DeviceNotRegistered=You must install the chrometophone.apk on your phone registered to this GMail account
LogoutSuccessful=You are logged out
marketLink=Market Link
smsLink=SMS Number
smstoLink=SMS Number
telLink=Telephone Number
InvalidFile=Not a valid file
SendFileToPhone=Send files to your phone.
SendFolderToPhone=Send a folder to your phone.
qrTitle=QR Image Link
ConfirmQR=A QR image has been detected\n"%s"\nDo you want to send that instead of the page?
RememberMyDecision=Remember my decision
qrContextMenu=Send "%s" to Android
FileUploadsDisabled=It's not possible to upload files to the phone.
FileTooBig=The file is too big.
videoTitle=Video Link

View File

@@ -1 +1 @@
<!ENTITY compressing.label "ѹ<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>">
<!ENTITY compressing.label "压缩文件夹">

View File

@@ -4,7 +4,7 @@
<em:id>sendtophone@martinezdelizarrondo.com</em:id>
<em:type>2</em:type>
<em:name>Fox To Phone</em:name>
<em:version>1.1.2beta4</em:version>
<em:version>1.1.3</em:version>
<em:creator>Alfonso &amp; Patrick</em:creator>
<em:description>Send links to your Android 2.2 phone using the new C2DM service. Based on the ChromeToPhone extension.</em:description>
@@ -22,12 +22,13 @@
<em:contributor>Marcelo Ghelman (ghelman.net) (Portuguese (Brazilian))</em:contributor>
<em:contributor>LA (Russian)</em:contributor>
<em:contributor>yongdong7 (Chinese simplified)</em:contributor>
<em:contributor>Xutao (Chinese simplified)</em:contributor>
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> <!-- Firefox -->
<em:minVersion>3.5</em:minVersion>
<em:maxVersion>6.0a1</em:maxVersion>
<em:maxVersion>6.*</em:maxVersion>
</Description>
</em:targetApplication>
</Description>