tor-commits
Threads by month
- ----- 2026 -----
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- 1 participants
- 216212 discussions
[translation/tbmanual-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot
by translation@torproject.org 01 Feb '21
by translation@torproject.org 01 Feb '21
01 Feb '21
commit 3af9b00d4bfc17bdab944a25ef380c80b0516478
Author: Translation commit bot <translation(a)torproject.org>
Date: Mon Feb 1 08:47:47 2021 +0000
https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot
---
contents+ko.po | 45 +++++++++++++++++++++++++--------------------
1 file changed, 25 insertions(+), 20 deletions(-)
diff --git a/contents+ko.po b/contents+ko.po
index 303aa3b8bf..a628a8af18 100644
--- a/contents+ko.po
+++ b/contents+ko.po
@@ -7,8 +7,8 @@
# Philipp Sauter <qt123(a)pm.me>, 2020
# edfcf61188be1fdc09edea36af6d8e18_dc16ee2, 2020
# 김진서 <7020kjs(a)naver.com>, 2020
-# 장민준 <mizizang(a)gmail.com>, 2020
# 승수 김 <2000sskim(a)gmail.com>, 2020
+# 장민준 <mizizang(a)gmail.com>, 2021
#
msgid ""
msgstr ""
@@ -16,7 +16,7 @@ msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-12 08:00+CET\n"
"PO-Revision-Date: 2018-11-14 12:31+0000\n"
-"Last-Translator: 승수 김 <2000sskim(a)gmail.com>, 2020\n"
+"Last-Translator: 장민준 <mizizang(a)gmail.com>, 2021\n"
"Language-Team: Korean (https://www.transifex.com/otf/teams/1519/ko/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -91,7 +91,7 @@ msgstr "Tor 브라우저를 처음 사용합니다"
#: https//tb-manual.torproject.org/menu/
#: (content/menu/contents+en.lrtopic.body)
msgid "Pluggable transports"
-msgstr ""
+msgstr "플러그형 전송"
#: https//tb-manual.torproject.org/menu/
#: (content/menu/contents+en.lrtopic.body)
@@ -515,7 +515,7 @@ msgstr "처음으로 토르 브라우저를 실행하는 중"
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.description)
msgid "Learn how to use Tor Browser for the first time"
-msgstr ""
+msgstr "Tor 브라우저를 처음 사용하는 방법에 대해 알아보기"
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
@@ -529,12 +529,12 @@ msgstr "처음으로 토르 브라우저를 사용하신다면 토르 네트워
msgid ""
"This offers you the option to connect directly to the Tor network, or to "
"configure Tor Browser for your connection."
-msgstr ""
+msgstr "이렇게 하면 Tor 네트워크에 직접 연결하거나 연결을 위해 Tor 브라우저를 구성할 수 있습니다."
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
msgid "### CONNECT"
-msgstr ""
+msgstr "### 연결"
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
@@ -550,13 +550,13 @@ msgstr "<img class=\"col-md-6\" src=\"../../static/images/connect.png\">"
msgid ""
"In most cases, choosing \"Connect\" will allow you to connect to the Tor "
"network without any further configuration."
-msgstr ""
+msgstr "대부분의 경우 \"연결\"을 선택하면 추가 구성 없이 Tor 네트워크에 연결할 수 있습니다."
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
msgid ""
"Once clicked, a status bar will appear, showing Tor’s connection progress."
-msgstr ""
+msgstr "클릭하면 Tor의 연결 진행률을 표시하는 상태 표시줄이 나타납니다."
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
@@ -565,11 +565,13 @@ msgid ""
"at a certain point, see the [Troubleshooting](../troubleshooting) page for "
"help solving the problem."
msgstr ""
+"연결 속도가 비교적 빠르지만 이 막대가 특정 지점에 고착된 것 같으면 [문제 해결](../troubleshooting) 페이지를 "
+"참조하십시오."
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
msgid "### CONFIGURE"
-msgstr ""
+msgstr "### 환경설정"
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
@@ -581,7 +583,7 @@ msgstr "<img class=\"col-md-6\" src=\"../../static/images/configure.png\">"
msgid ""
"If you know that your connection is censored or uses a proxy, you should "
"select this option."
-msgstr ""
+msgstr "연결이 차단되었거나 프록시를 사용하는 경우 이 옵션을 선택해야 합니다."
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
@@ -593,24 +595,24 @@ msgstr "<img class=\"col-md-6\" src=\"../../static/images/proxy_question.png\">"
#: https//tb-manual.torproject.org/mobile-tor/
#: (content/mobile-tor/contents+en.lrtopic.body)
msgid "Tor Browser will take you through a series of configuration options."
-msgstr ""
+msgstr "Tor 브라우저는 일련의 구성 옵션을 안내합니다."
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
msgid "<img class=\"col-md-6\" src=\"../../static/images/pluggable-transport.png\">"
-msgstr ""
+msgstr "<img class=\"col-md-6\" src=\"../../static/images/pluggable-transport.png\">"
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
msgid ""
"The first checkbox asks if access to the Tor network is blocked or censored "
"on your connection."
-msgstr ""
+msgstr "첫 번째 확인란은 연결에서 Tor 네트워크에 대한 액세스가 차단되었는지 또는 검열되었는지 여부를 묻습니다."
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
msgid "If you do not believe this is the case, leave this unchecked."
-msgstr ""
+msgstr "이러한 경우가 아니라고 생각되면 이 문제를 선택 취소하십시오."
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
@@ -619,18 +621,19 @@ msgid ""
"connect to the Tor network and no other solutions have worked, check the "
"checkbox."
msgstr ""
+"연결이 차단되어 있거나 Tor 네트워크에 연결하려고 시도했지만 실패한 경우 다른 솔루션이 작동하지 않는 경우 확인란을 선택합니다."
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
msgid ""
"This will display the [Circumvention](../circumvention) section to configure"
" a pluggable transport."
-msgstr ""
+msgstr "플러그형 전송을 구성하는 [우회](.../circumvention) 섹션이 표시됩니다."
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
msgid "<img class=\"col-md-6\" src=\"../../static/images/proxy.png\">"
-msgstr ""
+msgstr "<img class=\"col-md-6\" src=\"../../static/images/proxy.png\">"
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
@@ -640,26 +643,28 @@ msgid ""
"checkbox because the same settings will be used for other browsers on your "
"system."
msgstr ""
+"두 번째 확인란은 연결에서 프록시를 사용하는지 여부를 묻습니다. 대부분의 경우 필요하지 않습니다. 일반적으로 시스템의 다른 브라우저에도 "
+"동일한 설정이 사용되므로 이 확인란을 선택해야 하는지 여부를 알 수 있습니다."
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
msgid "If possible, ask your network administrator for guidance."
-msgstr ""
+msgstr "가능하면 네트워크 관리자에게 지침을 요청하십시오."
#: https//tb-manual.torproject.org/running-tor-browser/
#: (content/running-tor-browser/contents+en.lrtopic.body)
msgid "If your connection does not use a proxy, click “Connect”."
-msgstr ""
+msgstr "연결에서 프록시를 사용하지 않는 경우 \"연결\"을 클릭합니다."
#: https//tb-manual.torproject.org/circumvention/
#: (content/circumvention/contents+en.lrtopic.title)
msgid "CIRCUMVENTION"
-msgstr ""
+msgstr "우회"
#: https//tb-manual.torproject.org/circumvention/
#: (content/circumvention/contents+en.lrtopic.description)
msgid "What to do if the Tor network is blocked"
-msgstr ""
+msgstr "Tor 네트워크가 차단된 경우 수행할 작업"
#: https//tb-manual.torproject.org/circumvention/
#: (content/circumvention/contents+en.lrtopic.body)
1
0
01 Feb '21
commit 52ba09265002299e7fcba1f181c1656c372dbbc1
Author: Nicolas Vigier <boklm(a)torproject.org>
Date: Sun Jan 31 22:57:20 2021 +0100
Bug 40221: Add tools/prune-old-builds
This script was already present in the directory
tools/ansible/roles/tbb-nightly-build/files, however this directory will
soon be removed as part of #40196.
---
tools/prune-old-builds | 136 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 136 insertions(+)
diff --git a/tools/prune-old-builds b/tools/prune-old-builds
new file mode 100755
index 0000000..852a9da
--- /dev/null
+++ b/tools/prune-old-builds
@@ -0,0 +1,136 @@
+#!/usr/bin/perl -w
+
+# Copyright (c) 2019, The Tor Project, Inc.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# * Redistributions in binary form must reproduce the above
+# copyright notice, this list of conditions and the following disclaimer
+# in the documentation and/or other materials provided with the
+# distribution.
+#
+# * Neither the names of the copyright owners nor the names of its
+# contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+# 'prune-old-builds' is a script to prune old builds.
+#
+#
+# Usage:
+# $ ./prune-old-builds [options] <directory>
+#
+#
+# Available options:
+#
+# --dry-run
+# Don't delete anything, but say what would be deleted.
+#
+# --prefix <prefix>
+# Prefix of the directories to be removed. Default is 'tbb-nightly.'.
+#
+# --separator <c>
+# Separator character to separate the year, month, day in the directory
+# names. Default is '.'.
+#
+# --days <n>
+# Number of days that we should keep. Default is 6.
+#
+# --weeks <n>
+# Number of monday builds that we should keep. Default is 3.
+#
+# --months <n>
+# Number of 1st day of the month builds that we should keep.
+# Default is 3.
+
+use strict;
+use Getopt::Long;
+use DateTime;
+use DateTime::Duration;
+use File::Path qw(remove_tree);
+
+my %options = (
+ days => 6,
+ weeks => 3,
+ months => 3,
+ prefix => 'tbb-nightly.',
+ separator => '.',
+);
+
+sub keep_builds {
+ my %res;
+
+ my $day = DateTime::Duration->new(days => 1);
+ my $week = DateTime::Duration->new(weeks => 1);
+ my $month = DateTime::Duration->new(months => 1);
+
+ my $n = $options{days};
+ my $dt = DateTime->now;
+ while ($n) {
+ $res{ $options{prefix} . $dt->ymd($options{separator}) } = 1;
+ $dt = $dt - $day;
+ $n--;
+ }
+
+ my $w = $options{weeks};
+ while ($dt->day_of_week != 1) {
+ $dt = $dt - $day;
+ }
+ while ($w) {
+ $res{ $options{prefix} . $dt->ymd($options{separator}) } = 1;
+ $dt = $dt - $week;
+ $w--;
+ }
+
+ my $m = $options{months};
+ $dt = DateTime->now;
+ while ($dt->day != 1) {
+ $dt = $dt - $day;
+ }
+ while ($m) {
+ $res{ $options{prefix} . $dt->ymd($options{separator}) } = 1;
+ $dt = $dt - $month;
+ $m--;
+ }
+
+ return \%res;
+}
+
+sub clean_directory {
+ my ($directory) = @_;
+ my $k = keep_builds;
+ chdir $directory || die "Error entering $directory";
+ foreach my $file (glob "$options{prefix}*") {
+ next unless $file =~ m/^$options{prefix}\d{4}$options{separator}\d{2}$options{separator}\d{2}$/;
+ next if $k->{$file};
+ if ($options{'dry-run'}) {
+ print "Would remove $file\n";
+ } else {
+ remove_tree($file);
+ }
+ }
+}
+
+my @opts = qw(days=i weeks=i months=i prefix=s dry-run!);
+Getopt::Long::GetOptions(\%options, @opts);
+die "Missing argument: directory to clean" unless @ARGV;
+foreach my $dir (@ARGV) {
+ clean_directory($dir);
+}
1
0
[translation/communitytpo-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=communitytpo-contentspot
by translation@torproject.org 31 Jan '21
by translation@torproject.org 31 Jan '21
31 Jan '21
commit 367c30ea3695a452929e220dca983731c37e799e
Author: Translation commit bot <translation(a)torproject.org>
Date: Sun Jan 31 18:45:10 2021 +0000
https://gitweb.torproject.org/translation.git/commit/?h=communitytpo-conten…
---
contents+pt-BR.po | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/contents+pt-BR.po b/contents+pt-BR.po
index 0245c4041c..5fab19b23d 100644
--- a/contents+pt-BR.po
+++ b/contents+pt-BR.po
@@ -7430,7 +7430,7 @@ msgstr ""
#: https//community.torproject.org/relay/community-resources/tor-abuse-templates/
#: (content/relay-operations/community-resources/tor-abuse-templates/contents+en.lrpage.body)
msgid "## Google Groups Spam"
-msgstr ""
+msgstr "## Spam em Grupos Google"
#: https//community.torproject.org/relay/community-resources/tor-abuse-templates/
#: (content/relay-operations/community-resources/tor-abuse-templates/contents+en.lrpage.body)
@@ -7438,6 +7438,8 @@ msgid ""
"It appears that your specific abuse complaint was generated by an "
"authenticated Google Groups user."
msgstr ""
+"Parece que sua queixa de abuso específica foi gerada por um usuário de "
+"Grupos Google autenticado."
#: https//community.torproject.org/relay/community-resources/tor-abuse-templates/
#: (content/relay-operations/community-resources/tor-abuse-templates/contents+en.lrpage.body)
1
0
[translation/communitytpo-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=communitytpo-contentspot
by translation@torproject.org 31 Jan '21
by translation@torproject.org 31 Jan '21
31 Jan '21
commit 4e556fc207a38247e22b7b97a65a657b0d80e03a
Author: Translation commit bot <translation(a)torproject.org>
Date: Sun Jan 31 18:15:10 2021 +0000
https://gitweb.torproject.org/translation.git/commit/?h=communitytpo-conten…
---
contents+pt-BR.po | 59 ++++++++++++++++++++++++++++++++++++++++++-------------
1 file changed, 45 insertions(+), 14 deletions(-)
diff --git a/contents+pt-BR.po b/contents+pt-BR.po
index 8d41fef015..0245c4041c 100644
--- a/contents+pt-BR.po
+++ b/contents+pt-BR.po
@@ -6799,6 +6799,8 @@ msgid ""
"If you have a global IPv6 address you should be able to find it in the "
"output of the following command:"
msgstr ""
+"Se você tem um endereço IPv6 global você deve ser capaz de achá-lo no "
+"resultado do seguinte comando:"
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6811,6 +6813,9 @@ msgid ""
"If you are an exit relay with IPv6 connectivity, tell your tor daemon to "
"allow exiting via IPv6 so clients can reach IPv6 destinations:"
msgstr ""
+"Se você estiver em um retransmissor de saída com conectividade IPv6, diga ao"
+" seu Tor daemon para permitir saída via IPv6 para que clientes possam "
+"alcançar destinações IPv6:"
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6823,16 +6828,18 @@ msgid ""
"**Note: Tor requires IPv4 connectivity, you can not run a Tor relay on "
"IPv6-only.**"
msgstr ""
+"**Nota: Tor requer conectividade IPv4, você não pode executar um "
+"retransmissor Tor apenas com IPv6.**"
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid "# 8. Maintaining a relay"
-msgstr ""
+msgstr "# 8. Mantendo um retransmissor"
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid "## Backup Tor Identity Keys"
-msgstr ""
+msgstr "## Backup Chaves de Identidade Tor"
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6840,6 +6847,9 @@ msgid ""
"After your initial installation and start of the tor daemon it is a good "
"idea to make a backup of your relay's long term identity keys."
msgstr ""
+"Após sua instalação inicial e inicialização do daemon Tor é uma boa ideia "
+"fazer um backup das chaves de identidade de longo prazo do seu "
+"retransmissor."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6847,6 +6857,8 @@ msgid ""
"They are located in the \"keys\" subfolder of your DataDirectory (simply "
"make a copy of the entire folder and store it in a secure location)."
msgstr ""
+"Elas estão localizadas na subpasta \"keys\" do seu DataDirectory (apenas "
+"faça uma cópia da pasta inteira e guarde-a em uma local seguro)."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6855,11 +6867,15 @@ msgid ""
"to be able to restore your relay's reputation after a disk failure - "
"otherwise you would have to go through the ramp-up phase again."
msgstr ""
+"Visto que retransmissores tem um tempo para ganhar escala, faz sentido fazer"
+" um backup da chave de identidade para ser capaz de restaurá a reputação do "
+"seu retransmissor após uma falha de disco - de outra maneira você teria que "
+"passar pela fase de ganho de escala novamente."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid "Default locations of the keys folder:"
-msgstr ""
+msgstr "Localizações padrão da pasta 'keys':"
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6879,7 +6895,7 @@ msgstr "* Fedora: `/var/lib/tor/keys`"
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid "## Subscribe to the tor-announce mailing list"
-msgstr ""
+msgstr "## Subscreva a lista de correio tor-announce"
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6889,11 +6905,15 @@ msgid ""
"announce](https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-"
"announce)."
msgstr ""
+"Esta é uma lista de correio com muito pouco tráfego e você terá informação "
+"sobre novas versões estáveis do Tor e informações de atualizações de "
+"segurança importantes: [tor-announce](https://lists.torproject.org/cgi-"
+"bin/mailman/listinfo/tor-announce)."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid "## Setting up outage notifications"
-msgstr ""
+msgstr "## Configurando interrupção de notificações"
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6901,11 +6921,13 @@ msgid ""
"Once you set up your relay it will likely run without much work from your "
"side."
msgstr ""
+"Assim que você configurar seu retransmissor ele irá rodar praticamente sem "
+"muito trabalho da sua parte."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid "If something goes wrong it is good to get notified automatically."
-msgstr ""
+msgstr "Se alguma coisa der errado é bom ser notificado automaticamente."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -7018,23 +7040,25 @@ msgstr ""
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid "* Smaller periods are worse."
-msgstr ""
+msgstr "* Períodos menores são piores."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid "* Numbers are worse than graphs."
-msgstr ""
+msgstr "*Números são piores que gráficos."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid "* Real-time data is worse than historical data."
-msgstr ""
+msgstr "*Informação ao vivo é pior do que informação histórica."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid ""
"* Data in categories (IP version, in/out, etc.) is worse than total data."
msgstr ""
+"*Informação em categorias (versão de IP, in/out, etc) são piores que a "
+"informação total."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -7047,6 +7071,8 @@ msgid ""
"This section lists a few tools that you might find handy as a Tor relay "
"operator."
msgstr ""
+"Está seção lista algumas ferramentas que você pode achar úteis como um "
+"operador de retransmissor Tor."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -7054,6 +7080,9 @@ msgid ""
"* [Nyx](https://nyx.torproject.org/): is a Tor Project tool (formerly arm) "
"that allows you to see real time data of your relay."
msgstr ""
+"* [Nyx](https://nyx.torproject.org/): é uma ferramenta do Projeto Tor "
+"(antigo braço) que permite você ver informação em tempo real do seu "
+"retransmissor.."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -7061,6 +7090,8 @@ msgid ""
"* vnstat: vnstat is a command-line tool that shows the amount of data going "
"through your network connection."
msgstr ""
+"* vnstat: é uma ferramente de linha de comando que mostra a quantidade de "
+"dados passando por sua conexão de rede."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -7090,7 +7121,7 @@ msgstr ""
#: https//community.torproject.org/relay/setup/bridge/
#: (content/relay-operations/technical-setup/bridge/contents+en.lrpage.body)
msgid "1. 24/7 Internet connectivity"
-msgstr ""
+msgstr "1. 24/7 Conectividade de Internet"
#: https//community.torproject.org/relay/setup/bridge/
#: (content/relay-operations/technical-setup/bridge/contents+en.lrpage.body)
@@ -7118,12 +7149,12 @@ msgstr ""
#: https//community.torproject.org/relay/community-resources/tor-abuse-templates/
#: (content/relay-operations/community-resources/tor-abuse-templates/contents+en.lrpage.title)
msgid "Tor Abuse Templates"
-msgstr ""
+msgstr "Modelos de Abuso Tor"
#: https//community.torproject.org/relay/community-resources/tor-abuse-templates/
#: (content/relay-operations/community-resources/tor-abuse-templates/contents+en.lrpage.subtitle)
msgid "How to handle abuse complaints"
-msgstr ""
+msgstr "Como lidar com queixas de abuso"
#: https//community.torproject.org/relay/community-resources/tor-abuse-templates/
#: (content/relay-operations/community-resources/tor-abuse-templates/contents+en.lrpage.body)
@@ -7156,7 +7187,7 @@ msgstr ""
#: https//community.torproject.org/relay/community-resources/tor-abuse-templates/
#: (content/relay-operations/community-resources/tor-abuse-templates/contents+en.lrpage.body)
msgid "## Format and Philosophy of Templates"
-msgstr ""
+msgstr "## Formato e Filosofia dos Modelos"
#: https//community.torproject.org/relay/community-resources/tor-abuse-templates/
#: (content/relay-operations/community-resources/tor-abuse-templates/contents+en.lrpage.body)
@@ -7233,7 +7264,7 @@ msgstr ""
#: https//community.torproject.org/relay/community-resources/tor-abuse-templates/
#: (content/relay-operations/community-resources/tor-abuse-templates/contents+en.lrpage.body)
msgid "https://www.torproject.org/overview.html"
-msgstr ""
+msgstr "https://www.torproject.org/overview.html"
#: https//community.torproject.org/relay/community-resources/tor-abuse-templates/
#: (content/relay-operations/community-resources/tor-abuse-templates/contents+en.lrpage.body)
1
0
[translation/communitytpo-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=communitytpo-contentspot
by translation@torproject.org 31 Jan '21
by translation@torproject.org 31 Jan '21
31 Jan '21
commit 5104bd66d8254c4dc14c4054c4a8ad99ad6e5c86
Author: Translation commit bot <translation(a)torproject.org>
Date: Sun Jan 31 14:45:13 2021 +0000
https://gitweb.torproject.org/translation.git/commit/?h=communitytpo-conten…
---
contents+pt-BR.po | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/contents+pt-BR.po b/contents+pt-BR.po
index 0ee3dee959..8d41fef015 100644
--- a/contents+pt-BR.po
+++ b/contents+pt-BR.po
@@ -6760,6 +6760,9 @@ msgid ""
"If it worked fine, make your Tor relay reachable via IPv6 by adding an "
"additional ORPort line to your configuration (example for ORPort 9001):"
msgstr ""
+"Se ele funcionar bem, torne seu retransmissor Tor acessível via IPv6 ao "
+"adicionar uma linha ORPort adicional em sua configuração (exemplo para uma "
+"ORPort 9001):"
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6770,12 +6773,15 @@ msgstr "ORPort [IPv6-address]:9001"
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid "The location of that line in the configuration file does not matter."
msgstr ""
+"A localização dessa linha linha no arquivo de configuração não importa."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid ""
"You can simply add it next to the first ORPort lins in your torrc file."
msgstr ""
+"Você pode simplesmente adiciona-la próximo das primeiras linhas ORPort no "
+"seu arquivo torrc. "
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6783,6 +6789,9 @@ msgid ""
"Note: You have to explicitly specify your IPv6 address in square brackets, "
"you can not tell tor to bind to any IPv6 (like you do for IPv4)."
msgstr ""
+"Observação: Você tem que especificar explicitamente seu endereço IPv6 entre "
+"colchetes, você não pode dizer ao Tor para vincular nenhum IPv6 (como você "
+"faz para IPv4)."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
1
0
[translation/communitytpo-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=communitytpo-contentspot
by translation@torproject.org 31 Jan '21
by translation@torproject.org 31 Jan '21
31 Jan '21
commit 9a791937593e40d89f4697604a2f2064a6218291
Author: Translation commit bot <translation(a)torproject.org>
Date: Sun Jan 31 14:15:13 2021 +0000
https://gitweb.torproject.org/translation.git/commit/?h=communitytpo-conten…
---
contents+pt-BR.po | 36 ++++++++++++++++++++++++++++++++++--
1 file changed, 34 insertions(+), 2 deletions(-)
diff --git a/contents+pt-BR.po b/contents+pt-BR.po
index b6debab04e..0ee3dee959 100644
--- a/contents+pt-BR.po
+++ b/contents+pt-BR.po
@@ -6545,6 +6545,11 @@ msgid ""
"[ContactInfo](https://2019.www.torproject.org/docs/tor-"
"manual.html.en#ContactInfo) in your torrc configuration."
msgstr ""
+"Para evitar colocar clientes Tor em risco, quando estiver operando múltiplos"
+" retransmissores você deve configurar um adequado valor "
+"[MyFamily](https://2019.www.torproject.org/docs/tor-manual.html.en#MyFamily)"
+" e ter uma [ContactInfo](https://2019.www.torproject.org/docs/tor-"
+"manual.html.en#ContactInfo) válida na sua configuração do torrc."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6579,6 +6584,9 @@ msgid ""
"files when tor starts up or find the file named \"fingerprint\" in your tor "
"DataDirectory."
msgstr ""
+"para ambos retransmissores. Para encontrar a impressão digital do seu "
+"retransmissor você pode olhar nos arquivos de log quando Tor inicia ou "
+"encontrar o arquivo de nome \"fingerprint\" na sua DataDirector do Tor."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6586,6 +6594,9 @@ msgid ""
"Instead of doing so manually, for big operators we recommend to automate the"
" MyFamily setting via a configuration management solution."
msgstr ""
+"Ao invés de fazer-lo manualmente, para grandes operadores nós recomendamos "
+"automatizar a configuração do MyFamily através da solução de gerenciamento "
+"de configuração."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6593,11 +6604,13 @@ msgid ""
"Manually managing MyFamily for big relay groups is error-prone and can put "
"Tor clients at risk."
msgstr ""
+"Gerenciando manualmente MyFamily para grandes grupos de retransmissores é "
+"propenso ao erro e pode colocar clientes Tor em risco."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid "# 6. Optional: Limiting bandwidth usage (and traffic)"
-msgstr ""
+msgstr "# 6. Opicional: Limitando uso de bandwidth (e tráfego)"
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6605,6 +6618,8 @@ msgid ""
"Tor will not limit its bandwidth usage by default, but supports multiple "
"ways to restrict the used bandwidth and the amount of traffic."
msgstr ""
+"Tor não limitará o uso de bandwidth por padrão, porém suporta várias "
+"maneiras de restringir a bandwidth usada e a quantidade de tráfego."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6670,11 +6685,13 @@ msgid ""
"Also see the bandwidth entry in the "
"[FAQ](https://support.torproject.org/operators/bandwidth-shaping/)."
msgstr ""
+"Também veja o item bandwidth na "
+"[FAQ](https://support.torproject.org/operators/bandwidth-shaping/)."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
msgid "# 7. Check IPv6 availability"
-msgstr ""
+msgstr "# 7. Verifique a disponibilidade de IPv6"
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6723,6 +6740,9 @@ msgid ""
"not enable IPv6 in your torrc configuration file before IPv6 is indeed "
"working."
msgstr ""
+"Ao final do resultado você deve ver \"OK\". Se esse não for o caso, não "
+"habilite o IPv6 na sua configuração de arquivo torrc antes do IPv6 estar "
+"funcionando de fato."
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -6730,6 +6750,9 @@ msgid ""
"**If you enable IPv6 without working IPv6 connectivity, your entire relay "
"will remain unused, regardless of whether IPv4 is working.**"
msgstr ""
+"**Se você habilitar o IPv6 sem uma conectividade IPv6 funcionando, seu "
+"retransmissor permanecerá sem uso, independentemente se o IPv4 estiver "
+"funcionando.**"
#: https//community.torproject.org/relay/setup/post-install/
#: (content/relay-operations/technical-setup/post-install/contents+en.lrpage.body)
@@ -16278,6 +16301,9 @@ msgid ""
"The best resource of all is the active community of relay operators on tor-"
"relays mailing list and on IRC #tor-relays in irc.oftc.net. "
msgstr ""
+"O melhor recurso de todos é a comunidade ativa de operadores de "
+"retransmissores na lista de contato de retransmissores Tor e no IRC #tor-"
+"relays no irc.oftc.net."
#: templates/relay-operations.html:26
msgid "Relay Operators mailing list"
@@ -16315,6 +16341,12 @@ msgid ""
"user research with your local community, and learn more about best practices"
" for working with users at-risk."
msgstr ""
+"Você é um pesquisador de design, pesquisador de usuário, estudante ou alguém"
+" interessado em aprender mais sobre os usuários Tor? |Você tem ideias novas,"
+" sugestões ou uma pesquisa que pode ajudar a melhorar as aplicações do Tor? "
+"Nos ajude ao coordenar uma pesquisa de usuário com sua comunidade local e "
+"aprender mais sobre as melhores práticas para trabalhar com usuários em "
+"risco."
#: templates/user-research.html:35
msgid "UX team mailing list"
1
0
[translation/communitytpo-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=communitytpo-contentspot
by translation@torproject.org 31 Jan '21
by translation@torproject.org 31 Jan '21
31 Jan '21
commit e731e758e0661355124e34cde3d97a69ef8a0371
Author: Translation commit bot <translation(a)torproject.org>
Date: Sun Jan 31 11:15:12 2021 +0000
https://gitweb.torproject.org/translation.git/commit/?h=communitytpo-conten…
---
contents+de.po | 112 ++++++++++++++++++++++++++++++++++-----------------------
1 file changed, 68 insertions(+), 44 deletions(-)
diff --git a/contents+de.po b/contents+de.po
index 6256762dcf..c7c2981936 100644
--- a/contents+de.po
+++ b/contents+de.po
@@ -13492,47 +13492,49 @@ msgstr "<VirtualHost *:443>"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "ServerName <your-website.tld>"
-msgstr ""
+msgstr "ServerName <your-website.tld>"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "DocumentRoot /path/to/htdocs"
-msgstr ""
+msgstr "DocumentRoot /path/to/htdocs"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "SSLEngine on"
-msgstr ""
+msgstr "SSLEngine on"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "SSLCertificateFile \"/path/to/www.example.com.cert\""
-msgstr ""
+msgstr "SSLCertificateFile \"/path/to/www.example.com.cert\""
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "SSLCertificateKeyFile \"/path/to/www.example.com.key\""
-msgstr ""
+msgstr "SSLCertificateKeyFile \"/path/to/www.example.com.key\""
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "</VirtualHost>"
-msgstr ""
+msgstr "</VirtualHost>"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "**Step 3.** Reload Apache"
-msgstr ""
+msgstr "**Schritt 3.** Lade Apache neu"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "Reload the apache2 service, so your configuration changes take effect:"
msgstr ""
+"Lade den apache2-Dienst neu, damit deine Konfigurationsänderungen wirksam "
+"werden:"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "**Step 4.** Testing your Onion-Location"
-msgstr ""
+msgstr "**Schritt 4.** Teste deine Onion-Location"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
@@ -13540,16 +13542,18 @@ msgid ""
"To test if Onion-Location is working, fetch the website HTTP headers, for "
"example:"
msgstr ""
+"Um zu testen, ob Onion-Location funktioniert, rufe z. B. die HTTP-Header der"
+" Website ab:"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "$ wget --server-response --spider your-website.tld"
-msgstr ""
+msgstr "$ wget --server-response --spider your-website.tld"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "Look for `onion-location` entry and the onion service address."
-msgstr ""
+msgstr "Suche den Eintrag \"onion-location\" und die Adresse des Onion-Dienstes."
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
@@ -13557,11 +13561,13 @@ msgid ""
"Or open the website in Tor Browser and a purple pill will appear in the "
"address bar."
msgstr ""
+"Oder öffne die Website im Tor Browser und eine lila Pille erscheint in der "
+"Adressleiste."
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "### Nginx"
-msgstr ""
+msgstr "### Nginx"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
@@ -13569,32 +13575,36 @@ msgid ""
"To configure an Onion-Location header, the service operator should first "
"configure an Onion service."
msgstr ""
+"Um Onion-Location-Kopfzeilen zu konfigurieren, sollte der Dienstbetreiber "
+"zunächst einen Onion-Dienst konfigurieren."
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid ""
"**Step 1.** Create an Onion service by setting the following in `torrc`:"
msgstr ""
+"**Schritt 1.** Erstelle einen Onion-Dienst, indem du folgendes in `torrc` "
+"einstellst:"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "HiddenServiceDir /var/lib/tor/hs-my-website/"
-msgstr ""
+msgstr "HiddenServiceDir /var/lib/tor/hs-my-website/"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "HiddenServiceVersion 3"
-msgstr ""
+msgstr "HiddenServiceVersion 3"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "HiddenServicePort 80 unix:/var/run/tor-hs-my-website.sock"
-msgstr ""
+msgstr "HiddenServicePort 80 unix:/var/run/tor-hs-my-website.sock"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "**Step 2.** Edit website configuration file"
-msgstr ""
+msgstr "**Schritt 2.** Website-Konfigurationsdatei bearbeiten"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
@@ -13602,47 +13612,51 @@ msgid ""
"In `/etc/nginx/conf.d/<your-website>.conf` add the Onion-Location header and"
" the onion service address."
msgstr ""
+"Füge in `/etc/nginx/conf.d/<your-website>.conf` die Onion-Location-"
+"Kopfzeilen und die Adresse des Onion-Dienstes hinzu."
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid ""
"add_header Onion-Location http://<your-onion-address>.onion$request_uri;"
msgstr ""
+"add_header Onion-Location http://<your-onion-address>.onion$request_uri;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "The configuration file with the Onion-Location should look like this:"
msgstr ""
+"Die Konfigurationsdatei mit der Onion-Location sollte wie folgt aussehen:"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "server {"
-msgstr ""
+msgstr "server {"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "listen 80;"
-msgstr ""
+msgstr "listen 80;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "listen [::]:80;"
-msgstr ""
+msgstr "listen [::]:80;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "server_name <your-website.tld>;"
-msgstr ""
+msgstr "server_name <your-website.tld>;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "location / {"
-msgstr ""
+msgstr "location / {"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "return 301 https://$host$request_uri;"
-msgstr ""
+msgstr "return 301 https://$host$request_uri;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
@@ -13656,27 +13670,27 @@ msgstr "}"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "listen 443 ssl http2;"
-msgstr ""
+msgstr "listen 443 ssl http2;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "listen [::]:443 ssl http2;"
-msgstr ""
+msgstr "listen [::]:443 ssl http2;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "# managed by Certbot - https://certbot.eff.org/"
-msgstr ""
+msgstr "# managed by Certbot - https://certbot.eff.org/"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "ssl_certificate /etc/letsencrypt/live/<hostname>/fullchain.pem;"
-msgstr ""
+msgstr "ssl_certificate /etc/letsencrypt/live/<hostname>/fullchain.pem;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "ssl_certificate_key /etc/letsencrypt/live/<hostname>/privkey.pem;"
-msgstr ""
+msgstr "ssl_certificate_key /etc/letsencrypt/live/<hostname>/privkey.pem;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
@@ -13684,106 +13698,112 @@ msgid ""
"add_header Strict-Transport-Security \"max-age=63072000; "
"includeSubdomains\";"
msgstr ""
+"add_header Strict-Transport-Security \"max-age=63072000; "
+"includeSubdomains\";"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "add_header X-Frame-Options DENY;"
-msgstr ""
+msgstr "add_header X-Frame-Options DENY;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "add_header X-Content-Type-Options nosniff;"
-msgstr ""
+msgstr "add_header X-Content-Type-Options nosniff;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "# managed by Certbot"
-msgstr ""
+msgstr "# managed by Certbot"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "include /etc/letsencrypt/options-ssl-nginx.conf;"
-msgstr ""
+msgstr "include /etc/letsencrypt/options-ssl-nginx.conf;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;"
-msgstr ""
+msgstr "ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "access_log /var/log/nginx/<hostname>-access.log;"
-msgstr ""
+msgstr "access_log /var/log/nginx/<hostname>-access.log;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "index index.html;"
-msgstr ""
+msgstr "index index.html;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "root /path/to/htdocs;"
-msgstr ""
+msgstr "root /path/to/htdocs;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "try_files $uri $uri/ =404;"
-msgstr ""
+msgstr "try_files $uri $uri/ =404;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "listen unix:/var/run/tor-hs-my-website.sock;"
-msgstr ""
+msgstr "listen unix:/var/run/tor-hs-my-website.sock;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "server_name <your-onion-address>.onion;"
-msgstr ""
+msgstr "server_name <your-onion-address>.onion;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "access_log /var/log/nginx/hs-my-website.log;"
-msgstr ""
+msgstr "access_log /var/log/nginx/hs-my-website.log;"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "**Step 3.** Test website configuration"
-msgstr ""
+msgstr "**Schritt 3.** Teste Website-Konfiguration"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "$ sudo nginx -t"
-msgstr ""
+msgstr "$ sudo nginx -t"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "The web server should confirm that the new syntax is working:"
-msgstr ""
+msgstr "Der Webserver sollte bestätigen, dass die neue Syntax funktioniert:"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "nginx: the configuration file /etc/nginx/nginx.conf syntax is ok"
msgstr ""
+"nginx: the configuration file /etc/nginx/nginx.conf syntax is ok "
+"(\"Bedeutet, die Konfigurationsdatei ist OK\")"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "nginx: configuration file /etc/nginx/nginx.conf test is successful"
msgstr ""
+"nginx: configuration file /etc/nginx/nginx.conf test is successful "
+"(\"Bedeutet, der Test der Konfigurationsdatei ist erfolgreich\")"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "**Step 4.** Restart nginx"
-msgstr ""
+msgstr "**Schritt 4.** Neustart von nginx"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "$ sudo nginx -s reload"
-msgstr ""
+msgstr "$ sudo nginx -s reload"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "**Step 5.** Testing your Onion-Location"
-msgstr ""
+msgstr "**Schritt 5.** Test deiner Onion-Location"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
@@ -13791,6 +13811,8 @@ msgid ""
"To test if the Onion-Location is working, fetch the web site HTTP headers, "
"for example:"
msgstr ""
+"Um zu testen, ob die Onion-Location funktioniert, rufe die HTTP-Kopfzeilen "
+"der Website ab, z. B. :"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
@@ -13798,6 +13820,8 @@ msgid ""
"Or, open the web site in Tor Browser and a purple pill will appear in the "
"address bar."
msgstr ""
+"Oder öffne die Webseite im Tor Browser und eine lila Pille erscheint in der "
+"Adressleiste."
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
1
0
[translation/support-portal] https://gitweb.torproject.org/translation.git/commit/?h=support-portal
by translation@torproject.org 31 Jan '21
by translation@torproject.org 31 Jan '21
31 Jan '21
commit fe8cf08032319a01554c13b9abff867d236758c9
Author: Translation commit bot <translation(a)torproject.org>
Date: Sun Jan 31 10:48:10 2021 +0000
https://gitweb.torproject.org/translation.git/commit/?h=support-portal
---
contents+it.po | 39 +++++++++++++++++++++++++++------------
1 file changed, 27 insertions(+), 12 deletions(-)
diff --git a/contents+it.po b/contents+it.po
index caf0802566..bb64e40e06 100644
--- a/contents+it.po
+++ b/contents+it.po
@@ -205,14 +205,14 @@ msgstr ""
#: https//support.torproject.org/glossary/antivirus/
#: (content/glossary/antivirus/contents+en.lrword.spelling)
msgid "Some spelling notes"
-msgstr ""
+msgstr "Qualche nota sullo spelling"
#: https//support.torproject.org/glossary/add-on/
#: (content/glossary/add-on/contents+en.lrword.translation)
#: https//support.torproject.org/glossary/antivirus/
#: (content/glossary/antivirus/contents+en.lrword.translation)
msgid "A few translation notes"
-msgstr ""
+msgstr "Un po' di note sulla traduzione"
#: https//support.torproject.org/glossary/add-on-extension-or-plugin/
#: (content/glossary/add-on-extension-or-plugin/contents+en.lrword.definition)
@@ -3667,6 +3667,9 @@ msgid ""
"Tor Browser by [verifying the signature](https://support.torproject.org/tbb"
"/how-to-verify-signature/)."
msgstr ""
+"Dopo aver scaricato, puoi essere sicuro che hai la versione ufficiale di Tor"
+" Browser via la [verificazione della "
+"firma](https://support.torproject.org/tbb/how-to-verify-signature/)."
#: https//support.torproject.org/tbb/fake-tbb/
#: (content/tbb/fake-tbb/contents+en.lrquestion.description)
@@ -4889,6 +4892,8 @@ msgid ""
"If you believe this is a Tor Browser issue, please report it on our [issue "
"tracker](https://gitlab.torproject.org/groups/tpo/-/issues)."
msgstr ""
+"Se credi che sia un problema di Tor Browser, segnalala sul nostro [issue "
+"tracker](https://gitlab.torproject.org/groups/tpo/-/issues)."
#: https//support.torproject.org/tbb/tbb-25/
#: (content/tbb/tbb-25/contents+en.lrquestion.title)
@@ -6632,17 +6637,17 @@ msgstr ""
#: https//support.torproject.org/connecting/connecting-2/
#: (content/connecting/connecting-2/contents+en.lrquestion.description)
msgid "`./start-tor-browser.desktop --verbose`"
-msgstr ""
+msgstr "`./start-tor-browser.desktop --verbose`"
#: https//support.torproject.org/connecting/connecting-2/
#: (content/connecting/connecting-2/contents+en.lrquestion.description)
msgid "or to save the logs to a file *(default: tor-browser.log)*"
-msgstr ""
+msgstr "o per salvare i logs su un file *(default: tor-browser.log)*"
#: https//support.torproject.org/connecting/connecting-2/
#: (content/connecting/connecting-2/contents+en.lrquestion.description)
msgid "`./start-tor-browser.desktop --log [file]`"
-msgstr ""
+msgstr "`./start-tor-browser.desktop --log [file]`"
#: https//support.torproject.org/connecting/connecting-2/
#: (content/connecting/connecting-2/contents+en.lrquestion.description)
@@ -6656,7 +6661,7 @@ msgstr ""
#: https//support.torproject.org/connecting/connecting-2/
#: (content/connecting/connecting-2/contents+en.lrquestion.description)
msgid "#### Common log error #1: Proxy connection failure"
-msgstr ""
+msgstr "#### Problema comune dei log #1: Connessione del Proxy fallita"
#: https//support.torproject.org/connecting/connecting-2/
#: (content/connecting/connecting-2/contents+en.lrquestion.description)
@@ -6724,6 +6729,7 @@ msgstr ""
#: (content/connecting/connecting-2/contents+en.lrquestion.description)
msgid "#### Common log error #2: Can’t reach guard relays"
msgstr ""
+"#### Problema comune dei log #2: Impossibile raggiungere i relay guard"
#: https//support.torproject.org/connecting/connecting-2/
#: (content/connecting/connecting-2/contents+en.lrquestion.description)
@@ -6793,6 +6799,7 @@ msgstr ""
#: (content/connecting/connecting-2/contents+en.lrquestion.description)
msgid "#### Common log error #3: Failed to complete TLS handshake"
msgstr ""
+"#### Problema comune dei log #3: Impossible completare il TLS handshake"
#: https//support.torproject.org/connecting/connecting-2/
#: (content/connecting/connecting-2/contents+en.lrquestion.description)
@@ -9124,7 +9131,7 @@ msgstr ""
#: https//support.torproject.org/onionservices/client-auth/
#: (content/onionservices/client-auth/contents+en.lrquestion.title)
msgid "What's a client or onion authentication?"
-msgstr ""
+msgstr "Che cos'è un'autenticazione client o onion?"
#: https//support.torproject.org/onionservices/client-auth/
#: (content/onionservices/client-auth/contents+en.lrquestion.description)
@@ -9166,7 +9173,7 @@ msgstr ""
#: https//support.torproject.org/onionservices/onion-location/
#: (content/onionservices/onion-location/contents+en.lrquestion.title)
msgid "What \".onion available\" means in my browser?"
-msgstr ""
+msgstr "Cosa significa \".onion disponibile\" nel mio browser?"
#: https//support.torproject.org/onionservices/onion-location/
#: (content/onionservices/onion-location/contents+en.lrquestion.description)
@@ -9174,6 +9181,8 @@ msgid ""
"Onion-Location is a new HTTP header that web sites can use to advertise "
"their onion counterpart."
msgstr ""
+"Onion-Location è un nuovo HTTP header che i siti web possono usare per "
+"pubblicizzare la loro parte onion."
#: https//support.torproject.org/onionservices/onion-location/
#: (content/onionservices/onion-location/contents+en.lrquestion.description)
@@ -9188,6 +9197,8 @@ msgid ""
"When you click on \".onion available\", the web site will be reloaded and "
"redirected to its onion counterpart."
msgstr ""
+"Quando tu clicchi su \".onion disponibile\", il sito web sarà ricaricato e "
+"reindirizzato alla sua parte onion."
#: https//support.torproject.org/onionservices/onion-location/
#: (content/onionservices/onion-location/contents+en.lrquestion.description)
@@ -9195,6 +9206,8 @@ msgid ""
"At the moment, Onion-Location is available for Tor Browser desktop (Windows,"
" macOS and GNU/Linux)."
msgstr ""
+"In questo momento, Onion-Location è disponibile per Tor Browser desktop "
+"(Windows, macOS e GNU/Linux)."
#: https//support.torproject.org/onionservices/onion-location/
#: (content/onionservices/onion-location/contents+en.lrquestion.description)
@@ -9392,7 +9405,7 @@ msgstr ""
#: https//support.torproject.org/onionservices/onionservices-5/
#: (content/onionservices/onionservices-5/contents+en.lrquestion.description)
msgid "An onion means:"
-msgstr ""
+msgstr "Una cipolla significa"
#: https//support.torproject.org/onionservices/onionservices-5/
#: (content/onionservices/onionservices-5/contents+en.lrquestion.description)
@@ -9417,12 +9430,12 @@ msgstr ""
#: https//support.torproject.org/onionservices/onionservices-5/
#: (content/onionservices/onionservices-5/contents+en.lrquestion.description)
msgid "An onion with a red slash means:"
-msgstr ""
+msgstr "Una cipolla con uno slash rosso significa:"
#: https//support.torproject.org/onionservices/onionservices-5/
#: (content/onionservices/onionservices-5/contents+en.lrquestion.description)
msgid "- The Onion Service is served with a script from an insecure URL."
-msgstr ""
+msgstr "- Il Servizio Onion è servito con uno script da un URL insicuro."
#: https//support.torproject.org/onionservices/onionservices-5/
#: (content/onionservices/onionservices-5/contents+en.lrquestion.description)
@@ -9430,11 +9443,13 @@ msgid ""
""
msgstr ""
+""
#: https//support.torproject.org/onionservices/onionservices-5/
#: (content/onionservices/onionservices-5/contents+en.lrquestion.description)
msgid "An onion with caution sign means:"
-msgstr ""
+msgstr "Un onion con un simbolo di pericolo significa:"
#: https//support.torproject.org/onionservices/onionservices-5/
#: (content/onionservices/onionservices-5/contents+en.lrquestion.description)
1
0
[translation/communitytpo-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=communitytpo-contentspot
by translation@torproject.org 31 Jan '21
by translation@torproject.org 31 Jan '21
31 Jan '21
commit 66b0779802e8fce2c62ca67d458db5bc4e863637
Author: Translation commit bot <translation(a)torproject.org>
Date: Sun Jan 31 10:45:12 2021 +0000
https://gitweb.torproject.org/translation.git/commit/?h=communitytpo-conten…
---
contents+de.po | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/contents+de.po b/contents+de.po
index 96fb186d8f..6256762dcf 100644
--- a/contents+de.po
+++ b/contents+de.po
@@ -13420,7 +13420,7 @@ msgstr "Prüf die Dokumentation deines Webservers und deines Betriebssystems."
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "### Apache"
-msgstr ""
+msgstr "### Apache"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
@@ -13428,21 +13428,26 @@ msgid ""
"To configure this header in Apache 2.2 or above, you will need to enable a "
"`headers` and `rewrite` modules and edit the website Virtual Host file."
msgstr ""
+"Um diese Kopfzeilen in Apache 2.2 oder höher zu konfigurieren, musst du die "
+"Module `headers` und `rewrite` aktivieren und die \"Virtual Host\"-Datei "
+"der Website bearbeiten."
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "**Step 1.** Enable headers and rewrite modules and reload Apache2"
msgstr ""
+"**Schritt 1.** Aktiviere Kopfzeilen, Rewrite der Module, dann neu laden von "
+"Apache2 "
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "$ sudo a2enmod headers rewrite"
-msgstr ""
+msgstr "$ sudo a2enmod headers rewrite"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "$ sudo systemctl reload apache2"
-msgstr ""
+msgstr "$ sudo systemctl reload apache2"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
@@ -13450,12 +13455,16 @@ msgid ""
"**Step 2.** Add the Onion-Location header to your Virtual Host configuration"
" file"
msgstr ""
+"**Schritt 2.** Füge die Onion-Location-Kopfzeilen zur Konfigurationsdatei "
+"deines virtuellen Hosts hinzu"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid ""
"Header set Onion-Location \"http://your-onion-address.onion%{REQUEST_URI}s\""
msgstr ""
+"In Kopfzeilen lege Onion-Location \"http://your-onion-"
+"address.onion%{REQUEST_URI}s\" fest"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
@@ -13465,16 +13474,20 @@ msgid ""
"URI](https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html), such as "
"\"/index.html\"."
msgstr ""
+"wobei `deine-Onion-Adresse.onion` die Adresse des Onion-Dienstes, den du "
+"umleiten möchtest, und `{REQUEST_URI}` die [Pfadkomponente des angeforderten"
+" URI](https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html), so wie "
+"\"/index.html\" ist."
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "Virtual Host example:"
-msgstr ""
+msgstr "Virtual Host Beispiel:"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
msgid "<VirtualHost *:443>"
-msgstr ""
+msgstr "<VirtualHost *:443>"
#: https//community.torproject.org/onion-services/advanced/onion-location/
#: (content/onion-services/advanced/onion-location/contents+en.lrpage.body)
1
0
[tor-browser/tor-browser-86.0b1-10.5-1] Bug 25658: Replace security slider with security level UI
by gk@torproject.org 30 Jan '21
by gk@torproject.org 30 Jan '21
30 Jan '21
commit 488d6021eb3f6dee519ed7bcd88436205b064faf
Author: Richard Pospesel <richard(a)torproject.org>
Date: Mon Mar 4 16:09:51 2019 -0800
Bug 25658: Replace security slider with security level UI
This patch adds a new 'securitylevel' component to Tor Browser intended
to replace the torbutton 'Security Slider'.
This component adds a new Security Level toolbar button which visually
indicates the current global security level via icon (as defined by the
extensions.torbutton.security_slider pref), a drop-down hanger with a
short description of the current security level, and a new section in
the about:preferences#privacy page where users can change their current
security level. In addition, the hanger and the preferences page will
show a visual warning when the user has modified prefs associated with
the security level and provide a one-click 'Restore Defaults' button to
get the user back on recommended settings.
Strings used by this patch are pulled from the torbutton extension, but
en-US defaults are provided if there is an error loading from the
extension. With this patch applied, the usual work-flow of "./mach build
&& ./mach run" work as expected, even if the torbutton extension is
disabled.
---
browser/base/content/browser.js | 10 +
browser/base/content/browser.xhtml | 5 +
browser/components/moz.build | 1 +
browser/components/preferences/preferences.xhtml | 1 +
browser/components/preferences/privacy.inc.xhtml | 2 +
browser/components/preferences/privacy.js | 19 +
.../securitylevel/content/securityLevel.js | 501 +++++++++++++++++++++
.../securitylevel/content/securityLevelButton.css | 9 +
.../content/securityLevelButton.inc.xhtml | 7 +
.../securitylevel/content/securityLevelButton.svg | 21 +
.../securitylevel/content/securityLevelPanel.css | 82 ++++
.../content/securityLevelPanel.inc.xhtml | 38 ++
.../content/securityLevelPreferences.css | 26 ++
.../content/securityLevelPreferences.inc.xhtml | 62 +++
browser/components/securitylevel/jar.mn | 6 +
browser/components/securitylevel/moz.build | 1 +
16 files changed, 791 insertions(+)
diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js
index 5ad00bdddb30..aa4542889d9a 100644
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -213,6 +213,11 @@ XPCOMUtils.defineLazyScriptGetter(
["DownloadsButton", "DownloadsIndicatorView"],
"chrome://browser/content/downloads/indicator.js"
);
+XPCOMUtils.defineLazyScriptGetter(
+ this,
+ ["SecurityLevelButton"],
+ "chrome://browser/content/securitylevel/securityLevel.js"
+);
XPCOMUtils.defineLazyScriptGetter(
this,
"gEditItemOverlay",
@@ -1811,6 +1816,9 @@ var gBrowserInit = {
// doesn't flicker as the window is being shown.
DownloadsButton.init();
+ // Init the SecuritySettingsButton
+ SecurityLevelButton.init();
+
// Certain kinds of automigration rely on this notification to complete
// their tasks BEFORE the browser window is shown. SessionStore uses it to
// restore tabs into windows AFTER important parts like gMultiProcessBrowser
@@ -2490,6 +2498,8 @@ var gBrowserInit = {
DownloadsButton.uninit();
+ SecurityLevelButton.uninit();
+
gAccessibilityServiceIndicator.uninit();
if (gToolbarKeyNavEnabled) {
diff --git a/browser/base/content/browser.xhtml b/browser/base/content/browser.xhtml
index 6898bdad1007..d33310813d4f 100644
--- a/browser/base/content/browser.xhtml
+++ b/browser/base/content/browser.xhtml
@@ -20,6 +20,8 @@
<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/tabbrowser.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/downloads/downloads.css" type="text/css"?>
+<?xml-stylesheet href="chrome://browser/content/securitylevel/securityLevelPanel.css"?>
+<?xml-stylesheet href="chrome://browser/content/securitylevel/securityLevelButton.css"?>
<?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/usercontext/usercontext.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
@@ -644,6 +646,7 @@
#include ../../components/controlcenter/content/protectionsPanel.inc.xhtml
#include ../../components/downloads/content/downloadsPanel.inc.xhtml
#include ../../../devtools/startup/enableDevToolsPopup.inc.xhtml
+#include ../../components/securitylevel/content/securityLevelPanel.inc.xhtml
#include browser-allTabsMenu.inc.xhtml
<hbox id="downloads-animation-container">
@@ -2004,6 +2007,8 @@
</stack>
</toolbarbutton>
+#include ../../components/securitylevel/content/securityLevelButton.inc.xhtml
+
<toolbarbutton id="library-button" class="toolbarbutton-1 chromeclass-toolbar-additional subviewbutton-nav"
removable="true"
onmousedown="PanelUI.showSubView('appMenu-libraryView', this, event);"
diff --git a/browser/components/moz.build b/browser/components/moz.build
index 7e7b928d757d..f4ec78486769 100644
--- a/browser/components/moz.build
+++ b/browser/components/moz.build
@@ -51,6 +51,7 @@ DIRS += [
"protocolhandler",
"resistfingerprinting",
"search",
+ "securitylevel",
"sessionstore",
"shell",
"syncedtabs",
diff --git a/browser/components/preferences/preferences.xhtml b/browser/components/preferences/preferences.xhtml
index 4b0c351c9185..7464274ac4d7 100644
--- a/browser/components/preferences/preferences.xhtml
+++ b/browser/components/preferences/preferences.xhtml
@@ -12,6 +12,7 @@
<?xml-stylesheet href="chrome://browser/skin/preferences/search.css"?>
<?xml-stylesheet href="chrome://browser/skin/preferences/containers.css"?>
<?xml-stylesheet href="chrome://browser/skin/preferences/privacy.css"?>
+<?xml-stylesheet href="chrome://browser/content/securitylevel/securityLevelPreferences.css"?>
<!DOCTYPE html>
diff --git a/browser/components/preferences/privacy.inc.xhtml b/browser/components/preferences/privacy.inc.xhtml
index 09d66e136d81..96f7a021f645 100644
--- a/browser/components/preferences/privacy.inc.xhtml
+++ b/browser/components/preferences/privacy.inc.xhtml
@@ -924,6 +924,8 @@
<html:h1 data-l10n-id="security-header"/>
</hbox>
+#include ../securitylevel/content/securityLevelPreferences.inc.xhtml
+
<!-- addons, forgery (phishing) UI Security -->
<groupbox id="browsingProtectionGroup" data-category="panePrivacy" hidden="true">
<label><html:h2 data-l10n-id="security-browsing-protection"/></label>
diff --git a/browser/components/preferences/privacy.js b/browser/components/preferences/privacy.js
index 0706f9e8bae9..2827dc8341ee 100644
--- a/browser/components/preferences/privacy.js
+++ b/browser/components/preferences/privacy.js
@@ -80,6 +80,12 @@ XPCOMUtils.defineLazyGetter(this, "AlertsServiceDND", function() {
}
});
+XPCOMUtils.defineLazyScriptGetter(
+ this,
+ ["SecurityLevelPreferences"],
+ "chrome://browser/content/securitylevel/securityLevel.js"
+);
+
XPCOMUtils.defineLazyServiceGetter(
this,
"listManager",
@@ -305,6 +311,18 @@ function setUpContentBlockingWarnings() {
var gPrivacyPane = {
_pane: null,
+ /**
+ * Show the Security Level UI
+ */
+ _initSecurityLevel() {
+ SecurityLevelPreferences.init();
+ let unload = () => {
+ window.removeEventListener("unload", unload);
+ SecurityLevelPreferences.uninit();
+ };
+ window.addEventListener("unload", unload);
+ },
+
/**
* Whether the prompt to restart Firefox should appear when changing the autostart pref.
*/
@@ -516,6 +534,7 @@ var gPrivacyPane = {
this.trackingProtectionReadPrefs();
this.networkCookieBehaviorReadPrefs();
this._initTrackingProtectionExtensionControl();
+ this._initSecurityLevel();
Services.telemetry.setEventRecordingEnabled("pwmgr", true);
diff --git a/browser/components/securitylevel/content/securityLevel.js b/browser/components/securitylevel/content/securityLevel.js
new file mode 100644
index 000000000000..b47d0cfb545e
--- /dev/null
+++ b/browser/components/securitylevel/content/securityLevel.js
@@ -0,0 +1,501 @@
+"use strict";
+
+ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
+ChromeUtils.import("resource://gre/modules/Services.jsm");
+
+XPCOMUtils.defineLazyModuleGetters(this, {
+ CustomizableUI: "resource:///modules/CustomizableUI.jsm",
+ PanelMultiView: "resource:///modules/PanelMultiView.jsm",
+});
+
+ChromeUtils.defineModuleGetter(
+ this,
+ "TorStrings",
+ "resource:///modules/TorStrings.jsm"
+);
+
+/*
+ Security Level Prefs
+
+ Getters and Setters for relevant torbutton prefs
+*/
+const SecurityLevelPrefs = {
+ security_slider_pref : "extensions.torbutton.security_slider",
+ security_custom_pref : "extensions.torbutton.security_custom",
+
+ get securitySlider() {
+ try {
+ return Services.prefs.getIntPref(this.security_slider_pref);
+ } catch(e) {
+ // init pref to 4 (standard)
+ const val = 4;
+ Services.prefs.setIntPref(this.security_slider_pref, val);
+ return val;
+ }
+ },
+
+ set securitySlider(val) {
+ Services.prefs.setIntPref(this.security_slider_pref, val);
+ },
+
+ get securityCustom() {
+ try {
+ return Services.prefs.getBoolPref(this.security_custom_pref);
+ } catch(e) {
+ // init custom to false
+ const val = false;
+ Services.prefs.setBoolPref(this.security_custom_pref, val);
+ return val;
+ }
+ },
+
+ set securityCustom(val) {
+ Services.prefs.setBoolPref(this.security_custom_pref, val);
+ },
+}; /* Security Level Prefs */
+
+/*
+ Security Level Button Code
+
+ Controls init and update of the security level toolbar button
+*/
+
+const SecurityLevelButton = {
+ _securityPrefsBranch : null,
+
+ _populateXUL : function(securityLevelButton) {
+ if (securityLevelButton != null) {
+ securityLevelButton.setAttribute("tooltiptext", TorStrings.securityLevel.securityLevel);
+ securityLevelButton.setAttribute("label", TorStrings.securityLevel.securityLevel);
+ }
+ },
+
+ _configUIFromPrefs : function(securityLevelButton) {
+ if (securityLevelButton != null) {
+ let securitySlider = SecurityLevelPrefs.securitySlider;
+ let classList = securityLevelButton.classList;
+ classList.remove("standard", "safer", "safest");
+ switch(securitySlider) {
+ case 4:
+ classList.add("standard");
+ securityLevelButton.setAttribute("tooltiptext", TorStrings.securityLevel.standard.tooltip);
+ break;
+ case 2:
+ classList.add("safer");
+ securityLevelButton.setAttribute("tooltiptext", TorStrings.securityLevel.safer.tooltip);
+ break;
+ case 1:
+ classList.add("safest");
+ securityLevelButton.setAttribute("tooltiptext", TorStrings.securityLevel.safest.tooltip);
+ break;
+ }
+ }
+ },
+
+ get button() {
+ let button = document.getElementById("security-level-button");
+ if (!button) {
+ return null;
+ }
+ return button;
+ },
+
+ get anchor() {
+ let anchor = this.button.icon;
+ if (!anchor) {
+ return null;
+ }
+
+ anchor.setAttribute("consumeanchor", SecurityLevelButton.button.id);
+ return anchor;
+ },
+
+ init : function() {
+ // set the initial class based off of the current pref
+ let button = this.button;
+ this._populateXUL(button);
+ this._configUIFromPrefs(button);
+
+ this._securityPrefsBranch = Services.prefs.getBranch("extensions.torbutton.");
+ this._securityPrefsBranch.addObserver("", this, false);
+
+ CustomizableUI.addListener(this);
+
+ SecurityLevelPanel.init();
+ },
+
+ uninit : function() {
+ CustomizableUI.removeListener(this);
+
+ this._securityPrefsBranch.removeObserver("", this);
+ this._securityPrefsBranch = null;
+
+ SecurityLevelPanel.uninit();
+ },
+
+ observe : function(subject, topic, data) {
+ switch(topic) {
+ case "nsPref:changed":
+ if (data == "security_slider") {
+ this._configUIFromPrefs(this.button);
+ }
+ break;
+ }
+ },
+
+ // callback for entering the 'Customize Firefox' screen to set icon
+ onCustomizeStart : function(window) {
+ let navigatorToolbox = document.getElementById("navigator-toolbox");
+ let button = navigatorToolbox.palette.querySelector("#security-level-button");
+ this._populateXUL(button);
+ this._configUIFromPrefs(button);
+ },
+
+ // callback when CustomizableUI modifies DOM
+ onWidgetAfterDOMChange : function(aNode, aNextNode, aContainer, aWasRemoval) {
+ if (aNode.id == "security-level-button" && !aWasRemoval) {
+ this._populateXUL(aNode);
+ this._configUIFromPrefs(aNode);
+ }
+ },
+
+ // for when the toolbar button needs to be activated and displays the Security Level panel
+ //
+ // In the toolbarbutton xul you'll notice we register this callback for both onkeypress and
+ // onmousedown. We do this to match the behavior of other panel spawning buttons such as Downloads,
+ // Library, and the Hamburger menus. Using oncommand alone would result in only getting fired
+ // after onclick, which is mousedown followed by mouseup.
+ onCommand : function(aEvent) {
+ // snippet stolen from /browser/components/downloads/indicator.js DownloadsIndicatorView.onCommand(evt)
+ if (
+ (aEvent.type == "mousedown" && aEvent.button != 0) ||
+ (aEvent.type == "keypress" && aEvent.key != " " && aEvent.key != "Enter")
+ ) {
+ return;
+ }
+
+ // we need to set this attribute for the button to be shaded correctly to look like it is pressed
+ // while the security level panel is open
+ this.button.setAttribute("open", "true");
+ SecurityLevelPanel.show();
+ },
+}; /* Security Level Button */
+
+/*
+ Security Level Panel Code
+
+ Controls init and update of the panel in the security level hanger
+*/
+
+const SecurityLevelPanel = {
+ _securityPrefsBranch : null,
+ _panel : null,
+ _anchor : null,
+ _populated : false,
+
+ _populateXUL : function() {
+ // get the panel elements we need to populate
+ let panelview = document.getElementById("securityLevel-panelview");
+ let labelHeader = panelview.querySelector("#securityLevel-header");
+ let labelCustomWarning = panelview.querySelector("#securityLevel-customWarning")
+ let labelLearnMore = panelview.querySelector("#securityLevel-learnMore");
+ let buttonRestoreDefaults = panelview.querySelector("#securityLevel-restoreDefaults");
+ let buttonAdvancedSecuritySettings = panelview.querySelector("#securityLevel-advancedSecuritySettings");
+
+ labelHeader.setAttribute("value", TorStrings.securityLevel.securityLevel);
+ labelCustomWarning.setAttribute("value", TorStrings.securityLevel.customWarning);
+ labelLearnMore.setAttribute("value", TorStrings.securityLevel.learnMore);
+ labelLearnMore.setAttribute("href", TorStrings.securityLevel.learnMoreURL);
+ buttonRestoreDefaults.setAttribute("label", TorStrings.securityLevel.restoreDefaults);
+ buttonAdvancedSecuritySettings.setAttribute("label", TorStrings.securityLevel.advancedSecuritySettings);
+
+ // rest of the XUL is set based on security prefs
+ this._configUIFromPrefs();
+
+ this._populated = true;
+ },
+
+ _configUIFromPrefs : function() {
+ // get security prefs
+ let securitySlider = SecurityLevelPrefs.securitySlider;
+ let securityCustom = SecurityLevelPrefs.securityCustom;
+
+ // get the panel elements we need to populate
+ let panelview = document.getElementById("securityLevel-panelview");
+ let labelLevel = panelview.querySelector("#securityLevel-level");
+ let labelCustomWarning = panelview.querySelector("#securityLevel-customWarning")
+ let summary = panelview.querySelector("#securityLevel-summary");
+ let buttonRestoreDefaults = panelview.querySelector("#securityLevel-restoreDefaults");
+ let buttonAdvancedSecuritySettings = panelview.querySelector("#securityLevel-advancedSecuritySettings");
+
+ // only visible when user is using custom settings
+ labelCustomWarning.hidden = !securityCustom;
+ buttonRestoreDefaults.hidden = !securityCustom;
+
+ // Descriptions change based on security level
+ switch(securitySlider) {
+ // standard
+ case 4:
+ labelLevel.setAttribute("value", TorStrings.securityLevel.standard.level);
+ summary.textContent = TorStrings.securityLevel.standard.summary;
+ break;
+ // safer
+ case 2:
+ labelLevel.setAttribute("value", TorStrings.securityLevel.safer.level);
+ summary.textContent = TorStrings.securityLevel.safer.summary;
+ break;
+ // safest
+ case 1:
+ labelLevel.setAttribute("value", TorStrings.securityLevel.safest.level);
+ summary.textContent = TorStrings.securityLevel.safest.summary;
+ break;
+ }
+
+ // override the summary text with custom warning
+ if (securityCustom) {
+ summary.textContent = TorStrings.securityLevel.custom.summary;
+ }
+ },
+
+ init : function() {
+ this._securityPrefsBranch = Services.prefs.getBranch("extensions.torbutton.");
+ this._securityPrefsBranch.addObserver("", this, false);
+ },
+
+ uninit : function() {
+ this._securityPrefsBranch.removeObserver("", this);
+ this._securityPrefsBranch = null;
+ },
+
+ show : function() {
+ // we have to defer this until after the browser has finished init'ing before
+ // we can populate the panel
+ if (!this._populated) {
+ this._populateXUL();
+ }
+
+ let panel = document.getElementById("securityLevel-panel");
+ panel.hidden = false;
+ PanelMultiView.openPopup(panel, SecurityLevelButton.anchor, "bottomcenter topright",
+ 0, 0, false, null).catch(Cu.reportError);
+ },
+
+ hide : function() {
+ let panel = document.getElementById("securityLevel-panel");
+ PanelMultiView.hidePopup(panel);
+ },
+
+ restoreDefaults : function() {
+ SecurityLevelPrefs.securityCustom = false;
+ // hide and reshow so that layout re-renders properly
+ this.hide();
+ this.show(this._anchor);
+ },
+
+ openAdvancedSecuritySettings : function() {
+ openPreferences("privacy-securitylevel");
+ this.hide();
+ },
+
+ // callback when prefs change
+ observe : function(subject, topic, data) {
+ switch(topic) {
+ case "nsPref:changed":
+ if (data == "security_slider" || data == "security_custom") {
+ this._configUIFromPrefs();
+ }
+ break;
+ }
+ },
+
+ // callback when the panel is displayed
+ onPopupShown : function(event) {
+ SecurityLevelButton.button.setAttribute("open", "true");
+ },
+
+ // callback when the panel is hidden
+ onPopupHidden : function(event) {
+ SecurityLevelButton.button.removeAttribute("open");
+ }
+}; /* Security Level Panel */
+
+/*
+ Security Level Preferences Code
+
+ Code to handle init and update of security level section in about:preferences#privacy
+*/
+
+const SecurityLevelPreferences =
+{
+ _securityPrefsBranch : null,
+
+ _populateXUL : function() {
+ let groupbox = document.getElementById("securityLevel-groupbox");
+
+ let labelHeader = groupbox.querySelector("#securityLevel-header");
+ labelHeader.textContent = TorStrings.securityLevel.securityLevel;
+
+ let spanOverview = groupbox.querySelector("#securityLevel-overview");
+ spanOverview.textContent = TorStrings.securityLevel.overview;
+
+ let labelLearnMore = groupbox.querySelector("#securityLevel-learnMore");
+ labelLearnMore.setAttribute("value", TorStrings.securityLevel.learnMore);
+ labelLearnMore.setAttribute("href", TorStrings.securityLevel.learnMoreURL);
+
+ let radiogroup = document.getElementById("securityLevel-radiogroup");
+ radiogroup.addEventListener("command", SecurityLevelPreferences.selectSecurityLevel);
+
+ let populateRadioElements = function(vboxQuery, stringStruct) {
+ let vbox = groupbox.querySelector(vboxQuery);
+
+ let radio = vbox.querySelector("radio");
+ radio.setAttribute("label", stringStruct.level);
+
+ let customWarning = vbox.querySelector("#securityLevel-customWarning");
+ customWarning.setAttribute("value", TorStrings.securityLevel.customWarning);
+
+ let labelSummary = vbox.querySelector("#securityLevel-summary");
+ labelSummary.textContent = stringStruct.summary;
+
+ let labelRestoreDefaults = vbox.querySelector("#securityLevel-restoreDefaults");
+ labelRestoreDefaults.setAttribute("value", TorStrings.securityLevel.restoreDefaults);
+ labelRestoreDefaults.addEventListener("click", SecurityLevelPreferences.restoreDefaults);
+
+ let description1 = vbox.querySelector("#securityLevel-description1");
+ if (description1) {
+ description1.textContent = stringStruct.description1;
+ }
+ let description2 = vbox.querySelector("#securityLevel-description2");
+ if (description2) {
+ description2.textContent = stringStruct.description2;
+ }
+ let description3 = vbox.querySelector("#securityLevel-description3");
+ if (description3) {
+ description3.textContent = stringStruct.description3;
+ }
+ };
+
+ populateRadioElements("#securityLevel-vbox-standard", TorStrings.securityLevel.standard);
+ populateRadioElements("#securityLevel-vbox-safer", TorStrings.securityLevel.safer);
+ populateRadioElements("#securityLevel-vbox-safest", TorStrings.securityLevel.safest);
+ },
+
+ _configUIFromPrefs : function() {
+ // read our prefs
+ let securitySlider = SecurityLevelPrefs.securitySlider;
+ let securityCustom = SecurityLevelPrefs.securityCustom;
+
+ // get our elements
+ let groupbox = document.getElementById("securityLevel-groupbox");
+
+ let radiogroup = groupbox.querySelector("#securityLevel-radiogroup");
+ let labelStandardCustom = groupbox.querySelector("#securityLevel-vbox-standard label#securityLevel-customWarning");
+ let labelSaferCustom = groupbox.querySelector("#securityLevel-vbox-safer label#securityLevel-customWarning");
+ let labelSafestCustom = groupbox.querySelector("#securityLevel-vbox-safest label#securityLevel-customWarning");
+ let labelStandardRestoreDefaults = groupbox.querySelector("#securityLevel-vbox-standard label#securityLevel-restoreDefaults");
+ let labelSaferRestoreDefaults = groupbox.querySelector("#securityLevel-vbox-safer label#securityLevel-restoreDefaults");
+ let labelSafestRestoreDefaults = groupbox.querySelector("#securityLevel-vbox-safest label#securityLevel-restoreDefaults");
+
+ // hide custom label by default until we know which level we're at
+ labelStandardCustom.hidden = true;
+ labelSaferCustom.hidden = true;
+ labelSafestCustom.hidden = true;
+
+ labelStandardRestoreDefaults.hidden = true;
+ labelSaferRestoreDefaults.hidden = true;
+ labelSafestRestoreDefaults.hidden = true;
+
+ switch(securitySlider) {
+ // standard
+ case 4:
+ radiogroup.value = "standard";
+ labelStandardCustom.hidden = !securityCustom;
+ labelStandardRestoreDefaults.hidden = !securityCustom;
+ break;
+ // safer
+ case 2:
+ radiogroup.value = "safer";
+ labelSaferCustom.hidden = !securityCustom;
+ labelSaferRestoreDefaults.hidden = !securityCustom;
+ break;
+ // safest
+ case 1:
+ radiogroup.value = "safest";
+ labelSafestCustom.hidden = !securityCustom;
+ labelSafestRestoreDefaults.hidden = !securityCustom;
+ break;
+ }
+ },
+
+ init : function() {
+ // populate XUL with localized strings
+ this._populateXUL();
+
+ // read prefs and populate UI
+ this._configUIFromPrefs();
+
+ // register for pref chagnes
+ this._securityPrefsBranch = Services.prefs.getBranch("extensions.torbutton.");
+ this._securityPrefsBranch.addObserver("", this, false);
+ },
+
+ uninit : function() {
+ // unregister for pref change events
+ this._securityPrefsBranch.removeObserver("", this);
+ this._securityPrefsBranch = null;
+ },
+
+ // callback for when prefs change
+ observe : function(subject, topic, data) {
+ switch(topic) {
+ case "nsPref:changed":
+ if (data == "security_slider" ||
+ data == "security_custom") {
+ this._configUIFromPrefs();
+ }
+ break;
+ }
+ },
+
+ selectSecurityLevel : function() {
+ // radio group elements
+ let radiogroup = document.getElementById("securityLevel-radiogroup");
+
+ // update pref based on selected radio option
+ switch (radiogroup.value) {
+ case "standard":
+ SecurityLevelPrefs.securitySlider = 4;
+ break;
+ case "safer":
+ SecurityLevelPrefs.securitySlider = 2;
+ break;
+ case "safest":
+ SecurityLevelPrefs.securitySlider = 1;
+ break;
+ }
+
+ SecurityLevelPreferences.restoreDefaults();
+ },
+
+ restoreDefaults : function() {
+ SecurityLevelPrefs.securityCustom = false;
+ },
+}; /* Security Level Prefereces */
+
+Object.defineProperty(this, "SecurityLevelButton", {
+ value: SecurityLevelButton,
+ enumerable: true,
+ writable: false
+});
+
+Object.defineProperty(this, "SecurityLevelPanel", {
+ value: SecurityLevelPanel,
+ enumerable: true,
+ writable: false
+});
+
+Object.defineProperty(this, "SecurityLevelPreferences", {
+ value: SecurityLevelPreferences,
+ enumerable: true,
+ writable: false
+});
diff --git a/browser/components/securitylevel/content/securityLevelButton.css b/browser/components/securitylevel/content/securityLevelButton.css
new file mode 100644
index 000000000000..81f2365bae28
--- /dev/null
+++ b/browser/components/securitylevel/content/securityLevelButton.css
@@ -0,0 +1,9 @@
+toolbarbutton#security-level-button.standard {
+ list-style-image: url("chrome://browser/content/securitylevel/securityLevelButton.svg#standard");
+}
+toolbarbutton#security-level-button.safer {
+ list-style-image: url("chrome://browser/content/securitylevel/securityLevelButton.svg#safer");
+}
+toolbarbutton#security-level-button.safest {
+ list-style-image: url("chrome://browser/content/securitylevel/securityLevelButton.svg#safest");
+}
diff --git a/browser/components/securitylevel/content/securityLevelButton.inc.xhtml b/browser/components/securitylevel/content/securityLevelButton.inc.xhtml
new file mode 100644
index 000000000000..96ee1ec0ca49
--- /dev/null
+++ b/browser/components/securitylevel/content/securityLevelButton.inc.xhtml
@@ -0,0 +1,7 @@
+<toolbarbutton id="security-level-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
+ badged="true"
+ removable="true"
+ onmousedown="SecurityLevelButton.onCommand(event);"
+ onkeypress="SecurityLevelButton.onCommand(event);"
+ closemenu="none"
+ cui-areatype="toolbar"/>
diff --git a/browser/components/securitylevel/content/securityLevelButton.svg b/browser/components/securitylevel/content/securityLevelButton.svg
new file mode 100644
index 000000000000..8535cdcc531e
--- /dev/null
+++ b/browser/components/securitylevel/content/securityLevelButton.svg
@@ -0,0 +1,21 @@
+<svg width="14px" height="16px" viewBox="0 0 14 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <style>
+ use:not(:target) {
+ display: none;
+ }
+ </style>
+ <defs>
+ <g id="standard_icon" stroke="none" stroke-width="1">
+ <path d="M7.0 2.16583509C7.0 2.16583509 2.0 4.24375717 2.0 4.24375717C2.0 4.24375717 2.0 7.27272727 2.0 7.27272727C2.0 10.2413541 4.13435329 13.0576771 7.0 13.9315843C9.8656467 13.0576771 12.0 10.2413541 12.0 7.27272727C12.0 7.27272727 12.0 4.24375717 12.0 4.24375717C12.0 4.24375717 7.0 2.16583509 7.0 2.16583509C7.0 2.16583509 7.0 2.16583509 7.0 2.16583509M7.0 0.0C7.0 0.0 14.0 2.90909091 14.0 2.90909091C14.0 2.90909091 14.0 7.27272727 14.0 7.27272727C14.0 11.3090909 11.0133333 15.0836364 7.0 16.0C2.98666667 15.0836364 0.0 11.3090909 0.0 7.27272727C0.0 7.27272727 0.0 2.90909091 0.0 2.90909091C0.0 2.90909091 7.0 0.0 7.0 0.0C7.0 0.0 7.0 0.0 7.0 0.0" />
+ </g>
+ <g id="safer_icon" stroke="none" stroke-width="1">
+ <path fill-rule="nonzero" d="M7.0 2.1658351C7.0 13.931584 7.0 2.1658351 7.0 13.931584C9.8656467 13.057677 12.0 10.241354 12.0 7.2727273C12.0 7.2727273 12.0 4.2437572 12.0 4.2437572C12.0 4.2437572 7.0 2.1658351 7.0 2.1658351C7.0 2.1658351 7.0 2.1658351 7.0 2.1658351M7.0 0.0C7.0 0.0 14.0 2.9090909 14.0 2.9090909C14.0 2.9090909 14.0 7.2727273 14.0 7.2727273C14.0 11.309091 11.013333 15.083636 7.0 16.0C2.9866667 15.083636 0.0 11.309091 0.0 7.2727273C0.0 7.2727273 0.0 2.9090909 0.0 2.9090909C0.0 2.9090909 7.0 0.0 7.0 0.0"/>
+ </g>
+ <g id="safest_icon" stroke="none" stroke-width="1">
+ <path d="M7.0 0.0C7.0 0.0 14.0 2.90909091 14.0 2.90909091C14.0 2.90909091 14.0 7.27272727 14.0 7.27272727C14.0 11.3090909 11.0133333 15.0836364 7.0 16.0C2.98666667 15.0836364 0.0 11.3090909 0.0 7.27272727C0.0 7.27272727 0.0 2.90909091 0.0 2.90909091C0.0 2.90909091 7.0 0.0 7.0 0.0C7.0 0.0 7.0 0.0 7.0 0.0" />
+ </g>
+ </defs>
+ <use id="standard" fill="context-fill" fill-opacity="context-fill-opacity" href="#standard_icon" />
+ <use id="safer" fill="context-fill" fill-opacity="context-fill-opacity" href="#safer_icon" />
+ <use id="safest" fill="context-fill" fill-opacity="context-fill-opacity" href="#safest_icon" />
+</svg>
diff --git a/browser/components/securitylevel/content/securityLevelPanel.css b/browser/components/securitylevel/content/securityLevelPanel.css
new file mode 100644
index 000000000000..70022e2bd4b2
--- /dev/null
+++ b/browser/components/securitylevel/content/securityLevelPanel.css
@@ -0,0 +1,82 @@
+/* Security Level CSS */
+
+panel#securityLevel-panel > .panel-arrowcontainer > .panel-arrowcontent {
+ padding: 0;
+}
+
+panelview#securityLevel-panelview {
+ width: 20em;
+}
+
+panelview#securityLevel-panelview>vbox.panel-subview-body {
+ padding: 1em;
+}
+
+label#securityLevel-header {
+ text-transform: uppercase;
+ color: var(--panel-disabled-color);
+ font-size: 0.85em;
+ margin: 0 0 0.4em 0;
+ padding: 0;
+}
+
+hbox#securityLevel-levelHbox {
+ margin-bottom: 1em;
+}
+
+label#securityLevel-level {
+ font-size: 1.5em;
+ margin: 0 0.5em 0 0;
+ padding: 0;
+}
+
+label#securityLevel-customWarning {
+ border-radius: 2px;
+ background-color: #ffe845;
+ text-transform: uppercase;
+ font-weight: bolder;
+ font-size: 0.8em;
+ height: 1em;
+ line-height: 1em;
+ vertical-align: middle;
+ margin: auto;
+ padding: 0.4em;
+}
+
+panelview#securityLevel-panelview description {
+ margin: 0 -0.5em 0.5em 0;
+ padding: 0 !important;
+}
+
+label#securityLevel-learnMore {
+ margin: 0 0 1.0em 0;
+ padding: 0;
+}
+
+panelview#securityLevel-panelview button {
+ -moz-appearance: none;
+ background-color: var(--arrowpanel-dimmed);
+}
+
+panelview#securityLevel-panelview button:hover {
+ background-color: var(--arrowpanel-dimmed-further);
+}
+
+panelview#securityLevel-panelview button:active {
+ background-color: var(--arrowpanel-dimmed-even-further);
+}
+
+button#securityLevel-restoreDefaults {
+ margin: 0 0 1.0em 0;
+ padding: 0.45em;
+ color: inherit !important;
+}
+
+button#securityLevel-advancedSecuritySettings {
+ margin: 0 -1.0em -1.0em -1.0em;
+ border-radius: 0;
+ border-top: 1px solid var(--panel-separator-color);
+ padding: 0;
+ height: 3.0em;
+ color: inherit !important;
+}
diff --git a/browser/components/securitylevel/content/securityLevelPanel.inc.xhtml b/browser/components/securitylevel/content/securityLevelPanel.inc.xhtml
new file mode 100644
index 000000000000..4abbb12dd856
--- /dev/null
+++ b/browser/components/securitylevel/content/securityLevelPanel.inc.xhtml
@@ -0,0 +1,38 @@
+<panel id="securityLevel-panel"
+ role="group"
+ type="arrow"
+ orient="vertical"
+ level="top"
+ hidden="true"
+ class="panel-no-padding"
+ onpopupshown="SecurityLevelPanel.onPopupShown(event);"
+ onpopuphidden="SecurityLevelPanel.onPopupHidden(event);"
+ >
+ <panelmultiview mainViewId="securityLevel-panelview">
+ <panelview id="securityLevel-panelview" descriptionheightworkaround="true">
+ <vbox class="panel-subview-body">
+ <label id="securityLevel-header"/>
+ <hbox id="securityLevel-levelHbox">
+ <label id="securityLevel-level"/>
+ <vbox>
+ <spacer flex="1"/>
+ <label id="securityLevel-customWarning"/>
+ <spacer flex="1"/>
+ </vbox>
+ </hbox>
+ <description id="securityLevel-summary"/>
+ <label
+ id="securityLevel-learnMore"
+ class="learnMore text-link"
+ onclick="SecurityLevelPanel.hide();"
+ is="text-link"/>
+ <button
+ id="securityLevel-restoreDefaults"
+ oncommand="SecurityLevelPanel.restoreDefaults();"/>
+ <button
+ id="securityLevel-advancedSecuritySettings"
+ oncommand="SecurityLevelPanel.openAdvancedSecuritySettings();"/>
+ </vbox>
+ </panelview>
+ </panelmultiview>
+</panel>
diff --git a/browser/components/securitylevel/content/securityLevelPreferences.css b/browser/components/securitylevel/content/securityLevelPreferences.css
new file mode 100644
index 000000000000..0d1040d177d8
--- /dev/null
+++ b/browser/components/securitylevel/content/securityLevelPreferences.css
@@ -0,0 +1,26 @@
+label#securityLevel-customWarning {
+ border-radius: 2px;
+ background-color: #ffe845;
+ text-transform: uppercase;
+ font-weight: bolder;
+ font-size: 0.7em;
+ height: 1em;
+ line-height: 1em;
+ padding: 0.35em;
+}
+
+radiogroup#securityLevel-radiogroup radio {
+ font-weight: bold;
+}
+
+vbox#securityLevel-vbox-standard,
+vbox#securityLevel-vbox-safer,
+vbox#securityLevel-vbox-safest {
+ margin-top: 0.4em;
+}
+
+vbox#securityLevel-vbox-standard description.indent,
+vbox#securityLevel-vbox-safer description.indent,
+vbox#securityLevel-vbox-safest description.indent {
+ margin-inline-start: 0 !important;
+}
diff --git a/browser/components/securitylevel/content/securityLevelPreferences.inc.xhtml b/browser/components/securitylevel/content/securityLevelPreferences.inc.xhtml
new file mode 100644
index 000000000000..a108d44a7b51
--- /dev/null
+++ b/browser/components/securitylevel/content/securityLevelPreferences.inc.xhtml
@@ -0,0 +1,62 @@
+<groupbox id="securityLevel-groupbox" data-category="panePrivacy" hidden="true">
+ <label><html:h2 id="securityLevel-header"/></label>
+ <vbox data-subcategory="securitylevel" flex="1">
+ <description flex="1">
+ <html:span id="securityLevel-overview" class="tail-with-learn-more"/>
+ <label id="securityLevel-learnMore" class="learnMore text-link" is="text-link"/>
+ </description>
+ <radiogroup id="securityLevel-radiogroup">
+ <vbox id="securityLevel-vbox-standard">
+ <hbox>
+ <radio value="standard"/>
+ <vbox>
+ <spacer flex="1"/>
+ <label id="securityLevel-customWarning"/>
+ <spacer flex="1"/>
+ </vbox>
+ </hbox>
+ <description flex="1">
+ <html:span id="securityLevel-summary" class="tail-with-learn-more"/>
+ <label id="securityLevel-restoreDefaults"
+ class="learnMore text-link"/>
+ </description>
+ </vbox>
+ <vbox id="securityLevel-vbox-safer">
+ <hbox>
+ <radio value="safer"/>
+ <vbox>
+ <spacer flex="1"/>
+ <label id="securityLevel-customWarning"/>
+ <spacer flex="1"/>
+ </vbox>
+ </hbox>
+ <description flex="1">
+ <html:span id="securityLevel-summary" class="tail-with-learn-more"/>
+ <label id="securityLevel-restoreDefaults"
+ class="learnMore text-link"/>
+ </description>
+ <description id="securityLevel-description1" class="indent tip-caption"/>
+ <description id="securityLevel-description2" class="indent tip-caption"/>
+ <description id="securityLevel-description3" class="indent tip-caption"/>
+ </vbox>
+ <vbox id="securityLevel-vbox-safest">
+ <hbox>
+ <radio value="safest"/>
+ <vbox>
+ <spacer flex="1"/>
+ <label id="securityLevel-customWarning"/>
+ <spacer flex="1"/>
+ </vbox>
+ </hbox>
+ <description flex="1">
+ <html:span id="securityLevel-summary" class="tail-with-learn-more"/>
+ <label id="securityLevel-restoreDefaults"
+ class="learnMore text-link"/>
+ </description>
+ <description id="securityLevel-description1" class="indent tip-caption"/>
+ <description id="securityLevel-description2" class="indent tip-caption"/>
+ <description id="securityLevel-description3" class="indent tip-caption"/>
+ </vbox>
+ </radiogroup>
+ </vbox>
+</groupbox>
diff --git a/browser/components/securitylevel/jar.mn b/browser/components/securitylevel/jar.mn
new file mode 100644
index 000000000000..9ac408083fbc
--- /dev/null
+++ b/browser/components/securitylevel/jar.mn
@@ -0,0 +1,6 @@
+browser.jar:
+ content/browser/securitylevel/securityLevel.js (content/securityLevel.js)
+ content/browser/securitylevel/securityLevelPanel.css (content/securityLevelPanel.css)
+ content/browser/securitylevel/securityLevelButton.css (content/securityLevelButton.css)
+ content/browser/securitylevel/securityLevelPreferences.css (content/securityLevelPreferences.css)
+ content/browser/securitylevel/securityLevelButton.svg (content/securityLevelButton.svg)
diff --git a/browser/components/securitylevel/moz.build b/browser/components/securitylevel/moz.build
new file mode 100644
index 000000000000..2661ad7cb9f3
--- /dev/null
+++ b/browser/components/securitylevel/moz.build
@@ -0,0 +1 @@
+JAR_MANIFESTS += ["jar.mn"]
1
0