Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
xavihernandez committed Jun 20, 2015
2 parents e929f4a + 46ef3c4 commit af25cc6
Show file tree
Hide file tree
Showing 24 changed files with 486 additions and 479 deletions.
622 changes: 312 additions & 310 deletions Ninja/.idea/workspace.xml

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions Ninja/assets/ninja_introduction_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ <h3>Custom home:</h3>

<h2>Switch tabs:</h2>

<ul><li><p>You can set tab switcher position to be at the <strong>screen top or screen bottom</strong> at <code>Settings/Browser/Tab position</code>.</p></li><li><p>Press the <strong>address bar</strong> and <strong>drag it down or up</strong>, then the fashion tab switcher will display.</p></li><li><p><strong>Swipe up/down</strong> to dimiss a page.</p></li><li><p>Or just <strong>swipe the omnibox left/right</strong> to swicth tabs :)</p></li></ul>
<ul><li><p>You can set tab switcher position to be at the <strong>screen top or screen bottom</strong> at <code>Settings/Browser/Omnibox Position</code>.</p></li><li><p>Press the <strong>address bar</strong> and <strong>drag it down or up</strong>, then the fashion tab switcher will display.</p></li><li><p><strong>Swipe up/down</strong> to dimiss a page.</p></li><li><p>Or just <strong>swipe the omnibox left/right</strong> to swicth tabs :)</p></li></ul>

<p>The <strong>Settings</strong> is located in the top or bottom left of tab switcher, the <strong>gear</strong> icon.</p>

<p><strong>Remember</strong> that if the soft keyboard is shown the tab switcher would not display, it&#39;s our design :)</p>

Expand Down Expand Up @@ -66,6 +68,6 @@ <h2>Screenshot:</h2>

<hr/>

<p><em>2015.06.17 Matthew Lee</em></p>
<p><em>2015.06.19 Matthew Lee</em></p>

</div>
6 changes: 4 additions & 2 deletions Ninja/assets/ninja_introduction_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@ Basically Ninja is a simple web browser like any other, but there are some diffe

## Switch tabs:

- You can set tab switcher position to be at the __screen top or screen bottom__ at `Settings/Browser/Tab position`.
- You can set tab switcher position to be at the __screen top or screen bottom__ at `Settings/Browser/Omnibox Position`.

- Press the __address bar__ and __drag it down or up__, then the fashion tab switcher will display.

- __Swipe up/down__ to dimiss a page.

- Or just __swipe the omnibox left/right__ to swicth tabs :)

The __Settings__ is located in the top or bottom left of tab switcher, the __gear__ icon.

__Remember__ that if the soft keyboard is shown the tab switcher would not display, it's our design :)

## Load in background when you click links in other App:
Expand Down Expand Up @@ -63,4 +65,4 @@ But that does not mean you could screenshot a very long webpage which may cause

---

_2015.06.17 Matthew Lee_
_2015.06.19 Matthew Lee_
66 changes: 0 additions & 66 deletions Ninja/assets/ninja_introduction_fr.md

This file was deleted.

6 changes: 4 additions & 2 deletions Ninja/assets/ninja_introduction_zh.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ <h2>自定义主页:</h2>

<h2>切换标签页:</h2>

<ul><li><p>你可以在<code>设置/浏览/标签栏位置</code>中设置标签栏显示在<strong>屏幕顶部</strong><strong>屏幕底部</strong></p></li><li><p>按住地址栏<strong>向下拖拽</strong><strong>向上拖拽</strong>即可显示标签页切换器。</p></li><li><p><strong>上下滑动</strong>标签关闭网页。</p></li><li><p>你也可以<strong>左右滑动地址栏</strong>来切换标签页。</p></li></ul>
<ul><li><p>你可以在<code>设置/浏览/地址栏位置</code>中设置地址栏显示在<strong>屏幕顶部</strong><strong>屏幕底部</strong></p></li><li><p>按住地址栏<strong>向下拖拽</strong><strong>向上拖拽</strong>即可显示标签页切换器。</p></li><li><p><strong>上下滑动</strong>标签关闭网页。</p></li><li><p>你也可以<strong>左右滑动地址栏</strong>来切换标签页。</p></li></ul>

