mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-22 09:41:51 +00:00
FoxToPhone 1.1.3. Corrected Chinese locale an avoid a validation warning.
This commit is contained in:
@@ -125,16 +125,16 @@ var sendtophone = {
|
|||||||
{
|
{
|
||||||
var imgData = this.detectQR( images[i].src );
|
var imgData = this.detectQR( images[i].src );
|
||||||
if (imgData)
|
if (imgData)
|
||||||
QRs.push({data: imgData, img: images[i]});
|
QRs.push({imgData: imgData, img: images[i]});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (QRs.length==1)
|
if (QRs.length==1)
|
||||||
{
|
{
|
||||||
var data = QRs[0].data;
|
var data = QRs[0].imgData;
|
||||||
if (pref == 0)
|
if (pref == 0)
|
||||||
{
|
{
|
||||||
var question = this.getString("ConfirmQR").replace("%s", data.substring(0, 80)) ;
|
var question = this.getString("ConfirmQR").replace("%s", data.substring(0, 80)),
|
||||||
var answer = this.confirm( question );
|
answer = this.confirm( question );
|
||||||
pref = (answer.confirm ? 1 : 2 );
|
pref = (answer.confirm ? 1 : 2 );
|
||||||
if (answer.remember)
|
if (answer.remember)
|
||||||
this.prefs.setIntPref("SearchQR", pref);
|
this.prefs.setIntPref("SearchQR", pref);
|
||||||
@@ -226,7 +226,7 @@ var sendtophone = {
|
|||||||
|
|
||||||
isMapsURL: function(url)
|
isMapsURL: function(url)
|
||||||
{
|
{
|
||||||
return url.match("http://maps\\.google\\.[a-z]{2,3}(\\.[a-z]{2})?[/?].*") || url.match("http://www\\.google\\.[a-z]{2,3}(\\.[a-z]{2})?/maps.*");
|
return url.match("http://maps\\.google\\.[a-z]{2,3}(\\.[a-z]{2})?[/?].*") || url.match("http://www\\.google\\.[a-z]{2,3}(\\.[a-z]{2})?/maps.*");
|
||||||
},
|
},
|
||||||
|
|
||||||
validURI: function(uri)
|
validURI: function(uri)
|
||||||
@@ -276,9 +276,9 @@ var sendtophone = {
|
|||||||
// Get the data
|
// Get the data
|
||||||
clip.getData(trans, clip.kGlobalClipboard);
|
clip.getData(trans, clip.kGlobalClipboard);
|
||||||
|
|
||||||
var str = new Object();
|
var str = new Object(),
|
||||||
var strLength = new Object();
|
strLength = new Object(),
|
||||||
var pastetext;
|
pastetext;
|
||||||
|
|
||||||
trans.getTransferData("text/unicode", str, strLength);
|
trans.getTransferData("text/unicode", str, strLength);
|
||||||
|
|
||||||
|
|||||||
@@ -1,24 +1,24 @@
|
|||||||
<!ENTITY sendtophoneToolbarButton.label "Fox To Phone<EFBFBD><EFBFBD><EFBFBD><EFBFBD>">
|
<!ENTITY sendtophoneToolbarButton.label "Fox To Phone程序">
|
||||||
<!ENTITY sendtophoneToolbarButton.tooltip "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ<EFBFBD>浽<EFBFBD><EFBFBD><EFBFBD>İ<EFBFBD><EFBFBD>ֻ<EFBFBD>">
|
<!ENTITY sendtophoneToolbarButton.tooltip "发送这个页面到你的安卓手机">
|
||||||
<!ENTITY sendtophoneContext.label "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>İ<EFBFBD><EFBFBD>ֻ<EFBFBD>">
|
<!ENTITY sendtophoneContext.label "发送这个链接到你的安卓手机">
|
||||||
<!ENTITY sendtophoneContext.accesskey "A">
|
<!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 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 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 sendtophoneContextPage.accesskey "A">
|
||||||
<!ENTITY sendtophoneContextLogout.label "<EFBFBD>˳<EFBFBD><EFBFBD><EFBFBD>¼">
|
<!ENTITY sendtophoneContextLogout.label "退出登录">
|
||||||
<!ENTITY sendtophoneContextLogout.accesskey "L">
|
<!ENTITY sendtophoneContextLogout.accesskey "L">
|
||||||
<!ENTITY sendtophoneOptions.title "Fox To Phone <EFBFBD><EFBFBD><EFBFBD><EFBFBD>">
|
<!ENTITY sendtophoneOptions.title "Fox To Phone 设置">
|
||||||
<!ENTITY sendtophoneProtocols.label "Э<EFBFBD><EFBFBD>">
|
<!ENTITY sendtophoneProtocols.label "协议">
|
||||||
<!ENTITY sendtophoneContextSendFile.label "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>...">
|
<!ENTITY sendtophoneContextSendFile.label "发送文件...">
|
||||||
<!ENTITY sendtophoneContextSendFile.accesskey "S">
|
<!ENTITY sendtophoneContextSendFile.accesskey "S">
|
||||||
<!ENTITY sendtophoneContextSendFolder.label "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>...">
|
<!ENTITY sendtophoneContextSendFolder.label "发送文件夹...">
|
||||||
<!ENTITY sendtophoneContextSendFolder.accesskey "F">
|
<!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 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 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">
|
<!ENTITY sendtophoneContextVideo.accesskey "V">
|
||||||
|
|||||||
@@ -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
|
SendToPhoneTitle=Fox To Phone
|
||||||
InvalidScheme=无效的计划,请只发送http://或https:/ /链接。
|
InvalidScheme=Invalid scheme, please only send http:// or https:// links.
|
||||||
InfoSent=该链接已发送到您的手机。
|
InfoSent=The link has been sent to your phone.
|
||||||
ErrorOnSend=发生一个错误发送:
|
ErrorOnSend=There was an error sending:
|
||||||
LoginRequired=登录后才可发送链接。
|
LoginRequired=Login required to send the link.
|
||||||
LoginSuccessful=您已登录
|
LoginSuccessful=You have logged in.
|
||||||
DeviceNotRegistered=您必须安装chrometophone.apk在您的手机从而注册此Gmail帐户
|
DeviceNotRegistered=You must install the chrometophone.apk on your phone registered to this GMail account
|
||||||
LogoutSuccessful=您已经登出
|
LogoutSuccessful=You are logged out
|
||||||
marketLink=市场链接
|
marketLink=Market Link
|
||||||
smsLink=SMS号码
|
smsLink=SMS Number
|
||||||
smstoLink=SMS号码
|
smstoLink=SMS Number
|
||||||
telLink=电话号码
|
telLink=Telephone Number
|
||||||
InvalidFile=不是一个有效的文件
|
InvalidFile=Not a valid file
|
||||||
SendFileToPhone=发送文件到您的手机。
|
SendFileToPhone=Send files to your phone.
|
||||||
SendFolderToPhone=发送到您的手机文件夹。
|
SendFolderToPhone=Send a folder to your phone.
|
||||||
qrTitle=QR图像链接
|
qrTitle=QR Image Link
|
||||||
ConfirmQR=一个QR图像被检测到了\n"%s"\n发送QR图像代替此页?
|
ConfirmQR=A QR image has been detected\n"%s"\nDo you want to send that instead of the page?
|
||||||
RememberMyDecision=记住我的决定
|
RememberMyDecision=Remember my decision
|
||||||
qrContextMenu=发送“%s”给Android
|
qrContextMenu=Send "%s" to Android
|
||||||
FileUploadsDisabled=不能上传文件到手机上。
|
FileUploadsDisabled=It's not possible to upload files to the phone.
|
||||||
FileTooBig=该文件太大了。
|
FileTooBig=The file is too big.
|
||||||
videoTitle=视频链接
|
videoTitle=Video Link
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<!ENTITY compressing.label "ѹ<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>">
|
<!ENTITY compressing.label "压缩文件夹">
|
||||||
|
|||||||
5
third_party/firefox_sendtophone/install.rdf
vendored
5
third_party/firefox_sendtophone/install.rdf
vendored
@@ -4,7 +4,7 @@
|
|||||||
<em:id>sendtophone@martinezdelizarrondo.com</em:id>
|
<em:id>sendtophone@martinezdelizarrondo.com</em:id>
|
||||||
<em:type>2</em:type>
|
<em:type>2</em:type>
|
||||||
<em:name>Fox To Phone</em:name>
|
<em:name>Fox To Phone</em:name>
|
||||||
<em:version>1.1.2beta4</em:version>
|
<em:version>1.1.3</em:version>
|
||||||
<em:creator>Alfonso & Patrick</em:creator>
|
<em:creator>Alfonso & 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>
|
<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>Marcelo Ghelman (ghelman.net) (Portuguese (Brazilian))</em:contributor>
|
||||||
<em:contributor>LA (Russian)</em:contributor>
|
<em:contributor>LA (Russian)</em:contributor>
|
||||||
<em:contributor>yongdong7 (Chinese simplified)</em:contributor>
|
<em:contributor>yongdong7 (Chinese simplified)</em:contributor>
|
||||||
|
<em:contributor>Xutao (Chinese simplified)</em:contributor>
|
||||||
|
|
||||||
<em:targetApplication>
|
<em:targetApplication>
|
||||||
<Description>
|
<Description>
|
||||||
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> <!-- Firefox -->
|
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> <!-- Firefox -->
|
||||||
<em:minVersion>3.5</em:minVersion>
|
<em:minVersion>3.5</em:minVersion>
|
||||||
<em:maxVersion>6.0a1</em:maxVersion>
|
<em:maxVersion>6.*</em:maxVersion>
|
||||||
</Description>
|
</Description>
|
||||||
</em:targetApplication>
|
</em:targetApplication>
|
||||||
</Description>
|
</Description>
|
||||||
|
|||||||
Reference in New Issue
Block a user