-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'move-back-from-gitlab' into HEAD
- Loading branch information
Showing
366 changed files
with
10,524 additions
and
4,142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.11 KB
...reenTranslator/HowToUse/SmartSelect_20180527-231334_Samsung Experience Home.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.05 KB
...reenTranslator/HowToUse/SmartSelect_20180527-231405_Samsung Experience Home.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.5 KB
...reenTranslator/HowToUse/SmartSelect_20180527-231738_Samsung Experience Home.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34.1 KB
...reenTranslator/HowToUse/SmartSelect_20180527-232413_Samsung Experience Home.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Binary file added
BIN
+1.44 MB
OnScreenTranslator/HowToUseV3/guide_n_move_main_bar_and_open_menu.gif
Oops, something went wrong.
Binary file added
BIN
+1.55 MB
OnScreenTranslator/HowToUseV3/guide_n_move_main_bar_and_open_menu.mp4
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://www.photopea.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
var arr = [{id:'af', name:'Afrikaans'}, | ||
{id:'am', name:'Amharic'}, | ||
{id:'ar', name:'Arabic'}, | ||
{id:'az', name:'Azerbaijani'}, | ||
{id:'ba', name:'Bashkir'}, | ||
{id:'be', name:'Belarusian'}, | ||
{id:'bg', name:'Bulgarian'}, | ||
{id:'bn', name:'Bengali'}, | ||
{id:'bs', name:'Bosnian'}, | ||
{id:'ca', name:'Catalan'}, | ||
{id:'ceb', name:'Cebuano'}, | ||
{id:'cs', name:'Czech'}, | ||
{id:'cy', name:'Welsh'}, | ||
{id:'da', name:'Danish'}, | ||
{id:'de', name:'German'}, | ||
{id:'el', name:'Greek'}, | ||
{id:'en', name:'English'}, | ||
{id:'eo', name:'Esperanto'}, | ||
{id:'es', name:'Spanish'}, | ||
{id:'et', name:'Estonian'}, | ||
{id:'eu', name:'Basque'}, | ||
{id:'fa', name:'Persian'}, | ||
{id:'fi', name:'Finnish'}, | ||
{id:'fr', name:'French'}, | ||
{id:'ga', name:'Irish'}, | ||
{id:'gd', name:'Scottish Gaelic'}, | ||
{id:'gl', name:'Galician'}, | ||
{id:'gu', name:'Gujarati'}, | ||
{id:'he', name:'Hebrew'}, | ||
{id:'hi', name:'Hindi'}, | ||
{id:'hr', name:'Croatian'}, | ||
{id:'ht', name:'Haitian'}, | ||
{id:'hu', name:'Hungarian'}, | ||
{id:'hy', name:'Armenian'}, | ||
{id:'id', name:'Indonesian'}, | ||
{id:'is', name:'Icelandic'}, | ||
{id:'it', name:'Italian'}, | ||
{id:'ja', name:'Japanese'}, | ||
{id:'jv', name:'Javanese'}, | ||
{id:'ka', name:'Georgian'}, | ||
{id:'kk', name:'Kazakh'}, | ||
{id:'km', name:'Khmer'}, | ||
{id:'kn', name:'Kannada'}, | ||
{id:'ko', name:'Korean'}, | ||
{id:'ky', name:'Kyrgyz'}, | ||
{id:'la', name:'Latin'}, | ||
{id:'lb', name:'Luxembourgish'}, | ||
{id:'lo', name:'Lao'}, | ||
{id:'lt', name:'Lithuanian'}, | ||
{id:'lv', name:'Latvian'}, | ||
{id:'mg', name:'Malagasy'}, | ||
{id:'mhr', name:'Mari'}, | ||
{id:'mi', name:'Maori'}, | ||
{id:'mk', name:'Macedonian'}, | ||
{id:'ml', name:'Malayalam'}, | ||
{id:'mn', name:'Mongolian'}, | ||
{id:'mr', name:'Marathi'}, | ||
{id:'mrj', name:'Hill Mari'}, | ||
{id:'ms', name:'Malay'}, | ||
{id:'mt', name:'Maltese'}, | ||
{id:'my', name:'Burmese'}, | ||
{id:'ne', name:'Nepali'}, | ||
{id:'nl', name:'Dutch'}, | ||
{id:'no', name:'Norwegian'}, | ||
{id:'pa', name:'Punjabi'}, | ||
{id:'pap', name:'Papiamento'}, | ||
{id:'pl', name:'Polish'}, | ||
{id:'pt', name:'Portuguese'}, | ||
{id:'ro', name:'Romanian'}, | ||
{id:'ru', name:'Russian'}, | ||
{id:'si', name:'Sinhalese'}, | ||
{id:'sk', name:'Slovak'}, | ||
{id:'sl', name:'Slovenian'}, | ||
{id:'sq', name:'Albanian'}, | ||
{id:'sr', name:'Serbian'}, | ||
{id:'su', name:'Sundanese'}, | ||
{id:'sv', name:'Swedish'}, | ||
{id:'sw', name:'Swahili'}, | ||
{id:'ta', name:'Tamil'}, | ||
{id:'te', name:'Telugu'}, | ||
{id:'tg', name:'Tajik'}, | ||
{id:'th', name:'Thai'}, | ||
{id:'tl', name:'Tagalog'}, | ||
{id:'tr', name:'Turkish'}, | ||
{id:'tt', name:'Tatar'}, | ||
{id:'udm', name:'Udmurt'}, | ||
{id:'uk', name:'Ukrainian'}, | ||
{id:'ur', name:'Urdu'}, | ||
{id:'uz', name:'Uzbek'}, | ||
{id:'vi', name:'Vietnamese'}, | ||
{id:'xh', name:'Xhosa'}, | ||
{id:'yi', name:'Yiddish'}, | ||
{id:'zh', name:'Chinese'}] | ||
|
||
function SortByName(a, b){ | ||
var aName = a.name.toLowerCase(); | ||
var bName = b.name.toLowerCase(); | ||
return ((aName < bName) ? -1 : ((aName > bName) ? 1 : 0)); | ||
} | ||
|
||
arr = arr.sort(SortByName); | ||
|
||
var langCodes = "" | ||
var langNames = "" | ||
$(arr).each(function(i,v){ | ||
var code = v.id | ||
var name = v.name | ||
|
||
langCodes += ("<item>"+code+"</item><!-- "+name+" -->") | ||
/* console.log(langCodes) */ | ||
|
||
langNames += ("<item>"+name+"</item>") | ||
/* console.log(langNames) */ | ||
}) | ||
|
||
console.log(langCodes) | ||
console.log(langNames) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// https://tech.yandex.com/translate/doc/dg/reference/getLangs-docpage/#codes | ||
|
||
code: | ||
|
||
<Item key=" | ||
<item> | ||
|
||
" value=" | ||
</item><!-- | ||
|
||
" /> | ||
--> | ||
|
||
|
||
name: | ||
|
||
<Item key=" | ||
<!-- | ||
|
||
" value=" | ||
--><item> | ||
|
||
" /> | ||
</item> |
Oops, something went wrong.
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
DEVICE="" | ||
|
||
if [ "$1" != "" ] | ||
then | ||
DEVICE="$1" | ||
fi | ||
|
||
echo " #### adb devices #### " | ||
adb devices | ||
|
||
echo " #### push apk #### " | ||
adb $DEVICE push ./app-release.apk /data/local/tmp/tw.firemaples.onscreenocr | ||
|
||
echo " #### install apk #### " | ||
adb $DEVICE shell pm install -r "/data/local/tmp/tw.firemaples.onscreenocr" | ||
|
||
echo " #### launch app #### " | ||
adb $DEVICE shell am start -n "tw.firemaples.onscreenocr/tw.firemaples.onscreenocr.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER |
Binary file not shown.
16 changes: 0 additions & 16 deletions
16
app/src/androidTest/java/tw/firemaples/onscreenocr/ApplicationTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,3 @@ | ||
/* | ||
* Copyright 2016-2017 Louis Chen [[email protected]]. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package tw.firemaples.onscreenocr; | ||
|
||
import android.app.Application; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<configuration> | ||
<!-- Create a logcat appender --> | ||
<appender name="logcat" class="ch.qos.logback.classic.android.LogcatAppender"> | ||
<tagEncoder> | ||
<pattern>%logger{0}</pattern> | ||
</tagEncoder> | ||
<encoder> | ||
<pattern>[%line][%thread] %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<root level="DEBUG"> | ||
<appender-ref ref="logcat" /> | ||
</root> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="app_name">(Dev)随处翻译</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="app_name">(Dev)隨處翻譯</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="app_name">(Dev)EverTranslator</string> | ||
</resources> |
Oops, something went wrong.