<p>地址栏顶部或底部左侧的<strong>齿轮</strong>图标即为<strong>设置</strong>选项。</p>

<p><strong>注意</strong>,当软键盘处于展开状态时,标签页切换器将不会工作以防止误操作。</p>

Expand Down Expand Up @@ -68,6 +70,6 @@ <h2>网页截图:</h2>

<hr/>

<p><em>2015.06.17 Matthew Lee</em></p>
<p><em>2015.06.19 Matthew Lee</em></p>

</div>
6 changes: 4 additions & 2 deletions Ninja/assets/ninja_introduction_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ Ninja在操作上与其他浏览器并没有明显的区别,但是仍然有以

## 切换标签页:

- 你可以在`设置/浏览/标签栏位置`中设置标签栏显示在__屏幕顶部____屏幕底部__
- 你可以在`设置/浏览/地址栏位置`中设置地址栏显示在__屏幕顶部____屏幕底部__

- 按住地址栏__向下拖拽____向上拖拽__即可显示标签页切换器。

- __上下滑动__标签关闭网页。

- 你也可以__左右滑动地址栏__来切换标签页。

地址栏顶部或底部左侧的__齿轮__图标即为__设置__选项。

__注意__,当软键盘处于展开状态时,标签页切换器将不会工作以防止误操作。

## 在其他App中点击链接实现后台加载:
Expand Down Expand Up @@ -63,4 +65,4 @@ Ninja提供了网页截图功能,可以截取整张网页。

---

_2015.06.17 Matthew Lee_
_2015.06.19 Matthew Lee_
Binary file modified Ninja/res/drawable-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Ninja/res/drawable-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions Ninja/res/layout/main_bottom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@
android:selectAllOnFocus="true"
android:completionThreshold="1"
android:singleLine="true"
android:imeOptions="actionDone"
android:inputType="textNoSuggestions"
android:imeOptions="actionGo"
android:inputType="textNoSuggestions|textWebEditText"
android:background="@color/white">
</AutoCompleteTextView>

Expand Down
4 changes: 2 additions & 2 deletions Ninja/res/layout/main_top.xml
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@
android:selectAllOnFocus="true"
android:completionThreshold="1"
android:singleLine="true"
android:imeOptions="actionDone"
android:inputType="textNoSuggestions"
android:imeOptions="actionGo"
android:inputType="textNoSuggestions|textWebEditText"
android:background="@color/white">
</AutoCompleteTextView>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
<!-- Main -->
<string-array name="main_overflow">
<item>Haut de page</item>
<item>Ajouter à l''accueil</item>
<item>Ajouter à l\'\'accueil</item>
<item>Trouver dans la page</item>
<item>Capture d''écran</item>
<item>Capture d\'\'écran</item>
<item>Lisibilité</item>
<item>Partager</item>
<item>Réarranger</item>
Expand Down Expand Up @@ -60,8 +60,8 @@

<!-- Tab switcher -->
<string-array name="setting_entries_tab_position">
<item>@string/setting_summary_tab_position_top</item>
<item>@string/setting_summary_tab_position_bottom</item>
<item>@string/setting_summary_omnibox_position_top</item>
<item>@string/setting_summary_omnibox_position_bottom</item>
</string-array>
<string-array name="setting_values_tab_position">
<item>0</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
Personnalisé
</string>
<string name="dialog_title_download">
Voulez-vous télécharger le fichier ?
Voulez-vous télécharger le fichier?
</string>
<string name="dialog_title_resubmission">
Renvoyer
Expand All @@ -88,16 +88,16 @@
Se connecter
</string>
<string name="dialog_content_resubmission">
Voulez-vous renvoyez les données ?
Voulez-vous renvoyez les données?
</string>
<string name="dialog_content_ssl_error">
Le certificat de ce site n\'est pas de confiance. Continuer quand même ?
Le certificat de ce site n\'est pas de confiance. Continuer quand même?
</string>
<string name="dialog_content_donation">
Les dons vont être utilisés pour&#160;:\n
Les dons vont être utilisés pour:\n
- Améliorer l\'environnement de développement.\n
- Améliorer l\'enthousiasme du développeur.\n\n
Tous les dons&#160;:\n
Tous les dons:\n
- Ne seront pas des rémunérations, personne ne peut donc forcer le développeur.\n
- Seront acquis par le développeur.\n
- Témoignent que le donateur accepte tous les points précédents.\n\n
Expand Down Expand Up @@ -200,16 +200,23 @@
<string name="setting_summary_notification_priority_low">
Basse
</string>
<!-- Tab switcher -->
<string name="setting_title_tab_position">
Position des onglets
<!-- Omnibox position -->
<string name="setting_title_omnibox_position">
Position omnibox
</string>
<string name="setting_summary_tab_position_top">
<string name="setting_summary_omnibox_position_top">
En haut
</string>
<string name="setting_summary_tab_position_bottom">
<string name="setting_summary_omnibox_position_bottom">
En bas
</string>
<!-- Omnibox control -->
<string name="setting_title_omnibox_control">
Contrôle omnibox
</string>
<string name="setting_summary_omnibox_control">
Swipe omnibox gauche/droite pour passer d\'un onglet
</string>
<!-- Volume key scroll -->
<string name="setting_title_volume_control">
Contrôle des boutons de volume
Expand All @@ -223,20 +230,20 @@
<string name="setting_summary_vc_system_default">
Par défaut
</string>
<!-- Cookies -->
<string name="setting_title_cookie">
Cookies
</string>
<string name="setting_summary_cookie">
Activer les cookies
</string>
<!-- Images -->
<string name="setting_title_images">
Images
</string>
<string name="setting_summary_images">
Activer les images
</string>
<!-- Cookies -->
<string name="setting_title_cookie">
Cookies
</string>
<string name="setting_summary_cookie">
Activer les cookies
</string>
<!-- JavaScript -->
<string name="setting_title_javascript">
JavaScript
Expand Down Expand Up @@ -267,7 +274,7 @@
</string>
<!-- User Agent -->
<string name="setting_title_user_agent">
Agent utilisateur (User-Agent)
Agent utilisateur(User-Agent)
</string>
<string name="setting_summary_user_agent_default">
Par défaut
Expand Down Expand Up @@ -417,26 +424,29 @@
<string name="toast_double_taps_quit">
Appuyez encore pour quitter
</string>
<string name="toast_emoji">
(๑•̀ㅂ•́)و✧
</string>
<string name="toast_export_bookmarks_successful">
Fichier de favoris exporté vers&#160;:&#160;
Fichier de favoris exporté vers:&#160;
</string>
<string name="toast_export_bookmarks_failed">
Les favoris n\'ont pas été exportés
</string>
<string name="toast_export_whitelist_successful">
Fichier de liste blanche exporté vers&#160;:&#160;
Fichier de liste blanche exporté vers:&#160;
</string>
<string name="toast_export_whitelist_failed">
La liste blanche n\'a pas été exportée
</string>
<string name="toast_import_bookmarks_successful">
Nombre de favoris importés&#160;:&#160;
Nombre de favoris importés:&#160;
</string>
<string name="toast_import_bookmarks_failed">
Les favoris n\'ont pas été importés"
</string>
<string name="toast_import_whitelist_successful">
Nombre de domaines importés&#160;:&#160;
Nombre de domaines importés:&#160;
</string>
<string name="toast_import_whitelist_failed">
La liste blanche n\'a pas été importée
Expand Down Expand Up @@ -469,7 +479,7 @@
Réarrangé
</string>
<string name="toast_screenshot_successful">
Capture d\'écran sauvegardée vers&#160;:&#160;
Capture d\'écran sauvegardée vers:&#160;
</string>
<string name="toast_screenshot_failed">
Capture d\'écran impossible
Expand Down
4 changes: 2 additions & 2 deletions Ninja/res/values-zh-rCN/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@

<!-- Tab switcher -->
<string-array name="setting_entries_tab_position">
<item>@string/setting_summary_tab_position_top</item>
<item>@string/setting_summary_tab_position_bottom</item>
<item>@string/setting_summary_omnibox_position_top</item>
<item>@string/setting_summary_omnibox_position_bottom</item>
</string-array>
<string-array name="setting_values_tab_position">
<item>0</item>
Expand Down
Loading

0 comments on commit af25cc6

Please sign in to comment.