text
stringlengths
1
2.83M
id
stringlengths
16
152
metadata
dict
__index_level_0__
int64
0
949
/** @odoo-module **/ import {CharField} from "@web/views/fields/char/char_field"; import {loadBundle} from "@web/core/assets"; import {registry} from "@web/core/registry"; const {onWillStart, markup, onMounted, onPatched, useRef} = owl; export default class BokehChartWidget extends CharField { setup() { this.widget = useRef("widget"); onPatched(() => { var script = document.createElement("script"); script.text = this.json_value.script; this.widget.el.append(script); }); onMounted(() => { var script = document.createElement("script"); script.text = this.json_value.script; this.widget.el.append(script); }); super.setup(); onWillStart(() => loadBundle({ jsLibs: [ "/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-3.1.1.min.js", "/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-api-3.1.1.min.js", "/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-3.1.1.min.js", "/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-tables-3.1.1.min.js", "/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-mathjax-3.1.1.min.js", "/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-gl-3.1.1.min.js", ], }) ); } get json_value() { var value = JSON.parse(this.props.value); if (value) { value.div = markup(value.div.trim()); } return value; } } BokehChartWidget.template = "web_widget_bokeh_chart.BokehChartField"; registry.category("fields").add("bokeh_chart", BokehChartWidget);
OCA/web/web_widget_bokeh_chart/static/src/js/web_widget_bokeh_chart.esm.js/0
{ "file_path": "OCA/web/web_widget_bokeh_chart/static/src/js/web_widget_bokeh_chart.esm.js", "repo_id": "OCA", "token_count": 901 }
93
This module enables full options in datepicker used in date fields : - Choose today's date in one click - Two buttons enabled : choosing today and closing datepicker with selected date .. figure:: ../static/description/change.png Clearing field doesn't work because there is a left 'todo' in Odoo core code here : https://github.com/odoo/odoo/blob/16.0/addons/web/static/lib/tempusdominus/tempusdominus.js#L1341
OCA/web/web_widget_datepicker_fulloptions/readme/DESCRIPTION.rst/0
{ "file_path": "OCA/web/web_widget_datepicker_fulloptions/readme/DESCRIPTION.rst", "repo_id": "OCA", "token_count": 121 }
94
* This module uses the library `mpld3 <https://github.com/mpld3/mpld3>`__ which is under the open-source BSD 3-clause "New" or "Revised" License. Copyright (c) 2013, Jake Vanderplas * This module uses the library `BeautifulSoup 4 <https://pypi.org/project/beautifulsoup4/>`__ which is under the open-source MIT License. Copyright (c) 2014, Leonard Richardson * Odoo Community Association (OCA)
OCA/web/web_widget_mpld3_chart/readme/CREDITS.rst/0
{ "file_path": "OCA/web/web_widget_mpld3_chart/readme/CREDITS.rst", "repo_id": "OCA", "token_count": 130 }
95
# Translation of Odoo Server. # This file contains the translation of the following modules: # * web_widget_numeric_step # msgid "" msgstr "" "Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2023-11-27 11:33+0000\n" "Last-Translator: mymage <stefano.consolaro@mymage.it>\n" "Language-Team: none\n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.17\n" #. module: web_widget_numeric_step #. odoo-javascript #: code:addons/web_widget_numeric_step/static/src/numeric_step.xml:0 #, python-format msgid "Minus" msgstr "Meno" #. module: web_widget_numeric_step #. odoo-javascript #: code:addons/web_widget_numeric_step/static/src/numeric_step.esm.js:0 #, python-format msgid "Numeric Step" msgstr "Passo numerico" #. module: web_widget_numeric_step #. odoo-javascript #: code:addons/web_widget_numeric_step/static/src/numeric_step.xml:0 #, python-format msgid "Plus" msgstr "Più" #, python-format #~ msgid "Value" #~ msgstr "Valore"
OCA/web/web_widget_numeric_step/i18n/it.po/0
{ "file_path": "OCA/web/web_widget_numeric_step/i18n/it.po", "repo_id": "OCA", "token_count": 462 }
96
<?xml version="1.0" encoding="UTF-8" ?> <odoo> <record id="view_users_tree" model="ir.ui.view"> <field name="model">res.users</field> <field name="inherit_id" ref="base.view_users_tree" /> <field name="arch" type="xml"> <field name="name" position="before"> <field name="id" widget="open_tab" /> </field> </field> </record> </odoo>
OCA/web/web_widget_open_tab/demo/res_users_view.xml/0
{ "file_path": "OCA/web/web_widget_open_tab/demo/res_users_view.xml", "repo_id": "OCA", "token_count": 200 }
97
You need to install the python plotly library:: pip3 install plotly==5.4.0
OCA/web/web_widget_plotly_chart/readme/INSTALL.rst/0
{ "file_path": "OCA/web/web_widget_plotly_chart/readme/INSTALL.rst", "repo_id": "OCA", "token_count": 26 }
98
# Translation of Odoo Server. # This file contains the translation of the following modules: # * web_widget_x2many_2d_matrix # # Translators: # Ana-Maria Olujić <ana-maria.olujic@slobodni-programi.hr>, 2016 msgid "" msgstr "" "Project-Id-Version: web (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-08-25 00:51+0000\n" "PO-Revision-Date: 2019-11-14 10:34+0000\n" "Last-Translator: Bole <bole@dajmi5.com>\n" "Language-Team: Croatian (http://www.transifex.com/oca/OCA-web-8-0/language/" "hr/)\n" "Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 3.8\n" #. module: web_widget_x2many_2d_matrix #. odoo-javascript #: code:addons/web_widget_x2many_2d_matrix/static/src/components/x2many_2d_matrix_renderer/x2many_2d_matrix_renderer.xml:0 #, python-format msgid "Nothing to display." msgstr "" #, python-format #~ msgid "Sorry no matrix data to display." #~ msgstr "Oprostite, nema matrice podataka za prikaz." #, python-format #~ msgid "Sum" #~ msgstr "Suma" #, python-format #~ msgid "Sum Total" #~ msgstr "Ukupno"
OCA/web/web_widget_x2many_2d_matrix/i18n/hr.po/0
{ "file_path": "OCA/web/web_widget_x2many_2d_matrix/i18n/hr.po", "repo_id": "OCA", "token_count": 551 }
99
# Copyright 2014 Square Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. root = exports ? this # A single flash message that appears at the bottom of the screen. Initialize # the flash message with the constructor, then call {#text} to set the message # text. # class root.Flash # Creates a new flash message with a given appearance type. # # @param [String] type The flash message appearance (alert, success, or # notice. # constructor: (@type) -> @element = $('<div/>').addClass("flash-#{@type}").appendTo($('#flashes')) @text_element = $('<span/>').appendTo(@element) @close = $('<a/>').text('×').appendTo(@element) @close.click => this.remove() switch @type when 'alert' then $('<i/>').addClass('fa fa-exclamation-circle').prependTo(@element) when 'success' then $('<i/>').addClass('fa fa-check-circle').prependTo(@element) when 'notice' then $('<i/>').addClass('fa fa-info-circle').prependTo(@element) @element.oneTime 500, => @element.addClass 'flash-shown' @element.oneTime(5000, => this.remove()) if @type == 'success' # Sets the message text. # # @param [String] text The message text. # @return [Flash] This object. # text: (text) -> @text_element.text text this # Fades this element out, then removes it. # remove: -> @close.remove() @element.addClass('flash-hidden') @element.oneTime 1000, => @element.remove()
SquareSquash/web/app/assets/javascripts/flash.js.coffee/0
{ "file_path": "SquareSquash/web/app/assets/javascripts/flash.js.coffee", "repo_id": "SquareSquash", "token_count": 658 }
100
// ----- SIZES $base-font-size: 12px; $nav-font-size: 14px; $control-font-size: 14px; $h1-size: 36px; $h2-size: 30px; $h3-size: 24px; $h4-size: 18px; $h5-size: 14px; $h6-size: 12px; $radius-size: 4px; $nav-height: 50px; // ----- COLORS $gray6: #eaeaea; $gray5: #dfdfdf; $gray4: #b3b3b3; $gray3: #727272; $gray2: #434343; $gray1: #212121; $red: #fd8f90; $orange: #fdbf65; $yellow: #fff994; $green: #cce4c2; $blue: #c6e2fe; $darkblue: #b0cae3; $darkgreen: #aec9a3; // ----- GRID $columns: 16; $widescreen-size: 1200px; $widescreen-column-width: $widescreen-size/$columns; $desktop-size: 960px; $desktop-column-width: $desktop-size/$columns; $ipad-size: 768px; $ipad-column-width: $ipad-size/$columns; $iphone-landscape-size: 480px; $iphone-landscape-column-width: $iphone-landscape-size/$columns; $iphone-portrait-size: 320px; $iphone-portrait-column-width: $iphone-portrait-size/$columns; // ----- RESPONSIVE @mixin iphone-portrait { @media (max-width: $iphone-landscape-size - 1px) { @content; } } @mixin iphone-landscape { @media (min-width: $iphone-landscape-size) and (max-width: $ipad-size - 1px) { @content; } } @mixin iphone-landscape-and-smaller { @media (max-width: $ipad-size - 1px) { @content; } } @mixin ipad { @media (min-width: $ipad-size) and (max-width: $desktop-size - 1px) { @content; } } @mixin ipad-and-larger { @media (min-width: $ipad-size) { @content; } } @mixin desktop { @media (min-width: $desktop-size) and (max-width: $widescreen-size - 1px) { @content; } } @mixin widescreen { @media (min-width: $widescreen-size) { @content; } } // ---- OTHER @mixin field-options { padding: 5px 10px; font-size: $control-font-size; font-weight: bold; box-sizing: border-box; // 100% width means 100%, dammit! background-color: $gray6; &[disabled], .disabled { background-color: white; border: 3px solid $gray6; color: $gray4; } }
SquareSquash/web/app/assets/stylesheets/_vars.scss/0
{ "file_path": "SquareSquash/web/app/assets/stylesheets/_vars.scss", "repo_id": "SquareSquash", "token_count": 900 }
101
# Copyright 2014 Square Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Controller and view mixin with shared methods pertaining for authenticating # and authorizing {User Users}. For specifics on different authentication # methods, see {PasswordAuthenticationHelpers} and {LdapAuthenticationHelpers}. # # The ID of the authenticated user is stored in the session. The presence of a # valid user ID in `session[:user_id]` is indicative of an authenticated # session. Authorization is handled by the {User#role} method. # # All public and protected methods are available to all controllers. The # following methods are also available to all views: {#current_user}, # {#logged_in?}, and {#logged_out?}. module AuthenticationHelpers extend ActiveSupport::Concern included do helper_method :current_user, :logged_in?, :logged_out? end # Clears a user session. def log_out session[:user_id] = nil @current_user = nil end # @return [User, nil] The currently logged-in User, or `nil` if the session is # unauthenticated. def current_user if session[:user_id] then @current_user ||= User.find_by_id(session[:user_id]) else nil end end # @return [true, false] Whether or not the session is authenticated. def logged_in? !current_user.nil? end # @return [true, false] Whether or not the session is unauthenticated. def logged_out? current_user.nil? end protected # A `before_filter` that requires an authenticated session to continue. If the # session is unauthenticated... # # * for HTML requests, redirects to the login URL with a flash notice. # * for API and Atom requests, returns a 401 Unauthorized response with an # empty body. def login_required if logged_in? then return true else respond_to do |format| format.xml { head :unauthorized } format.json { head :unauthorized } format.atom { head :unauthorized } format.html do redirect_to login_url(next: request.fullpath), notice: t('controllers.authentication.login_required') end end return false end end # A `before_filter` that requires an unauthenticated session to continue. If # the session is authenticated... # # * for HTML requests, redirects to the root URL. # * for API and Atom requests, returns a 401 Unauthorized response with an # empty body. def must_be_unauthenticated if logged_in? respond_to do |format| format.xml { head :unauthorized } format.json { head :unauthorized } format.atom { head :unauthorized } format.html { redirect_to root_url } end return false else return true end end # Sets the given user as the current user. Assumes that authentication has # already succeeded. # # @param [User] user A user to log in. def log_in_user(user) session[:user_id] = user.id @current_user = user end end
SquareSquash/web/app/controllers/additions/authentication_helpers.rb/0
{ "file_path": "SquareSquash/web/app/controllers/additions/authentication_helpers.rb", "repo_id": "SquareSquash", "token_count": 1159 }
102
# Copyright 2014 Square Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Singleton resource controller that works with a User's {NotificationThreshold} # for a Bug. class NotificationThresholdsController < ApplicationController before_filter :find_project before_filter :find_environment before_filter :find_bug before_filter :membership_required respond_to :json, except: :destroy # Creates a new NotificationThreshold from the given attributes. # # Routes # ------ # # * `POST /projects/:project_id/environments/:environment_id/bugs/:bug_id/notification_threshold` # # Path Parameters # --------------- # # | | | # |:------------------|:-------------------------------------------------------------------------------------------------------| # | `:project_id` | The slug of a {Project}. | # | `:environment_id` | The name of an {Environment} within that Project. | # | `:bug_id` | The number of a {Bug} within that Environment. The NotificationThreshold will be created for this Bug. | # # Body Parameters # --------------- # # | | | # |:-------------------------|:-----------------------------------------------------------------| # | `notification_threshold` | A parameterized hash of NotificationThreshold fields and values. | def create @notification_threshold = current_user.notification_thresholds.where(bug_id: @bug.id).create_or_update(notification_threshold_params) respond_with @notification_threshold, location: project_environment_bug_url(@project, @environment, @bug) end # Updates a NotificationThreshold with the given attributes. # # Routes # ------ # # * `PATCH /projects/:project_id/environments/:environment_id/bugs/:bug_id/notification_threshold` # # Path Parameters # --------------- # # | | | # |:------------------|:--------------------------------------------------| # | `:project_id` | The slug of a {Project}. | # | `:environment_id` | The name of an {Environment} within that Project. | # | `:bug_id` | The number of a {Bug} within that Environment. | # # Body Parameters # --------------- # # | | | # |:-------------------------|:-----------------------------------------------------------------| # | `notification_threshold` | A parameterized hash of NotificationThreshold fields and values. | def update @notification_threshold = current_user.notification_thresholds.where(bug_id: @bug.id).create_or_update(notification_threshold_params) respond_with @notification_threshold, location: project_environment_bug_url(@project, @environment, @bug) end # Deletes a NotificationThreshold. # # Routes # ------ # # * `DELETE /projects/:project_id/environments/:environment_id/bugs/:bug_id/notification_threshold` # # Path Parameters # --------------- # # | | | # |:------------------|:--------------------------------------------------| # | `:project_id` | The slug of a {Project}. | # | `:environment_id` | The name of an {Environment} within that Project. | # | `:bug_id` | The number of a {Bug} within that Environment. | def destroy current_user.notification_thresholds.where(bug_id: @bug.id).delete_all respond_to do |format| format.json { head :no_content } format.html { redirect_to project_environment_bug_url(@project, @environment, @bug, anchor: 'notifications') } end end private def notification_threshold_params params.require(:notification_threshold).permit(:threshold, :period) end end
SquareSquash/web/app/controllers/notification_thresholds_controller.rb/0
{ "file_path": "SquareSquash/web/app/controllers/notification_thresholds_controller.rb", "repo_id": "SquareSquash", "token_count": 1856 }
103
# Copyright 2014 Square Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Adds password-based authentication to the {User} model. Mixed in if this # Squash install is configured to use password-based authentication. # # All Users require a primary email. To facilitate this for password-based # installs, a virtual attribute called "email_address" is added to the User # model and exposed on the signup form. When the User is created, this attribute # is used to create the primary email address. module PasswordAuthentication extend ActiveSupport::Concern included do # @return [String] Virtual attribute containing the unencrypted password on # signup. attr_accessor :password # @return [String] Virtual attribute containing the User's primary email # address. attr_accessor :email_address attr_readonly :username has_metadata_column( crypted_password: {allow_nil: true}, pepper: {allow_nil: true} ) before_validation :generate_pepper, on: :create before_validation :encrypt_password validates :password, presence: true, confirmation: true, length: {within: 6..100}, exclusion: {in: %w(123456 password welcome ninja abc123 123456789 princess sunshine 12345678 qwerty)}, if: ->(obj) { obj.password.present? || obj.new_record? } validates :email_address, presence: true, email: true, on: :create validate :email_address_unique, on: :create end # Validates a password against this user. Not applicable for LDAP # authenticating installs. # # @param [String] password A proposed password. # @return [true, false] Whether it is the User's password. def authentic?(password) encrypt(password) == crypted_password end private def generate_pepper self.pepper = SecureRandom.base64 end def encrypt_password self.crypted_password = encrypt(password) if password.present? end def encrypt(password) Digest::SHA2.hexdigest "#{Squash::Configuration.authentication.password.salt}#{password}#{pepper}" end def create_primary_email emails.create!(email: email_address, primary: true) end def email_address_unique errors.add(:email_address, :taken) if Email.primary.where(email: email_address).exists? end end
SquareSquash/web/app/models/additions/password_authentication.rb/0
{ "file_path": "SquareSquash/web/app/models/additions/password_authentication.rb", "repo_id": "SquareSquash", "token_count": 989 }
104
# encoding: utf-8 # Copyright 2014 Square Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. require Rails.root.join('app', 'views', 'layouts', 'application.html.rb') module Views module Bugs # @private class Index < Views::Layouts::Application needs :project, :environment, :filter_users protected def page_title() "#{@project.name} #{@environment.name.capitalize} Bugs" end def body_content full_width_section { filter } table id: 'bugs' syntax_help_modal end def breadcrumbs() [@project, @environment] end def breadcrumbs_stats() return super unless @project.uses_releases? [ [@environment.bugs_count, "unresolved, unassigned bug"], [@environment.bugs.where(fixed: false, irrelevant: false, any_occurrence_crashed: true).count, "bug with at least one occurrence that resulted in a crash", "bugs with at least one occurrence that resulted in a crash"], [Occurrence.joins(:bug).where(bugs: {fixed: false, irrelevant: false}, crashed: true).count, "crash associated with an unresolved bug", "crashes associated with an unresolved bug"], [DeviceBug.joins(:bug).where(bugs: {fixed: false, irrelevant: false, environment_id: @environment.id}).count, "device that crashed because of an unresolved bug", "devices that crashed because of an unresolved bug"] ] end private def filter form(id: 'filter') do p do text "Show me " select_tag 'filter[fixed]', options_for_select([%w(unresolved false), %w(resolved true)]), class: 'input-small' text " " select_tag 'filter[irrelevant]', options_for_select([%w(critical false), %w(irrelevant true)]), class: 'input-small' if @project.uses_releases? text " exceptions that " select_tag 'filter[any_occurrence_crashed]', options_for_select([['did or did not', nil], ['did', 'true'], ['did not', 'false']]), class: 'input-small' text " result in a crash, " else text " exceptions" end text "assigned to " options = {'Sets' => [%w(nobody nobody), %w(somebody somebody), ['all bugs', 'anybody']]} options['Individuals'] = @filter_users.map { |fu| [fu.username, fu.id] } unless @filter_users.empty? select_tag 'filter[assigned_user_id]', grouped_options_for_select(options, 'nobody'), class: 'input-small' if @environment.deploys.builds.any? text " that occurred in build " select_tag 'filter[deploy_id]', options_for_select(@environment.deploys.builds.by_time.map do |d| ["#{d.build} (#{d.version})", d.id] end.unshift(['any', nil])), class: 'input-small' end end p do text "Search exception classes, exception messages, and comments: " text_field_tag 'filter[search]', '', class: 'input-medium', id: 'filter_search' span(class: 'aux') do text " (this field uses " a(href: '#syntax-help', rel: 'modal') do text "PostgreSQL " tt "tsquery" text " syntax" end text ")" end end end end def syntax_help_modal div(class: 'modal', id: 'syntax-help') do a "×", class: 'close' h1 "Search query syntax" div(class: 'modal-body') do p "Class names, messages, and comments are searched." pre "(windows | linux) & !osx & bsod" p "Find exceptions relating to “windows” or “linux” and “bsod” that don’t contain “osx”." pre "'microsoft windows'" p "Search for the phrase “microsoft windows”." pre "ArgumentError:A & my_method:B & 'fixed for now':C" p "Search for bugs with the class name “ArgumentError”, the word “my_method” in the message, and a comment containing “fixed for now”." pre "ArgumentError:AC" p "Search for bugs with the class name “ArgumentError” or with comments containing “ArgumentError”." pre "Invalid:*" p "Search for words starting with “Invalid”." pre "ActiveRecord:*A" p "Search for bugs with class names beginning with “ActiveRecord”." end end end end end end
SquareSquash/web/app/views/bugs/index.html.rb/0
{ "file_path": "SquareSquash/web/app/views/bugs/index.html.rb", "repo_id": "SquareSquash", "token_count": 2322 }
105
# encoding: utf-8 # Copyright 2014 Square Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. require 'rexml/document' require Rails.root.join('app', 'views', 'layouts', 'application.html.rb') module Views # @private module Occurrences # @private class Show < Views::Layouts::Application include HTMLBacktraceRendering needs :project, :environment, :bug, :occurrence protected def page_title() "Occurrence of Bug ##{number_with_delimiter @bug.number} (#{@project.name} #{@environment.name.capitalize})" end def body_content full_width_section do return truncated_info if @occurrence.truncated? div(id: 'occurrence-header') do h1 @bug.class_name if @occurrence.server? h4 @occurrence.hostname elsif @occurrence.web? h4 @occurrence.host elsif @occurrence.client? h4 @occurrence.device_type end end basic_info h5 "Message" pre @occurrence.message, class: 'scrollable' other_occurrence_info end tabbed_section -> { tab_header }, -> { tab_content } end def tab_header ul(class: 'tab-header') do li(class: 'active') { a "Backtrace", href: '#backtrace', rel: 'tab' } li { a "Parents", href: '#parents', rel: 'tab' } if @occurrence.nested? li { a "Rails", href: '#rails', rel: 'tab' } if @occurrence.rails? li { a "Request", href: '#request', rel: 'tab' } if @occurrence.request? li { a "Process", href: '#process', rel: 'tab' } if @occurrence.server? li { a "Device", href: '#device', rel: 'tab' } if @occurrence.client? || @occurrence.geo? || @occurrence.mobile? li { a "Browser", href: '#browser', rel: 'tab' } if @occurrence.browser? || @occurrence.screen? li { a "User Data", href: '#user_data', rel: 'tab' } if @occurrence.additional? end end def breadcrumbs() [@project, @environment, @bug, @occurrence] end private def truncated_info if @occurrence.redirect_target p(class: 'alert info') do text "This occurrence has been moved. (This typically happens when symbolication changes the bug's static analysis.) " a "Continue to the moved occurrence.", href: project_environment_bug_occurrence_url(@project, @environment, @occurrence.redirect_target.bug, @occurrence.redirect_target) end else p "This occurrence has been truncated. Only basic information is available.", class: 'alert error' end basic_info end def basic_info p do text "Occurred " time id: 'occurred-at', datetime: @occurrence.occurred_at.xmlschema text " on revision " text! commit_link(@project, @occurrence.revision) text ". Reported by the #{@occurrence.client} client library." end end def other_occurrence_info if @occurrence.web? h5 "Request" pre "#{@occurrence.request_method} #{@occurrence.url.try!(:to_s) || '(invalid URL)'}", class: 'scrollable' end end def tab_content div(class: 'tab-content tab-primary') do div(class: 'active', id: 'backtrace') { backtrace_tab } div(id: 'parents') { parents_tab } if @occurrence.nested? div(id: 'rails') { rails_tab } if @occurrence.rails? div(id: 'request') { request_tab } if @occurrence.request? div(id: 'process') { process_tab } if @occurrence.server? div(id: 'device') { device_tab } if @occurrence.client? || @occurrence.geo? || @occurrence.mobile? div(id: 'browser') { browser_tab } if @occurrence.browser? || @occurrence.screen? div(id: 'user_data') { user_data_tab } if @occurrence.additional? || !orphan_data.empty? end end def backtrace_tab render_backtraces @occurrence.backtraces, 'root' end def parents_tab @occurrence.parent_exceptions.each_with_index do |parent, index| details do summary do tt parent['class_name'] if parent['association'].present? text " (via " tt parent['association'] text ")" end end h6 "Message" pre parent['message'], class: 'scrollable' ul(class: 'pills backtrace-tabs') do li(class: 'active') { a "Backtraces", href: "#backtraces#{index}", rel: 'tab' } li { a "Instance Variables", href: "#ivars#{index}", rel: 'tab' } end div(class: 'tab-content', id: 'parents-tab-content') do div(class: 'active', id: "backtraces#{index}") { render_backtraces Occurrence.convert_backtraces(parent['backtraces']), "parent#{index}" } div(id: "ivars#{index}") { parameter_table parent['ivars'] } end end end end def rails_tab dl do dt "Controller" dd @occurrence.controller dt "Action" dd @occurrence.action end if @occurrence.session h4 "Session" parameter_table @occurrence.session end if @occurrence.flash h4 "Flash" parameter_table @occurrence.flash end end def request_tab dl do dt "XMLHttpRequest (Ajax)" dd(@occurrence.xhr? ? 'Yes' : 'No') end h4 "Parameters" parameter_table @occurrence.params h4 "Headers" parameter_table @occurrence.headers end def process_tab dl do dt "Hostname" dd @occurrence.hostname dt "PID" dd @occurrence.pid if @occurrence.root? dt "Root" dd @occurrence.root end if @occurrence.parent_process? dt "Parent Process" dd @occurrence.parent_process end unless @occurrence.process_native.nil? dt "Ran Natively?" dd(@occurrence.process_native? ? "Yes" : "No") end if @occurrence.process_path? dt "Launch Path" dd @occurrence.process_path end if @occurrence.arguments dt "Launch Arguments" dd { kbd @occurrence.arguments } end end h4 "UNIX Environment" parameter_table @occurrence.env_vars end def device_tab h4 "Device" dl do if @occurrence.device_id? dt "Device ID" dd @occurrence.device_id end dt "Type" dd @occurrence.device_type if @occurrence.architecture? dt "Architecture" dd @occurrence.architecture end dt "Operating System" dd do text @occurrence.operating_system if @occurrence.os_version? text " #{@occurrence.os_version}" end if @occurrence.os_build? text " (#{@occurrence.os_build})" end end if @occurrence.physical_memory dt "Physical Memory" dd number_to_human_size(@occurrence.physical_memory) end if @occurrence.power_state dt "Power State" dd @occurrence.power_state end if @occurrence.orientation dt "Orientation" dd @occurrence.orientation end end h4 "Application" dl do if @occurrence.version? dt "Version" dd @occurrence.version end dt "Build" dd @occurrence.build end if @occurrence.geo? h4 "Geolocation" geotag = CGI.escape([@occurrence.lat, @occurrence.lon].join(',')) iframe height: 350, frameborder: 0, scrolling: 0, marginheight: 0, marginwidth: 0, src: "http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=#{geotag}&aq=&ie=UTF8&t=m&z=13&output=embed" dl do dt "Latitude" dd number_to_dms @occurrence.lat, :lat dt "Longitude" dd number_to_dms @occurrence.lon, :lon if @occurrence.altitude? dt "Altitude" dd "#{number_with_delimiter @occurrence.altitude} m" end if @occurrence.location_precision? dt "Precision" dd number_with_delimiter(@occurrence.location_precision) end if @occurrence.heading? dt "Heading" dd "#{@occurrence.heading}°" end if @occurrence.speed? dt "Speed" dd "#{number_with_delimiter @occurrence.speed} m/s" end end end if @occurrence.mobile? h4 "Mobile Network" dl do dt "Operator" dd @occurrence.network_operator dt "Type" dd @occurrence.network_type if @occurrence.connectivity? dt "Connectivity Source" dd @occurrence.connectivity end end end end def browser_tab if @occurrence.browser? dl do dt "Browser" dd "#{@occurrence.browser_name} — version #{@occurrence.browser_version}" dt "Operating System" dd @occurrence.browser_os dt "Render Engine" dd "#{@occurrence.browser_engine} — version #{@occurrence.browser_engine_version}" end end if @occurrence.screen? dl do if @occurrence.screen_width dt "Screen Dimensions" dd "#{@occurrence.screen_width} × #{@occurrence.screen_height}" end if @occurrence.window_width dt "Window Dimensions" dd "#{@occurrence.window_width} × #{@occurrence.window_height}" end if @occurrence.color_depth dt "Color Depth" dd "#{@occurrence.color_depth}-bit" end end end end def user_data_tab if @occurrence.ivars.present? h4 "Instance Variables" parameter_table @occurrence.ivars end if @occurrence.user_data.present? h4 "User Data" parameter_table @occurrence.user_data end if @occurrence.extra_data.present? h4 "Unrecognized Fields" parameter_table @occurrence.extra_data end unless orphan_data.empty? h4 "Other Fields" parameter_table orphan_data end end def parameter_table(values) table(class: 'parameter') do thead do tr do th "Name" th "Class" th "Value" end end if values.blank? td "No values", colspan: 3, class: 'no-results' else values.sort.each do |(name, value)| if parameter_invalid?(value) tr(class: 'error') do td(colspan: 3) do text "Parameter " tt name text " has an invalid format. This is a bug in the #{@occurrence.client} client library." end end next end tr do td { tt name } td do klass = parameter_class(value) klass.start_with?('(') ? text(klass) : tt(klass) end td do if parameter_unformatted?(value) text! format_parameter(value) elsif parameter_primitive?(value) samp value.inspect else if parameter_complex?(value) && (xml = value['keyed_archiver'].presence) value['keyed_archiver'] = '' REXML::Document.new(xml).write(value['keyed_archiver'], 1) end div class: 'complex-object', :'data-object' => value.to_json end end end end end end end # @return [Hash] Any data that would have appeared in a different section # (e.g., as part of {#request?}) but didn't because one of the required # fields was not present. def orphan_data @orphans ||= begin fields = Array.new fields << :schema << :host << :port unless @occurrence.web? fields << :params << :headers unless @occurrence.request? fields << :controller << :action << :session << :flash unless @occurrence.rails? fields << :hostname << :pid unless @occurrence.server? fields << :build << :device_type << :architecture << :operating_system << :os_version << :os_build << :physical_memory << :power_state << :orientation << :version << :build unless @occurrence.client? fields << :lat << :lon << :altitude << :location_precision << :heading << :speed unless @occurrence.geo? fields << :network_operator << :network_type << :connectivity unless @occurrence.mobile? fields << :browser_name << :browser_version << :browser_os << :browser_engine << :browser_engine_version unless @occurrence.browser? fields << :window_width << :window_height << :screen_width << :screen_height << :color_depth unless @occurrence.screen? orphans = @occurrence.send(:_metadata_hash).slice(*fields.map(&:to_s)).reject { |_, v| v.nil? } # we need to valueify the top-level hashes since they will now appear # underneath this new top-level hash (the "orphans") orphans.each { |k, v| orphans[k] = Squash::Ruby.valueify(v) if orphans[k].kind_of?(Hash) } orphans end end end end end
SquareSquash/web/app/views/occurrences/show.html.rb/0
{ "file_path": "SquareSquash/web/app/views/occurrences/show.html.rb", "repo_id": "SquareSquash", "token_count": 7380 }
106
--- default_url_options: host: "localhost:3000" protocol: http
SquareSquash/web/config/environments/development/mailer.yml/0
{ "file_path": "SquareSquash/web/config/environments/development/mailer.yml", "repo_id": "SquareSquash", "token_count": 23 }
107
# Be sure to restart your server when you modify this file. Rails.application.config.action_dispatch.cookies_serializer = :marshal
SquareSquash/web/config/initializers/cookies_serializer.rb/0
{ "file_path": "SquareSquash/web/config/initializers/cookies_serializer.rb", "repo_id": "SquareSquash", "token_count": 38 }
108
class AddHostedFilenameToSourceMaps < ActiveRecord::Migration def up add_column :source_maps, :filename, :string, limit: 255 say "Updating existing source maps" SourceMap.reset_column_information SourceMap.find_each(batch_size: 50) do |map| map.update_attribute :filename, map.map.filename end change_column :source_maps, :filename, :string, null: false, limit: 255 add_index :source_maps, :filename end def down remove_column :source_maps, :filename end end
SquareSquash/web/db/migrate/20151126022941_add_hosted_filename_to_source_maps.rb/0
{ "file_path": "SquareSquash/web/db/migrate/20151126022941_add_hosted_filename_to_source_maps.rb", "repo_id": "SquareSquash", "token_count": 174 }
109
# Copyright 2014 Square Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Any buttons with HREF attributes automatically act as links. These buttons can # also have DATA-SQMETHOD and DATA-SQCONFIRM attributes similar to Rails magic # links. # jQuery.fn.autoButton = -> for element in this do (element) -> $(element).click (e) -> button = $(e.currentTarget) perform = true if button.data('sqconfirm') perform = confirm(button.data('sqconfirm')) unless perform then return false if button.data('sqmethod') form = $('<form/>').attr(action: button.attr('href'), method: 'POST') $('<input/>').attr(type: 'hidden', name: '_method', value: button.data('sqmethod')).appendTo form $('<input/>').attr(type: 'hidden', name: $('meta[name=csrf-param]').attr('content'), value: $('meta[name=csrf-token]').attr('content')).appendTo form form.submit() else window.location = button.attr('href') return $(this) # Applies button behavior to any BUTTON tags already on the page at load time. $(document).ready -> $('button[href]').autoButton()
SquareSquash/web/lib/assets/javascripts/buttons.js.coffee/0
{ "file_path": "SquareSquash/web/lib/assets/javascripts/buttons.js.coffee", "repo_id": "SquareSquash", "token_count": 581 }
110
# Copyright 2014 Square Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. root = exports ? this # Converts a number like 1234 (or a string) into a string like "1,234". Works # with decimals. # # @param [Integer] number A number like 1234. # @return [String] A string like "1,234". # root.numberWithDelimiter = (number) -> parts = ("#{number}").split('.') parts[0] = parts[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/, "\\1,") parts.join('.') # Given a count of things, determines whether to use the singular or plural # form. Returns a string consisting of the count and the correct noun form. # # @example # pluralize(2, 'duck', 'ducks') #=> "2 ducks" # # @param [Integer] count The number of things. # @param [String] singular The name of one such thing. # @param [String] plural The name of two or more such things. # @return [String] A string describing the thing(s) and its/their quantity. # root.pluralize = (count, singular, plural) -> "#{count || 0} " + (if count == 1 || count.match(/^1(\.0+)?$/) then singular else plural) # Converts a Date (or integer timestamp) into a rough human-readable # approximation. BYO "ago" or other suffix. # # @example # timeAgoInWords(1331697706) #=> "about 5 minutes" # # @param [Date, Integer] from_time The start of the time interval. # @param [Boolean] include_seconds Whether to specify sub-minute intervals. # @return [String] A description of the time interval. # @see #distanceOfTimeInWords # root.timeAgoInWords = (from_time, include_seconds=false) -> distanceOfTimeInWords from_time, new Date(), include_seconds # Converts a time interval between two Dates (or integer timestamps) into a # rough approximation. # # @example # distanceOfTimeInWords(1331697706, 1331659274) #=> "about 1 minute" # # @param [Date, Integer] from_time The start of the time interval. # @param [Date, Integer] to_time The end of the time interval. # @param [Boolean] include_seconds Whether to specify sub-minute intervals. # @return [String] A description of the time interval. # root.distanceOfTimeInWords = (from_time, to_time, include_seconds=false) -> from_time = new Date(from_time) if typeof from_time == 'number' to_time = new Date(to_time) if typeof to_time == 'number' distance_in_minutes = Math.round(Math.abs(to_time.getTime() - from_time.getTime()) / 60000) distance_in_seconds = Math.round(Math.abs(to_time.getTime() - from_time.getTime()) / 1000) if distance_in_minutes >= 0 && distance_in_minutes <= 1 (return if distance_in_minutes == 0 then "less than 1 minute" else "about 1 minute") unless include_seconds if distance_in_seconds >= 0 && distance_in_seconds <= 4 then return "less than 5 seconds" else if distance_in_seconds >= 5 && distance_in_seconds <= 9 then return "less than 10 seconds" else if distance_in_seconds >= 10 && distance_in_seconds <= 19 then return "less than 20 seconds" else if distance_in_seconds >= 20 && distance_in_seconds <= 39 then return "half a minute" else if distance_in_seconds >= 40 && distance_in_seconds <= 59 then return "less than 1 minute" else "about 1 minute" else if distance_in_minutes >= 2 && distance_in_minutes <= 44 then return "about #{distance_in_minutes} minutes" else if distance_in_minutes >= 45 && distance_in_minutes <= 89 then return "about 1 hour" else if distance_in_minutes >= 90 && distance_in_minutes <= 1439 then return "about #{Math.round(distance_in_minutes / 60.0)} hours" else if distance_in_minutes >= 1440 && distance_in_minutes <= 2519 then return "about 1 day" else if distance_in_minutes >= 2520 && distance_in_minutes <= 43199 then return "about #{Math.round(distance_in_minutes / 1440.0)} days" else if distance_in_minutes >= 43200 && distance_in_minutes <= 86399 then return "about 1 month" else if distance_in_minutes >= 86400 && distance_in_minutes <= 525599 then return "about #{Math.round(distance_in_minutes / 43200.0)} months" else fyear = from_time.getYear() if from_time.getMonth() >= 3 then fyear += 1 tyear = to_time.getYear() if to_time.getMonth() < 3 then tyear -= 1 leap_years = if fyear <= tyear then 0 else (y for y in [fyear..tyear] when isLeapYear(y)).length minute_offset_for_leap_year = leap_years * 1440 minutes_with_offset = distance_in_minutes - minute_offset_for_leap_year remainder = minutes_with_offset % 525600 distance_in_years = Math.round(minutes_with_offset / 525600) if remainder < 131400 "about #{distance_in_years} years" else if remainder < 394200 "over #{distance_in_years} years" else "almost #{distance_in_years + 1} years" # Returns whether or not the given year is a leap year. # # @example # isLeapYear(2013) #=> true # # @param [Integer] year The year. # @return [true, false] Whether it was a leap year. # root.isLeapYear = (year) -> year % 4 == 0 && year % 100 != 0 || year % 400 == 0 # Sanitizes a string for use in Bourne-style shells. # # @param [String] str A string. # @return [String] The sanitized and escaped string. # root.shellEscape = (str) -> if str == '' then return "''" str.replace(/([^A-Za-z0-9_\-.,:\/@\n])/, "\\$1").replace(/\n/, "'\n'") # Converts an array of strings into a sentence with an Oxford comma. # # @param [Array] ary An array of strings. # @return [String] The sentence form. # root.toSentence = (ary) -> if ary.length == 0 "" else if ary.length == 1 ary[0] else if ary.length == 2 "#{ary[0]} and #{ary[1]}" else "#{ary[0...-1].join(', ')}, and #{ary[-1]}" # Truncates a string with options for omission and breaking. # # @param [String] str A string to truncate. # @param [Object] options Truncation options. # @option options [Integer] length (30) The length to truncate the string to. # @option options [String] omission ("…") The string to append to a truncated # string. # @option options [String] separator If provided, breaks the string only on this # separator. root.truncate = (str, options) -> options = $.extend(options, {length: 30, omission: "…"}) length_with_room_for_omission = str.length - options.omission.length stop = if options.separator str.lastIndexOf(options.separator, length_with_room_for_omission) || length_with_room_for_omission else length_with_room_for_omission if str.length > options.length then str[0...stop] + options.omission else str # Serializes a form into a Hash object. jQuery.fn.serializeObject = -> object = {} pairs = $(this[0]).serializeArray() for pair in pairs do (pair) -> if object[pair.name] if !object[pair.name].push object[pair.name] = [object[pair.name]] object[pair.name].push(pair.value || '') else object[pair.name] = (pair.value || '') object
SquareSquash/web/lib/assets/javascripts/utilities.js.coffee/0
{ "file_path": "SquareSquash/web/lib/assets/javascripts/utilities.js.coffee", "repo_id": "SquareSquash", "token_count": 2473 }
111
# Copyright 2014 Square Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. module Blamer # A write-through LRU cache of `git-blame` results, backed by the PostgreSQL # `blames` table by means of the {Blame} model. class Cache include Singleton # The maximum number of cached blame entries to store. MAX_ENTRIES = 500_000 # Returns the cached result of a blame operation, or performs the blame on a # cache miss. `nil` blame results are never cached. # # @param [Project] project The project whose repository will be used for the # blame operation. # @param [String] revision The SHA1 revision at which point to run the # blame. # @param [String] file The file to run the blame on. # @param [Integer] line The line number in the file to run the blame at. # @return [String, nil] The SHA of the blamed revision, or `nil` if blame # could not be determined for some reason. def blame(project, revision, file, line) cached_blame(project, revision, file, line) || write_blame(project, revision, file, line, git_blame(project, revision, file, line)) end private def cached_blame(project, revision, file, line) blame = Blame.for_project(project).where(revision: revision, file: file, line: line).first if blame blame.touch return project.repo.object(blame.blamed_revision) else return nil end end def git_blame(project, revision, file, line) rev = project.repo.blame(file, revision: revision, detect_interfile_moves: true, detect_intrafile_moves: true, start: line, end: line)[line] rev ? project.repo.object(rev) : nil rescue Git::GitExecuteError Rails.logger.tagged('Blamer') { Rails.logger.error "Couldn't git-blame #{project.slug}:#{revision}: #{$!}" } nil end def write_blame(project, revision, file, line, blamed_commit) if blamed_commit purge_entry_if_necessary Blame.for_project(project). where(revision: revision, file: file, line: line). create_or_update! do |blame| blame.blamed_revision = blamed_commit.sha end end return blamed_commit end def purge_entry_if_necessary Blame.transaction do if (count = Blame.count) >= MAX_ENTRIES query = Blame.select(:id).order('updated_at ASC').limit((count + 1) - MAX_ENTRIES).to_sql Blame.where("id = ANY(ARRAY(#{query}))").delete_all end end end end end
SquareSquash/web/lib/blamer/cache.rb/0
{ "file_path": "SquareSquash/web/lib/blamer/cache.rb", "repo_id": "SquareSquash", "token_count": 1335 }
112
# Copyright 2014 Square Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. require 'rails_helper' RSpec.describe Account::MembershipsController, type: :controller do describe "#index" do before :all do @user = FactoryGirl.create(:user) @filter_memberships = 11.times.map { FactoryGirl.create(:membership, user: @user, created_at: Time.now - 1.month, project: FactoryGirl.create(:project, name: 'Filter me')) } @memberships = FactoryGirl.create_list(:membership, 11, user: @user) end it "should require a logged-in user" do get :index, format: 'json' expect(response.status).to eql(401) expect(response.body).to be_blank end context "[authenticated]" do before(:each) { login_as @user } it "should load the first 10 memberships" do get :index, format: 'json' expect(response.status).to eql(200) expect(JSON.parse(response.body).map { |r| r['project']['name'] }).to eql(@memberships.sort_by(&:created_at).reverse.map(&:project).map(&:name)[0, 10]) end it "should filter memberships by name when a query is given" do get :index, format: 'json', query: 'filter' expect(response.status).to eql(200) expect(JSON.parse(response.body).map { |r| r['project']['name'] }).to eql(@filter_memberships.sort_by(&:created_at).reverse.map(&:project).map(&:name)[0, 10]) end end end end
SquareSquash/web/spec/controllers/account/memberships_controller_spec.rb/0
{ "file_path": "SquareSquash/web/spec/controllers/account/memberships_controller_spec.rb", "repo_id": "SquareSquash", "token_count": 724 }
113
# Copyright 2014 Square Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. require 'rails_helper' RSpec.describe NotificationThresholdsController, type: :controller do {create: :post, update: :patch}.each do |action, method| before :all do @env = FactoryGirl.create(:environment) @params = {notification_threshold: {period: 3600, threshold: 500}} end before(:each) { @bug = FactoryGirl.create(:bug, environment: @env) } describe "##{action}" do it "should require a logged-in user" do send method, action, polymorphic_params(@bug, true, @params.merge(format: 'json')) expect(response.status).to eql(401) expect(@bug.notification_thresholds.count).to eql(0) end context '[authenticated]' do before(:each) { login_as @bug.environment.project.owner } it_should_behave_like "action that 404s at appropriate times", method, action, 'polymorphic_params(@bug, true, @params.merge(format: "json"))' it "should create a new notification" do @bug.notification_thresholds.delete_all send method, action, polymorphic_params(@bug, true, @params.merge(format: 'json')) expect(@bug.notification_thresholds.count).to eql(1) expect(@bug.notification_thresholds(true).first.period).to eql(3600) expect(@bug.notification_thresholds.first.threshold).to eql(500) expect(@bug.notification_thresholds.first.user_id).to eql(@bug.environment.project.owner_id) end it "should update an existing notification" do @bug.notification_thresholds.delete_all FactoryGirl.create :notification_threshold, user: @bug.environment.project.owner, bug: @bug, period: 36, threshold: 5 send method, action, polymorphic_params(@bug, true, @params.merge(format: 'json')) expect(@bug.notification_thresholds.count).to eql(1) expect(@bug.notification_thresholds(true).first.period).to eql(3600) expect(@bug.notification_thresholds.first.threshold).to eql(500) expect(@bug.notification_thresholds.first.user_id).to eql(@bug.environment.project.owner_id) end it "should not allow user or bug ID to be changed" do @bug.notification_thresholds.delete_all send method, action, polymorphic_params(@bug, true, notification_threshold: {user_id: 1, bug_id: 1, period: 1, threshold: 2}, format: 'json') expect(@bug.notification_thresholds.count).to eql(1) expect(@bug.notification_thresholds(true).first.user_id).to eql(@bug.environment.project.owner_id) end end end end describe "#destroy" do before(:all) { @env = FactoryGirl.create(:environment) } before(:each) { @bug = FactoryGirl.create(:bug, environment: @env) } it "should require a logged-in user" do delete :destroy, polymorphic_params(@bug, true) expect(response).to redirect_to(login_url(next: request.fullpath)) expect(@bug.reload).not_to be_fixed end context '[authenticated]' do before(:each) { login_as @bug.environment.project.owner } it "should delete a notification threshold" do FactoryGirl.create :notification_threshold, user: @bug.environment.project.owner, bug: @bug, period: 36, threshold: 5 delete :destroy, polymorphic_params(@bug, true) expect(response).to redirect_to(project_environment_bug_url(@bug.environment.project, @bug.environment, @bug, anchor: 'notifications')) expect(@bug.notification_thresholds.count).to eql(0) end it "should do nothing if no notification threshold exists" do delete :destroy, polymorphic_params(@bug, true) expect(response).to redirect_to(project_environment_bug_url(@bug.environment.project, @bug.environment, @bug, anchor: 'notifications')) expect(@bug.notification_thresholds.count).to eql(0) end end end end
SquareSquash/web/spec/controllers/notification_thresholds_controller_spec.rb/0
{ "file_path": "SquareSquash/web/spec/controllers/notification_thresholds_controller_spec.rb", "repo_id": "SquareSquash", "token_count": 1686 }
114
# Copyright 2014 Square Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. require 'rails_helper' RSpec.describe NotificationMailer do before(:all) { @env = FactoryGirl.create(:environment) } before :each do @bug = FactoryGirl.create(:bug, environment: @env) @count = @bug.events.count end describe "#blame" do it "should create an email event" do allow(@bug).to receive(:blamed_email).and_return('foo@bar.com') NotificationMailer.blame(@bug).deliver_now expect(@bug.events.count).to eql(@count + 1) expect(@bug.events.order('id DESC').first.kind).to eql('email') expect(@bug.events.order('id DESC').first.data['recipients']).to eql(['foo@bar.com']) end it "... unless no email was sent" do NotificationMailer.blame(@bug).deliver_now expect(@bug.events.count).to eql(@count) end end describe "#critical" do it "should create an email event" do @bug.environment.project.critical_mailing_list = 'foo@bar.com' NotificationMailer.critical(@bug).deliver_now expect(@bug.events.count).to eql(@count + 1) expect(@bug.events.order('id DESC').first.kind).to eql('email') expect(@bug.events.order('id DESC').first.data['recipients']).to eql(['foo@bar.com']) end it "... unless no email was sent" do NotificationMailer.critical(@bug).deliver_now expect(@bug.events.count).to eql(@count) end end end
SquareSquash/web/spec/mailers/notification_mailer_spec.rb/0
{ "file_path": "SquareSquash/web/spec/mailers/notification_mailer_spec.rb", "repo_id": "SquareSquash", "token_count": 721 }
115
/* Flot plugin for plotting textual data or categories. Copyright (c) 2007-2012 IOLA and Ole Laursen. Licensed under the MIT license. Consider a dataset like [["February", 34], ["March", 20], ...]. This plugin allows you to plot such a dataset directly. To enable it, you must specify mode: "categories" on the axis with the textual labels, e.g. $.plot("#placeholder", data, { xaxis: { mode: "categories" } }); By default, the labels are ordered as they are met in the data series. If you need a different ordering, you can specify "categories" on the axis options and list the categories there: xaxis: { mode: "categories", categories: ["February", "March", "April"] } If you need to customize the distances between the categories, you can specify "categories" as an object mapping labels to values xaxis: { mode: "categories", categories: { "February": 1, "March": 3, "April": 4 } } If you don't specify all categories, the remaining categories will be numbered from the max value plus 1 (with a spacing of 1 between each). Internally, the plugin works by transforming the input data through an auto- generated mapping where the first category becomes 0, the second 1, etc. Hence, a point like ["February", 34] becomes [0, 34] internally in Flot (this is visible in hover and click events that return numbers rather than the category labels). The plugin also overrides the tick generator to spit out the categories as ticks instead of the values. If you need to map a value back to its label, the mapping is always accessible as "categories" on the axis object, e.g. plot.getAxes().xaxis.categories. */ (function ($) { var options = { xaxis: { categories: null }, yaxis: { categories: null } }; function processRawData(plot, series, data, datapoints) { // if categories are enabled, we need to disable // auto-transformation to numbers so the strings are intact // for later processing var xCategories = series.xaxis.options.mode == "categories", yCategories = series.yaxis.options.mode == "categories"; if (!(xCategories || yCategories)) return; var format = datapoints.format; if (!format) { // FIXME: auto-detection should really not be defined here var s = series; format = []; format.push({ x: true, number: true, required: true }); format.push({ y: true, number: true, required: true }); if (s.bars.show || (s.lines.show && s.lines.fill)) { var autoscale = !!((s.bars.show && s.bars.zero) || (s.lines.show && s.lines.zero)); format.push({ y: true, number: true, required: false, defaultValue: 0, autoscale: autoscale }); if (s.bars.horizontal) { delete format[format.length - 1].y; format[format.length - 1].x = true; } } datapoints.format = format; } for (var m = 0; m < format.length; ++m) { if (format[m].x && xCategories) format[m].number = false; if (format[m].y && yCategories) format[m].number = false; } } function getNextIndex(categories) { var index = -1; for (var v in categories) if (categories[v] > index) index = categories[v]; return index + 1; } function categoriesTickGenerator(axis) { var res = []; for (var label in axis.categories) { var v = axis.categories[label]; if (v >= axis.min && v <= axis.max) res.push([v, label]); } res.sort(function (a, b) { return a[0] - b[0]; }); return res; } function setupCategoriesForAxis(series, axis, datapoints) { if (series[axis].options.mode != "categories") return; if (!series[axis].categories) { // parse options var c = {}, o = series[axis].options.categories || {}; if ($.isArray(o)) { for (var i = 0; i < o.length; ++i) c[o[i]] = i; } else { for (var v in o) c[v] = o[v]; } series[axis].categories = c; } // fix ticks if (!series[axis].options.ticks) series[axis].options.ticks = categoriesTickGenerator; transformPointsOnAxis(datapoints, axis, series[axis].categories); } function transformPointsOnAxis(datapoints, axis, categories) { // go through the points, transforming them var points = datapoints.points, ps = datapoints.pointsize, format = datapoints.format, formatColumn = axis.charAt(0), index = getNextIndex(categories); for (var i = 0; i < points.length; i += ps) { if (points[i] == null) continue; for (var m = 0; m < ps; ++m) { var val = points[i + m]; if (val == null || !format[m][formatColumn]) continue; if (!(val in categories)) { categories[val] = index; ++index; } points[i + m] = categories[val]; } } } function processDatapoints(plot, series, datapoints) { setupCategoriesForAxis(series, "xaxis", datapoints); setupCategoriesForAxis(series, "yaxis", datapoints); } function init(plot) { plot.hooks.processRawData.push(processRawData); plot.hooks.processDatapoints.push(processDatapoints); } $.plot.plugins.push({ init: init, options: options, name: 'categories', version: '1.0' }); })(jQuery);
SquareSquash/web/vendor/assets/javascripts/flot/categories.js/0
{ "file_path": "SquareSquash/web/vendor/assets/javascripts/flot/categories.js", "repo_id": "SquareSquash", "token_count": 2733 }
116
/*! * jQuery Cookie Plugin * https://github.com/carhartl/jquery-cookie * * Copyright 2011, Klaus Hartl * Dual licensed under the MIT or GPL Version 2 licenses. * http://www.opensource.org/licenses/mit-license.php * http://www.opensource.org/licenses/GPL-2.0 */ (function($) { $.cookie = function(key, value, options) { // key and at least value given, set cookie... if (arguments.length > 1 && (!/Object/.test(Object.prototype.toString.call(value)) || value === null || value === undefined)) { options = $.extend({}, options); if (value === null || value === undefined) { options.expires = -1; } if (typeof options.expires === 'number') { var days = options.expires, t = options.expires = new Date(); t.setDate(t.getDate() + days); } value = String(value); return (document.cookie = [ encodeURIComponent(key), '=', options.raw ? value : encodeURIComponent(value), options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE options.path ? '; path=' + options.path : '', options.domain ? '; domain=' + options.domain : '', options.secure ? '; secure' : '' ].join('')); } // key and possibly options given, get cookie... options = value || {}; var decode = options.raw ? function(s) { return s; } : decodeURIComponent; var pairs = document.cookie.split('; '); for (var i = 0, pair; pair = pairs[i] && pairs[i].split('='); i++) { if (decode(pair[0]) === key) return decode(pair[1] || ''); // IE saves cookies with empty string as "c; ", e.g. without "=" as opposed to EOMB, thus pair[1] may be undefined } return null; }; })(jQuery);
SquareSquash/web/vendor/assets/javascripts/jquery-cookie.js/0
{ "file_path": "SquareSquash/web/vendor/assets/javascripts/jquery-cookie.js", "repo_id": "SquareSquash", "token_count": 822 }
117
/** * SyntaxHighlighter * http://alexgorbatchev.com/SyntaxHighlighter * * SyntaxHighlighter is donationware. If you are using it, please donate. * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * * @version * 3.0.83 (Wed, 12 Feb 2014 03:42:24 GMT) * * @copyright * Copyright (C) 2004-2013 Alex Gorbatchev. * * @license * Dual licensed under the MIT and GPL licenses. */ ;(function () { // CommonJS SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null); function Brush () { var inits = 'class interface package macro enum typedef extends implements dynamic in for if while else do try switch case catch'; var keywords = 'return break continue new throw cast using import function public private inline static untyped callback true false null Int Float String Void Std Bool Dynamic Array Vector'; this.regexList = [ { regex:SyntaxHighlighter.regexLib.singleLineCComments , css:'comments' }, // one line comments { regex:SyntaxHighlighter.regexLib.multiLineCComments , css:'comments' }, // multiline comments { regex:SyntaxHighlighter.regexLib.doubleQuotedString , css:'string' }, // double quoted strings { regex:SyntaxHighlighter.regexLib.singleQuotedString , css:'string' }, // single quoted strings { regex:/\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi , css:'value' }, // numbers { regex:new RegExp ( this.getKeywords ( inits ) , 'gm' ) , css:'color3' }, // initializations { regex:new RegExp ( this.getKeywords ( keywords ) , 'gm' ) , css:'keyword' }, // keywords { regex:new RegExp ( 'var' , 'gm' ) , css:'variable' }, // variable { regex:new RegExp ( 'trace' , 'gm' ) , css:'color1' }, //compiler conditionals { regex:new RegExp ( '#if' , 'gm' ) , css:'comments' }, { regex:new RegExp ( '#elseif' , 'gm' ) , css:'comments' }, { regex:new RegExp ( '#end' , 'gm' ) , css:'comments' }, { regex:new RegExp ( '#error' , 'gm' ) , css:'comments' } ]; //standard compiler conditionals flags var flags = [ "debug", "error", "cpp", "js", "neko", "php", "flash", "flash8", "flash9", "flash10", "flash10", "mobile", "desktop", "web", "ios", "android", "iphone" ]; //append the flags to the array with a ! operator var i; var length = flags.length; for ( i = 0 ; i <= length - 1 ; i ++ ) { this.regexList.push ( {regex:new RegExp ( flags[i] , 'gm' ) , css:'comments'} ); this.regexList.push ( {regex:new RegExp ( '!' + flags[i] , 'gm' ) , css:'comments'} ); } this.forHtmlScript ( SyntaxHighlighter.regexLib.scriptScriptTags ); } ; Brush.prototype = new SyntaxHighlighter.Highlighter (); Brush.aliases = ['haxe', 'hx']; SyntaxHighlighter.brushes.Haxe = Brush; // CommonJS typeof(exports) != 'undefined' ? exports.Brush = Brush : null; }) ();
SquareSquash/web/vendor/assets/javascripts/sh/shBrushHaxe.js/0
{ "file_path": "SquareSquash/web/vendor/assets/javascripts/sh/shBrushHaxe.js", "repo_id": "SquareSquash", "token_count": 1051 }
118
/** * SyntaxHighlighter * http://alexgorbatchev.com/SyntaxHighlighter * * SyntaxHighlighter is donationware. If you are using it, please donate. * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * * @version * 3.0.83 (Wed, 12 Feb 2014 03:42:24 GMT) * * @copyright * Copyright (C) 2004-2013 Alex Gorbatchev. * * @license * Dual licensed under the MIT and GPL licenses. */ ;(function() { // CommonJS SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null); function Brush() { var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' + 'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' + 'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' + 'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' + 'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' + 'Function Get GetType GoSub GoTo Handles If Implements Imports In ' + 'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' + 'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' + 'NotInheritable NotOverridable Object On Option Optional Or OrElse ' + 'Overloads Overridable Overrides ParamArray Preserve Private Property ' + 'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' + 'Return Select Set Shadows Shared Short Single Static Step Stop String ' + 'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' + 'Variant When While With WithEvents WriteOnly Xor'; this.regexList = [ { regex: /'.*$/gm, css: 'comments' }, // one line comments { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings { regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword ]; this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); }; Brush.prototype = new SyntaxHighlighter.Highlighter(); Brush.aliases = ['vb', 'vbnet']; SyntaxHighlighter.brushes.Vb = Brush; // CommonJS typeof(exports) != 'undefined' ? exports.Brush = Brush : null; })();
SquareSquash/web/vendor/assets/javascripts/sh/shBrushVb.js/0
{ "file_path": "SquareSquash/web/vendor/assets/javascripts/sh/shBrushVb.js", "repo_id": "SquareSquash", "token_count": 824 }
119
{ "root": true, "env": { "browser": true }, "extends": ["./jslib/shared/eslintrc.json"], "rules": { "import/order": [ "error", { "alphabetize": { "order": "asc" }, "newlines-between": "always", "pathGroups": [ { "pattern": "jslib-*/**", "group": "external", "position": "after" }, { "pattern": "src/**/*", "group": "parent", "position": "before" } ], "pathGroupsExcludedImportTypes": ["builtin"] } ] } }
bitwarden/web/.eslintrc.json/0
{ "file_path": "bitwarden/web/.eslintrc.json", "repo_id": "bitwarden", "token_count": 356 }
120
import { Component, Input } from "@angular/core"; import { SelectOptions } from "jslib-angular/interfaces/selectOptions"; import { BaseCvaComponent } from "./base-cva.component"; /** For use in the SSO Config Form only - will be deprecated by the Component Library */ @Component({ selector: "app-select", templateUrl: "select.component.html", }) export class SelectComponent extends BaseCvaComponent { @Input() selectOptions: SelectOptions[]; }
bitwarden/web/bitwarden_license/src/app/organizations/components/select.component.ts/0
{ "file_path": "bitwarden/web/bitwarden_license/src/app/organizations/components/select.component.ts", "repo_id": "bitwarden", "token_count": 126 }
121
import { Injectable } from "@angular/core"; import { ActivatedRouteSnapshot, CanActivate, Router } from "@angular/router"; import { I18nService } from "jslib-common/abstractions/i18n.service"; import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service"; import { ProviderService } from "jslib-common/abstractions/provider.service"; @Injectable() export class ProviderGuard implements CanActivate { constructor( private router: Router, private platformUtilsService: PlatformUtilsService, private i18nService: I18nService, private providerService: ProviderService ) {} async canActivate(route: ActivatedRouteSnapshot) { const provider = await this.providerService.get(route.params.providerId); if (provider == null) { this.router.navigate(["/"]); return false; } if (!provider.isProviderAdmin && !provider.enabled) { this.platformUtilsService.showToast("error", null, this.i18nService.t("providerIsDisabled")); this.router.navigate(["/"]); return false; } return true; } }
bitwarden/web/bitwarden_license/src/app/providers/guards/provider.guard.ts/0
{ "file_path": "bitwarden/web/bitwarden_license/src/app/providers/guards/provider.guard.ts", "repo_id": "bitwarden", "token_count": 370 }
122
import { CommonModule } from "@angular/common"; import { ComponentFactoryResolver, NgModule } from "@angular/core"; import { FormsModule } from "@angular/forms"; import { JslibModule } from "jslib-angular/jslib.module"; import { ModalService } from "jslib-angular/services/modal.service"; import { OssModule } from "src/app/oss.module"; import { AddOrganizationComponent } from "./clients/add-organization.component"; import { ClientsComponent } from "./clients/clients.component"; import { CreateOrganizationComponent } from "./clients/create-organization.component"; import { PermissionsGuard } from "./guards/provider-type.guard"; import { ProviderGuard } from "./guards/provider.guard"; import { AcceptProviderComponent } from "./manage/accept-provider.component"; import { BulkConfirmComponent } from "./manage/bulk/bulk-confirm.component"; import { BulkRemoveComponent } from "./manage/bulk/bulk-remove.component"; import { EventsComponent } from "./manage/events.component"; import { ManageComponent } from "./manage/manage.component"; import { PeopleComponent } from "./manage/people.component"; import { UserAddEditComponent } from "./manage/user-add-edit.component"; import { ProvidersLayoutComponent } from "./providers-layout.component"; import { ProvidersRoutingModule } from "./providers-routing.module"; import { WebProviderService } from "./services/webProvider.service"; import { AccountComponent } from "./settings/account.component"; import { SettingsComponent } from "./settings/settings.component"; import { SetupProviderComponent } from "./setup/setup-provider.component"; import { SetupComponent } from "./setup/setup.component"; @NgModule({ imports: [CommonModule, FormsModule, OssModule, JslibModule, ProvidersRoutingModule], declarations: [ AcceptProviderComponent, AccountComponent, AddOrganizationComponent, BulkConfirmComponent, BulkRemoveComponent, ClientsComponent, CreateOrganizationComponent, EventsComponent, ManageComponent, PeopleComponent, ProvidersLayoutComponent, SettingsComponent, SetupComponent, SetupProviderComponent, UserAddEditComponent, ], providers: [WebProviderService, ProviderGuard, PermissionsGuard], }) export class ProvidersModule { constructor(modalService: ModalService, componentFactoryResolver: ComponentFactoryResolver) { modalService.registerComponentFactoryResolver( AddOrganizationComponent, componentFactoryResolver ); } }
bitwarden/web/bitwarden_license/src/app/providers/providers.module.ts/0
{ "file_path": "bitwarden/web/bitwarden_license/src/app/providers/providers.module.ts", "repo_id": "bitwarden", "token_count": 711 }
123
{ "dev": { "proxyApi": "http://localhost:4001", "proxyIdentity": "http://localhost:33657", "proxyEvents": "http://localhost:46274", "proxyNotifications": "http://localhost:61841", "port": 8081 } }
bitwarden/web/config/selfhosted.json/0
{ "file_path": "bitwarden/web/config/selfhosted.json", "repo_id": "bitwarden", "token_count": 89 }
124
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate autocomplete="off"> <div class="row justify-content-md-center mt-5"> <div class="col-5"> <p class="lead text-center mb-4">{{ "setMasterPassword" | i18n }}</p> <div class="card d-block"> <div class="card-body text-center" *ngIf="syncLoading"> <i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n }}" aria-hidden="true"></i> {{ "loading" | i18n }} </div> <div class="card-body" *ngIf="!syncLoading"> <app-callout type="info">{{ "ssoCompleteRegistration" | i18n }}</app-callout> <app-callout type="warning" title="{{ 'resetPasswordPolicyAutoEnroll' | i18n }}" *ngIf="resetPasswordAutoEnroll" > {{ "resetPasswordAutoEnrollInviteWarning" | i18n }} </app-callout> <div class="form-group"> <app-callout type="info" [enforcedPolicyOptions]="enforcedPolicyOptions" *ngIf="enforcedPolicyOptions" > </app-callout> <label for="masterPassword">{{ "masterPass" | i18n }}</label> <div class="d-flex"> <div class="w-100"> <input id="masterPassword" type="{{ showPassword ? 'text' : 'password' }}" name="MasterPasswordHash" class="text-monospace form-control mb-1" [(ngModel)]="masterPassword" (input)="updatePasswordStrength()" required appInputVerbatim /> <app-password-strength [score]="masterPasswordScore" [showText]="true"> </app-password-strength> </div> <div> <button type="button" class="ml-1 btn btn-link" appA11yTitle="{{ 'toggleVisibility' | i18n }}" (click)="togglePassword(false)" > <i class="bwi bwi-lg" aria-hidden="true" [ngClass]="{ 'bwi-eye': !showPassword, 'bwi-eye-slash': showPassword }" ></i> </button> <div class="progress-bar invisible"></div> </div> </div> <small class="form-text text-muted">{{ "masterPassDesc" | i18n }}</small> </div> <div class="form-group"> <label for="masterPasswordRetype">{{ "reTypeMasterPass" | i18n }}</label> <div class="d-flex"> <input id="masterPasswordRetype" type="{{ showPassword ? 'text' : 'password' }}" name="MasterPasswordRetype" class="text-monospace form-control" [(ngModel)]="masterPasswordRetype" required appInputVerbatim /> <button type="button" class="ml-1 btn btn-link" appA11yTitle="{{ 'toggleVisibility' | i18n }}" (click)="togglePassword(true)" > <i class="bwi bwi-lg" aria-hidden="true" [ngClass]="{ 'bwi-eye': !showPassword, 'bwi-eye-slash': showPassword }" ></i> </button> </div> </div> <div class="form-group"> <label for="hint">{{ "masterPassHint" | i18n }}</label> <input id="hint" class="form-control" type="text" name="Hint" [(ngModel)]="hint" /> <small class="form-text text-muted">{{ "masterPassHintDesc" | i18n }}</small> </div> <hr /> <div class="d-flex"> <button type="submit" class="btn btn-primary btn-block btn-submit" [disabled]="form.loading" > <i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n }}" aria-hidden="true" ></i> <span>{{ "submit" | i18n }}</span> </button> <button type="button" class="btn btn-outline-secondary btn-block ml-2 mt-0" (click)="logOut()" > {{ "logOut" | i18n }} </button> </div> </div> </div> </div> </div> </form>
bitwarden/web/src/app/accounts/set-password.component.html/0
{ "file_path": "bitwarden/web/src/app/accounts/set-password.component.html", "repo_id": "bitwarden", "token_count": 2605 }
125
<router-outlet></router-outlet>
bitwarden/web/src/app/app.component.html/0
{ "file_path": "bitwarden/web/src/app/app.component.html", "repo_id": "bitwarden", "token_count": 14 }
126
<div class="container footer text-muted"> <div class="row"> <div class="col">&copy; {{ year }} Bitwarden Inc.</div> <div class="col text-center"></div> <div class="col text-right"> {{ "versionNumber" | i18n: version }} </div> </div> </div>
bitwarden/web/src/app/layouts/footer.component.html/0
{ "file_path": "bitwarden/web/src/app/layouts/footer.component.html", "repo_id": "bitwarden", "token_count": 106 }
127
import { Pipe, PipeTransform } from "@angular/core"; import { Organization } from "jslib-common/models/domain/organization"; @Pipe({ name: "orgNameFromId", pure: true, }) export class GetOrgNameFromIdPipe implements PipeTransform { transform(value: string, organizations: Organization[]) { const orgName = organizations.find((o) => o.id === value)?.name; return orgName; } }
bitwarden/web/src/app/modules/pipes/get-organization-name.pipe.ts/0
{ "file_path": "bitwarden/web/src/app/modules/pipes/get-organization-name.pipe.ts", "repo_id": "bitwarden", "token_count": 124 }
128
import { Component } from "@angular/core"; import { TypeFilterComponent as BaseTypeFilterComponent } from "jslib-angular/modules/vault-filter/components/type-filter.component"; @Component({ selector: "app-type-filter", templateUrl: "type-filter.component.html", }) export class TypeFilterComponent extends BaseTypeFilterComponent {}
bitwarden/web/src/app/modules/vault-filter/components/type-filter.component.ts/0
{ "file_path": "bitwarden/web/src/app/modules/vault-filter/components/type-filter.component.ts", "repo_id": "bitwarden", "token_count": 90 }
129
import { NgModule } from "@angular/core"; import { VaultModule } from "../../vault.module"; import { OrganizationVaultRoutingModule } from "./organization-vault-routing.module"; import { OrganizationVaultComponent } from "./organization-vault.component"; @NgModule({ imports: [VaultModule, OrganizationVaultRoutingModule], declarations: [OrganizationVaultComponent], exports: [OrganizationVaultComponent], }) export class OrganizationVaultModule {}
bitwarden/web/src/app/modules/vault/modules/organization-vault/organization-vault.module.ts/0
{ "file_path": "bitwarden/web/src/app/modules/vault/modules/organization-vault/organization-vault.module.ts", "repo_id": "bitwarden", "token_count": 127 }
130
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="eventLogsTitle"> <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document"> <div class="modal-content"> <div class="modal-header"> <h2 class="modal-title" id="eventLogsTitle"> {{ "eventLogs" | i18n }} <small class="text-muted" *ngIf="name">{{ name }}</small> </h2> <button type="button" class="close" data-dismiss="modal" appA11yTitle="{{ 'close' | i18n }}" > <span aria-hidden="true">&times;</span> </button> </div> <div class="modal-body" *ngIf="!loaded"> <i class="bwi bwi-spinner bwi-spin text-muted" title="{{ 'loading' | i18n }}" aria-hidden="true" ></i> <span class="sr-only">{{ "loading" | i18n }}</span> </div> <div class="modal-body" *ngIf="loaded"> <div class="d-flex"> <div class="form-inline"> <label class="sr-only" for="start">{{ "startDate" | i18n }}</label> <input type="datetime-local" class="form-control form-control-sm" id="start" placeholder="{{ 'startDate' | i18n }}" [(ngModel)]="start" placeholder="YYYY-MM-DDTHH:MM" /> <span class="mx-2">-</span> <label class="sr-only" for="end">{{ "endDate" | i18n }}</label> <input type="datetime-local" class="form-control form-control-sm" id="end" placeholder="{{ 'endDate' | i18n }}" [(ngModel)]="end" placeholder="YYYY-MM-DDTHH:MM" /> </div> <button #refreshBtn [appApiAction]="refreshPromise" type="button" class="btn btn-sm btn-outline-primary ml-3" (click)="loadEvents(true)" [disabled]="loaded && refreshBtn.loading" > <i class="bwi bwi-refresh bwi-fw" [ngClass]="{ 'bwi-spin': loaded && refreshBtn.loading }" aria-hidden="true" ></i> {{ "refresh" | i18n }} </button> </div> <hr /> <div *ngIf="!events || !events.length"> {{ "noEventsInList" | i18n }} </div> <table class="table table-hover mb-0" *ngIf="events && events.length"> <thead> <tr> <th class="border-top-0" width="210">{{ "timestamp" | i18n }}</th> <th class="border-top-0" width="40"> <span class="sr-only">{{ "device" | i18n }}</span> </th> <th class="border-top-0" width="150" *ngIf="showUser">{{ "user" | i18n }}</th> <th class="border-top-0">{{ "event" | i18n }}</th> </tr> </thead> <tbody> <tr *ngFor="let e of events"> <td>{{ e.date | date: "medium" }}</td> <td> <i class="text-muted bwi bwi-lg {{ e.appIcon }}" title="{{ e.appName }}, {{ e.ip }}" aria-hidden="true" ></i> <span class="sr-only">{{ e.appName }}, {{ e.ip }}</span> </td> <td *ngIf="showUser"> <span appA11yTitle="{{ e.userEmail }}">{{ e.userName }}</span> </td> <td [innerHTML]="e.message"></td> </tr> </tbody> </table> <button #moreBtn [appApiAction]="morePromise" type="button" class="btn btn-block btn-link btn-submit" (click)="loadEvents(false)" [disabled]="loaded && moreBtn.loading" *ngIf="continuationToken" > <i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n }}" aria-hidden="true"></i> <span>{{ "loadMore" | i18n }}</span> </button> </div> <div class="modal-footer"> <button type="button" class="btn btn-outline-secondary" data-dismiss="modal"> {{ "close" | i18n }} </button> </div> </div> </div> </div>
bitwarden/web/src/app/organizations/manage/entity-events.component.html/0
{ "file_path": "bitwarden/web/src/app/organizations/manage/entity-events.component.html", "repo_id": "bitwarden", "token_count": 2411 }
131
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="resetPasswordTitle"> <div class="modal-dialog" role="document"> <form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise"> <div class="modal-header"> <h2 class="modal-title" id="resetPasswordTitle"> {{ "resetPassword" | i18n }} <small class="text-muted" *ngIf="name">{{ name }}</small> </h2> <button type="button" class="close" data-dismiss="modal" appA11yTitle="{{ 'close' | i18n }}" > <span aria-hidden="true">&times;</span> </button> </div> <div class="modal-body"> <app-callout type="warning" >{{ "resetPasswordLoggedOutWarning" | i18n: loggedOutWarningName }} </app-callout> <app-callout type="info" [enforcedPolicyOptions]="enforcedPolicyOptions" enforcedPolicyMessage="{{ 'resetPasswordMasterPasswordPolicyInEffect' | i18n }}" *ngIf="enforcedPolicyOptions" > </app-callout> <div class="row"> <div class="col form-group"> <div class="d-flex"> <label for="newPassword">{{ "newPassword" | i18n }}</label> <div class="ml-auto d-flex"> <a href="#" class="d-block mr-2 bwi-icon-above-input" appStopClick appA11yTitle="{{ 'generatePassword' | i18n }}" (click)="generatePassword()" > <i class="bwi bwi-lg bwi-fw bwi-refresh" aria-hidden="true"></i> </a> </div> </div> <div class="input-group mb-1"> <input id="newPassword" class="form-control text-monospace" appAutofocus type="{{ showPassword ? 'text' : 'password' }}" name="NewPassword" [(ngModel)]="newPassword" required appInputVerbatim autocomplete="new-password" (input)="updatePasswordStrength()" /> <div class="input-group-append"> <button type="button" class="btn btn-outline-secondary" appA11yTitle="{{ 'toggleVisibility' | i18n }}" (click)="togglePassword()" > <i class="bwi bwi-lg" aria-hidden="true" [ngClass]="{ 'bwi-eye': !showPassword, 'bwi-eye-slash': showPassword }" ></i> </button> <button type="button" class="btn btn-outline-secondary" appA11yTitle="{{ 'copyPassword' | i18n }}" (click)="copy(newPassword)" > <i class="bwi bwi-lg bwi-clone" aria-hidden="true"></i> </button> </div> </div> <app-password-strength [score]="masterPasswordScore" [showText]="true"> </app-password-strength> </div> </div> </div> <div class="modal-footer"> <button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading"> <i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n }}" aria-hidden="true"></i> <span>{{ "save" | i18n }}</span> </button> <button type="button" class="btn btn-outline-secondary" data-dismiss="modal"> {{ "cancel" | i18n }} </button> </div> </form> </div> </div>
bitwarden/web/src/app/organizations/manage/reset-password.component.html/0
{ "file_path": "bitwarden/web/src/app/organizations/manage/reset-password.component.html", "repo_id": "bitwarden", "token_count": 2080 }
132
<app-callout type="warning"> {{ "personalOwnershipExemption" | i18n }} </app-callout> <div class="form-group"> <div class="form-check"> <input class="form-check-input" type="checkbox" id="enabled" [formControl]="enabled" name="Enabled" /> <label class="form-check-label" for="enabled">{{ "personalOwnershipCheckboxDesc" | i18n }}</label> </div> </div>
bitwarden/web/src/app/organizations/policies/personal-ownership.component.html/0
{ "file_path": "bitwarden/web/src/app/organizations/policies/personal-ownership.component.html", "repo_id": "bitwarden", "token_count": 175 }
133
import { Component, EventEmitter, Input, Output } from "@angular/core"; import { ApiService } from "jslib-common/abstractions/api.service"; import { I18nService } from "jslib-common/abstractions/i18n.service"; import { LogService } from "jslib-common/abstractions/log.service"; import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service"; import { OrganizationSubscriptionUpdateRequest } from "jslib-common/models/request/organizationSubscriptionUpdateRequest"; @Component({ selector: "app-adjust-subscription", templateUrl: "adjust-subscription.component.html", }) export class AdjustSubscription { @Input() organizationId: string; @Input() maxAutoscaleSeats: number; @Input() currentSeatCount: number; @Input() seatPrice = 0; @Input() interval = "year"; @Output() onAdjusted = new EventEmitter(); formPromise: Promise<any>; limitSubscription: boolean; newSeatCount: number; newMaxSeats: number; constructor( private apiService: ApiService, private i18nService: I18nService, private platformUtilsService: PlatformUtilsService, private logService: LogService ) {} ngOnInit() { this.limitSubscription = this.maxAutoscaleSeats != null; this.newSeatCount = this.currentSeatCount; this.newMaxSeats = this.maxAutoscaleSeats; } async submit() { try { const seatAdjustment = this.newSeatCount - this.currentSeatCount; const request = new OrganizationSubscriptionUpdateRequest(seatAdjustment, this.newMaxSeats); this.formPromise = this.apiService.postOrganizationUpdateSubscription( this.organizationId, request ); await this.formPromise; this.platformUtilsService.showToast( "success", null, this.i18nService.t("subscriptionUpdated") ); } catch (e) { this.logService.error(e); } this.onAdjusted.emit(); } limitSubscriptionChanged() { if (!this.limitSubscription) { this.newMaxSeats = null; } } get adjustedSeatTotal(): number { return this.newSeatCount * this.seatPrice; } get maxSeatTotal(): number { return this.newMaxSeats * this.seatPrice; } }
bitwarden/web/src/app/organizations/settings/adjust-subscription.component.ts/0
{ "file_path": "bitwarden/web/src/app/organizations/settings/adjust-subscription.component.ts", "repo_id": "bitwarden", "token_count": 771 }
134
import { Component } from "@angular/core"; import { ActivatedRoute } from "@angular/router"; import { OrganizationService } from "jslib-common/abstractions/organization.service"; import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service"; @Component({ selector: "app-org-settings", templateUrl: "settings.component.html", }) export class SettingsComponent { access2fa = false; showBilling: boolean; constructor( private route: ActivatedRoute, private organizationService: OrganizationService, private platformUtilsService: PlatformUtilsService ) {} ngOnInit() { this.route.parent.params.subscribe(async (params) => { const organization = await this.organizationService.get(params.organizationId); this.showBilling = !this.platformUtilsService.isSelfHost() && organization.canManageBilling; this.access2fa = organization.use2fa; }); } }
bitwarden/web/src/app/organizations/settings/settings.component.ts/0
{ "file_path": "bitwarden/web/src/app/organizations/settings/settings.component.ts", "repo_id": "bitwarden", "token_count": 285 }
135
import { Component } from "@angular/core"; import { ApiService } from "jslib-common/abstractions/api.service"; import { CipherService } from "jslib-common/abstractions/cipher.service"; import { CryptoService } from "jslib-common/abstractions/crypto.service"; import { I18nService } from "jslib-common/abstractions/i18n.service"; import { LogService } from "jslib-common/abstractions/log.service"; import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service"; import { StateService } from "jslib-common/abstractions/state.service"; import { CipherData } from "jslib-common/models/data/cipherData"; import { Cipher } from "jslib-common/models/domain/cipher"; import { Organization } from "jslib-common/models/domain/organization"; import { AttachmentView } from "jslib-common/models/view/attachmentView"; import { AttachmentsComponent as BaseAttachmentsComponent } from "../../vault/attachments.component"; @Component({ selector: "app-org-vault-attachments", templateUrl: "../../vault/attachments.component.html", }) export class AttachmentsComponent extends BaseAttachmentsComponent { viewOnly = false; organization: Organization; constructor( cipherService: CipherService, i18nService: I18nService, cryptoService: CryptoService, stateService: StateService, platformUtilsService: PlatformUtilsService, apiService: ApiService, logService: LogService ) { super( cipherService, i18nService, cryptoService, stateService, platformUtilsService, apiService, logService ); } protected async reupload(attachment: AttachmentView) { if (this.organization.canEditAnyCollection && this.showFixOldAttachments(attachment)) { await super.reuploadCipherAttachment(attachment, true); } } protected async loadCipher() { if (!this.organization.canEditAnyCollection) { return await super.loadCipher(); } const response = await this.apiService.getCipherAdmin(this.cipherId); return new Cipher(new CipherData(response)); } protected saveCipherAttachment(file: File) { return this.cipherService.saveAttachmentWithServer( this.cipherDomain, file, this.organization.canEditAnyCollection ); } protected deleteCipherAttachment(attachmentId: string) { if (!this.organization.canEditAnyCollection) { return super.deleteCipherAttachment(attachmentId); } return this.apiService.deleteCipherAttachmentAdmin(this.cipherId, attachmentId); } protected showFixOldAttachments(attachment: AttachmentView) { return attachment.key == null && this.organization.canEditAnyCollection; } }
bitwarden/web/src/app/organizations/vault/attachments.component.ts/0
{ "file_path": "bitwarden/web/src/app/organizations/vault/attachments.component.ts", "repo_id": "bitwarden", "token_count": 881 }
136
import { Component, Input, OnInit } from "@angular/core"; import { DomSanitizer } from "@angular/platform-browser"; import { MessagingService } from "jslib-common/abstractions/messaging.service"; import { StateService } from "jslib-common/abstractions/state.service"; export enum ReportTypes { "exposedPasswords" = "exposedPasswords", "reusedPasswords" = "reusedPasswords", "weakPasswords" = "weakPasswords", "unsecuredWebsites" = "unsecuredWebsites", "inactive2fa" = "inactive2fa", "dataBreach" = "dataBreach", } type ReportEntry = { title: string; description: string; route: string; icon: string; requiresPremium: boolean; }; const reports: Record<ReportTypes, ReportEntry> = { exposedPasswords: { title: "exposedPasswordsReport", description: "exposedPasswordsReportDesc", route: "exposed-passwords-report", icon: ` <svg width="101" height="77" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M32.374 50.192a26.42 26.42 0 0 0 9.111 1.608c14.34 0 25.965-11.372 25.965-25.4 0-.337-.007-.673-.02-1.008h25.299v34.85H32.374v-10.05Z" fill="currentColor" /> <path d="M15.805 26.4c0 14.028 11.625 25.4 25.965 25.4s25.964-11.372 25.964-25.4C67.734 12.372 56.11 1 41.77 1 27.43 1 15.805 12.372 15.805 26.4Z" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> <path d="M27.914 47.849a1 1 0 0 0-2 0h2Zm68.288-26.792a2.12 2.12 0 0 1 2.14 2.11h2c0-2.253-1.83-4.11-4.14-4.11v2Zm2.14 2.11v40.552h2V23.167h-2Zm0 40.552c0 1.172-.958 2.11-2.14 2.11v2c2.25 0 4.14-1.798 4.14-4.11h-2Zm-2.14 2.11H30.054v2h66.148v-2Zm-66.148 0a2.12 2.12 0 0 1-2.14-2.11h-2a4.12 4.12 0 0 0 4.14 4.11v-2Zm-2.14-2.11V47.85h-2v15.87h2Zm39.254-42.662h29.034v-2H67.168v2Z" fill="#fff" /> <path d="M67.203 25.56h25.64v34.85H32.487V50.011" stroke="#fff" stroke-width="2" stroke-linejoin="round" /> <path d="M47.343 76h31.571" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> <path d="M57.557 66.83V76M67.771 66.83V76" stroke="#fff" stroke-width="2" stroke-linejoin="round" /> <path d="m20.995 42.873-3.972 3.972-14.61 14.61a3.413 3.413 0 0 0 0 4.826v0a3.413 3.413 0 0 0 4.827 0l14.61-14.61 3.972-3.972" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> <path d="M86.037 32.488H71.845M86.037 37.81H76.28M71.845 37.81h-6.652M86.037 43.132h-6.209M74.95 43.132H61.2M86.037 48.454H71.845M66.967 48.454h-7.54M86.037 53.776H66.08M61.201 53.776h-11.53M44.793 53.776h-7.096" stroke="#fff" stroke-width="2" stroke-linecap="round" /> <rect width="40.801" height="9.757" rx="4" transform="matrix(-1 0 0 1 61.201 14.748)" stroke="#fff" stroke-width="2" /> <path d="M16.852 33.375h28.375a4 4 0 0 1 4 4v1.757a4 4 0 0 1-4 4H22.174M66.523 33.375h-3.539a4 4 0 0 0-4 4v3.761c0 1.102.894 1.996 1.996 1.996v0" stroke="#fff" stroke-width="2" stroke-linecap="round" /> </svg> `, requiresPremium: true, }, reusedPasswords: { title: "reusedPasswordsReport", description: "reusedPasswordsReportDesc", route: "reused-passwords-report", icon: ` <svg width="102" height="102" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M57.983 15.06a35.664 35.664 0 0 1 14.531 6.27c16.164 11.78 19.585 34.613 7.643 51a37.227 37.227 0 0 1-6.81 7.138m-32.842 6.697a35.708 35.708 0 0 1-11.239-5.495c-16.163-11.78-19.585-34.613-7.642-51a37.55 37.55 0 0 1 3.295-3.929" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> <path d="M93.909 64.598H7.72c-.708 0-1.275-.662-1.275-1.49V40.273c0-.828.567-1.49 1.275-1.49H93.91c.708 0 1.275.663 1.275 1.49v22.837c.047.827-.567 1.49-1.275 1.49Z" fill="currentColor" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> <path d="M21.532 52.186v-5.965M21.532 52.187l5.748-1.844M21.532 52.186l3.524 4.881M21.531 52.186l-3.47 4.881M21.532 52.187l-5.694-1.844M40.944 52.186v-5.965M40.944 52.187l5.694-1.844M40.944 52.187l3.525 4.88M40.944 52.187l-3.525 4.88M40.944 52.187l-5.694-1.844M54.849 57.337h11.294M74.21 57.337h11.295M41.75 83l.71 4.75-4.75.71M58.664 18.66 56 14.665 59.996 12" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> `, requiresPremium: true, }, weakPasswords: { title: "weakPasswordsReport", description: "weakPasswordsReportDesc", route: "weak-passwords-report", icon: ` <svg width="78" height="78" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M66.493 64.415V77H9.979V64.324M9.979 44.065V32.106h56.514v12.148" stroke="#fff" stroke-width="2" stroke-linejoin="round" /> <path d="M75.44 64.852H2.085c-.603 0-1.085-.555-1.085-1.25V44.448c0-.694.482-1.25 1.085-1.25H75.44c.603 0 1.085.556 1.085 1.25v19.156c.04.694-.482 1.25-1.085 1.25Z" fill="currentColor" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> <path d="M13.84 54.56v-5.077M13.84 54.56l4.893-1.57M13.84 54.56l3 4.153M13.84 54.56l-2.954 4.153M13.84 54.56l-4.846-1.57M30.363 54.56v-5.077M30.363 54.56l4.846-1.57M30.363 54.56l3 4.153M30.363 54.56l-3 4.153M30.363 54.56l-4.846-1.57M42.197 59.042h9.506M58.57 59.042h9.507" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> <path d="M20.863 31.364c-.274-5.285 0-15.817 1.093-18.863 1.276-3.554 6.233-10.826 15.856-11.482 4.83-.273 15.2 2.296 18.043 14.763" stroke="#fff" stroke-width="2" /> </svg> `, requiresPremium: true, }, unsecuredWebsites: { title: "unsecuredWebsitesReport", description: "unsecuredWebsitesReportDesc", route: "unsecured-websites-report", icon: ` <svg width="113" height="76" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1.71 12.983h110.362v55.11a6 6 0 0 1-6 6H7.711a6 6 0 0 1-6-6v-55.11Z" fill="currentColor" /> <rect x="1" y="1.073" width="110.5" height="73.454" rx="9" stroke="#fff" stroke-width="2" /> <path d="M89.48 8.048V7.47M96.363 8.048V7.47M103.246 8.048V7.47" stroke="#fff" stroke-width="4" stroke-linecap="round" /> <path d="M0 12.983h111.217" stroke="#fff" stroke-width="2" /> <path d="m93.236 44.384-18.42-11.026 2.93 21.266 5.582-5.237 4.27 6.46 2.98-1.971-4.26-6.446 6.918-3.046Z" fill="#175DDC" stroke="#fff" stroke-width="2" stroke-linejoin="round" /> <rect width="96.673" height="6.886" rx="3.443" transform="matrix(-1 0 0 1 104.373 18.721)" stroke="#fff" /> </svg> `, requiresPremium: true, }, inactive2fa: { title: "inactive2faReport", description: "inactive2faReportDesc", route: "inactive-two-factor-report", icon: ` <svg width="42" height="75" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill="currentColor" stroke="#fff" stroke-width="2" d="M1 13.121h39.595v48.758H1z" /> <rect x="1" y="1" width="39.595" height="73" rx="8" stroke="#fff" stroke-width="2" /> <path stroke="#fff" stroke-width="2" stroke-linecap="round" d="M12.344 8.091h16.907M18.907 67.424h3.025M31.503 32.515c-2.047-4.337-6.717-7.061-11.73-6.414a11.356 11.356 0 0 0-9.125 7.126M10.816 42.016c2.047 4.337 6.718 7.062 11.73 6.414 4.346-.562 7.8-3.51 9.213-7.358" /> <path d="m33.584 29.293-1.295 4.625-4.625-1.295M8.523 44.725l1.441-4.581 4.582 1.441" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> `, requiresPremium: true, }, dataBreach: { title: "dataBreachReport", description: "breachDesc", route: "breach-report", icon: ` <svg width="58" height="75" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M39.569 74H13.007a7 7 0 0 1-7-7V31.077a7 7 0 0 1 7-7h19.101a7 7 0 0 1 4.988 2.088l7.46 7.576a7 7 0 0 1 2.013 4.912V67a7 7 0 0 1-7 7Z" fill="#175DDC" stroke="#fff" stroke-width="2" /> <path d="M44.576 69.055H18.015a7 7 0 0 1-7-7V26.132a7 7 0 0 1 7-7h19.1a7 7 0 0 1 4.988 2.088l7.46 7.576a7 7 0 0 1 2.013 4.911v28.348a7 7 0 0 1-7 7Z" fill="#175DDC" stroke="#fff" stroke-width="2" /> <path d="M50 63.698H23.439a7 7 0 0 1-7-7V20.775a7 7 0 0 1 7-7h19.1a7 7 0 0 1 4.988 2.088l7.46 7.575A7 7 0 0 1 57 28.35v28.348a7 7 0 0 1-7 7Z" fill="#175DDC" stroke="#fff" stroke-width="2" /> <path d="M44.648 13.599v3.95a8 8 0 0 0 8 8h4.518" stroke="#fff" stroke-width="2" /> <path stroke="#fff" stroke-width="2" stroke-linecap="round" d="M23.533 37.736H49.49M23.533 46.802H49.49M23.533 42.269H49.49M23.533 55.456H49.49M23.533 50.923H49.49" /> <path d="M1 16.483C1 7.944 8.013 1 16.69 1c8.678 0 15.691 6.944 15.691 15.483 0 8.54-7.013 15.484-15.69 15.484C8.012 31.967 1 25.023 1 16.484Z" fill="#518FFF" stroke="#fff" stroke-width="2" /> <path d="m16.562 7.979.1 11.538" stroke="#fff" stroke-width="2" stroke-linecap="round" /> <ellipse rx="1.252" ry="1.236" transform="rotate(-.479 2802.219 -1964.476) skewX(.012)" fill="#fff" /> </svg> `, requiresPremium: false, }, }; @Component({ selector: "app-report-card", templateUrl: "report-card.component.html", }) export class ReportCardComponent implements OnInit { @Input() type: ReportTypes; report: ReportEntry; hasPremium: boolean; constructor( private stateService: StateService, private messagingService: MessagingService, private sanitizer: DomSanitizer ) {} async ngOnInit() { this.report = reports[this.type]; this.hasPremium = await this.stateService.getCanAccessPremium(); } get premium() { return this.report.requiresPremium && !this.hasPremium; } get route() { if (this.premium) { return null; } return this.report.route; } get icon() { return this.sanitizer.bypassSecurityTrustHtml(this.report.icon); } click() { if (this.premium) { this.messagingService.send("premiumRequired"); } } }
bitwarden/web/src/app/reports/report-card.component.ts/0
{ "file_path": "bitwarden/web/src/app/reports/report-card.component.ts", "repo_id": "bitwarden", "token_count": 4769 }
137
<div class="row" [formGroup]="datesForm"> <div class="col-6 form-group"> <label for="deletionDate">{{ "deletionDate" | i18n }}</label> <ng-template #deletionDateCustom> <ng-container [ngSwitch]="browserPath"> <ng-container *ngSwitchCase="'firefox'"> <div class="d-flex justify-content-around"> <input id="deletionDateCustomFallback" class="form-control mt-1" type="date" name="DeletionDateFallback" formControlName="fallbackDeletionDate" required placeholder="MM/DD/YYYY" [readOnly]="disableSend" data-date-format="mm/dd/yyyy" /> <input id="deletionTimeCustomFallback" class="form-control mt-1 ml-1" type="time" name="DeletionTimeDate" formControlName="fallbackDeletionTime" required placeholder="HH:MM AM/PM" [readOnly]="disableSend" /> </div> </ng-container> <ng-container *ngSwitchCase="'safari'"> <div class="d-flex justify-content-around"> <input id="deletionDateCustomFallback" class="form-control mt-1" type="date" name="DeletionDateFallback" formControlName="fallbackDeletionDate" required placeholder="MM/DD/YYYY" [readOnly]="disableSend" data-date-format="mm/dd/yyyy" /> <select id="deletionTimeCustomFallback" class="form-control mt-1 ml-1" [required]="!editMode" formControlName="fallbackDeletionTime" name="SafariDeletionTime" > <option *ngFor="let o of safariDeletionTimePresetOptions" [ngValue]="o.twentyFourHour" > {{ o.twelveHour }} </option> </select> </div> </ng-container> <ng-container *ngSwitchDefault> <input id="deletionDateCustom" class="form-control mt-1" type="datetime-local" name="DeletionDate" formControlName="defaultDeletionDateTime" required placeholder="MM/DD/YYYY HH:MM AM/PM" [readOnly]="disabled" /> </ng-container> </ng-container> </ng-template> <div *ngIf="!editMode"> <select id="deletionDate" name="SelectedDeletionDatePreset" formControlName="selectedDeletionDatePreset" class="form-control" required > <option *ngFor="let o of deletionDatePresets" [ngValue]="o.value">{{ o.name }}</option> </select> <ng-container *ngIf="selectedDeletionDatePreset.value === 0"> <ng-container *ngTemplateOutlet="deletionDateCustom"> </ng-container> </ng-container> </div> <div *ngIf="editMode"> <ng-container *ngTemplateOutlet="deletionDateCustom"> </ng-container> </div> <div class="form-text text-muted small">{{ "deletionDateDesc" | i18n }}</div> </div> <div class="col-6 form-group"> <div class="d-flex"> <label for="expirationDate">{{ "expirationDate" | i18n }}</label> <a href="#" appStopClick (click)="clearExpiration()" class="ml-auto" *ngIf="editMode && !disabled" > {{ "clear" | i18n }} </a> </div> <ng-template #expirationDateCustom> <ng-container [ngSwitch]="browserPath"> <div *ngSwitchCase="'firefox'" class="d-flex justify-content-around"> <input id="expirationDateCustomFallback" class="form-control mt-1" type="date" name="ExpirationDateFallback" formControlName="fallbackExpirationDate" [required]="!editMode" placeholder="MM/DD/YYYY" [readOnly]="disabled" data-date-format="mm/dd/yyyy" /> <input id="expirationTimeCustomFallback" class="form-control mt-1 ml-1" type="time" name="ExpirationTimeFallback" formControlName="fallbackExpirationTime" [required]="!editMode" placeholder="HH:MM AM/PM" [readOnly]="disabled" /> </div> <!-- non-default cases are not showing up --> <div *ngSwitchCase="'safari'" class="d-flex justify-content-around"> <input id="expirationDateCustomFallback" class="form-control mt-1" type="date" name="ExpirationDateFallback" formControlName="fallbackExpirationDate" [required]="!editMode" placeholder="MM/DD/YYYY" [readOnly]="disabled" data-date-format="mm/dd/yyyy" /> <select id="expirationTimeCustomFallback" class="form-control mt-1 ml-1" [required]="!editMode" formControlName="fallbackExpirationTime" name="SafariExpirationTime" > <option *ngFor="let o of safariExpirationTimePresetOptions" [ngValue]="o.twentyFourHour" > {{ o.twelveHour }} </option> </select> </div> <ng-container *ngSwitchDefault> <input id="expirationDateCustom" class="form-control mt-1" type="datetime-local" name="ExpirationDate" formControlName="defaultExpirationDateTime" placeholder="MM/DD/YYYY HH:MM AM/PM" [readOnly]="disabled" /> </ng-container> </ng-container> </ng-template> <div *ngIf="!editMode"> <select id="expirationDate" name="SelectedExpirationDatePreset" formControlName="selectedExpirationDatePreset" class="form-control" required > <option *ngFor="let o of expirationDatePresets" [ngValue]="o.value">{{ o.name }}</option> </select> <ng-container *ngIf="selectedExpirationDatePreset.value === 0"> <ng-container *ngTemplateOutlet="expirationDateCustom"> </ng-container> </ng-container> </div> <div *ngIf="editMode"> <ng-container *ngTemplateOutlet="expirationDateCustom"> </ng-container> </div> <div class="form-text text-muted small">{{ "expirationDateDesc" | i18n }}</div> </div> </div>
bitwarden/web/src/app/send/efflux-dates.component.html/0
{ "file_path": "bitwarden/web/src/app/send/efflux-dates.component.html", "repo_id": "bitwarden", "token_count": 3424 }
138
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate> <div class="card-body"> <button type="button" class="close" appA11yTitle="{{ 'cancel' | i18n }}" (click)="cancel()"> <span aria-hidden="true">&times;</span> </button> <h3 class="card-body-header">{{ (add ? "addStorage" : "removeStorage") | i18n }}</h3> <div class="row"> <div class="form-group col-6"> <label for="storageAdjustment">{{ (add ? "gbStorageAdd" : "gbStorageRemove") | i18n }}</label> <input id="storageAdjustment" class="form-control" type="number" name="StroageGbAdjustment" [(ngModel)]="storageAdjustment" min="0" max="99" step="1" required /> </div> </div> <div *ngIf="add" class="mb-3"> <strong>{{ "total" | i18n }}:</strong> {{ storageAdjustment || 0 }} GB &times; {{ storageGbPrice | currency: "$" }} = {{ adjustedStorageTotal | currency: "$" }} /{{ interval | i18n }} </div> <button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading"> <i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n }}" aria-hidden="true"></i> <span>{{ "submit" | i18n }}</span> </button> <button type="button" class="btn btn-outline-secondary" (click)="cancel()"> {{ "cancel" | i18n }} </button> <small class="d-block text-muted mt-3"> {{ (add ? "storageAddNote" : "storageRemoveNote") | i18n }} </small> </div> </form> <app-payment [showMethods]="false"></app-payment>
bitwarden/web/src/app/settings/adjust-storage.component.html/0
{ "file_path": "bitwarden/web/src/app/settings/adjust-storage.component.html", "repo_id": "bitwarden", "token_count": 740 }
139
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="deleteAccountTitle"> <div class="modal-dialog modal-dialog-scrollable" role="document"> <form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate > <div class="modal-header"> <h2 class="modal-title" id="deleteAccountTitle">{{ "deleteAccount" | i18n }}</h2> <button type="button" class="close" data-dismiss="modal" appA11yTitle="{{ 'close' | i18n }}" > <span aria-hidden="true">&times;</span> </button> </div> <div class="modal-body"> <p>{{ "deleteAccountDesc" | i18n }}</p> <app-callout type="warning">{{ "deleteAccountWarning" | i18n }}</app-callout> <app-user-verification [(ngModel)]="masterPassword" ngDefaultControl name="secret"> </app-user-verification> </div> <div class="modal-footer"> <button type="submit" class="btn btn-danger btn-submit" [disabled]="form.loading"> <i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n }}" aria-hidden="true"></i> <span>{{ "deleteAccount" | i18n }}</span> </button> <button type="button" class="btn btn-outline-secondary" data-dismiss="modal"> {{ "close" | i18n }} </button> </div> </form> </div> </div>
bitwarden/web/src/app/settings/delete-account.component.html/0
{ "file_path": "bitwarden/web/src/app/settings/delete-account.component.html", "repo_id": "bitwarden", "token_count": 672 }
140
<ng-container *ngIf="loading"> <i class="bwi bwi-spinner bwi-spin text-muted" title="{{ 'loading' | i18n }}" aria-hidden="true" ></i> <span class="sr-only">{{ "loading" | i18n }}</span> </ng-container> <ng-container *ngIf="createOrganization && selfHosted"> <p>{{ "uploadLicenseFileOrg" | i18n }}</p> <form #form (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate> <div class="form-group"> <label for="file">{{ "licenseFile" | i18n }}</label> <input type="file" id="file" class="form-control-file" name="file" required /> <small class="form-text text-muted">{{ "licenseFileDesc" | i18n: "bitwarden_organization_license.json" }}</small> </div> <button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading"> <i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n }}" aria-hidden="true"></i> <span>{{ "submit" | i18n }}</span> </button> </form> </ng-container> <form #form (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate *ngIf="!loading && !selfHosted && this.plans" > <h2 class="mt-5">{{ "generalInformation" | i18n }}</h2> <div class="row" *ngIf="createOrganization"> <div class="form-group col-6"> <label for="name">{{ "organizationName" | i18n }}</label> <input id="name" class="form-control" type="text" name="Name" [(ngModel)]="name" required /> </div> <div class="form-group col-6"> <label for="billingEmail">{{ "billingEmail" | i18n }}</label> <input id="billingEmail" class="form-control" type="text" name="BillingEmail" [(ngModel)]="billingEmail" required /> </div> <div class="form-group col-6" *ngIf="!!providerId"> <label for="email">{{ "clientOwnerEmail" | i18n }}</label> <input id="email" class="form-control" type="text" name="Email" [(ngModel)]="clientOwnerEmail" required /> <small class="text-muted">{{ "clientOwnerDesc" | i18n: "20" }}</small> </div> </div> <div *ngIf="!providerId && !acceptingSponsorship"> <div class="form-group form-check"> <input id="ownedBusiness" class="form-check-input" type="checkbox" name="OwnedBusiness" [(ngModel)]="ownedBusiness" (change)="changedOwnedBusiness()" /> <label for="ownedBusiness" class="form-check-label">{{ "accountOwnedBusiness" | i18n }}</label> </div> <div class="row" *ngIf="ownedBusiness"> <div class="form-group col-6"> <label for="businessName">{{ "businessName" | i18n }}</label> <input id="businessName" class="form-control" type="text" name="BusinessName" [(ngModel)]="businessName" /> </div> </div> </div> <h2 class="mt-5">{{ "chooseYourPlan" | i18n }}</h2> <div *ngFor="let selectableProduct of selectableProducts" class="form-check form-check-block"> <input class="form-check-input" type="radio" name="product" id="product{{ selectableProduct.product }}" [value]="selectableProduct.product" [(ngModel)]="product" (change)="changedProduct()" /> <label class="form-check-label" for="product{{ selectableProduct.product }}"> {{ selectableProduct.nameLocalizationKey | i18n }} <small class="mb-1">{{ selectableProduct.descriptionLocalizationKey | i18n: "1" }}</small> <ng-container *ngIf="selectableProduct.product === productTypes.Enterprise; else fullFeatureList" > <small>• {{ "includeAllTeamsFeatures" | i18n }}</small> <small *ngIf="selectableProduct.hasSelfHost">• {{ "onPremHostingOptional" | i18n }}</small> <small *ngIf="selectableProduct.hasSso">• {{ "includeSsoAuthentication" | i18n }}</small> <small *ngIf="selectableProduct.hasPolicies" >• {{ "includeEnterprisePolicies" | i18n }}</small > <small *ngIf="selectableProduct.trialPeriodDays && createOrganization" >• {{ "xDayFreeTrial" | i18n: selectableProduct.trialPeriodDays }} </small> </ng-container> <ng-template #fullFeatureList> <small *ngIf="selectableProduct.product == productTypes.Free" >• {{ "limitedUsers" | i18n: selectableProduct.maxUsers }}</small > <small *ngIf="selectableProduct.product != productTypes.Free && selectableProduct.maxUsers" >• {{ "addShareLimitedUsers" | i18n: selectableProduct.maxUsers }}</small > <small *ngIf="!selectableProduct.maxUsers">• {{ "addShareUnlimitedUsers" | i18n }}</small> <small *ngIf="selectableProduct.maxCollections" >• {{ "limitedCollections" | i18n: selectableProduct.maxCollections }}</small > <small *ngIf="selectableProduct.maxAdditionalSeats" >• {{ "addShareLimitedUsers" | i18n: selectableProduct.maxAdditionalSeats }}</small > <small *ngIf="!selectableProduct.maxCollections" >• {{ "createUnlimitedCollections" | i18n }}</small > <small *ngIf="selectableProduct.baseStorageGb" >• {{ "gbEncryptedFileStorage" | i18n: selectableProduct.baseStorageGb + "GB" }}</small > <small *ngIf="selectableProduct.hasGroups">• {{ "controlAccessWithGroups" | i18n }}</small> <small *ngIf="selectableProduct.hasApi">• {{ "trackAuditLogs" | i18n }}</small> <small *ngIf="selectableProduct.hasDirectory" >• {{ "syncUsersFromDirectory" | i18n }}</small > <small *ngIf="selectableProduct.hasSelfHost">• {{ "onPremHostingOptional" | i18n }}</small> <small *ngIf="selectableProduct.usersGetPremium">• {{ "usersGetPremium" | i18n }}</small> <small *ngIf="selectableProduct.product != productTypes.Free" >• {{ "priorityCustomerSupport" | i18n }}</small > <small *ngIf="selectableProduct.trialPeriodDays && createOrganization" >• {{ "xDayFreeTrial" | i18n: selectableProduct.trialPeriodDays }} </small> </ng-template> <span *ngIf="selectableProduct.product != productTypes.Free"> <ng-container *ngIf="selectableProduct.basePrice && !acceptingSponsorship"> {{ selectableProduct.basePrice / 12 | currency: "$" }} /{{ "month" | i18n }}, {{ "includesXUsers" | i18n: selectableProduct.baseSeats }} <ng-container *ngIf="selectableProduct.hasAdditionalSeatsOption"> {{ ("additionalUsers" | i18n).toLowerCase() }} {{ selectableProduct.seatPrice / 12 | currency: "$" }} /{{ "month" | i18n }} </ng-container> </ng-container> </span> <span *ngIf="!selectableProduct.basePrice && selectableProduct.hasAdditionalSeatsOption"> {{ "costPerUser" | i18n: (selectableProduct.seatPrice / 12 | currency: "$") }} /{{ "month" | i18n }} </span> <span *ngIf="selectableProduct.product == productTypes.Free">{{ "freeForever" | i18n }}</span> </label> </div> <div *ngIf="product !== productTypes.Free"> <ng-container *ngIf="selectedPlan.hasAdditionalSeatsOption && !selectedPlan.baseSeats"> <h2 class="mt-5">{{ "users" | i18n }}</h2> <div class="row"> <div class="col-6"> <label for="additionalSeats">{{ "userSeats" | i18n }}</label> <input id="additionalSeats" class="form-control" type="number" name="AdditionalSeats" [(ngModel)]="additionalSeats" min="1" max="100000" placeholder="{{ 'userSeatsDesc' | i18n }}" required /> <small class="text-muted form-text">{{ "userSeatsHowManyDesc" | i18n }}</small> </div> </div> </ng-container> <h2 class="mt-5">{{ "addons" | i18n }}</h2> <div class="row" *ngIf="selectedPlan.hasAdditionalSeatsOption && selectedPlan.baseSeats"> <div class="form-group col-6"> <label for="additionalSeats">{{ "additionalUserSeats" | i18n }}</label> <input id="additionalSeats" class="form-control" type="number" name="AdditionalSeats" [(ngModel)]="additionalSeats" min="0" max="100000" placeholder="{{ 'userSeatsDesc' | i18n }}" /> <small class="text-muted form-text">{{ "userSeatsAdditionalDesc" | i18n: selectedPlan.baseSeats:(seatPriceMonthly(selectedPlan) | currency: "$") }}</small> </div> </div> <div class="row"> <div class="form-group col-6"> <label for="additionalStorage">{{ "additionalStorageGb" | i18n }}</label> <input id="additionalStorage" class="form-control" type="number" name="AdditionalStorageGb" [(ngModel)]="additionalStorage" min="0" max="99" step="1" placeholder="{{ 'additionalStorageGbDesc' | i18n }}" /> <small class="text-muted form-text">{{ "additionalStorageIntervalDesc" | i18n : "1 GB" : (additionalStoragePriceMonthly(selectedPlan) | currency: "$") : ("month" | i18n) }}</small> </div> </div> <div class="row"> <div class="form-group col-6" *ngIf="selectedPlan.hasPremiumAccessOption"> <div class="form-check"> <input id="premiumAccess" class="form-check-input" type="checkbox" name="PremiumAccessAddon" [(ngModel)]="premiumAccessAddon" /> <label for="premiumAccess" class="form-check-label bold">{{ "premiumAccess" | i18n }}</label> </div> <small class="text-muted form-text">{{ "premiumAccessDesc" | i18n: (3.33 | currency: "$"):("month" | i18n) }}</small> </div> </div> <h2 class="spaced-header">{{ "summary" | i18n }}</h2> <div class="form-check form-check-block" *ngFor="let selectablePlan of selectablePlans"> <input class="form-check-input" type="radio" name="BillingInterval" id="interval{{ selectablePlan.type }}" [value]="selectablePlan.type" [(ngModel)]="plan" /> <label class="form-check-label" for="interval{{ selectablePlan.type }}"> <ng-container *ngIf="selectablePlan.isAnnual"> {{ "annually" | i18n }} <small *ngIf="selectablePlan.basePrice"> {{ "basePrice" | i18n }}: {{ selectablePlan.basePrice / 12 | currency: "$" }} &times; 12 {{ "monthAbbr" | i18n }} = <ng-container *ngIf="acceptingSponsorship; else notAcceptingSponsorship"> <span style="text-decoration: line-through">{{ selectablePlan.basePrice | currency: "$" }}</span> {{ "freeWithSponsorship" | i18n }} </ng-container> <ng-template #notAcceptingSponsorship> {{ selectablePlan.basePrice | currency: "$" }} /{{ "year" | i18n }} </ng-template> </small> <small *ngIf="selectablePlan.hasAdditionalSeatsOption"> <span *ngIf="selectablePlan.baseSeats">{{ "additionalUsers" | i18n }}:</span> <span *ngIf="!selectablePlan.baseSeats">{{ "users" | i18n }}:</span> {{ additionalSeats || 0 }} &times; {{ selectablePlan.seatPrice / 12 | currency: "$" }} &times; 12 {{ "monthAbbr" | i18n }} = {{ seatTotal(selectablePlan) | currency: "$" }} /{{ "year" | i18n }} </small> <small *ngIf="selectablePlan.hasAdditionalStorageOption"> {{ "additionalStorageGb" | i18n }}: {{ additionalStorage || 0 }} &times; {{ selectablePlan.additionalStoragePricePerGb / 12 | currency: "$" }} &times; 12 {{ "monthAbbr" | i18n }} = {{ additionalStorageTotal(selectablePlan) | currency: "$" }} /{{ "year" | i18n }} </small> <small *ngIf="selectablePlan.hasPremiumAccessOption && premiumAccessAddon"> {{ "premiumAccess" | i18n }}: {{ selectablePlan.premiumAccessOptionCost / 12 | currency: "$" }} &times; 12 {{ "monthAbbr" | i18n }} = {{ 40 | currency: "$" }} /{{ "year" | i18n }} </small> </ng-container> <ng-container *ngIf="!selectablePlan.isAnnual"> {{ "monthly" | i18n }} <small *ngIf="selectablePlan.basePrice"> {{ "basePrice" | i18n }}: {{ selectablePlan.basePrice | currency: "$" }} {{ "monthAbbr" | i18n }} = {{ selectablePlan.basePrice | currency: "$" }} /{{ "month" | i18n }} </small> <small *ngIf="selectablePlan.hasAdditionalSeatsOption"> <span *ngIf="selectablePlan.baseSeats">{{ "additionalUsers" | i18n }}:</span> <span *ngIf="!selectablePlan.baseSeats">{{ "users" | i18n }}:</span> {{ additionalSeats || 0 }} &times; {{ selectablePlan.seatPrice | currency: "$" }} {{ "monthAbbr" | i18n }} = {{ seatTotal(selectablePlan) | currency: "$" }} /{{ "month" | i18n }} </small> <small *ngIf="selectablePlan.hasAdditionalStorageOption"> {{ "additionalStorageGb" | i18n }}: {{ additionalStorage || 0 }} &times; {{ selectablePlan.additionalStoragePricePerGb | currency: "$" }} {{ "monthAbbr" | i18n }} = {{ additionalStorageTotal(selectablePlan) | currency: "$" }} /{{ "month" | i18n }} </small> <small *ngIf="selectablePlan.hasPremiumAccessOption && premiumAccessAddon"> {{ "premiumAccess" | i18n }}: {{ selectablePlan.premiumAccessOptionCost | currency: "$" }} {{ "monthAbbr" | i18n }} = {{ 40 | currency: "$" }} /{{ "month" | i18n }} </small> </ng-container> </label> </div> <hr class="my-3" /> <h2 class="spaced-header mb-4"> {{ (createOrganization ? "paymentInformation" : "billingInformation") | i18n }} </h2> <small class="text-muted font-italic mb-3 d-block"> {{ paymentDesc }} </small> <app-payment *ngIf="createOrganization" [hideCredit]="true"></app-payment> <app-tax-info (onCountryChanged)="changedCountry()"></app-tax-info> <div id="price" class="my-4"> <div class="text-muted text-sm"> {{ "planPrice" | i18n }}: {{ subtotal | currency: "USD $" }} <br /> <ng-container> {{ "estimatedTax" | i18n }}: {{ taxCharges | currency: "USD $" }} </ng-container> </div> <hr class="my-1 col-3 ml-0" /> <p class="text-lg"> <strong>{{ "total" | i18n }}:</strong> {{ total | currency: "USD $" }}/{{ selectedPlanInterval | i18n }} </p> </div> <ng-container *ngIf="!createOrganization"> <app-payment [showMethods]="false"></app-payment> </ng-container> </div> <div *ngIf="singleOrgPolicyBlock" class="mt-4"> <app-callout [type]="'error'">{{ "singleOrgBlockCreateMessage" | i18n }}</app-callout> </div> <div class="mt-4"> <button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading"> <i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n }}" aria-hidden="true"></i> <span>{{ "submit" | i18n }}</span> </button> <button type="button" class="btn btn-outline-secondary" (click)="cancel()" *ngIf="showCancel"> {{ "cancel" | i18n }} </button> </div> </form>
bitwarden/web/src/app/settings/organization-plans.component.html/0
{ "file_path": "bitwarden/web/src/app/settings/organization-plans.component.html", "repo_id": "bitwarden", "token_count": 7210 }
141
import { NgModule } from "@angular/core"; import { RouterModule, Routes } from "@angular/router"; import { ChangePasswordComponent } from "./change-password.component"; import { SecurityKeysComponent } from "./security-keys.component"; import { SecurityComponent } from "./security.component"; import { TwoFactorSetupComponent } from "./two-factor-setup.component"; const routes: Routes = [ { path: "", component: SecurityComponent, data: { titleId: "security" }, children: [ { path: "", pathMatch: "full", redirectTo: "change-password" }, { path: "change-password", component: ChangePasswordComponent, data: { titleId: "masterPassword" }, }, { path: "two-factor", component: TwoFactorSetupComponent, data: { titleId: "twoStepLogin" }, }, { path: "security-keys", component: SecurityKeysComponent, data: { titleId: "keys" }, }, ], }, ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule], }) export class SecurityRoutingModule {}
bitwarden/web/src/app/settings/security-routing.module.ts/0
{ "file_path": "bitwarden/web/src/app/settings/security-routing.module.ts", "repo_id": "bitwarden", "token_count": 409 }
142
import { Directive, EventEmitter, Output } from "@angular/core"; import { ApiService } from "jslib-common/abstractions/api.service"; import { I18nService } from "jslib-common/abstractions/i18n.service"; import { LogService } from "jslib-common/abstractions/log.service"; import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service"; import { UserVerificationService } from "jslib-common/abstractions/userVerification.service"; import { TwoFactorProviderType } from "jslib-common/enums/twoFactorProviderType"; import { VerificationType } from "jslib-common/enums/verificationType"; import { SecretVerificationRequest } from "jslib-common/models/request/secretVerificationRequest"; import { TwoFactorProviderRequest } from "jslib-common/models/request/twoFactorProviderRequest"; @Directive() export abstract class TwoFactorBaseComponent { @Output() onUpdated = new EventEmitter<boolean>(); type: TwoFactorProviderType; organizationId: string; twoFactorProviderType = TwoFactorProviderType; enabled = false; authed = false; protected hashedSecret: string; protected verificationType: VerificationType; constructor( protected apiService: ApiService, protected i18nService: I18nService, protected platformUtilsService: PlatformUtilsService, protected logService: LogService, protected userVerificationService: UserVerificationService ) {} protected auth(authResponse: any) { this.hashedSecret = authResponse.secret; this.verificationType = authResponse.verificationType; this.authed = true; } protected async enable(enableFunction: () => Promise<void>) { try { await enableFunction(); this.onUpdated.emit(true); } catch (e) { this.logService.error(e); } } protected async disable(promise: Promise<any>) { const confirmed = await this.platformUtilsService.showDialog( this.i18nService.t("twoStepDisableDesc"), this.i18nService.t("disable"), this.i18nService.t("yes"), this.i18nService.t("no"), "warning" ); if (!confirmed) { return; } try { const request = await this.buildRequestModel(TwoFactorProviderRequest); request.type = this.type; if (this.organizationId != null) { promise = this.apiService.putTwoFactorOrganizationDisable(this.organizationId, request); } else { promise = this.apiService.putTwoFactorDisable(request); } await promise; this.enabled = false; this.platformUtilsService.showToast("success", null, this.i18nService.t("twoStepDisabled")); this.onUpdated.emit(false); } catch (e) { this.logService.error(e); } } protected async buildRequestModel<T extends SecretVerificationRequest>( requestClass: new () => T ) { return this.userVerificationService.buildRequest( { secret: this.hashedSecret, type: this.verificationType, }, requestClass, true ); } }
bitwarden/web/src/app/settings/two-factor-base.component.ts/0
{ "file_path": "bitwarden/web/src/app/settings/two-factor-base.component.ts", "repo_id": "bitwarden", "token_count": 1030 }
143
import { Component } from "@angular/core"; import { ApiService } from "jslib-common/abstractions/api.service"; import { CipherService } from "jslib-common/abstractions/cipher.service"; import { CryptoService } from "jslib-common/abstractions/crypto.service"; import { FolderService } from "jslib-common/abstractions/folder.service"; import { I18nService } from "jslib-common/abstractions/i18n.service"; import { LogService } from "jslib-common/abstractions/log.service"; import { MessagingService } from "jslib-common/abstractions/messaging.service"; import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service"; import { SyncService } from "jslib-common/abstractions/sync.service"; import { EncString } from "jslib-common/models/domain/encString"; import { CipherWithIdRequest } from "jslib-common/models/request/cipherWithIdRequest"; import { FolderWithIdRequest } from "jslib-common/models/request/folderWithIdRequest"; import { UpdateKeyRequest } from "jslib-common/models/request/updateKeyRequest"; @Component({ selector: "app-update-key", templateUrl: "update-key.component.html", }) export class UpdateKeyComponent { masterPassword: string; formPromise: Promise<any>; constructor( private apiService: ApiService, private i18nService: I18nService, private platformUtilsService: PlatformUtilsService, private cryptoService: CryptoService, private messagingService: MessagingService, private syncService: SyncService, private folderService: FolderService, private cipherService: CipherService, private logService: LogService ) {} async submit() { const hasEncKey = await this.cryptoService.hasEncKey(); if (hasEncKey) { return; } if (this.masterPassword == null || this.masterPassword === "") { this.platformUtilsService.showToast( "error", this.i18nService.t("errorOccurred"), this.i18nService.t("masterPassRequired") ); return; } try { this.formPromise = this.makeRequest().then((request) => { return this.apiService.postAccountKey(request); }); await this.formPromise; this.platformUtilsService.showToast( "success", this.i18nService.t("keyUpdated"), this.i18nService.t("logBackInOthersToo"), { timeout: 15000 } ); this.messagingService.send("logout"); } catch (e) { this.logService.error(e); } } private async makeRequest(): Promise<UpdateKeyRequest> { const key = await this.cryptoService.getKey(); const encKey = await this.cryptoService.makeEncKey(key); const privateKey = await this.cryptoService.getPrivateKey(); let encPrivateKey: EncString = null; if (privateKey != null) { encPrivateKey = await this.cryptoService.encrypt(privateKey, encKey[0]); } const request = new UpdateKeyRequest(); request.privateKey = encPrivateKey != null ? encPrivateKey.encryptedString : null; request.key = encKey[1].encryptedString; request.masterPasswordHash = await this.cryptoService.hashPassword(this.masterPassword, null); await this.syncService.fullSync(true); const folders = await this.folderService.getAllDecrypted(); for (let i = 0; i < folders.length; i++) { if (folders[i].id == null) { continue; } const folder = await this.folderService.encrypt(folders[i], encKey[0]); request.folders.push(new FolderWithIdRequest(folder)); } const ciphers = await this.cipherService.getAllDecrypted(); for (let i = 0; i < ciphers.length; i++) { if (ciphers[i].organizationId != null) { continue; } const cipher = await this.cipherService.encrypt(ciphers[i], encKey[0]); request.ciphers.push(new CipherWithIdRequest(cipher)); } return request; } }
bitwarden/web/src/app/settings/update-key.component.ts/0
{ "file_path": "bitwarden/web/src/app/settings/update-key.component.ts", "repo_id": "bitwarden", "token_count": 1365 }
144
import { Component, OnInit } from "@angular/core"; import { Router } from "@angular/router"; import * as JSZip from "jszip"; import Swal, { SweetAlertIcon } from "sweetalert2"; import { I18nService } from "jslib-common/abstractions/i18n.service"; import { ImportService } from "jslib-common/abstractions/import.service"; import { LogService } from "jslib-common/abstractions/log.service"; import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service"; import { PolicyService } from "jslib-common/abstractions/policy.service"; import { ImportOption, ImportType } from "jslib-common/enums/importOptions"; import { PolicyType } from "jslib-common/enums/policyType"; @Component({ selector: "app-import", templateUrl: "import.component.html", }) export class ImportComponent implements OnInit { featuredImportOptions: ImportOption[]; importOptions: ImportOption[]; format: ImportType = null; fileContents: string; formPromise: Promise<Error>; loading = false; importBlockedByPolicy = false; protected organizationId: string = null; protected successNavigate: any[] = ["vault"]; constructor( protected i18nService: I18nService, protected importService: ImportService, protected router: Router, protected platformUtilsService: PlatformUtilsService, protected policyService: PolicyService, private logService: LogService ) {} async ngOnInit() { this.setImportOptions(); this.importBlockedByPolicy = await this.policyService.policyAppliesToUser( PolicyType.PersonalOwnership ); } async submit() { if (this.importBlockedByPolicy) { this.platformUtilsService.showToast( "error", null, this.i18nService.t("personalOwnershipPolicyInEffectImports") ); return; } this.loading = true; const importer = this.importService.getImporter(this.format, this.organizationId); if (importer === null) { this.platformUtilsService.showToast( "error", this.i18nService.t("errorOccurred"), this.i18nService.t("selectFormat") ); this.loading = false; return; } const fileEl = document.getElementById("file") as HTMLInputElement; const files = fileEl.files; if ( (files == null || files.length === 0) && (this.fileContents == null || this.fileContents === "") ) { this.platformUtilsService.showToast( "error", this.i18nService.t("errorOccurred"), this.i18nService.t("selectFile") ); this.loading = false; return; } let fileContents = this.fileContents; if (files != null && files.length > 0) { try { const content = await this.getFileContents(files[0]); if (content != null) { fileContents = content; } } catch (e) { this.logService.error(e); } } if (fileContents == null || fileContents === "") { this.platformUtilsService.showToast( "error", this.i18nService.t("errorOccurred"), this.i18nService.t("selectFile") ); this.loading = false; return; } try { this.formPromise = this.importService.import(importer, fileContents, this.organizationId); const error = await this.formPromise; if (error != null) { this.error(error); this.loading = false; return; } this.platformUtilsService.showToast("success", null, this.i18nService.t("importSuccess")); this.router.navigate(this.successNavigate); } catch (e) { this.logService.error(e); } this.loading = false; } getFormatInstructionTitle() { if (this.format == null) { return null; } const results = this.featuredImportOptions .concat(this.importOptions) .filter((o) => o.id === this.format); if (results.length > 0) { return this.i18nService.t("instructionsFor", results[0].name); } return null; } protected setImportOptions() { this.featuredImportOptions = [ { id: null, name: "-- " + this.i18nService.t("select") + " --", }, ...this.importService.featuredImportOptions, ]; this.importOptions = [...this.importService.regularImportOptions].sort((a, b) => { if (a.name == null && b.name != null) { return -1; } if (a.name != null && b.name == null) { return 1; } if (a.name == null && b.name == null) { return 0; } return this.i18nService.collator ? this.i18nService.collator.compare(a.name, b.name) : a.name.localeCompare(b.name); }); } private async error(error: Error) { await Swal.fire({ heightAuto: false, buttonsStyling: false, icon: "error" as SweetAlertIcon, iconHtml: `<i class="swal-custom-icon bwi bwi-error text-danger"></i>`, input: "textarea", inputValue: error.message, inputAttributes: { readonly: "true", }, titleText: this.i18nService.t("importError"), text: this.i18nService.t("importErrorDesc"), showConfirmButton: true, confirmButtonText: this.i18nService.t("ok"), onOpen: (popupEl) => { popupEl.querySelector(".swal2-textarea").scrollTo(0, 0); }, }); } private getFileContents(file: File): Promise<string> { if (this.format === "1password1pux") { return this.extract1PuxContent(file); } return new Promise((resolve, reject) => { const reader = new FileReader(); reader.readAsText(file, "utf-8"); reader.onload = (evt) => { if (this.format === "lastpasscsv" && file.type === "text/html") { const parser = new DOMParser(); const doc = parser.parseFromString((evt.target as any).result, "text/html"); const pre = doc.querySelector("pre"); if (pre != null) { resolve(pre.textContent); return; } reject(); return; } resolve((evt.target as any).result); }; reader.onerror = () => { reject(); }; }); } private extract1PuxContent(file: File): Promise<string> { return new JSZip() .loadAsync(file) .then((zip) => { return zip.file("export.data").async("string"); }) .then( function success(content) { return content; }, function error(e) { return ""; } ); } }
bitwarden/web/src/app/tools/import.component.ts/0
{ "file_path": "bitwarden/web/src/app/tools/import.component.ts", "repo_id": "bitwarden", "token_count": 2685 }
145
import { Component, EventEmitter, Input, OnInit, Output } from "@angular/core"; import { CipherService } from "jslib-common/abstractions/cipher.service"; import { FolderService } from "jslib-common/abstractions/folder.service"; import { I18nService } from "jslib-common/abstractions/i18n.service"; import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service"; import { FolderView } from "jslib-common/models/view/folderView"; @Component({ selector: "app-vault-bulk-move", templateUrl: "bulk-move.component.html", }) export class BulkMoveComponent implements OnInit { @Input() cipherIds: string[] = []; @Output() onMoved = new EventEmitter(); folderId: string = null; folders: FolderView[] = []; formPromise: Promise<any>; constructor( private cipherService: CipherService, private platformUtilsService: PlatformUtilsService, private i18nService: I18nService, private folderService: FolderService ) {} async ngOnInit() { this.folders = await this.folderService.getAllDecrypted(); this.folderId = this.folders[0].id; } async submit() { this.formPromise = this.cipherService.moveManyWithServer(this.cipherIds, this.folderId); await this.formPromise; this.onMoved.emit(); this.platformUtilsService.showToast("success", null, this.i18nService.t("movedItems")); } }
bitwarden/web/src/app/vault/bulk-move.component.ts/0
{ "file_path": "bitwarden/web/src/app/vault/bulk-move.component.ts", "repo_id": "bitwarden", "token_count": 453 }
146
@import "../scss/styles.scss";
bitwarden/web/src/connectors/captcha-mobile.scss/0
{ "file_path": "bitwarden/web/src/connectors/captcha-mobile.scss", "repo_id": "bitwarden", "token_count": 13 }
147
@import "../scss/styles.scss"; body { min-width: 0px !important; }
bitwarden/web/src/connectors/webauthn.scss/0
{ "file_path": "bitwarden/web/src/connectors/webauthn.scss", "repo_id": "bitwarden", "token_count": 30 }
148
{ "pageTitle": { "message": "$APP_NAME$ Webkluis", "description": "The title of the website in the browser window.", "placeholders": { "app_name": { "content": "$1", "example": "Bitwarden" } } }, "whatTypeOfItem": { "message": "Van welke categorie is dit item?" }, "name": { "message": "Naam" }, "uri": { "message": "URI" }, "uriPosition": { "message": "URI $POSITION$", "description": "A listing of URIs. Ex: URI 1, URI 2, URI 3, etc.", "placeholders": { "position": { "content": "$1", "example": "2" } } }, "newUri": { "message": "Nieuwe URI" }, "username": { "message": "Gebruikersnaam" }, "password": { "message": "Wachtwoord" }, "newPassword": { "message": "Nieuw wachtwoord" }, "passphrase": { "message": "Wachtwoordzin" }, "notes": { "message": "Notities" }, "customFields": { "message": "Aangepaste velden" }, "cardholderName": { "message": "Naam kaarthouder" }, "number": { "message": "Kaartnummer" }, "brand": { "message": "Merk" }, "expiration": { "message": "Vervaldatum" }, "securityCode": { "message": "Beveiligingscode (CVV)" }, "identityName": { "message": "Identiteitsnaam" }, "company": { "message": "Bedrijf" }, "ssn": { "message": "Burgerservicenummer" }, "passportNumber": { "message": "Paspoortnummer" }, "licenseNumber": { "message": "Rijbewijsnummer" }, "email": { "message": "E-mailadres" }, "phone": { "message": "Telefoonnummer" }, "january": { "message": "januari" }, "february": { "message": "februari" }, "march": { "message": "maart" }, "april": { "message": "april" }, "may": { "message": "mei" }, "june": { "message": "juni" }, "july": { "message": "juli" }, "august": { "message": "augustus" }, "september": { "message": "september" }, "october": { "message": "oktober" }, "november": { "message": "november" }, "december": { "message": "december" }, "title": { "message": "Aanhef" }, "mr": { "message": "Dhr." }, "mrs": { "message": "Mevr." }, "ms": { "message": "Mej." }, "dr": { "message": "Dr." }, "expirationMonth": { "message": "Vervalmaand" }, "expirationYear": { "message": "Vervaljaar" }, "authenticatorKeyTotp": { "message": "Authenticatiecode (TOTP)" }, "folder": { "message": "Map" }, "newCustomField": { "message": "Nieuw aangepast veld" }, "value": { "message": "Waarde" }, "dragToSort": { "message": "Slepen om te sorteren" }, "cfTypeText": { "message": "Tekst" }, "cfTypeHidden": { "message": "Verborgen" }, "cfTypeBoolean": { "message": "Boolean" }, "cfTypeLinked": { "message": "Gekoppeld", "description": "This describes a field that is 'linked' (related) to another field." }, "remove": { "message": "Verwijderen" }, "unassigned": { "message": "Niet toegewezen" }, "noneFolder": { "message": "Geen map", "description": "This is the folder for uncategorized items" }, "addFolder": { "message": "Map toevoegen" }, "editFolder": { "message": "Map bewerken" }, "baseDomain": { "message": "Basisdomein", "description": "Domain name. Ex. website.com" }, "domainName": { "message": "Domeinnaam", "description": "Domain name. Ex. website.com" }, "host": { "message": "Hostnaam", "description": "A URL's host value. For example, the host of https://sub.domain.com:443 is 'sub.domain.com:443'." }, "exact": { "message": "Exact" }, "startsWith": { "message": "Begint met" }, "regEx": { "message": "Reguliere expressie", "description": "A programming term, also known as 'RegEx'." }, "matchDetection": { "message": "Overeenkomstdetectie", "description": "URI match detection for auto-fill." }, "defaultMatchDetection": { "message": "Standaard overeenkomstdetectie", "description": "Default URI match detection for auto-fill." }, "never": { "message": "Nooit" }, "toggleVisibility": { "message": "Zichtbaarheid wisselen" }, "toggleCollapse": { "message": "Inklappen/uitklappen", "description": "Toggling an expand/collapse state." }, "generatePassword": { "message": "Wachtwoord genereren" }, "checkPassword": { "message": "Controleer of wachtwoord is gelekt." }, "passwordExposed": { "message": "Dit wachtwoord is $VALUE$ keer gelekt. Je zou het moeten veranderen.", "placeholders": { "value": { "content": "$1", "example": "2" } } }, "passwordSafe": { "message": "Dit wachtwoord is niet gevonden in de bekende datalekken. Het kan veilig gebruikt worden." }, "save": { "message": "Opslaan" }, "cancel": { "message": "Annuleren" }, "canceled": { "message": "Geannuleerd" }, "close": { "message": "Sluiten" }, "delete": { "message": "Verwijderen" }, "favorite": { "message": "Favoriet" }, "unfavorite": { "message": "Verwijderen uit favorieten" }, "edit": { "message": "Bewerken" }, "searchCollection": { "message": "Verzameling doorzoeken" }, "searchFolder": { "message": "Map doorzoeken" }, "searchFavorites": { "message": "Favorieten doorzoeken" }, "searchType": { "message": "Categorie doorzoeken", "description": "Search item type" }, "searchVault": { "message": "Kluis doorzoeken" }, "allItems": { "message": "Alle Items" }, "favorites": { "message": "Favorieten" }, "types": { "message": "Categorieën" }, "typeLogin": { "message": "Login" }, "typeCard": { "message": "Kaart" }, "typeIdentity": { "message": "Identiteit" }, "typeSecureNote": { "message": "Veilige notitie" }, "typeLoginPlural": { "message": "Logins" }, "typeCardPlural": { "message": "Kaarten" }, "typeIdentityPlural": { "message": "Identiteiten" }, "typeSecureNotePlural": { "message": "Beveiligde notities" }, "folders": { "message": "Mappen" }, "collections": { "message": "Verzamelingen" }, "firstName": { "message": "Voornaam" }, "middleName": { "message": "Tweede naam" }, "lastName": { "message": "Achternaam" }, "fullName": { "message": "Volledige naam" }, "address1": { "message": "Adres 1" }, "address2": { "message": "Adres 2" }, "address3": { "message": "Adres 3" }, "cityTown": { "message": "Stad / gemeente" }, "stateProvince": { "message": "Staat / provincie" }, "zipPostalCode": { "message": "Postcode" }, "country": { "message": "Land" }, "shared": { "message": "Gedeeld" }, "attachments": { "message": "Bijlagen" }, "select": { "message": "Selecteren" }, "addItem": { "message": "Item toevoegen" }, "editItem": { "message": "Item bewerken" }, "viewItem": { "message": "Item weergeven" }, "ex": { "message": "bijv.", "description": "Short abbreviation for 'example'." }, "other": { "message": "Overig" }, "share": { "message": "Delen" }, "moveToOrganization": { "message": "Naar organisatie verplaatsen" }, "valueCopied": { "message": "$VALUE$ gekopieerd", "description": "Value has been copied to the clipboard.", "placeholders": { "value": { "content": "$1", "example": "Password" } } }, "copyValue": { "message": "Waarde kopiëren", "description": "Copy value to clipboard" }, "copyPassword": { "message": "Wachtwoord kopiëren", "description": "Copy password to clipboard" }, "copyUsername": { "message": "Gebruikersnaam kopiëren", "description": "Copy username to clipboard" }, "copyNumber": { "message": "Nummer Kopiëren", "description": "Copy credit card number" }, "copySecurityCode": { "message": "Beveiligingscode kopiëren", "description": "Copy credit card security code (CVV)" }, "copyUri": { "message": "URI kopiëren", "description": "Copy URI to clipboard" }, "myVault": { "message": "Mijn kluis" }, "vault": { "message": "Kluis" }, "moveSelectedToOrg": { "message": "Selectie naar organisatie verplaatsen" }, "deleteSelected": { "message": "Selectie verwijderen" }, "moveSelected": { "message": "Selectie verplaatsen" }, "selectAll": { "message": "Alles selecteren" }, "unselectAll": { "message": "Alles deselecteren" }, "launch": { "message": "Starten" }, "newAttachment": { "message": "Nieuwe bijlage toevoegen" }, "deletedAttachment": { "message": "Bijlage is verwijderd" }, "deleteAttachmentConfirmation": { "message": "Weet je zeker dat je deze bijlage wilt verwijderen?" }, "attachmentSaved": { "message": "De bijlage is opgeslagen." }, "file": { "message": "Bestand" }, "selectFile": { "message": "Selecteer een bestand." }, "maxFileSize": { "message": "Maximale bestandsgrootte is 500 MB." }, "updateKey": { "message": "Je kunt deze functie pas gebruiken als je je encryptiesleutel bijwerkt." }, "addedItem": { "message": "Item is toegevoegd" }, "editedItem": { "message": "Item is bewerkt" }, "movedItemToOrg": { "message": "$ITEMNAME$ verplaatst naar $ORGNAME$", "placeholders": { "itemname": { "content": "$1", "example": "Secret Item" }, "orgname": { "content": "$2", "example": "Company Name" } } }, "movedItemsToOrg": { "message": "Geselecteerde items verplaatst naar $ORGNAME$", "placeholders": { "orgname": { "content": "$1", "example": "Company Name" } } }, "deleteItem": { "message": "Item verwijderen" }, "deleteFolder": { "message": "Map verwijderen" }, "deleteAttachment": { "message": "Bijlage verwijderen" }, "deleteItemConfirmation": { "message": "Weet je zeker dat je dit item wilt verwijderen?" }, "deletedItem": { "message": "Item is verwijderd" }, "deletedItems": { "message": "Items zijn verwijderd" }, "movedItems": { "message": "Item is verplaatst" }, "overwritePasswordConfirmation": { "message": "Weet je zeker dat je het huidige wachtwoord wilt overschrijven?" }, "editedFolder": { "message": "Map is bewerkt" }, "addedFolder": { "message": "Map is toegevoegd" }, "deleteFolderConfirmation": { "message": "Weet je zeker dat je deze map wilt verwijderen?" }, "deletedFolder": { "message": "Map is verwijderd" }, "loggedOut": { "message": "Uitgelogd" }, "loginExpired": { "message": "Je inlogsessie is verlopen." }, "logOutConfirmation": { "message": "Weet je zeker dat je wilt uitloggen?" }, "logOut": { "message": "Uitloggen" }, "ok": { "message": "Ok" }, "yes": { "message": "Ja" }, "no": { "message": "Nee" }, "loginOrCreateNewAccount": { "message": "Log in of maak een nieuw account aan om toegang te krijgen tot je beveiligde kluis." }, "createAccount": { "message": "Account aanmaken" }, "logIn": { "message": "Inloggen" }, "submit": { "message": "Versturen" }, "emailAddressDesc": { "message": "Je gebruikt je e-mailadres om in te loggen." }, "yourName": { "message": "Jouw naam" }, "yourNameDesc": { "message": "Hoe moeten we je noemen?" }, "masterPass": { "message": "Hoofdwachtwoord" }, "masterPassDesc": { "message": "Het hoofdwachtwoord is het wachtwoord waarmee je toegang krijgt tot je beveiligde kluis. Het is belangrijk dat je het hoofdwachtwoord niet vergeet, want er is geen manier om het te herstellen." }, "masterPassHintDesc": { "message": "Een hoofdwachtwoordhint kan je helpen je wachtwoord te herinneren als je het vergeten bent." }, "reTypeMasterPass": { "message": "Hoofdwachtwoord opnieuw invoeren" }, "masterPassHint": { "message": "Hoofdwachtwoordhint (optioneel)" }, "masterPassHintLabel": { "message": "Hoofdwachtwoordhint" }, "settings": { "message": "Instellingen" }, "passwordHint": { "message": "Wachtwoordhint" }, "enterEmailToGetHint": { "message": "Voer het e-mailadres van je account in om je hoofdwachtwoordhint te ontvangen." }, "getMasterPasswordHint": { "message": "Hoofdwachtwoordhint opvragen" }, "emailRequired": { "message": "E-mailadres is vereist." }, "invalidEmail": { "message": "Ongeldig e-mailadres." }, "masterPassRequired": { "message": "Hoofdwachtwoord is vereist." }, "masterPassLength": { "message": "Het hoofdwachtwoord moet minimaal 8 tekens lang zijn." }, "masterPassDoesntMatch": { "message": "De hoofdwachtwoorden komen niet overeen." }, "newAccountCreated": { "message": "Je nieuwe account is aangemaakt! Je kunt nu inloggen." }, "masterPassSent": { "message": "We hebben je een e-mail gestuurd met je hoofdwachtwoordhint." }, "unexpectedError": { "message": "Er is een onverwachte fout opgetreden." }, "emailAddress": { "message": "E-mailadres" }, "yourVaultIsLocked": { "message": "Je kluis is vergrendeld. Voer je hoofdwachtwoord in om door te gaan." }, "unlock": { "message": "Ontgrendelen" }, "loggedInAsEmailOn": { "message": "Aangemeld als $EMAIL$ op $HOSTNAME$.", "placeholders": { "email": { "content": "$1", "example": "name@example.com" }, "hostname": { "content": "$2", "example": "bitwarden.com" } } }, "invalidMasterPassword": { "message": "Ongeldig hoofdwachtwoord" }, "lockNow": { "message": "Nu vergrendelen" }, "noItemsInList": { "message": "Er zijn geen items om weer te geven." }, "noCollectionsInList": { "message": "Er zijn geen verzamelingen om weer te geven." }, "noGroupsInList": { "message": "Er zijn geen groepen om weer te geven." }, "noUsersInList": { "message": "Er zijn geen gebruikers om weer te geven." }, "noEventsInList": { "message": "Er zijn geen gebeurtenissen om weer te geven." }, "newOrganization": { "message": "Nieuwe organisatie" }, "noOrganizationsList": { "message": "Je behoort niet tot een organisatie. Via organisaties deel je je items veilig met andere gebruikers." }, "versionNumber": { "message": "Versie $VERSION_NUMBER$", "placeholders": { "version_number": { "content": "$1", "example": "1.2.3" } } }, "enterVerificationCodeApp": { "message": "Voer de 6-cijferige verificatiecode uit je authenticatie-app in." }, "enterVerificationCodeEmail": { "message": "Voer de 6-cijferige verificatiecode in die via e-mail is verstuurd naar $EMAIL$.", "placeholders": { "email": { "content": "$1", "example": "example@gmail.com" } } }, "verificationCodeEmailSent": { "message": "E-mail met verificatiecode verzonden naar $EMAIL$.", "placeholders": { "email": { "content": "$1", "example": "example@gmail.com" } } }, "rememberMe": { "message": "Mijn gegevens onthouden" }, "sendVerificationCodeEmailAgain": { "message": "E-mail met verificatiecode opnieuw versturen" }, "useAnotherTwoStepMethod": { "message": "Gebruik een andere methode voor tweestapsaanmelding" }, "insertYubiKey": { "message": "Plaats je YubiKey in de USB-poort van je computer en druk op de knop." }, "insertU2f": { "message": "Steek je beveilingssleutel in de USB-poort van je computer. Als het een knop heeft, druk deze dan in." }, "loginUnavailable": { "message": "Login niet beschikbaar" }, "noTwoStepProviders": { "message": "Dit account heeft tweestapsaanmelding ingeschakeld, maar deze webbrowser ondersteunt geen van de geconfigureerde aanbieders." }, "noTwoStepProviders2": { "message": "Gebruik een ondersteunde webbrowser (zoals Chrome) en/of voeg extra aanbieders toe die beter worden ondersteund in webbrowsers (zoals een authenticator-app)." }, "twoStepOptions": { "message": "Opties voor tweestapsaanmelding" }, "recoveryCodeDesc": { "message": "Ben je de toegang tot al je tweestapsaanbieders verloren? Gebruik dan je herstelcode om alle tweestapsaanbieders op je account uit te schakelen." }, "recoveryCodeTitle": { "message": "Herstelcode" }, "authenticatorAppTitle": { "message": "Authenticatie-app" }, "authenticatorAppDesc": { "message": "Gebruik een authenticatie-app (zoals Authy of Google Authenticator) om tijdgebaseerde authenticatiecodes te genereren.", "description": "'Authy' and 'Google Authenticator' are product names and should not be translated." }, "yubiKeyTitle": { "message": "YubiKey OTP-beveiligingssleutel" }, "yubiKeyDesc": { "message": "Gebruik een YubiKey om toegang te krijgen tot je account. Werkt met YubiKey 4, 4 Nano, 4C en Neo-apparaten." }, "duoDesc": { "message": "Verifieer met Duo Security middels de Duo Mobile-app, sms, spraakoproep of een U2F-beveiligingssleutel.", "description": "'Duo Security' and 'Duo Mobile' are product names and should not be translated." }, "duoOrganizationDesc": { "message": "Verifieer met Duo Security voor jouw organisatie middels de Duo Mobile-app, sms, spraakoproep of een U2F-beveiligingssleutel.", "description": "'Duo Security' and 'Duo Mobile' are product names and should not be translated." }, "u2fDesc": { "message": "Gebruik een FIDO U2F-beveiligingssleutel om toegang te krijgen tot je account." }, "u2fTitle": { "message": "FIDO U2F-beveiligingssleutel" }, "webAuthnTitle": { "message": "FIDO2 WebAuthn" }, "webAuthnDesc": { "message": "Gebruik een WebAuthn-beveilingssleutel om toegang te krijgen tot je account." }, "webAuthnMigrated": { "message": "(Gemigreerd van FIDO)" }, "emailTitle": { "message": "E-mailadres" }, "emailDesc": { "message": "Je ontvangt verificatiecodes via e-mail." }, "continue": { "message": "Doorgaan" }, "organization": { "message": "Organisatie" }, "organizations": { "message": "Organisaties" }, "moveToOrgDesc": { "message": "Kies een organisatie waarnaar je dit item wilt verplaatsen. Door het verplaatsen krijgt de organisatie de eigendomsrechten van het item. Je bent niet langer de directe eigenaar meer van het item als het is verplaatst." }, "moveManyToOrgDesc": { "message": "Kies een organisatie waarnaar je deze items wilt verplaatsen. Door het verplaatsen krijgt de organisatie de eigendomsrechten van deze items. Je bent niet langer de directe eigenaar meer van deze items als ze zijn verplaatst." }, "collectionsDesc": { "message": "Wijzig de verzamelingen waarmee dit item gedeeld is. Alleen organisatiegebruikers met toegang tot deze verzamelingen kunnen dit item inzien." }, "deleteSelectedItemsDesc": { "message": "Je hebt $COUNT$ item(s) geselecteerd om te verwijderen. Weet je zeker dat je al deze items wilt verwijderen?", "placeholders": { "count": { "content": "$1", "example": "150" } } }, "moveSelectedItemsDesc": { "message": "Kies een map waar je de $COUNT$ geselecteerde item(s) heen wilt verplaatsen.", "placeholders": { "count": { "content": "$1", "example": "150" } } }, "moveSelectedItemsCountDesc": { "message": "Je hebt $COUNT$ item(s) geselecteerd. Je kunt $MOVEABLE_COUNT$ verplaatsen naar een organisatie, $NONMOVEABLE_COUNT$ niet.", "placeholders": { "count": { "content": "$1", "example": "10" }, "moveable_count": { "content": "$2", "example": "8" }, "nonmoveable_count": { "content": "$3", "example": "2" } } }, "verificationCodeTotp": { "message": "Verificatiecode (TOTP)" }, "copyVerificationCode": { "message": "Verificatiecode kopiëren" }, "warning": { "message": "Waarschuwing" }, "confirmVaultExport": { "message": "Kluisexport bevestigen" }, "exportWarningDesc": { "message": "Deze export bevat jouw kluisgegevens in een niet-versleutelde opmaak. Je moet het geëxporteerde bestand niet opslaan of verzenden over onbeveiligde kanalen (zoals e-mail). Verwijder het exportbestand direct na gebruik." }, "encExportKeyWarningDesc": { "message": "Deze export versleutelt je gegevens met de encryptiesleutel van je account. Als je je encryptiesleutel verandert moet je opnieuw exporteren, omdat je deze export dan niet meer kunt ontcijferen." }, "encExportAccountWarningDesc": { "message": "Encryptiesleutels zijn uniek voor elk Bitwarden-gebruikersaccount, je kun kunt een versleutelde niet in een ander account importeren." }, "export": { "message": "Exporteren" }, "exportVault": { "message": "Kluis exporteren" }, "fileFormat": { "message": "Bestandsindeling" }, "exportSuccess": { "message": "Je kluisgegevens zijn geëxporteerd." }, "passwordGenerator": { "message": "Wachtwoordgenerator" }, "minComplexityScore": { "message": "Minimale complexiteitsscore" }, "minNumbers": { "message": "Minimum aantal cijfers" }, "minSpecial": { "message": "Minimum aantal speciale tekens", "description": "Minimum Special Characters" }, "ambiguous": { "message": "Dubbelzinnige tekens vermijden" }, "regeneratePassword": { "message": "Opnieuw genereren" }, "length": { "message": "Lengte" }, "numWords": { "message": "Aantal woorden" }, "wordSeparator": { "message": "Scheidingsteken" }, "capitalize": { "message": "Beginhoofdletters", "description": "Make the first letter of a work uppercase." }, "includeNumber": { "message": "Cijfer toevoegen" }, "passwordHistory": { "message": "Geschiedenis" }, "noPasswordsInList": { "message": "Er zijn geen wachtwoorden om weer te geven." }, "clear": { "message": "Wissen", "description": "To clear something out. example: To clear browser history." }, "accountUpdated": { "message": "Account is bijgewerkt" }, "changeEmail": { "message": "E-mailadres wijzigen" }, "changeEmailTwoFactorWarning": { "message": "Doorgaan zal het e-mailadres van je account wijzigen. Het verander het e-mailadres dat wordt gebruikt voor tweestapsaanmelding niet. Je kunt dit e-mailadres wijzigen in de tweestapsaanmeldingsinstellingen." }, "newEmail": { "message": "Nieuw e-mailadres" }, "code": { "message": "Code" }, "changeEmailDesc": { "message": "We hebben een verificatiecode naar $EMAIL$ gestuurd. Controleer je mail voor de code en vul deze hieronder in om je e-mailadres daadwerkelijk te wijzigen.", "placeholders": { "email": { "content": "$1", "example": "john.smith@example.com" } } }, "loggedOutWarning": { "message": "Doorgaan zal je huidige sessie uitloggen, waarna je opnieuw moet inloggen. Actieve sessies op andere apparaten blijven mogelijk nog een uur actief." }, "emailChanged": { "message": "E-mailadres gewijzigd" }, "logBackIn": { "message": "Log opnieuw in." }, "logBackInOthersToo": { "message": "Svp opnieuw inloggen. Als je andere Bitwarden-applicaties gebruikt, dan moet je daar ook uit- en inloggen." }, "changeMasterPassword": { "message": "Hoofdwachtwoord wijzigen" }, "masterPasswordChanged": { "message": "Hoofdwachtwoord gewijzigd" }, "currentMasterPass": { "message": "Huidig hoofdwachtwoord" }, "newMasterPass": { "message": "Nieuw hoofdwachtwoord" }, "confirmNewMasterPass": { "message": "Nieuw hoofdwachtwoord bevestigen" }, "encKeySettings": { "message": "Instellingen encryptiesleutel" }, "kdfAlgorithm": { "message": "KDF-algortime" }, "kdfIterations": { "message": "KDF-iteraties" }, "kdfIterationsDesc": { "message": "Hogere KDF-iteraties beschermen je hoofdwachtwoord tegen brute-force aanvallen. Kies minimaal voor $VALUE$.", "placeholders": { "value": { "content": "$1", "example": "100,000" } } }, "kdfIterationsWarning": { "message": "Je KDF-iteraties te hoog instellen leidt tot een vertraging bij het inloggen (en ontgrendelen) van Bitwarden op apparaten met langzamere processoren. We raden aan de waarde in stappen van $INCREMENT$ te verhogen en steeds al je apparaten te testen.", "placeholders": { "increment": { "content": "$1", "example": "50,000" } } }, "changeKdf": { "message": "KDF wijzigen" }, "encKeySettingsChanged": { "message": "Instellingen encryptiesleutel zijn gewijzigd" }, "dangerZone": { "message": "Gevarenzone" }, "dangerZoneDesc": { "message": "Waarschuwing - deze acties zijn niet terug te draaien!" }, "deauthorizeSessions": { "message": "Sessie-autorisaties intrekken" }, "deauthorizeSessionsDesc": { "message": "Bezorgd dat je account op een ander apparaat is ingelogd? Hieronder kun je de autorisatie van alle computers of apparaten die je eerder hebt gebruikt verwijderen. Deze beveiligingsstap is aanbevolen als een openbare computer hebt gebruikt of je wachtwoord per ongeluk hebt opgeslagen op een apparaat dat niet van jou is. Deze stap wist ook alle eerder onthouden tweestapsaanmeldsessies." }, "deauthorizeSessionsWarning": { "message": "Doorgaan zal je huidige sessie uitloggen, waarna je opnieuw moet inloggen. Je moet ook je tweestapsaanmelding opnieuw doorlopen, als die is ingeschakeld. Actieve sessies op andere apparaten blijven mogelijk nog een uur actief." }, "sessionsDeauthorized": { "message": "Autorisatie van alle sessies ingetrokken" }, "purgeVault": { "message": "Kluis verwijderen" }, "purgedOrganizationVault": { "message": "Organisatiekluis verwijderd." }, "vaultAccessedByProvider": { "message": "Kluis benaderd door provider." }, "purgeVaultDesc": { "message": "Ga hieronder verder om alle items en mappen in je kluis te verwijderen. Items die behoren tot een organisatie waarmee je deelt, worden niet verwijderd." }, "purgeOrgVaultDesc": { "message": "Ga hieronder verder om alle items in de organisatiekluis te verwijderen." }, "purgeVaultWarning": { "message": "Het verwijderen van je webkluis is definitief. Je kunt het niet ongedaan maken." }, "vaultPurged": { "message": "Je kluisgegevens zijn verwijderd." }, "deleteAccount": { "message": "Account verwijderen" }, "deleteAccountDesc": { "message": "Ga hieronder verder om je account en alle bijbehorende gegevens te verwijderen." }, "deleteAccountWarning": { "message": "Het verwijderen van je account is definitief. Je kunt dit niet ongedaan maken." }, "accountDeleted": { "message": "Account verwijderd" }, "accountDeletedDesc": { "message": "Je account is afgesloten en alle bijbehorende gegevens zijn verwijderd." }, "myAccount": { "message": "Mijn account" }, "tools": { "message": "Hulpmiddelen" }, "importData": { "message": "Gegevens importeren" }, "importError": { "message": "Fout bij importeren" }, "importErrorDesc": { "message": "Er was een probleem met de data die je probeerde te importeren. Los de onderstaande fouten op in het bronbestand en probeer het opnieuw." }, "importSuccess": { "message": "De gegevens zijn in je kluis geïmporteerd." }, "importWarning": { "message": "Je importeert gegevens naar $ORGANIZATION$. Je gegevens kunnen gedeeld worden met de leden van deze organisatie. Wil je doorgaan?", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" } } }, "importFormatError": { "message": "De gegevens zijn niet correct opgemaakt. Controleer je importbestand en probeer het opnieuw." }, "importNothingError": { "message": "Er is niets geïmporteerd." }, "importEncKeyError": { "message": "Fout bij het decoderen van het geëxporteerde bestand. Je encryptiesleutel komt niet overeen met de gebruikte sleutel waarmee de gegevens zijn geëxporteerd." }, "selectFormat": { "message": "Selecteer het formaat van het importbestand" }, "selectImportFile": { "message": "Kies het importbestand" }, "orCopyPasteFileContents": { "message": "of kopieer en plak de inhoud van het importbestand" }, "instructionsFor": { "message": "Instructies voor $NAME$", "description": "The title for the import tool instructions.", "placeholders": { "name": { "content": "$1", "example": "LastPass (csv)" } } }, "options": { "message": "Opties" }, "optionsDesc": { "message": "Pas je ervaring met de webkluis aan." }, "optionsUpdated": { "message": "Opties bijgewerkt" }, "language": { "message": "Taal" }, "languageDesc": { "message": "De taal van de webkluis aanpassen." }, "disableIcons": { "message": "Websitepictogrammen uitschakelen" }, "disableIconsDesc": { "message": "Websitepictogrammen geven een herkenbare afbeelding naast elk item in je kluis." }, "enableGravatars": { "message": "Gravatars activeren", "description": "'Gravatar' is the name of a service. See www.gravatar.com" }, "enableGravatarsDesc": { "message": "Gebruik avatar-afbeeldingen van gravatar.com." }, "enableFullWidth": { "message": "Weergave op volle breedte inschakelen", "description": "Allows scaling the web vault UI's width" }, "enableFullWidthDesc": { "message": "Laat de webkluis de volledige breedte van het browservenster gebruiken." }, "default": { "message": "Standaard" }, "domainRules": { "message": "Domeinregels" }, "domainRulesDesc": { "message": "Als je dezelfde inloggegevens over verschillende websitedomeinen gebruikt, kun je de website als \"equivalent\" kenmerken. \"Globale\" domeinen zijn al voor je aangemaakt door Bitwarden." }, "globalEqDomains": { "message": "Globale equivalente domeinen" }, "customEqDomains": { "message": "Persoonlijke equivalente domeinen" }, "exclude": { "message": "Uitsluiten" }, "include": { "message": "Insluiten" }, "customize": { "message": "Personaliseren" }, "newCustomDomain": { "message": "Nieuw gepersonaliseerd domein" }, "newCustomDomainDesc": { "message": "Voer een lijst in met domeinen door komma's. Alleen basisdomeinen zijn toegestaan. Voer geen subdomeinen in. Gebruik bijvoorbeeld \"google.com\" in plaats van \"www.google.com\". Je kunt ook \"androidapp://package.name\" invoeren om een Android-app aan andere websitedomeinen te koppelen." }, "customDomainX": { "message": "Gepersonaliseerd domein $INDEX$", "placeholders": { "index": { "content": "$1", "example": "2" } } }, "domainsUpdated": { "message": "Domeinen bijgewerkt" }, "twoStepLogin": { "message": "Tweestapsaanmelding" }, "twoStepLoginDesc": { "message": "Beveilig je account door een extra stap te vereisen bij het inloggen." }, "twoStepLoginOrganizationDesc": { "message": "Vereis tweestapsaanmelding voor de gebruikers van je organisatie door aanbieders op organisatieniveau in te stellen." }, "twoStepLoginRecoveryWarning": { "message": "Door aanmelden in twee stappen in te schakelen, kun je jezelf definitief buitensluiten van je Bitwarden-account. Een herstelcode geeft je toegang tot je account in het geval dat je je normale tweestapsaanmelding niet meer kunt gebruiken (bijv. als je je apparaat verliest). De Bitwarden-klantondersteuning kan je niet helpen als je de toegang tot je account verliest. We raden je met klem aan de herstelcode op te schrijven of af te drukken en op een veilige plaats te bewaren." }, "viewRecoveryCode": { "message": "Herstelcode weergeven" }, "providers": { "message": "Aanbieders", "description": "Two-step login providers such as YubiKey, Duo, Authenticator apps, Email, etc." }, "enable": { "message": "Inschakelen" }, "enabled": { "message": "Ingeschakeld" }, "premium": { "message": "Premium", "description": "Premium Membership" }, "premiumMembership": { "message": "Premium-abonnement" }, "premiumRequired": { "message": "Premium is vereist" }, "premiumRequiredDesc": { "message": "Je hebt een Premium-abonnement nodig om deze functie te gebruiken." }, "youHavePremiumAccess": { "message": "Je hebt Premium-toegang" }, "alreadyPremiumFromOrg": { "message": "Je hebt al toegang tot Premium-functionaliteit, via een organisatie waar je lid van bent." }, "manage": { "message": "Beheren" }, "disable": { "message": "Uitschakelen" }, "twoStepLoginProviderEnabled": { "message": "Deze tweestapsaanmeldingsaanbieder is geactiveerd voor je account." }, "twoStepLoginAuthDesc": { "message": "Vul je hoofdwachtwoord in om je tweestapsaanmeldingsinstellingen te wijzigen." }, "twoStepAuthenticatorDesc": { "message": "Volg deze stappen om tweestapsaanmelding in te stellen met een authenticatie-app:" }, "twoStepAuthenticatorDownloadApp": { "message": "Download een tweestapsauthenticatie-app" }, "twoStepAuthenticatorNeedApp": { "message": "Een tweestapsauthenticatie app nodig? Download een van de volgende" }, "iosDevices": { "message": "iOS-apparaten" }, "androidDevices": { "message": "Android-apparaten" }, "windowsDevices": { "message": "Windows-apparaten" }, "twoStepAuthenticatorAppsRecommended": { "message": "Deze apps zijn aanbevolen, maar andere authenticatie-apps werken ook." }, "twoStepAuthenticatorScanCode": { "message": "Scan deze QR-code met je authenticatie-app" }, "key": { "message": "Sleutel" }, "twoStepAuthenticatorEnterCode": { "message": "Voer de 6-cijferige verificatiecode uit je authenticatie-app in" }, "twoStepAuthenticatorReaddDesc": { "message": "In het geval dat je het aan een ander apparaat moet toevoegen, is hieronder de QR-code (of sleutel) die je authenticatie-app nodig heeft." }, "twoStepDisableDesc": { "message": "Weet je zeker dat je deze aanbieder van tweestapsaanmeldig wilt uitschakelen?" }, "twoStepDisabled": { "message": "Tweestapsaanmeldingsaanbieder is uitgeschakeld." }, "twoFactorYubikeyAdd": { "message": "Nieuwe YubiKey aan je account toevoegen" }, "twoFactorYubikeyPlugIn": { "message": "Plaats de YubiKey in de USB-poort van je computer." }, "twoFactorYubikeySelectKey": { "message": "Selecteer hieronder het eerste lege YubiKey-invoerveld." }, "twoFactorYubikeyTouchButton": { "message": "Druk op de knop van de YubiKey." }, "twoFactorYubikeySaveForm": { "message": "Formulier opslaan." }, "twoFactorYubikeyWarning": { "message": "Vanwege platformbeperkingen kun je YubiKeys niet in alle Bitwarden-applicaties gebruiken. Stel een andere tweestapsaanmeldingsaanbieder in voor situaties waar YubiKeys niet gebruikt kunnen worden. De volgende platformen worden ondersteund:" }, "twoFactorYubikeySupportUsb": { "message": "Webkluis, desktop-applicatie, CLI en alle browser-extensies op een apparaat met een USB-poort welke YubiKey accepteert." }, "twoFactorYubikeySupportMobile": { "message": "Mobiele apps op een apparaat met NFC of een USB-poort welke YubiKey accepteert." }, "yubikeyX": { "message": "YubiKey $INDEX$", "placeholders": { "index": { "content": "$1", "example": "2" } } }, "u2fkeyX": { "message": "U2F-sleutel $INDEX$", "placeholders": { "index": { "content": "$1", "example": "2" } } }, "webAuthnkeyX": { "message": "WebAuthn-sleutel $INDEX$", "placeholders": { "index": { "content": "$1", "example": "2" } } }, "nfcSupport": { "message": "NFC-ondersteuning" }, "twoFactorYubikeySupportsNfc": { "message": "Een van mijn sleutels ondersteunt NFC." }, "twoFactorYubikeySupportsNfcDesc": { "message": "Als een van je YubiKeys NFC ondersteunt (zoals een YubiKey NEO) dan word je op een mobiel apparaat met NFC gevraagd om deze te gebruiken." }, "yubikeysUpdated": { "message": "YubiKeys bijgewerkt" }, "disableAllKeys": { "message": "Alle sleutels uitschakelen" }, "twoFactorDuoDesc": { "message": "Vul de informatie van de Bitwarden-applicatie van uw Duo Admin-scherm in." }, "twoFactorDuoIntegrationKey": { "message": "Integratiesleutel" }, "twoFactorDuoSecretKey": { "message": "Geheime sleutel" }, "twoFactorDuoApiHostname": { "message": "API-hostnaam" }, "twoFactorEmailDesc": { "message": "Volg deze stappen voor het instellen van tweestapsaanmelding met e-mail:" }, "twoFactorEmailEnterEmail": { "message": "Voer het e-mailadres in waar je de verificatiecodes op wilt ontvangen" }, "twoFactorEmailEnterCode": { "message": "Voer de 6-cijferige verificatiecode uit de e-mail in" }, "sendEmail": { "message": "E-mail versturen" }, "twoFactorU2fAdd": { "message": "FIDO U2F-beveiligingssleutel aan je account toevoegen" }, "removeU2fConfirmation": { "message": "Weet je zeker dat je deze beveiligingssleutel wilt verwijderen?" }, "twoFactorWebAuthnAdd": { "message": "Voeg een WebAuthn-beveiligingssleutel toe aan je account" }, "readKey": { "message": "Sleutel lezen" }, "keyCompromised": { "message": "Sleutel is uitgelekt." }, "twoFactorU2fGiveName": { "message": "Geef de beveiligingssleutel een beschrijvende naam om deze te identificeren." }, "twoFactorU2fPlugInReadKey": { "message": "Plaats de beveiligingssleutel in een USB-poort van je computer en klik \"Lees sleutel\"." }, "twoFactorU2fTouchButton": { "message": "Als de beveiligingssleutel een knop heeft, druk deze dan in." }, "twoFactorU2fSaveForm": { "message": "Formulier opslaan." }, "twoFactorU2fWarning": { "message": "Vanwege platformbeperkingen kun je FIDO U2F niet in alle Bitwarden-applicaties gebruiken. Stel een andere tweestapsaanmeldingsaanbieder in voor situaties waar FIDO U2F niet gebruikt kan worden. De volgende platformen worden ondersteund:" }, "twoFactorU2fSupportWeb": { "message": "Webkluis en browser-extensies op een desktop/laptop met browserondersteuning voor U2F (Chrome, Opera, Vivaldi of Firefox met FIDO U2F ingeschakeld)." }, "twoFactorU2fWaiting": { "message": "Wachten tot je op de knop van de beveiligingssleutel hebt gedrukt" }, "twoFactorU2fClickSave": { "message": "Klik hieronder op \"Opslaan\" voor het instellen van deze beveiligingssleutel als tweestapsaanmeldingsmethode." }, "twoFactorU2fProblemReadingTryAgain": { "message": "Er was een probleem met het lezen van de beveiligingssleutel. Probeer het nogmaals." }, "twoFactorWebAuthnWarning": { "message": "Vanwege platformbeperkingen kan WebAuthn niet in alle Bitwarden applicaties gebruikt worden. Stel een andere tweestapsaanmeldingsaanbieder in zodat je je account kunt benaderen wanneer WebAuthn niet beschikbaar is. De volgende platformen worden ondersteund:" }, "twoFactorWebAuthnSupportWeb": { "message": "Webkluis en browser-extensies op een desktop/laptop met een browser met ondersteuning voor WebAuthn (Chrome, Opera, Vivaldi of Firefox met FIDO U2F ingeschakeld)." }, "twoFactorRecoveryYourCode": { "message": "Je herstelcode voor Bitwarden-tweestapsaanmelding" }, "twoFactorRecoveryNoCode": { "message": "Je hebt nog geen tweestapsaanmeldingsaanbieders ingeschakeld. Nadat je een tweestapsaanmeldingsaanbieder hebt ingeschakeld kun je hier je herstelcode vinden." }, "printCode": { "message": "Code afdrukken", "description": "Print 2FA recovery code" }, "reports": { "message": "Rapportages" }, "reportsDesc": { "message": "Identificeer en sluit beveiligingsgaten in je online accounts door op onderstaande rapporten te klikken." }, "unsecuredWebsitesReport": { "message": "Niet-beveiligde websites" }, "unsecuredWebsitesReportDesc": { "message": "Onbeveiligde websites met http:// gebruiken kan gevaarlijk zijn. Als de website het ondersteunt, moet je deze altijd benaderen met behulp van https:// zodat je verbinding versleuteld is." }, "unsecuredWebsitesFound": { "message": "Onveilige websites gevonden" }, "unsecuredWebsitesFoundDesc": { "message": "We hebben $COUNT$ items met onbeveiligde URIs in je kluis gevonden. Als de website het ondersteunt, moet je de URI naar https:// wijzigen.", "placeholders": { "count": { "content": "$1", "example": "8" } } }, "noUnsecuredWebsites": { "message": "Geen items in je kluis met onbeveiligde URIs." }, "inactive2faReport": { "message": "Tweestapsaanmelding" }, "inactive2faReportDesc": { "message": "Tweestapsaanmelding (2FA) is een belangrijke instelling die bijdraagt aan de beveiliging van je accounts. Als de website het ondersteunt, zou je altijd tweestapsaanmelding moeten gebruiken." }, "inactive2faFound": { "message": "Logins zonder 2FA gevonden" }, "inactive2faFoundDesc": { "message": "We hebben $COUNT$ website(s) in je kluis gevonden waar je (volgens 2fa.directory) nog tweestapsaanmelding kunt instellen. Om deze accounts beter te beschermen, zou je tweestapsaanmelding moeten inschakelen.", "placeholders": { "count": { "content": "$1", "example": "8" } } }, "noInactive2fa": { "message": "Er zijn geen websites in je kluis gevonden waarin tweestapsaanmelding ontbreekt." }, "instructions": { "message": "Instructies" }, "exposedPasswordsReport": { "message": "Gelekte wachtwoorden" }, "exposedPasswordsReportDesc": { "message": "Gelekte wachtwoorden zijn wachtwoorden die zijn ontdekt in bekende datalekken die publiekelijk zijn vrijgegeven of door hackers op het dark web worden verkocht." }, "exposedPasswordsFound": { "message": "Gelekte wachtwoorden gevonden" }, "exposedPasswordsFoundDesc": { "message": "We hebben in je kluis $COUNT$ wachtwoorden gevonden die zijn gelekt. Je zou voor deze accounts een nieuw wachtwoord moeten instellen.", "placeholders": { "count": { "content": "$1", "example": "8" } } }, "noExposedPasswords": { "message": "Er zijn geen items in je kluis die gelekte wachtwoorden gebruiken." }, "checkExposedPasswords": { "message": "Controleer gelekte wachtwoorden" }, "exposedXTimes": { "message": "$COUNT$ keer gelekt", "placeholders": { "count": { "content": "$1", "example": "52" } } }, "weakPasswordsReport": { "message": "Zwakke wachtwoorden" }, "weakPasswordsReportDesc": { "message": "Hackers en geautomatiseerde gereedschappen die wachtwoorden kraken kunnen zwakke wachtwoorden eenvoudig raden. De wachtwoordgenerator van Bitwarden helpt je bij het maken van sterke wachtwoorden." }, "weakPasswordsFound": { "message": "Zwakke wachtwoorden gevonden" }, "weakPasswordsFoundDesc": { "message": "We hebben $COUNT$ zwakke wachtwoorden in je kluis gevonden. Je zou ze moeten veranderen in sterke wachtwoorden.", "placeholders": { "count": { "content": "$1", "example": "8" } } }, "noWeakPasswords": { "message": "Er zijn geen items met zwakke wachtwoorden in je kluis gevonden." }, "reusedPasswordsReport": { "message": "Dubbele wachtwoorden" }, "reusedPasswordsReportDesc": { "message": "Als hackers wachtwoorden stelen bij een dienst die je gebruikt, kunnen zij met hetzelfde wachtwoord eenvoudig toegang krijgen tot meer van je online accounts. Je zou voor iedere dienst een uniek wachtwoord moeten gebruiken." }, "reusedPasswordsFound": { "message": "Dubbele wachtwoorden gevonden" }, "reusedPasswordsFoundDesc": { "message": "We hebben $COUNT$ dubbele wachtwoorden in je kluis gevonden. Je zou deze moeten veranderen in unieke wachtwoorden.", "placeholders": { "count": { "content": "$1", "example": "8" } } }, "noReusedPasswords": { "message": "Er zijn in je kluis geen dubbele wachtwoorden gevonden." }, "reusedXTimes": { "message": "$COUNT$ keer dubbel gebruikt", "placeholders": { "count": { "content": "$1", "example": "8" } } }, "dataBreachReport": { "message": "Datalekken" }, "breachDesc": { "message": "Een \"datalek\" is een incident waarbij de gegevens van een website zijn gestolen door hackers en vervolgens openbaar zijn gemaakt. Controleer de soorten gegevens die zijn gelekt (e-mailadressen, wachtwoorden, creditcards, enz.) en neem passende maatregelen, zoals het wijzigen van wachtwoorden." }, "breachCheckUsernameEmail": { "message": "Controleer elke gebruikersnaam of e-mailadres die je gebruikt." }, "checkBreaches": { "message": "Controleer datalekken" }, "breachUsernameNotFound": { "message": "$USERNAME$ is niet gevonden in bekende datalekken.", "placeholders": { "username": { "content": "$1", "example": "user@example.com" } } }, "goodNews": { "message": "Goed nieuws", "description": "ex. Good News, No Breached Accounts Found!" }, "breachUsernameFound": { "message": "$USERNAME$ is in $COUNT$ verschillende datalekken gevonden.", "placeholders": { "username": { "content": "$1", "example": "user@example.com" }, "count": { "content": "$2", "example": "7" } } }, "breachFound": { "message": "Gelekte accounts gevonden" }, "compromisedData": { "message": "Gelekte gegevens" }, "website": { "message": "Website" }, "affectedUsers": { "message": "Betrokken gebruikers" }, "breachOccurred": { "message": "Gelekt op" }, "breachReported": { "message": "Gerapporteerd op" }, "reportError": { "message": "Er is een fout opgetreden bij het laden van het overzicht. Probeer het nog eens" }, "billing": { "message": "Facturering" }, "accountCredit": { "message": "Rekeningtegoed", "description": "Financial term. In the case of Bitwarden, a positive balance means that you owe money, while a negative balance means that you have a credit (Bitwarden owes you money)." }, "accountBalance": { "message": "Rekeningbalans", "description": "Financial term. In the case of Bitwarden, a positive balance means that you owe money, while a negative balance means that you have a credit (Bitwarden owes you money)." }, "addCredit": { "message": "Krediet toevoegen", "description": "Add more credit to your account's balance." }, "amount": { "message": "Bedrag", "description": "Dollar amount, or quantity." }, "creditDelayed": { "message": "Toegevoegd krediet verschijnt in je account nadat de betaling volledig is verwerkt. Sommige betaalmethoden zijn vertraagd en kunnen langer duren om te verwerken dan andere." }, "makeSureEnoughCredit": { "message": "Verzeker jezelf ervan dat je account voldoende krediet voor deze aankoop beschikbaar heeft. Als je account niet genoeg krediet heeft, zal je standaard betaalmethode worden gebruikt voor het verschil. Je kunt krediet aan je account toevoegen vanaf de factuurpagina." }, "creditAppliedDesc": { "message": "Je kunt het krediet van je account voor aankopen gebruiken. Elk beschikbaar krediet zal automatisch worden toegepast op facturen die gegenereerd zijn voor dit account." }, "goPremium": { "message": "Neem Premium", "description": "Another way of saying \"Get a premium membership\"" }, "premiumUpdated": { "message": "Je bent opgewaardeerd naar Premium." }, "premiumUpgradeUnlockFeatures": { "message": "Upgrade je account naar een Premium-abonnement en ontgrendel enkele geweldige extra functionaliteiten." }, "premiumSignUpStorage": { "message": "1 GB versleutelde opslag voor bijlagen." }, "premiumSignUpTwoStep": { "message": "Extra tweestapsaanmeldingsopties zoals YubiKey, FIDO U2F en Duo." }, "premiumSignUpEmergency": { "message": "Noodtoegang" }, "premiumSignUpReports": { "message": "Rapportages op wachtwoordhygiëne, gezondheid van je account en datalekken om je kluis veilig te houden." }, "premiumSignUpTotp": { "message": "TOTP-verificatiecodegenerator (tweestapsaanmelding) voor aanmeldingsgegevens in je kluis." }, "premiumSignUpSupport": { "message": "Klantondersteuning met hoge prioriteit." }, "premiumSignUpFuture": { "message": "Alle toekomstige Premium-functionaliteiten. Binnenkort meer!" }, "premiumPrice": { "message": "Dit alles voor slechts $PRICE$ per jaar!", "placeholders": { "price": { "content": "$1", "example": "$10" } } }, "addons": { "message": "Add-ons" }, "premiumAccess": { "message": "Premium-toegang" }, "premiumAccessDesc": { "message": "Je kunt alle leden van je organisatie Premium-toegang verlenen voor $PRICE$ /$INTERVAL$.", "placeholders": { "price": { "content": "$1", "example": "$3.33" }, "interval": { "content": "$2", "example": "'month' or 'year'" } } }, "additionalStorageGb": { "message": "Extra opslagruimte (GB)" }, "additionalStorageGbDesc": { "message": "# extra GB" }, "additionalStorageIntervalDesc": { "message": "Je lidmaatschap omvat $SIZE$ beveiligde bestandsopslag. Je kunt extra opslagruimte toevoegen voor $PRICE$ per GB /$INTERVAL$.", "placeholders": { "size": { "content": "$1", "example": "1 GB" }, "price": { "content": "$2", "example": "$4.00" }, "interval": { "content": "$3", "example": "'month' or 'year'" } } }, "summary": { "message": "Samenvatting" }, "total": { "message": "Totaal" }, "year": { "message": "jaar" }, "month": { "message": "maand" }, "monthAbbr": { "message": "mnd", "description": "Short abbreviation for 'month'" }, "paymentChargedAnnually": { "message": "Het bedrag wordt direct in rekening gebracht en vervolgens jaarlijks op terugkerende basis. Je kunt op ieder moment opzeggen." }, "paymentCharged": { "message": "Het bedrag wordt direct op je betaalmethode in rekening gebracht en vervolgens iedere $INTERVAL$ op terugkerende basis. Je kunt op ieder moment opzeggen.", "placeholders": { "interval": { "content": "$1", "example": "month or year" } } }, "paymentChargedWithTrial": { "message": "Je lidmaatschap omvat een gratis proefperiode van 7 dagen. Kosten worden pas in rekening gebracht als de proefperiode voorbij is. De betaling vindt ieder(e) $INTERVAL$ op terugkerende basis plaats. Je kunt op ieder moment opzeggen." }, "paymentInformation": { "message": "Betaalgegevens" }, "billingInformation": { "message": "Factureringsgegevens" }, "creditCard": { "message": "Creditcard" }, "paypalClickSubmit": { "message": "Klik op de PayPal-knop om je aan te melden op je PayPal-account. Klik vervolgens hieronder op de knop Verzenden om verder te gaan." }, "cancelSubscription": { "message": "Abonnement opzeggen" }, "subscriptionCanceled": { "message": "Het abonnement is opgezegd." }, "pendingCancellation": { "message": "In afwachting van opzegging" }, "subscriptionPendingCanceled": { "message": "Het abonnement is gemarkeerd voor opzegging aan het einde van de huidige betalingsperiode." }, "reinstateSubscription": { "message": "Abonnement opnieuw activeren" }, "reinstateConfirmation": { "message": "Weet je zeker dat je de lopende opzegging wilt verwijderen en je abonnement opnieuw wilt activeren?" }, "reinstated": { "message": "Het abonnement is opnieuw geactiveerd." }, "cancelConfirmation": { "message": "Weet je zeker dat je wilt opzeggen? Je verliest toegang tot alle functionaliteiten van dit abonnement aan het einde van deze betalingscyclus." }, "canceledSubscription": { "message": "Het abonnement is opgezegd." }, "neverExpires": { "message": "Vervalt nooit" }, "status": { "message": "Status" }, "nextCharge": { "message": "Volgende betaling" }, "details": { "message": "Details" }, "downloadLicense": { "message": "Licentie downloaden" }, "updateLicense": { "message": "Licentie bijwerken" }, "updatedLicense": { "message": "Licentie bijgewerkt" }, "manageSubscription": { "message": "Abonnement beheren" }, "storage": { "message": "Opslagruimte" }, "addStorage": { "message": "Opslagruimte toevoegen" }, "removeStorage": { "message": "Opslagruimte verwijderen" }, "subscriptionStorage": { "message": "Je abonnement biedt in totaal $MAX_STORAGE$ GB versleutelde bestandsopslag. Je gebruikt momenteel $USED_STORAGE$.", "placeholders": { "max_storage": { "content": "$1", "example": "4" }, "used_storage": { "content": "$2", "example": "65 MB" } } }, "paymentMethod": { "message": "Betaalwijze" }, "noPaymentMethod": { "message": "Geen betaalwijze gekozen." }, "addPaymentMethod": { "message": "Betaalwijze toevoegen" }, "changePaymentMethod": { "message": "Betaalwijze aanpassen" }, "invoices": { "message": "Facturen" }, "noInvoices": { "message": "Geen facturen." }, "paid": { "message": "Betaald", "description": "Past tense status of an invoice. ex. Paid or unpaid." }, "unpaid": { "message": "Openstaand", "description": "Past tense status of an invoice. ex. Paid or unpaid." }, "transactions": { "message": "Transacties", "description": "Payment/credit transactions." }, "noTransactions": { "message": "Geen transacties." }, "chargeNoun": { "message": "Kosten", "description": "Noun. A charge from a payment method." }, "refundNoun": { "message": "Terugbetaling", "description": "Noun. A refunded payment that was charged." }, "chargesStatement": { "message": "Kosten verschijnen op je afschrift als $STATEMENT_NAME$.", "placeholders": { "statement_name": { "content": "$1", "example": "BITWARDEN" } } }, "gbStorageAdd": { "message": "GB aan opslagruimte toevoegen" }, "gbStorageRemove": { "message": "GB aan opslagruimte verwijderen" }, "storageAddNote": { "message": "Opslag toevoegen heeft gevolgen voor je factuurbedrag en wordt onmiddellijk in rekening gebracht op je geregistreerde betaalmethode. De eerste rekening wordt pro-rata berekend voor de resterende factureringscyclus." }, "storageRemoveNote": { "message": "Opslag verwijderen heeft gevolgen voor je factuurbedrag en wordt pro-rata gecrediteerd op je volgende betaling." }, "adjustedStorage": { "message": "Opslagruimte aangepast naar $AMOUNT$ GB.", "placeholders": { "amount": { "content": "$1", "example": "5" } } }, "contactSupport": { "message": "Neem contact op met de klantondersteuning" }, "updatedPaymentMethod": { "message": "Betaalmethode bijgewerkt." }, "purchasePremium": { "message": "Premium aanschaffen" }, "licenseFile": { "message": "Licentiebestand" }, "licenseFileDesc": { "message": "Je licentiebestand heeft een naam als $FILE_NAME$", "placeholders": { "file_name": { "content": "$1", "example": "bitwarden_premium_license.json" } } }, "uploadLicenseFilePremium": { "message": "Om je account te upgraden naar een Premium-abonnement, moet je een geldig licentiebestand uploaden." }, "uploadLicenseFileOrg": { "message": "Voor het aanmaken van een zelfgehoste organisatie moet je een geldig licentiebestand uploaden." }, "accountEmailMustBeVerified": { "message": "Het e-mailadres van je account moet geverifieerd zijn." }, "newOrganizationDesc": { "message": "Met organisaties kun je delen van je kluis met anderen delen en gebruikers in een bepaalde samenstelling beheren, zoals een familie, klein team of groot bedrijf." }, "generalInformation": { "message": "Algemene informatie" }, "organizationName": { "message": "Organisatienaam" }, "accountOwnedBusiness": { "message": "Dit account is eigendom van een bedrijf." }, "billingEmail": { "message": "E-mailadres voor facturering" }, "businessName": { "message": "Bedrijfsnaam" }, "chooseYourPlan": { "message": "Kies je abonnement" }, "users": { "message": "Gebruikers" }, "userSeats": { "message": "Gebruikersplaatsen" }, "additionalUserSeats": { "message": "Extra gebruikersplaatsen" }, "userSeatsDesc": { "message": "# gebruikersplaatsen" }, "userSeatsAdditionalDesc": { "message": "Bij je abonnement horen $BASE_SEATS$ gebruikersplaatsen. Je kunt extra gebruikersplaatsen aankopen voor $SEAT_PRICE$ per gebruiker/maand.", "placeholders": { "base_seats": { "content": "$1", "example": "5" }, "seat_price": { "content": "$2", "example": "$2.00" } } }, "userSeatsHowManyDesc": { "message": "Hoeveel gebruikersplaatsen heb je nodig? Je kunt later altijd nog extra plaatsen toevoegen." }, "planNameFree": { "message": "Gratis", "description": "Free as in 'free beer'." }, "planDescFree": { "message": "Voor het testen of een persoonlijk gebruiker die deelt met $COUNT$ andere gebruiker(s).", "placeholders": { "count": { "content": "$1", "example": "1" } } }, "planNameFamilies": { "message": "Families" }, "planDescFamilies": { "message": "Voor persoonlijke gebruik, om met familie en vrienden te delen." }, "planNameTeams": { "message": "Teams" }, "planDescTeams": { "message": "Voor bedrijven en andere team-organisaties." }, "planNameEnterprise": { "message": "Enterprise" }, "planDescEnterprise": { "message": "Voor bedrijven en andere grote organisaties." }, "freeForever": { "message": "Altijd gratis" }, "includesXUsers": { "message": "inclusief $COUNT$ gebruikers", "placeholders": { "count": { "content": "$1", "example": "5" } } }, "additionalUsers": { "message": "Extra gebruikers" }, "costPerUser": { "message": "$COST$ per gebruiker", "placeholders": { "cost": { "content": "$1", "example": "$3" } } }, "limitedUsers": { "message": "Beperkt tot $COUNT$ gebruikers (inclusief jijzelf)", "placeholders": { "count": { "content": "$1", "example": "2" } } }, "limitedCollections": { "message": "Beperkt tot $COUNT$ verzamelingen", "placeholders": { "count": { "content": "$1", "example": "2" } } }, "addShareLimitedUsers": { "message": "Toevoegen en delen met maximaal $COUNT$ gebruikers", "placeholders": { "count": { "content": "$1", "example": "5" } } }, "addShareUnlimitedUsers": { "message": "Toevoegen en delen met een onbeperkt aantal gebruikers" }, "createUnlimitedCollections": { "message": "Oneindig veel verzamelingen aanmaken" }, "gbEncryptedFileStorage": { "message": "$SIZE$ versleutelde bestandsopslag", "placeholders": { "size": { "content": "$1", "example": "1 GB" } } }, "onPremHostingOptional": { "message": "Zelfhosting (optioneel)" }, "usersGetPremium": { "message": "Gebruikers krijgen toegang tot Premium-functies" }, "controlAccessWithGroups": { "message": "Gebruikerstoegang beheren met groepen" }, "syncUsersFromDirectory": { "message": "Gebruikers en groepen vanuit een directory synchroniseren" }, "trackAuditLogs": { "message": "Gebruikersacties vastleggen in auditlogboeken" }, "enforce2faDuo": { "message": "Tweestapsaanmelding afdwingen met Duo" }, "priorityCustomerSupport": { "message": "Klantondersteuning met hoge prioriteit" }, "xDayFreeTrial": { "message": "$COUNT$ dagen gratis proefperiode, op ieder moment opzegbaar", "placeholders": { "count": { "content": "$1", "example": "7" } } }, "monthly": { "message": "Maandelijks" }, "annually": { "message": "Jaarlijks" }, "basePrice": { "message": "Basisprijs" }, "organizationCreated": { "message": "Organisatie aangemaakt" }, "organizationReadyToGo": { "message": "Je nieuwe organisatie is klaar voor gebruik!" }, "organizationUpgraded": { "message": "Je organisatie is bijgewerkt." }, "leave": { "message": "Verlaten" }, "leaveOrganizationConfirmation": { "message": "Weet je zeker dat je deze organisatie wilt verlaten?" }, "leftOrganization": { "message": "Je hebt de organisatie verlaten." }, "defaultCollection": { "message": "Standaardverzameling" }, "getHelp": { "message": "Hulp vragen" }, "getApps": { "message": "De apps downloaden" }, "loggedInAs": { "message": "Ingelogd als" }, "eventLogs": { "message": "Gebeurtenislog" }, "people": { "message": "Personen" }, "policies": { "message": "Beleidseisen" }, "singleSignOn": { "message": "Single sign-on" }, "editPolicy": { "message": "Beleid bewerken" }, "groups": { "message": "Groepen" }, "newGroup": { "message": "Nieuwe groep" }, "addGroup": { "message": "Groep toevoegen" }, "editGroup": { "message": "Groep bewerken" }, "deleteGroupConfirmation": { "message": "Weet je zeker dat je deze groep wilt verwijderen?" }, "removeUserConfirmation": { "message": "Weet je zeker dat je deze gebruiker wilt verwijderen?" }, "removeUserConfirmationKeyConnector": { "message": "Waarschuwing! Deze gebruiker vereist de Key Connector om de versleuteling te beheren. Als je deze gebruiker uit je organisatie verwijdert, wordt zijn account permanent uitgeschakeld. Deze actie kan niet ongedaan worden gemaakt. Wil je doorgaan?" }, "externalId": { "message": "Externe ID" }, "externalIdDesc": { "message": "Je kunt het externe ID gebruiken als referentie of om een koppeling te leggen tussen deze bron en een extern systeem zoals een directory met gebruikers." }, "accessControl": { "message": "Toegangsbeheer" }, "groupAccessAllItems": { "message": "Deze groep kan alle items inzien en bewerken." }, "groupAccessSelectedCollections": { "message": "Deze groep heeft alleen toegang tot de geselecteerde verzamelingen." }, "readOnly": { "message": "Alleen-lezen" }, "newCollection": { "message": "Nieuwe verzameling" }, "addCollection": { "message": "Verzameling toevoegen" }, "editCollection": { "message": "Verzameling bewerken" }, "deleteCollectionConfirmation": { "message": "Weet je zeker dat je deze verzameling wilt verwijderen?" }, "editUser": { "message": "Gebruiker bewerken" }, "inviteUser": { "message": "Gebruiker uitnodigen" }, "inviteUserDesc": { "message": "Nodig een nieuwe gebruiker uit voor je organisatie door het e-mailadres van hun Bitwarden-account hieronder in te vullen. Als ze nog geen Bitwarden-account hebben, kunnen ze een nieuw account aanmaken." }, "inviteMultipleEmailDesc": { "message": "Je kunt tot $COUNT$ gebruikers per keer uitnodigen door middel van een lijst met komma's gescheiden e-mailadressen.", "placeholders": { "count": { "content": "$1", "example": "20" } } }, "userUsingTwoStep": { "message": "Het account van deze gebruiker is beschermd met tweestapsaanmelding." }, "userAccessAllItems": { "message": "Deze gebruiker kan alle items inzien en bewerken." }, "userAccessSelectedCollections": { "message": "Deze gebruiker heeft alleen toegang tot de geselecteerde verzamelingen." }, "search": { "message": "Zoeken" }, "invited": { "message": "Uitgenodigd" }, "accepted": { "message": "Geaccepteerd" }, "confirmed": { "message": "Bevestigd" }, "clientOwnerEmail": { "message": "E-mailadres apparaateigenaar" }, "owner": { "message": "Eigenaar" }, "ownerDesc": { "message": "De gebruiker met de hoogste toegangsrechten. Deze gebruiker kan alle aspecten van je organisatie beheren." }, "clientOwnerDesc": { "message": "Deze gebruiker moet onafhankelijk zijn van de provider. Als de provider is losgekoppeld van de organisatie, blijft deze gebruiker eigenaar van de organisatie." }, "admin": { "message": "Beheerder" }, "adminDesc": { "message": "Beheerders hebben toegang tot alle items, verzamelingen en gebruikers binnen je organisatie en kunnen deze ook beheren." }, "user": { "message": "Gebruiker" }, "userDesc": { "message": "Een standaardgebruiker met toegang tot de verzamelingen van je organisatie." }, "manager": { "message": "Manager" }, "managerDesc": { "message": "Managers hebben toegang tot toegewezen verzamelingen binnen je organisatie en kunnen deze ook beheren." }, "all": { "message": "Alle" }, "refresh": { "message": "Verversen" }, "timestamp": { "message": "Tijdstempel" }, "event": { "message": "Gebeurtenis" }, "unknown": { "message": "Onbekend" }, "loadMore": { "message": "Meer ophalen" }, "mobile": { "message": "Mobiel", "description": "Mobile app" }, "extension": { "message": "Extensie", "description": "Browser extension/addon" }, "desktop": { "message": "Desktop", "description": "Desktop app" }, "webVault": { "message": "Webkluis" }, "loggedIn": { "message": "Ingelogd." }, "changedPassword": { "message": "Accountwachtwoord veranderd." }, "enabledUpdated2fa": { "message": "Tweestapsaanmelding geactiveerd/bijgewerkt." }, "disabled2fa": { "message": "Tweestapsaanmelding uitgeschakeld." }, "recovered2fa": { "message": "Account hersteld van tweestapsaanmelding." }, "failedLogin": { "message": "Inlogpoging met onjuist wachtwoord mislukt." }, "failedLogin2fa": { "message": "Inlogpoging met onjuiste tweestapsaanmelding mislukt." }, "exportedVault": { "message": "Kluis geëxporteerd." }, "exportedOrganizationVault": { "message": "Organisatiekluis geëxporteerd." }, "editedOrgSettings": { "message": "Organisatie-instellingen gewijzigd." }, "createdItemId": { "message": "Aangemaakt item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "editedItemId": { "message": "Gewijzigd item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "deletedItemId": { "message": "Verwijderd item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "movedItemIdToOrg": { "message": "Item $ID$ naar een organisatie verplaatst.", "placeholders": { "id": { "content": "$1", "example": "'Google'" } } }, "viewedItemId": { "message": "Bekeken item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "viewedPasswordItemId": { "message": "Wachtwoord bekeken voor item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "viewedHiddenFieldItemId": { "message": "Verborgen veld bekeken voor item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "viewedSecurityCodeItemId": { "message": "Beveiligingscode bekeken voor item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "copiedPasswordItemId": { "message": "Wachtwoord gekopieerd voor item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "copiedHiddenFieldItemId": { "message": "Verborgen veld gekopieerd voor item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "copiedSecurityCodeItemId": { "message": "Beveiligingscode gekopieerd voor item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "autofilledItemId": { "message": "Automatisch-invullen voor item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "createdCollectionId": { "message": "Verzameling aangemaakt $ID$.", "placeholders": { "id": { "content": "$1", "example": "Server Passwords" } } }, "editedCollectionId": { "message": "Verzameling gewijzigd $ID$.", "placeholders": { "id": { "content": "$1", "example": "Server Passwords" } } }, "deletedCollectionId": { "message": "Verzameling verwijderd $ID$.", "placeholders": { "id": { "content": "$1", "example": "Server Passwords" } } }, "editedPolicyId": { "message": "Bewerkt beleid $ID$.", "placeholders": { "id": { "content": "$1", "example": "Master Password" } } }, "createdGroupId": { "message": "Groep aangemaakt $ID$.", "placeholders": { "id": { "content": "$1", "example": "Developers" } } }, "editedGroupId": { "message": "Groep gewijzigd $ID$.", "placeholders": { "id": { "content": "$1", "example": "Developers" } } }, "deletedGroupId": { "message": "Groep verwijderd $ID$.", "placeholders": { "id": { "content": "$1", "example": "Developers" } } }, "removedUserId": { "message": "Gebruiker verwijderd $ID$.", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "createdAttachmentForItem": { "message": "Bijlage aangemaakt voor item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "deletedAttachmentForItem": { "message": "Bijlage verwijderd voor item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "editedCollectionsForItem": { "message": "Verzamelingen gewijzigd voor item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "invitedUserId": { "message": "Gebruiker uitgenodigd $ID$.", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "confirmedUserId": { "message": "Gebruiker bevestigd $ID$.", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "editedUserId": { "message": "Gebruiker gewijzigd $ID$.", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "editedGroupsForUser": { "message": "Groepen gewijzigd van gebruiker $ID$.", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "unlinkedSsoUser": { "message": "SSO ontkoppeld voor gebruiker $ID$.", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "createdOrganizationId": { "message": "Organisatie $ID$ aangemaakt.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "addedOrganizationId": { "message": "Organisatie $ID$ toegevoegd.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "removedOrganizationId": { "message": "Organisatie $ID$ verwijderd.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "accessedClientVault": { "message": "$ID$ organisatiekluis geopend.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "device": { "message": "Apparaat" }, "view": { "message": "Weergeven" }, "invalidDateRange": { "message": "Ongeldig datumbereik." }, "errorOccurred": { "message": "Er is een fout opgetreden." }, "userAccess": { "message": "Gebruikerstoegang" }, "userType": { "message": "Soort gebruiker" }, "groupAccess": { "message": "Groepstoegang" }, "groupAccessUserDesc": { "message": "Wijzig de groep waar deze gebruiker bij hoort." }, "invitedUsers": { "message": "Gebruiker(s) uitgenodigd." }, "resendInvitation": { "message": "Uitnodiging opnieuw versturen" }, "resendEmail": { "message": "E-mail opnieuw versturen" }, "hasBeenReinvited": { "message": "$USER$ is opnieuw uitgenodigd.", "placeholders": { "user": { "content": "$1", "example": "John Smith" } } }, "confirm": { "message": "Bevestigen" }, "confirmUser": { "message": "Gebruiker bevestigen" }, "hasBeenConfirmed": { "message": "$USER$ is bevestigd.", "placeholders": { "user": { "content": "$1", "example": "John Smith" } } }, "confirmUsers": { "message": "Gebruikers bevestigen" }, "usersNeedConfirmed": { "message": "Je hebt gebruikers die hun uitnodiging hebben geaccepteerd, maar nog moeten worden bevestigd. Gebruikers hebben pas toegang tot de organisatie nadat ze zijn bevestigd." }, "startDate": { "message": "Begindatum" }, "endDate": { "message": "Einddatum" }, "verifyEmail": { "message": "E-mailadres verifiëren" }, "verifyEmailDesc": { "message": "Verifieer het e-mailadres van je account om toegang te krijgen tot alle functionaliteiten." }, "verifyEmailFirst": { "message": "Je moet eerst het e-mailadres van je account verifiëren." }, "checkInboxForVerification": { "message": "Kijk in het postvak IN van je e-mail voor een verificatielink." }, "emailVerified": { "message": "Je e-mailadres is geverifieerd." }, "emailVerifiedFailed": { "message": "Je e-mailadres kon niet worden geverifieerd. Probeer een nieuwe e-mail met verificatielink te versturen." }, "emailVerificationRequired": { "message": "E-mailverificatie vereist" }, "emailVerificationRequiredDesc": { "message": "Je moet je e-mailadres verifiëren om deze functionaliteit te gebruiken." }, "updateBrowser": { "message": "Webbrowser bijwerken" }, "updateBrowserDesc": { "message": "Je maakt gebruik van webbrowser die we niet ondersteunen. De webkluis werkt mogelijk niet goed." }, "joinOrganization": { "message": "Lid worden van organisatie" }, "joinOrganizationDesc": { "message": "Je bent uitgenodigd om lid te worden van bovenstaande organisatie. Om de uitnodiging te accepteren, moet je inloggen of een nieuw Bitwarden-account aanmaken." }, "inviteAccepted": { "message": "Uitnodiging geaccepteerd" }, "inviteAcceptedDesc": { "message": "Je krijgt toegang tot deze organisatie zodra een beheerder je lidmaatschap bevestigt. We sturen je een e-mail zodra dat gebeurt." }, "inviteAcceptFailed": { "message": "De uitnodiging is niet geaccepteerd. Vraag een beheerder van de organisatie om een nieuwe uitnodiging te versturen." }, "inviteAcceptFailedShort": { "message": "Uitnodiging kan niet worden geaccepteerd. $DESCRIPTION$", "placeholders": { "description": { "content": "$1", "example": "You must enable 2FA on your user account before you can join this organization." } } }, "rememberEmail": { "message": "Mijn e-mailadres onthouden" }, "recoverAccountTwoStepDesc": { "message": "Als je geen toegang tot je account kunt krijgen via je normale tweestapsaanmeldingsmethodes, kun je met je herstelcode alle aanbieders van tweestapsaanmelding in je account uitschakelen." }, "recoverAccountTwoStep": { "message": "Tweestapsaanmelding herstellen" }, "twoStepRecoverDisabled": { "message": "Tweestapsaanmeldig is uitgeschakeld voor je account." }, "learnMore": { "message": "Meer informatie" }, "deleteRecoverDesc": { "message": "Voer hieronder je e-mailadres in om je account te herstellen en te verwijderen." }, "deleteRecoverEmailSent": { "message": "Als je account bestaat, hebben we je een e-mailbericht met nadere instructies gestuurd." }, "deleteRecoverConfirmDesc": { "message": "Je hebt een aanvraag gedaan om je Bitwarden-account te verwijderen. Klik op onderstaande knop om dit te bevestigen." }, "myOrganization": { "message": "Mijn organisatie" }, "deleteOrganization": { "message": "Organisatie verwijderen" }, "deletingOrganizationContentWarning": { "message": "Voer het hoofdwachtwoord in om de verwijdering van $ORGANIZATION$ en alle bijbehorende gegevens te bevestigen. De kluisgegevens in $ORGANIZATION$ bevatten:", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" } } }, "deletingOrganizationActiveUserAccountsWarning": { "message": "Gebruikersaccounts blijven actief na het verwijderen maar worden niet langer gekoppeld aan deze organisatie." }, "deletingOrganizationIsPermanentWarning": { "message": "Het verwijderen van $ORGANIZATION$ is permanent en onomkeerbaar.", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" } } }, "organizationDeleted": { "message": "Organisatie verwijderd" }, "organizationDeletedDesc": { "message": "De organisatie en alle bijhorende gegevens zijn verwijderd." }, "organizationUpdated": { "message": "Organisatie bijgewerkt" }, "taxInformation": { "message": "Belastinginformatie" }, "taxInformationDesc": { "message": "Voor klanten in de VS is een postcode nodig om te voldoen aan belastingvoorschriften. Klanten uit andere landen kunnen desgewenst een belastingnummer (BTW/VAT/GST) en/of adres opgeven voor vermelding op de facturen." }, "billingPlan": { "message": "Abonnement", "description": "A billing plan/package. For example: families, teams, enterprise, etc." }, "changeBillingPlan": { "message": "Abonnement wijzigen", "description": "A billing plan/package. For example: families, teams, enterprise, etc." }, "changeBillingPlanUpgrade": { "message": "Upgrade je account naar een ander abonnement door onderstaande informatie door te geven. Verzeker jezelf ervan dat er een actieve betaalmethode aan het account is gekoppeld.", "description": "A billing plan/package. For example: families, teams, enterprise, etc." }, "invoiceNumber": { "message": "Factuur #$NUMBER$", "description": "ex. Invoice #79C66F0-0001", "placeholders": { "number": { "content": "$1", "example": "79C66F0-0001" } } }, "viewInvoice": { "message": "Factuur bekijken" }, "downloadInvoice": { "message": "Factuur downloaden" }, "verifyBankAccount": { "message": "Bankrekening verifiëren" }, "verifyBankAccountDesc": { "message": "We hebben twee microbetalingen naar je bankrekening uitgevoerd (het kan 1-2 werkdagen duren voordat deze zichtbaar zijn). Voer deze bedragen in om de bankrekening te verifiëren." }, "verifyBankAccountInitialDesc": { "message": "Betaling met een bankrekening is alleen beschikbaar voor klanten in de Verenigde Staten. Je moet eerst je bankrekening verifiëren. We zullen de komende 1-2 werkdagen twee microbetalingen uitvoeren. Voer deze bedragen in op de factureringspagina van de organisatie om de bankrekening te verifiëren." }, "verifyBankAccountFailureWarning": { "message": "Als je de bankrekening niet verifieert mis je een betaling waardoor je abonnement wordt uitgeschakeld." }, "verifiedBankAccount": { "message": "Bankrekening geverifieerd." }, "bankAccount": { "message": "Bankrekening" }, "amountX": { "message": "Bedrag $COUNT$", "description": "Used in bank account verification of micro-deposits. Amount, as in a currency amount. Ex. Amount 1 is $2.00, Amount 2 is $1.50", "placeholders": { "count": { "content": "$1", "example": "1" } } }, "routingNumber": { "message": "Routeringsnummer", "description": "Bank account routing number" }, "accountNumber": { "message": "Rekeningnummer" }, "accountHolderName": { "message": "Naam rekeninghouder" }, "bankAccountType": { "message": "Soort rekening" }, "bankAccountTypeCompany": { "message": "Bedrijf (zakelijk)" }, "bankAccountTypeIndividual": { "message": "Individu (persoonlijk)" }, "enterInstallationId": { "message": "Installatie-id invoeren" }, "limitSubscriptionDesc": { "message": "Stel een limiet voor gebruikersplaatsen in voor je abonnement. Zodra deze limiet is bereikt, kun je geen nieuwe gebruikers uitnodigen." }, "maxSeatLimit": { "message": "Maximale gebruikersplaatsen (optioneel)", "description": "Upper limit of seats to allow through autoscaling" }, "maxSeatCost": { "message": "Max. potentiële kosten gebruikersplaatsen" }, "addSeats": { "message": "Plaatsen toevoegen", "description": "Seat = User Seat" }, "removeSeats": { "message": "Plaatsen verwijderen", "description": "Seat = User Seat" }, "subscriptionDesc": { "message": "Aanpassingen aan je abonnement leiden tot evenredige wijzigingen in je factuurtotaal. Als nieuwe gebruikers je gebruikersplaatsen overschrijden, ontvang je onmiddellijk een afschrijving voor de extra gebruikers." }, "subscriptionUserSeats": { "message": "Je abonnement omvat $COUNT$ gebruikers.", "placeholders": { "count": { "content": "$1", "example": "50" } } }, "limitSubscription": { "message": "Limiteer abonnement (optioneel)" }, "subscriptionSeats": { "message": "Gebruikersplaatsen abonnement" }, "subscriptionUpdated": { "message": "Abonnement bijgewerkt" }, "additionalOptions": { "message": "Extra opties" }, "additionalOptionsDesc": { "message": "Neem contact op met de klantenservice voor extra hulp bij het beheren van je abonnement." }, "subscriptionUserSeatsUnlimitedAutoscale": { "message": "Aanpassingen aan je abonnement leiden tot evenredige wijzigingen in je factuurtotaal. Als nieuwe gebruikers je gebruikersplaatsen overschrijden, ontvang je onmiddellijk een afschrijving voor de extra gebruikers." }, "subscriptionUserSeatsLimitedAutoscale": { "message": "Aanpassingen aan je abonnement leiden tot evenredige wijzigingen in je factuurtotaal. Als nieuwe gebruikers je gebruikersplaatsen overschrijden, ontvang je onmiddellijk een afschrijving voor de extra gebruikers tot het aantal van $MAX$ gebruikersplaatsen is bereikt.", "placeholders": { "max": { "content": "$1", "example": "50" } } }, "subscriptionFreePlan": { "message": "Je kunt niet meer dan $COUNT$ gebruikers uitnodigen zonder je abonnement te upgraden.", "placeholders": { "count": { "content": "$1", "example": "2" } } }, "subscriptionFamiliesPlan": { "message": "Je kunt niet meer dan $COUNT$ gebruikers uitnodigen zonder je abonnement te upgraden. Neem contact op met Customer Support om te upgraden.", "placeholders": { "count": { "content": "$1", "example": "6" } } }, "subscriptionSponsoredFamiliesPlan": { "message": "Je abonnement staat $COUNT$ gebruikers toe. Je abonnement wordt gesponsord en gefactureerd aan een externe organisatie.", "placeholders": { "count": { "content": "$1", "example": "6" } } }, "subscriptionMaxReached": { "message": "Aanpassingen aan je abonnement leiden tot evenredige wijzigingen in uw factuurtotaal. Je kunt niet meer dan $COUNT$ gebruikers uitnodigen zonder je abonnementsplaatsen te verhogen.", "placeholders": { "count": { "content": "$1", "example": "50" } } }, "seatsToAdd": { "message": "Toe te voegen plaatsen" }, "seatsToRemove": { "message": "Te verwijderen plaatsen" }, "seatsAddNote": { "message": "Gebruikersplaatsen toevoegen heeft gevolgen voor je factuurbedrag en wordt onmiddellijk in rekening gebracht op je geregistreerde betaalmethode. De eerste aanrekening wordt pro-rata berekend voor de resterende factureringscyclus." }, "seatsRemoveNote": { "message": "Gebruikersplaatsen verwijderen heeft gevolgen voor je factuurbedrag en wordt pro-rata gecrediteerd op je volgende betaling." }, "adjustedSeats": { "message": "Aantal plaatsen aangepast naar $AMOUNT$.", "placeholders": { "amount": { "content": "$1", "example": "15" } } }, "keyUpdated": { "message": "Sleutel bijgewerkt" }, "updateKeyTitle": { "message": "Sleutel bijwerken" }, "updateEncryptionKey": { "message": "Encryptiesleutel bijwerken" }, "updateEncryptionKeyShortDesc": { "message": "Je gebruikt een oud versleutelingsschema." }, "updateEncryptionKeyDesc": { "message": "We zijn overgeschakeld naar langere encryptiesleutels die beter beveiligen en nieuwe functionaliteiten mogelijk maken. Het bijwerken van je encryptiesleutel gaat snel en eenvoudig. Typ gewoon je hoofdwachtwoord hieronder in. Deze wijziging zal uiteindelijk verplicht worden." }, "updateEncryptionKeyWarning": { "message": "Na het bijwerken van je encryptiesleutel moet je je afmelden en weer aanmelden bij alle Bitwarden-applicaties die je gebruikt (zoals de mobiele app of browserextensies). Als je niet opnieuw inlogt (wat je nieuwe encryptiesleutel downloadt), kan dit gegevensbeschadiging tot gevolg hebben. We proberen je automatisch uit te loggen, maar het kan zijn dat dit met enige vertraging gebeurt." }, "updateEncryptionKeyExportWarning": { "message": "Elke versleutelde export die je hebt bewaard wordt onbruikbaar." }, "subscription": { "message": "Abonnement" }, "loading": { "message": "Laden" }, "upgrade": { "message": "Upgrade" }, "upgradeOrganization": { "message": "Organisatie upgraden" }, "upgradeOrganizationDesc": { "message": "Deze mogelijkheid is niet beschikbaar voor gratis organisaties. Schakel over naar een betaald abonnement om meer mogelijkheden te ontgrendelen." }, "createOrganizationStep1": { "message": "Organisatie aanmaken: Stap 1" }, "createOrganizationCreatePersonalAccount": { "message": "Voordat je een organisatie kunt aanmaken moet je eerst een gratis persoonlijk account aanmaken." }, "refunded": { "message": "Terugbetaald" }, "nothingSelected": { "message": "Je hebt niets geselecteerd." }, "acceptPolicies": { "message": "Door dit vakje aan te vinken ga je akkoord met het volgende:" }, "acceptPoliciesError": { "message": "Algemene voorwaarden en privacybeleid zijn nog niet erkend." }, "termsOfService": { "message": "Algemene gebruiksvoorwaarden" }, "privacyPolicy": { "message": "Privacybeleid" }, "filters": { "message": "Filters" }, "vaultTimeout": { "message": "Time-out van de kluis" }, "vaultTimeoutDesc": { "message": "Stel de time-out van de kluis en de bijbehorende actie in." }, "oneMinute": { "message": "1 minuut" }, "fiveMinutes": { "message": "5 minuten" }, "fifteenMinutes": { "message": "15 minuten" }, "thirtyMinutes": { "message": "30 minuten" }, "oneHour": { "message": "1 uur" }, "fourHours": { "message": "4 uur" }, "onRefresh": { "message": "Bij het verversen van de webbrowser" }, "dateUpdated": { "message": "Bijgewerkt", "description": "ex. Date this item was updated" }, "datePasswordUpdated": { "message": "Wachtwoord bijgewerkt", "description": "ex. Date this password was updated" }, "organizationIsDisabled": { "message": "Organisatie uitgeschakeld." }, "licenseIsExpired": { "message": "Licentie verlopen." }, "updatedUsers": { "message": "Gebruikers bijgewerkt" }, "selected": { "message": "Geselecteerd" }, "ownership": { "message": "Eigendom" }, "whoOwnsThisItem": { "message": "Wie is eigenaar van dit object?" }, "strong": { "message": "Sterk", "description": "ex. A strong password. Scale: Very Weak -> Weak -> Good -> Strong" }, "good": { "message": "Goed", "description": "ex. A good password. Scale: Very Weak -> Weak -> Good -> Strong" }, "weak": { "message": "Zwak", "description": "ex. A weak password. Scale: Very Weak -> Weak -> Good -> Strong" }, "veryWeak": { "message": "Zeer zwak", "description": "ex. A very weak password. Scale: Very Weak -> Weak -> Good -> Strong" }, "weakMasterPassword": { "message": "Zwak hoofdwachtwoord" }, "weakMasterPasswordDesc": { "message": "Je hebt een zwak hoofdwachtwoord gekozen. Gebruik een sterk hoofdwachtwoord (of wachtwoordzin) om jouw Bitwarden-account goed te beschermen. Weet je zeker dat je dit hoofdwachtwoord wilt gebruiken?" }, "rotateAccountEncKey": { "message": "De encryptiesleutel van mijn account ook roteren" }, "rotateEncKeyTitle": { "message": "Encryptiesleutel roteren" }, "rotateEncKeyConfirmation": { "message": "Weet je zeker dat je de encryptiesleutel van je account wilt roteren?" }, "attachmentsNeedFix": { "message": "Dit item heeft oude bestandsbijlagen die aangepast moeten worden." }, "attachmentFixDesc": { "message": "Dit is een oude bestandsbijlage die moet worden aangepast. Klik voor meer informatie." }, "fix": { "message": "Oplossen", "description": "This is a verb. ex. 'Fix The Car'" }, "oldAttachmentsNeedFixDesc": { "message": "Er zijn oude bestandsbijlagen in je kluis die aangepast moeten worden voordat je je encryptiesleutels kunt roteren." }, "yourAccountsFingerprint": { "message": "Vingerafdrukzin van je account", "description": "A 'fingerprint phrase' is a unique word phrase (similar to a passphrase) that a user can use to authenticate their public key with another user, for the purposes of sharing." }, "fingerprintEnsureIntegrityVerify": { "message": "Verzeker jezelf van de integriteit van je encryptiesleutels, controleer de vingerafdrukzin van de gebruiker voor je verder gaat.", "description": "A 'fingerprint phrase' is a unique word phrase (similar to a passphrase) that a user can use to authenticate their public key with another user, for the purposes of sharing." }, "dontAskFingerprintAgain": { "message": "Niet meer vragen om de vingerafdrukzin te controleren", "description": "A 'fingerprint phrase' is a unique word phrase (similar to a passphrase) that a user can use to authenticate their public key with another user, for the purposes of sharing." }, "free": { "message": "Gratis", "description": "Free, as in 'Free beer'" }, "apiKey": { "message": "API-sleutel" }, "apiKeyDesc": { "message": "Je kunt je API-sleutel gebruiken om in te loggen op de openbare API van Bitwarden." }, "apiKeyRotateDesc": { "message": "Het roteren van de API-sleutel maakt de vorige sleutel ongeldig. Je kunt je API-sleutel roteren als je denkt dat de huidige sleutel niet langer veilig is om te gebruiken." }, "apiKeyWarning": { "message": "Je API-sleutel heeft volledige toegang tot de organisatie. Houd het geheim." }, "userApiKeyDesc": { "message": "Met je API-sleutel kun je inloggen in de Bitwarden CLI." }, "userApiKeyWarning": { "message": "Je API-sleutel is een alternatieve manier van inloggen. Het moet geheim blijven." }, "oauth2ClientCredentials": { "message": "OAuth 2.0 clientreferenties", "description": "'OAuth 2.0' is a programming protocol. It should probably not be translated." }, "viewApiKey": { "message": "API-sleutel bekijken" }, "rotateApiKey": { "message": "API-sleutel roteren" }, "selectOneCollection": { "message": "Je moet ten minste één collectie selecteren." }, "couldNotChargeCardPayInvoice": { "message": "We konden geen kosten op je kaart in rekening brengen. Bekijk en betaal onderstaande openstaande factuur." }, "inAppPurchase": { "message": "In-app aankoop" }, "cannotPerformInAppPurchase": { "message": "Je kunt deze actie niet uitvoeren tijdens de uitvoering van een in-app aankoop." }, "manageSubscriptionFromStore": { "message": "Je moet je abonnement beheren vanuit de winkel waar je in-app aankoop is gemaakt." }, "minLength": { "message": "Minimale lengte" }, "clone": { "message": "Dupliceren" }, "masterPassPolicyDesc": { "message": "Minimale eisen voor de sterkte van het hoofdwachtwoord instellen." }, "twoStepLoginPolicyDesc": { "message": "Vereis tweestapsaanmelding op het persoonlijke account van gebruikers." }, "twoStepLoginPolicyWarning": { "message": "Organisatieleden die geen eigenaren of beheerders zijn en geen tweestapsaanmelding hebben ingeschakeld voor hun persoonlijke account worden verwijderd uit de organisatie en ontvangen een e-mail waarin ze worden geïnformeerd over de wijziging." }, "twoStepLoginPolicyUserWarning": { "message": "Je bent lid van een organisatie die tweestapsaanmelding vereist op je persoonlijke account. Als je tweestapsaanmelding uitschakelt wordt je automatisch uit deze organisaties verwijderd." }, "passwordGeneratorPolicyDesc": { "message": "Stel minimale vereisten in voor de configuratie van de wachtwoordgenerator." }, "passwordGeneratorPolicyInEffect": { "message": "Een of meer organisatiebeleidseisen heeft invloed op de instellingen van je generator." }, "masterPasswordPolicyInEffect": { "message": "Een of meer organisatiebeleidseisen stelt de volgende eisen aan je hoofdwachtwoord:" }, "policyInEffectMinComplexity": { "message": "Minimale complexiteitsscore van $SCORE$", "placeholders": { "score": { "content": "$1", "example": "4" } } }, "policyInEffectMinLength": { "message": "Minimale lengte van $LENGTH$", "placeholders": { "length": { "content": "$1", "example": "14" } } }, "policyInEffectUppercase": { "message": "Bevat een of meer hoofdletters" }, "policyInEffectLowercase": { "message": "Bevat een of meer kleine letters" }, "policyInEffectNumbers": { "message": "Bevat een of meer cijfers" }, "policyInEffectSpecial": { "message": "Bevat een of meer van de volgende speciale tekens $CHARS$", "placeholders": { "chars": { "content": "$1", "example": "!@#$%^&*" } } }, "masterPasswordPolicyRequirementsNotMet": { "message": "Je nieuwe hoofdwachtwoord voldoet niet aan de beleidseisen." }, "minimumNumberOfWords": { "message": "Minimum aantal woorden" }, "defaultType": { "message": "Standaardtype" }, "userPreference": { "message": "Persoonlijke voorkeur" }, "vaultTimeoutAction": { "message": "Actie bij time-out" }, "vaultTimeoutActionLockDesc": { "message": "Om toegang te krijgen tot een vergrendelde kluis moet het hoofdwachtwoord opnieuw worden ingevoerd." }, "vaultTimeoutActionLogOutDesc": { "message": "Om toegang te krijgen tot een uitgelogde kluis te krijgen moet je opnieuw inloggen." }, "lock": { "message": "Vergrendelen", "description": "Verb form: to make secure or inaccesible by" }, "trash": { "message": "Prullenbak", "description": "Noun: A special folder for holding deleted items that have not yet been permanently deleted" }, "searchTrash": { "message": "Prullenbak doorzoeken" }, "permanentlyDelete": { "message": "Definitief verwijderen" }, "permanentlyDeleteSelected": { "message": "Selectie definitief verwijderen" }, "permanentlyDeleteItem": { "message": "Item definitief verwijderen" }, "permanentlyDeleteItemConfirmation": { "message": "Weet je zeker dat je dit item definitief wilt verwijderen?" }, "permanentlyDeletedItem": { "message": "Definitief verwijderd item" }, "permanentlyDeletedItems": { "message": "Definitief verwijderde items" }, "permanentlyDeleteSelectedItemsDesc": { "message": "Je hebt $COUNT$ item(s) geselecteerd voor verwijdering. Weet je zeker dat je al deze items definitief wilt verwijderen?", "placeholders": { "count": { "content": "$1", "example": "150" } } }, "permanentlyDeletedItemId": { "message": "Definitief verwijderd item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "restore": { "message": "Herstellen" }, "restoreSelected": { "message": "Selectie herstellen" }, "restoreItem": { "message": "Item herstellen" }, "restoredItem": { "message": "Hersteld item" }, "restoredItems": { "message": "Herstelde items" }, "restoreItemConfirmation": { "message": "Weet je zeker dat je dit item wilt herstellen?" }, "restoreItems": { "message": "Items herstellen" }, "restoreSelectedItemsDesc": { "message": "Je hebt $COUNT$ item(s) geselecteerd voor herstel. Weet je zeker dat je al deze items wilt herstellen?", "placeholders": { "count": { "content": "$1", "example": "150" } } }, "restoredItemId": { "message": "Hersteld item $ID$.", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "vaultTimeoutLogOutConfirmation": { "message": "Uitloggen ontneemt je de toegang tot je kluis en vereist online authenticatie na een periode van time-out. Weet je zeker dat je deze instelling wilt gebruiken?" }, "vaultTimeoutLogOutConfirmationTitle": { "message": "Bevestiging actie bij time-out" }, "hidePasswords": { "message": "Wachtwoorden verbergen" }, "countryPostalCodeRequiredDesc": { "message": "We gebruiken deze informatie alleen voor het berekenen van belasting en financiële rapportages." }, "includeVAT": { "message": "Inclusief btw-informatie (optioneel)" }, "taxIdNumber": { "message": "Btw-nummer" }, "taxInfoUpdated": { "message": "Belastinginformatie bijgewerkt." }, "setMasterPassword": { "message": "Hoofdwachtwoord instellen" }, "ssoCompleteRegistration": { "message": "Voor het inloggen met SSO moet je een hoofdwachtwoord instellen voor toegang tot en bescherming van je kluis." }, "identifier": { "message": "Identificatie" }, "organizationIdentifier": { "message": "Organisatie-identificatie" }, "ssoLogInWithOrgIdentifier": { "message": "Inloggen met het single sign-on portaal van je organisatie. Voer de identificatie van je organisatie in om te beginnen." }, "enterpriseSingleSignOn": { "message": "Enterprise Single Sign-On" }, "ssoHandOff": { "message": "Je kunt dit tabblad nu sluiten en doorgaan in de extensie." }, "includeAllTeamsFeatures": { "message": "Alle functionaliteit van Teams plus:" }, "includeSsoAuthentication": { "message": "SSO-authenticatie via SAML2.0 en OpenID Connect" }, "includeEnterprisePolicies": { "message": "Enterprisebeleid" }, "ssoValidationFailed": { "message": "SSO-validatie mislukt" }, "ssoIdentifierRequired": { "message": "Organisatie-identificatie vereist." }, "unlinkSso": { "message": "SSO ontkoppelen" }, "unlinkSsoConfirmation": { "message": "Weet je zeker dat je SSO voor deze organisatie wilt ontkoppelen?" }, "linkSso": { "message": "SSO koppelen" }, "singleOrg": { "message": "Enkele organisatie" }, "singleOrgDesc": { "message": "Beperk de mogelijkheid voor gebruikers om deel te nemen aan andere organisaties." }, "singleOrgBlockCreateMessage": { "message": "Jouw huidige organisatie heeft een beleid dat je niet toestaat om deel te nemen aan meer dan één organisatie. Neem contact op met de beheerders van jouw organisatie of meld je aan met een ander Bitwarden-account." }, "singleOrgPolicyWarning": { "message": "Leden van de organisatie die geen eigenaar of beheerder zijn en die al lid zijn van een andere organisatie, worden verwijderd uit jouw organisatie." }, "requireSso": { "message": "Single Sign-On Authenticatie" }, "requireSsoPolicyDesc": { "message": "Verplicht gebruikers om in te loggen met de Enterprise Single Sign-On methode." }, "prerequisite": { "message": "Vereisten" }, "requireSsoPolicyReq": { "message": "Voordat je dit beleid kunt activeren moet je eerst het Enkele organisatie-bedrijfsbeleid inschakelen." }, "requireSsoPolicyReqError": { "message": "Enkele Organisatie-beleid is niet ingeschakeld." }, "requireSsoExemption": { "message": "Eigenaren en beheerders van de organisatie zijn vrijgesteld van de handhaving van dit beleid." }, "sendTypeFile": { "message": "Bestand" }, "sendTypeText": { "message": "Tekst" }, "createSend": { "message": "Nieuwe Send aanmaken", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "editSend": { "message": "Send bewerken", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "createdSend": { "message": "Send aangemaakt", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "editedSend": { "message": "Send bewerkt", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "deletedSend": { "message": "Send verwijderd", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "deleteSend": { "message": "Send verwijderen", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "deleteSendConfirmation": { "message": "Weet je zeker dat je deze Send wilt verwijderen?", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "whatTypeOfSend": { "message": "Wat voor soort Send is dit?", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "deletionDate": { "message": "Verwijderingsdatum" }, "deletionDateDesc": { "message": "Deze Send wordt definitief verwijderd op de aangegeven datum en tijd.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "expirationDate": { "message": "Vervaldatum" }, "expirationDateDesc": { "message": "Als dit is ingesteld verloopt deze Send op een specifieke datum en tijd.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "maxAccessCount": { "message": "Maximum toegangsaantal" }, "maxAccessCountDesc": { "message": "Als dit is ingesteld kunnen gebruikers deze Send niet meer benaderen zodra het maximale aantal toegang is bereikt.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "currentAccessCount": { "message": "Huidige toegangsaantal" }, "sendPasswordDesc": { "message": "Vereis optioneel een wachtwoord voor gebruikers om toegang te krijgen tot deze Send.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendNotesDesc": { "message": "Privénotities over deze Send.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "disabled": { "message": "Uitgeschakeld" }, "sendLink": { "message": "Send-koppeling", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "copySendLink": { "message": "Send-koppeling kopiëren", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "removePassword": { "message": "Wachtwoord verwijderen" }, "removedPassword": { "message": "Wachtwoord verwijderd" }, "removePasswordConfirmation": { "message": "Weet je zeker dat je dit wachtwoord wilt verwijderen?" }, "hideEmail": { "message": "Verberg mijn e-mailadres voor ontvangers." }, "disableThisSend": { "message": "Schakel deze Send uit zodat niemand hem kan benaderen.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "allSends": { "message": "Alle Sends" }, "maxAccessCountReached": { "message": "Maximum aantal keren benaderd", "description": "This text will be displayed after a Send has been accessed the maximum amount of times." }, "pendingDeletion": { "message": "Wordt verwijderd" }, "expired": { "message": "Verlopen" }, "searchSends": { "message": "Sends zoeken", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendProtectedPassword": { "message": "Deze Send is beveiligd met een wachtwoord. Voer het wachtwoord hieronder in om door te gaan.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendProtectedPasswordDontKnow": { "message": "Weet je het wachtwoord niet? Vraag de afzender om het wachtwoord om toegang te krijgen tot deze Send.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendHiddenByDefault": { "message": "Deze Send is standaard verborgen. Je kunt de zichtbaarheid ervan in- en uitschakelen met de knop hieronder.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "downloadFile": { "message": "Bestand downloaden" }, "sendAccessUnavailable": { "message": "De Send die je probeert te benaderen is niet (langer) beschikbaar.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "missingSendFile": { "message": "Het aan deze Send gekoppelde bestand kon niet gevonden worden.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "noSendsInList": { "message": "Er zijn geen Sends beschikbaar.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "emergencyAccess": { "message": "Noodtoegang" }, "emergencyAccessDesc": { "message": "Verleen en beheer noodtoegang voor vertrouwde contacten. Vertrouwde contacten kunnen in noodgevallen toegang vragen om je account te bekijken of overnemen. Bezoek onze helppagina voor meer informatie en details over de werking van \"zero knowledge sharing\"." }, "emergencyAccessOwnerWarning": { "message": "Je bent eigenaar van een of meer organisaties. Als je toegang tot overname geeft aan een noodcontact, kan deze na een overname jouw toegangsrechten als eigenaar gebruiken." }, "trustedEmergencyContacts": { "message": "Vertrouwde noodcontacten" }, "noTrustedContacts": { "message": "Je hebt nog geen noodcontacten, nodig een vertrouwde contactpersoon uit om te beginnen." }, "addEmergencyContact": { "message": "Noodcontact toevoegen" }, "designatedEmergencyContacts": { "message": "Aangewezen als noodcontact" }, "noGrantedAccess": { "message": "Je bent nog door niemand aangewezen als noodcontact." }, "inviteEmergencyContact": { "message": "Noodcontact uitnodigen" }, "editEmergencyContact": { "message": "Noodcontact bewerken" }, "inviteEmergencyContactDesc": { "message": "Nodig een nieuw noodcontact uit door hieronder het e-mailadres van hun Bitwarden-account in te vullen. Als ze nog geen Bitwarden-account hebben, krijgen ze de mogelijkheid direct een account aan te maken." }, "emergencyAccessRecoveryInitiated": { "message": "Noodtoegang geïnitieerd" }, "emergencyAccessRecoveryApproved": { "message": "Noodtoegang goedgekeurd" }, "viewDesc": { "message": "Kan alle items in je eigen kluis bekijken." }, "takeover": { "message": "Overnemen" }, "takeoverDesc": { "message": "Kan op jouw account een nieuw hoofdwachtwoord instellen." }, "waitTime": { "message": "Wachttijd" }, "waitTimeDesc": { "message": "Wachttijd tot het automatisch verlenen van toegang." }, "oneDay": { "message": "1 dag" }, "days": { "message": "$DAYS$ dagen", "placeholders": { "days": { "content": "$1", "example": "1" } } }, "invitedUser": { "message": "Uitgenodigde gebruiker." }, "acceptEmergencyAccess": { "message": "Je bent uitgenodigd als noodcontact voor bovenstaande gebruiker. Om de uitnodiging te accepteren, moet je inloggen of een nieuw Bitwarden-account aanmaken." }, "emergencyInviteAcceptFailed": { "message": "Kon de uitnodiging niet accepteren. Vraag de gebruiker om een nieuwe uitnodiging te versturen." }, "emergencyInviteAcceptFailedShort": { "message": "Kon de uitnodiging niet accepteren. $DESCRIPTION$", "placeholders": { "description": { "content": "$1", "example": "You must enable 2FA on your user account before you can join this organization." } } }, "emergencyInviteAcceptedDesc": { "message": "Je kunt de instellingen voor noodtoegang van deze gebruiker benaderen zodra je identiteit is bevestigd. We sturen je een e-mail wanneer dat is gerealiseerd." }, "requestAccess": { "message": "Toegang aanvragen" }, "requestAccessConfirmation": { "message": "Weet je zeker dat je noodtoegang wilt aanvragen? Je krijgt toegang na $WAITTIME$ dag(en) of zodra de gebruiker de aanvraag handmatig goedkeurt.", "placeholders": { "waittime": { "content": "$1", "example": "1" } } }, "requestSent": { "message": "Noodtoegang aangevraagd voor $USER$. We brengen je per e-mail op de hoogte wanneer je verder kunt.", "placeholders": { "user": { "content": "$1", "example": "John Smith" } } }, "approve": { "message": "Goedkeuren" }, "reject": { "message": "Afwijzen" }, "approveAccessConfirmation": { "message": "Weet je zeker dat je noodtoegang wilt goedkeuren? Hiermee verleen je $USER$ toegang tot je account $ACTION$.", "placeholders": { "user": { "content": "$1", "example": "John Smith" }, "action": { "content": "$2", "example": "View" } } }, "emergencyApproved": { "message": "Noodtoegang goedgekeurd." }, "emergencyRejected": { "message": "Noodtoegang afgewezen" }, "passwordResetFor": { "message": "Wachtwoord opnieuw ingesteld voor $USER$. Je kunt nu inloggen met het nieuwe wachtwoord.", "placeholders": { "user": { "content": "$1", "example": "John Smith" } } }, "personalOwnership": { "message": "Persoonlijk eigendom" }, "personalOwnershipPolicyDesc": { "message": "Verplicht gebruikers kluisitems op te slaan in een organisatie door de persoonlijke eigendomsoptie te verwijderen." }, "personalOwnershipExemption": { "message": "Eigenaren en beheerders van de organisatie zijn vrijgesteld van de handhaving van dit beleid." }, "personalOwnershipSubmitError": { "message": "Wegens bedrijfsbeleid mag je geen wachtwoorden opslaan in je persoonlijke kluis. Verander het eigenaarschap naar een organisatie en kies uit een van de beschikbare collecties." }, "disableSend": { "message": "Send uitschakelen" }, "disableSendPolicyDesc": { "message": "Gebruikers mogen geen Bitwarden Send maken of bewerken. Het verwijderen van een bestaande Send is nog steeds toegestaan.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "disableSendExemption": { "message": "Gebruikers in de organisatie die het beleid van de organisatie kunnen beheren, zijn vrijgesteld van de handhaving van dit beleid." }, "sendDisabled": { "message": "Send uitgeschakeld", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendDisabledWarning": { "message": "Als gevolg van een ondernemingsbeleid kun je alleen een bestaande Send verwijderen.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendOptions": { "message": "Send-opties", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendOptionsPolicyDesc": { "message": "Stel opties in voor het maken en bewerken van Sends.", "description": "'Sends' is a plural noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendOptionsExemption": { "message": "Gebruikers die het beleid van de organisatie kunnen beheren, zijn vrijgesteld van de handhaving van dit beleid." }, "disableHideEmail": { "message": "Gebruikers mogen hun e-mailadres niet verbergen voor ontvangers bij het aanmaken of bewerken van een Send.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendOptionsPolicyInEffect": { "message": "Het volgende organisatiebeleid is momenteel van toepassing:" }, "sendDisableHideEmailInEffect": { "message": "Gebruikers mogen hun e-mailadres niet verbergen voor ontvangers bij het aanmaken of bewerken van een Send.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "modifiedPolicyId": { "message": "Bewerkt beleid $ID$.", "placeholders": { "id": { "content": "$1", "example": "Master Password" } } }, "planPrice": { "message": "Prijs" }, "estimatedTax": { "message": "Geschatte belasting" }, "custom": { "message": "Aangepast" }, "customDesc": { "message": "Maakt een fijnmazige controle van gebruikersrechten voor geavanceerde configuraties mogelijk." }, "permissions": { "message": "Rechten" }, "accessEventLogs": { "message": "Eventlogs" }, "accessImportExport": { "message": "Importeren/exporteren" }, "accessReports": { "message": "Rapporten" }, "missingPermissions": { "message": "Je hebt geen rechten om deze actie uit te voeren." }, "manageAllCollections": { "message": "Alle verbindingen beheren" }, "createNewCollections": { "message": "Nieuwe verzamelingen aanmaken" }, "editAnyCollection": { "message": "Iedere verzameling bewerken" }, "deleteAnyCollection": { "message": "Iedere verzameling verwijderen" }, "manageAssignedCollections": { "message": "Toegewezen collecties beheren" }, "editAssignedCollections": { "message": "Toegewezen verzamelingen bewerken" }, "deleteAssignedCollections": { "message": "Toegewezen verzamelingen verwijderen" }, "manageGroups": { "message": "Groepen beheren" }, "managePolicies": { "message": "Beleid beheren" }, "manageSso": { "message": "SSO beheren" }, "manageUsers": { "message": "Gebruikers beheren" }, "manageResetPassword": { "message": "Wachtwoordherstel beheren" }, "disableRequiredError": { "message": "Je moet handmatig het $POLICYNAME$-beleid uitschakelen voordat je dit beleid kunt uitschakelen.", "placeholders": { "policyName": { "content": "$1", "example": "Single Sign-On Authentication" } } }, "personalOwnershipPolicyInEffect": { "message": "Een organisatiebeleid heeft invloed op je eigendomsopties." }, "personalOwnershipPolicyInEffectImports": { "message": "Een organisatiebeleid heeft het importeren van items in je persoonlijke kluis uitgeschakeld." }, "personalOwnershipCheckboxDesc": { "message": "Schakel persoonlijke eigendom uit voor organisatiegebruikers" }, "textHiddenByDefault": { "message": "Verberg de tekst standaard bij het gebruiken van de Send", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendNameDesc": { "message": "Een vriendelijke naam om deze Send te beschrijven.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendTextDesc": { "message": "De tekst die je wilt versturen." }, "sendFileDesc": { "message": "Het bestand dat je wilt versturen." }, "copySendLinkOnSave": { "message": "Kopieer de link om deze Send te delen bij opslaan naar mijn klembord." }, "sendLinkLabel": { "message": "Send-link", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "send": { "message": "Send", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendAccessTaglineProductDesc": { "message": "Bitwarden Send verstuurt gevoelige, tijdelijke informatie naar anderen op een gemakkelijke en veilige manier.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendAccessTaglineLearnMore": { "message": "Leer meer over", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read '**Learn more about** Bitwarden Send or sign up to try it today.'" }, "sendVaultCardProductDesc": { "message": "Deel tekst of bestanden met wie je maar wilt." }, "sendVaultCardLearnMore": { "message": "Meer informatie", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read '**Learn more**, see how it works, or try it now. '" }, "sendVaultCardSee": { "message": "zien", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more, **see** how it works, or try it now.'" }, "sendVaultCardHowItWorks": { "message": "hoe het werkt", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more, see **how it works**, or try it now.'" }, "sendVaultCardOr": { "message": "of", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more, see how it works, **or** try it now.'" }, "sendVaultCardTryItNow": { "message": "probeer het nu", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more, see how it works, or **try it now**.'" }, "sendAccessTaglineOr": { "message": "of", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more about Bitwarden Send **or** sign up to try it today.'" }, "sendAccessTaglineSignUp": { "message": "meld je aan", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more about Bitwarden Send or **sign up** to try it today.'" }, "sendAccessTaglineTryToday": { "message": "om het vandaag te proberen.", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more about Bitwarden Send or sign up to **try it today.**'" }, "sendCreatorIdentifier": { "message": "Bitwarden-gebruiker $USER_IDENTIFIER$ heeft het volgende met je gedeeld", "placeholders": { "user_identifier": { "content": "$1", "example": "An email address" } } }, "viewSendHiddenEmailWarning": { "message": "De Bitwarden-gebruiker die deze Send heeft gemaakt heeft ervoor gekozen het e-mailadres te verbergen. Je moet je ervan verzekeren dat je de bron van deze link vertrouwt voordat je de inhoud gebruikt of downloadt.", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "expirationDateIsInvalid": { "message": "De opgegeven vervaldatum is niet geldig." }, "deletionDateIsInvalid": { "message": "De opgegeven verwijderdatum is niet geldig." }, "expirationDateAndTimeRequired": { "message": "Een vervaldatum en -tijd zijn vereist." }, "deletionDateAndTimeRequired": { "message": "Een verwijderingsdatum en -tijd zijn vereist." }, "dateParsingError": { "message": "Er is een fout opgetreden bij het opslaan van je verwijder- en vervaldatum." }, "webAuthnFallbackMsg": { "message": "Klik op onderstaande knop om je 2FA te verifiëren." }, "webAuthnAuthenticate": { "message": "Authenticeer WebAuthn" }, "webAuthnNotSupported": { "message": "WebAuthn wordt niet ondersteund in deze browser." }, "webAuthnSuccess": { "message": "WebAuthn met succes geverifieerd! Je kunt dit tabblad sluiten." }, "hintEqualsPassword": { "message": "Je wachtwoordhint moet anders zijn dan je wachtwoord." }, "enrollPasswordReset": { "message": "Aanmelden voor wachtwoordherstel" }, "enrolledPasswordReset": { "message": "Aangemeld voor wachtwoordherstel" }, "withdrawPasswordReset": { "message": "Teruggetrokken van wachtwoordherstel" }, "enrollPasswordResetSuccess": { "message": "Succesvol aangemeld!" }, "withdrawPasswordResetSuccess": { "message": "Succesvol ingetrokken!" }, "eventEnrollPasswordReset": { "message": "Gebruiker $ID$ heeft zich aangemeld voor assistentie bij wachtwoordherstel.", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "eventWithdrawPasswordReset": { "message": "Gebruiker $ID$ heeft zich teruggetrokken van assistentie bij wachtwoordherstel.", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "eventAdminPasswordReset": { "message": "Hoofdwachtwoord opnieuw instellen voor gebruiker $ID$.", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "eventResetSsoLink": { "message": "Sso-link voor gebruiker $ID$ opnieuw instellen", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "firstSsoLogin": { "message": "$ID$ heeft voor de eerste keer ingelogd met Sso", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "resetPassword": { "message": "Wachtwoord opnieuw instellen" }, "resetPasswordLoggedOutWarning": { "message": "Doorgaan logt de huidige sessie van $NAME$ uit, waarna deze opnieuw moet aanmelden. Actieve sessies op andere apparaten kunnen mogelijk nog één uur actief blijven.", "placeholders": { "name": { "content": "$1", "example": "John Smith" } } }, "thisUser": { "message": "deze gebruiker" }, "resetPasswordMasterPasswordPolicyInEffect": { "message": "Een of meer organisatiebeleidseisen stelt de volgende eisen aan je hoofdwachtwoord:" }, "resetPasswordSuccess": { "message": "Wachtwoord opnieuw ingesteld!" }, "resetPasswordEnrollmentWarning": { "message": "Inschrijving stelt organisatiebeheerders in staat om je hoofdwachtwoord te wijzigen. Weet je zeker dat je wilt inschrijven?" }, "resetPasswordPolicy": { "message": "Hoofdwachtwoord opnieuw instellen" }, "resetPasswordPolicyDescription": { "message": "Beheerders in de organisatie toestaan het hoofdwachtwoord van gebruikers van de organisatie opnieuw in te stellen." }, "resetPasswordPolicyWarning": { "message": "Gebruikers in de organisatie moeten zichzelf inschrijven of automatisch worden ingeschreven voordat beheerders hun hoofdwachtwoord opnieuw kunnen instellen." }, "resetPasswordPolicyAutoEnroll": { "message": "Automatische inschrijving" }, "resetPasswordPolicyAutoEnrollDescription": { "message": "Alle gebruikers worden automatisch ingeschreven voor wachtwoordherstel zodra hun uitnodiging wordt geaccepteerd." }, "resetPasswordPolicyAutoEnrollWarning": { "message": "Gebruikers die al deel uitmaken van de organisatie worden niet met terugwerkende kracht aangemeld voor wachtwoordherstel. Zij zullen zichzelf moeten inschrijven voordat beheerders hun hoofdwachtwoord kunnen herstellen." }, "resetPasswordPolicyAutoEnrollCheckbox": { "message": "Automatisch nieuwe gebruikers inschrijven" }, "resetPasswordAutoEnrollInviteWarning": { "message": "Deze organisatie heeft een ondernemingsbeleid dat je automatisch inschrijft bij het resetten van je wachtwoord. Inschrijving stelt organisatiebeheerders in staat om je hoofdwachtwoord te wijzigen." }, "resetPasswordOrgKeysError": { "message": "Reactie organisatiesleutels is null" }, "resetPasswordDetailsError": { "message": "Reactie Wachtwoordhersteldetails is null" }, "trashCleanupWarning": { "message": "Codes die meer dan 30 dagen in de prullenbak zitten worden automatisch verwijderd." }, "trashCleanupWarningSelfHosted": { "message": "Codes die een tijdje in de prullenbak zitten worden automatisch verwijderd." }, "passwordPrompt": { "message": "Hoofdwachtwoord opnieuw vragen" }, "passwordConfirmation": { "message": "Hoofdwachtwoord bevestigen" }, "passwordConfirmationDesc": { "message": "Deze actie is beveiligd. Voer je hoofdwachtwoord opnieuw in om je identiteit vast te stellen en door te gaan." }, "reinviteSelected": { "message": "Uitnodigingen opnieuw verzenden" }, "noSelectedUsersApplicable": { "message": "Deze actie is niet van toepassing op de geselecteerde gebruikers." }, "removeUsersWarning": { "message": "Weet je zeker dat je de volgende gebruikers wilt verwijderen? Dit proces duurt enkele seconden en kan niet worden onderbroken of geannuleerd." }, "theme": { "message": "Thema" }, "themeDesc": { "message": "Kies een thema voor je webkluis." }, "themeSystem": { "message": "Systeemthema" }, "themeDark": { "message": "Donker" }, "themeLight": { "message": "Licht" }, "confirmSelected": { "message": "Bevestig selectie" }, "bulkConfirmStatus": { "message": "Bulkactie status" }, "bulkConfirmMessage": { "message": "Succesvol bevestigd." }, "bulkReinviteMessage": { "message": "Succesvol opnieuw uitgenodigd." }, "bulkRemovedMessage": { "message": "Succesvol verwijderd" }, "bulkFilteredMessage": { "message": "Uitgezonderd, niet van toepassing voor deze actie." }, "fingerprint": { "message": "Vingerafdruk" }, "removeUsers": { "message": "Gebruikers verwijderen" }, "error": { "message": "Fout" }, "resetPasswordManageUsers": { "message": "Gebruikers beheren moet ingeschakeld zijn met de optie Wachtwoordherstel beheren" }, "setupProvider": { "message": "Providerinstellingen" }, "setupProviderLoginDesc": { "message": "Je bent uitgenodigd om een nieuwe provider in te stellen. Om door te gaan, moet je inloggen of een nieuw Bitwarden-account aanmaken." }, "setupProviderDesc": { "message": "Vul de gegevens hieronder in om de configuratie van de provider te voltooien. Neem contact op met de klantenservice als je vragen hebt." }, "providerName": { "message": "Providernaam" }, "providerSetup": { "message": "De provider is ingesteld." }, "clients": { "message": "Apparaten" }, "providerAdmin": { "message": "Providerbeheerder" }, "providerAdminDesc": { "message": "De gebruiker met de hoogste toegang, die alle aspecten van je provider kan beheren alsmede toegang en klantorganisaties kan beheren." }, "serviceUser": { "message": "Servicegebruiker" }, "serviceUserDesc": { "message": "Servicegebruikers hebben toegang tot alle clientorganisaties en kunnen deze beheren." }, "providerInviteUserDesc": { "message": "Nodig een nieuw gebruikers uit voor je provider door hun Bitwarden-account e-mailadres hieronder in te vullen. Wanneer ze nog geen Bitwarden-account hebben worden ze gevraagd om een nieuw account aan te maken." }, "joinProvider": { "message": "Aansluiten bij provider" }, "joinProviderDesc": { "message": "Je bent uitgenodigd om je aan te sluiten bij de bovenstaande provider. Om de uitnodiging te accepteren, moet je inloggen of een nieuw Bitwarden-account aanmaken." }, "providerInviteAcceptFailed": { "message": "Kan de uitnodiging niet accepteren. Vraag een providerbeheerder om een nieuwe uitnodiging te versturen." }, "providerInviteAcceptedDesc": { "message": "Je krijgt toegang tot deze provider zodra een beheerder je lidmaatschap bevestigt. We sturen je een e-mail wanneer dat gebeurt." }, "providerUsersNeedConfirmed": { "message": "Je hebt gebruikers die hun uitnodiging hebben geaccepteerd, maar die nog moeten worden bevestigd. Gebruikers hebben geen toegang tot de provider totdat ze zijn bevestigd." }, "provider": { "message": "Provider" }, "newClientOrganization": { "message": "Nieuwe klant-organisatie" }, "newClientOrganizationDesc": { "message": "Maak een nieuwe klantorganisatie aan die aan jou als provider zal worden gekoppeld. Je kunt toegang krijgen tot en deze organisatie beheren." }, "addExistingOrganization": { "message": "Bestaande organisatie toevoegen" }, "myProvider": { "message": "Mijn provider" }, "addOrganizationConfirmation": { "message": "Weet je zeker dat je $ORGANIZATION$ als client wilt toevoegen aan $PROVIDER$?", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" }, "provider": { "content": "$2", "example": "My Provider Name" } } }, "organizationJoinedProvider": { "message": "Organisatie succesvol toegevoegd aan de provider" }, "accessingUsingProvider": { "message": "Organisatie benaderen via provider $PROVIDER$", "placeholders": { "provider": { "content": "$1", "example": "My Provider Name" } } }, "providerIsDisabled": { "message": "Provider is uitgeschakeld." }, "providerUpdated": { "message": "Provider bijgewerkt" }, "yourProviderIs": { "message": "Je provider is $PROVIDER$. Ze hebben administratieve- en factuurrechten voor jouw organisatie.", "placeholders": { "provider": { "content": "$1", "example": "My Provider Name" } } }, "detachedOrganization": { "message": "De organisatie $ORGANIZATION$ is losgekoppeld van jouw provider.", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" } } }, "detachOrganizationConfirmation": { "message": "Weet je zeker dat je deze organisatie wilt loskoppelen? De organisatie zal blijven bestaan maar zal niet langer worden beheerd door de provider." }, "add": { "message": "Toevoegen" }, "updatedMasterPassword": { "message": "Hoofdwachtwoord bijgewerkt" }, "updateMasterPassword": { "message": "Hoofdwachtwoord bijwerken" }, "updateMasterPasswordWarning": { "message": "Je hoofdwachtwoord is onlangs veranderd door een beheerder in jouw organisatie. Om toegang te krijgen tot de kluis, moet je deze nu bijwerken. Doorgaan zal je huidige sessie uitloggen, waarna je opnieuw moet inloggen. Actieve sessies op andere apparaten blijven mogelijk nog een uur actief." }, "masterPasswordInvalidWarning": { "message": "Je hoofdwachtwoord voldoet niet aan het beleid van deze organisatie. Om lid te worden van deze organisatie, moet je nu je hoofdwachtwoord veranderen. Als je doorgaat moet je opnieuw inloggen. Sessies op andere apparaten blijven mogelijk nog een uur actief." }, "maximumVaultTimeout": { "message": "Time-out van de kluis" }, "maximumVaultTimeoutDesc": { "message": "Stel een maximale time-out van de kluis in voor alle gebruikers." }, "maximumVaultTimeoutLabel": { "message": "Maximale time-out van de kluis" }, "invalidMaximumVaultTimeout": { "message": "Ongeldige maximale time-out van de kluis." }, "hours": { "message": "Uren" }, "minutes": { "message": "Minuten" }, "vaultTimeoutPolicyInEffect": { "message": "Het beleid van je organisatie heeft invloed op de time-out van je kluis. De maximaal toegestane time-out voor je kluis is $HOURS$ uur en $MINUTES$ minuten", "placeholders": { "hours": { "content": "$1", "example": "5" }, "minutes": { "content": "$2", "example": "5" } } }, "customVaultTimeout": { "message": "Aangepaste time-out van de kluis" }, "vaultTimeoutToLarge": { "message": "Je kluis time-out is hoger dan het maximum van jouw organisatie." }, "disablePersonalVaultExport": { "message": "Persoonlijke kluis exporteren uitschakelen" }, "disablePersonalVaultExportDesc": { "message": "Verbiedt gebruikers om hun privékluisgegevens te exporteren." }, "vaultExportDisabled": { "message": "Kluis exporteren uitgeschakeld" }, "personalVaultExportPolicyInEffect": { "message": "Organisatiebeleid voorkomt dat je je persoonlijke kluis exporteert." }, "selectType": { "message": "Selecteer Type" }, "type": { "message": "Type" }, "openIdConnectConfig": { "message": "OpenID Connect Configuration" }, "samlSpConfig": { "message": "SAML Service Provider Configuration" }, "samlIdpConfig": { "message": "SAML Identity Provider Configuration" }, "callbackPath": { "message": "Callback Path" }, "signedOutCallbackPath": { "message": "Signed Out Callback Path" }, "authority": { "message": "Authority" }, "clientId": { "message": "Client ID" }, "clientSecret": { "message": "Client Secret" }, "metadataAddress": { "message": "Metadata Address" }, "oidcRedirectBehavior": { "message": "OIDC Redirect Behavior" }, "getClaimsFromUserInfoEndpoint": { "message": "Get Claims From User Info Endpoint" }, "additionalScopes": { "message": "Additional/Custom Scopes (comma delimited)" }, "additionalUserIdClaimTypes": { "message": "Additional/Custom User ID Claim Types (comma delimited)" }, "additionalEmailClaimTypes": { "message": "Additional/Custom Email Claim Types (comma delimited)" }, "additionalNameClaimTypes": { "message": "Additional/Custom Name Claim Types (comma delimited)" }, "acrValues": { "message": "Requested Authentication Context Class Reference values (acr_values)" }, "expectedReturnAcrValue": { "message": "Expected \"acr\" Claim Value In Response (acr validation)" }, "spEntityId": { "message": "SP Entity ID" }, "spMetadataUrl": { "message": "SAML 2.0 Metadata URL" }, "spAcsUrl": { "message": "Assertion Consumer Service (ACS) URL" }, "spNameIdFormat": { "message": "Name ID Format" }, "spOutboundSigningAlgorithm": { "message": "Outbound Signing Algorithm" }, "spSigningBehavior": { "message": "Signing Behavior" }, "spMinIncomingSigningAlgorithm": { "message": "Minimum Incoming Signing Algorithm" }, "spWantAssertionsSigned": { "message": "Want Assertions Signed" }, "spValidateCertificates": { "message": "Validate Certificates" }, "idpEntityId": { "message": "Entity ID" }, "idpBindingType": { "message": "Binding Type" }, "idpSingleSignOnServiceUrl": { "message": "Single Sign On Service URL" }, "idpSingleLogoutServiceUrl": { "message": "Single Log Out Service URL" }, "idpX509PublicCert": { "message": "X509 Public Certificate" }, "idpOutboundSigningAlgorithm": { "message": "Outbound Signing Algorithm" }, "idpAllowUnsolicitedAuthnResponse": { "message": "Unsolicited Authentication Response toestaan" }, "idpAllowOutboundLogoutRequests": { "message": "Uitgaande uitlog aanvragen toestaan" }, "idpSignAuthenticationRequests": { "message": "Onderteken authenticatie aanvragen" }, "ssoSettingsSaved": { "message": "Single Sign-On configuratie is opgeslagen." }, "sponsoredFamilies": { "message": "Gratis Bitwarden Families" }, "sponsoredFamiliesEligible": { "message": "Jij en je familie komen in aanmerking voor gratis Bitwarden Families. Verzilver met je persoonlijke e-mail om je gegevens veilig te houden, zelfs als je niet op het werk bent." }, "sponsoredFamiliesEligibleCard": { "message": "Verzilver je gratis Bitwarden Families vandaag om je gegevens veilig te houden, zelfs wanneer je niet aan het werk bent." }, "sponsoredFamiliesInclude": { "message": "Bitwarden Families omvat" }, "sponsoredFamiliesPremiumAccess": { "message": "Premium-toegang voor maximaal 6 gebruikers" }, "sponsoredFamiliesSharedCollections": { "message": "Gedeelde collecties voor familiegeheimen" }, "badToken": { "message": "De link is niet langer geldig. Zorg ervoor dat de sponsors de uitnodiging opnieuw versturen." }, "reclaimedFreePlan": { "message": "Gratis abonnement hergebruikt" }, "redeem": { "message": "Verzilveren" }, "sponsoredFamiliesSelectOffer": { "message": "Selecteer de organisatie die je wilt sponsoren" }, "familiesSponsoringOrgSelect": { "message": "Welke gratis Families wil je inwisselen?" }, "sponsoredFamiliesEmail": { "message": "Voer je persoonlijke e-mailadres in om Bitwarden Families te verzilveren" }, "sponsoredFamiliesLeaveCopy": { "message": "Als je vertrekt of verwijderd wordt uit deze organisatie, vervalt je Families-plan aan het einde van de factureringsperiode." }, "acceptBitwardenFamiliesHelp": { "message": "Accepteer aanbod voor een bestaande organisatie of maak een nieuwe Families-organisatie aan." }, "setupSponsoredFamiliesLoginDesc": { "message": "Je hebt een gratis Bitwarden Families Plan-organisatie aangeboden gekregen. Om door te gaan, moet je inloggen op het account dat de aanbieding heeft ontvangen." }, "sponsoredFamiliesAcceptFailed": { "message": "Kan aanbieding niet accepteren. Verstuur de aanbieding opnieuw via je bedrijfsaccount en probeer het opnieuw." }, "sponsoredFamiliesAcceptFailedShort": { "message": "Kan aanbieding niet accepteren. $DESCRIPTION$", "placeholders": { "description": { "content": "$1", "example": "You must have at least one existing Families Organization." } } }, "sponsoredFamiliesOffer": { "message": "Gratis Bitwarden Families-organisatieaanbod verzilveren" }, "sponsoredFamiliesOfferRedeemed": { "message": "Gratis Bitwarden Families-aanbod succesvol verzilverd" }, "redeemed": { "message": "Verzilverd" }, "redeemedAccount": { "message": "Account verzilverd" }, "revokeAccount": { "message": "Account $NAME$ intrekken", "placeholders": { "name": { "content": "$1", "example": "My Sponsorship Name" } } }, "resendEmailLabel": { "message": "Sponsoring e-mail opnieuw verzenden naar $NAME$", "placeholders": { "name": { "content": "$1", "example": "My Sponsorship Name" } } }, "freeFamiliesPlan": { "message": "Gratis Families Plan" }, "redeemNow": { "message": "Nu verzilveren" }, "recipient": { "message": "Ontvanger" }, "removeSponsorship": { "message": "Sponsoring verwijderen" }, "removeSponsorshipConfirmation": { "message": "Na het verwijderen van sponsoring ben je verantwoordelijk voor dit abonnement en de bijbehorende facturen. Weet je zeker dat je wilt doorgaan?" }, "sponsorshipCreated": { "message": "Sponsoring aangemaakt" }, "revoke": { "message": "Intrekken" }, "emailSent": { "message": "E-mail verzonden" }, "revokeSponsorshipConfirmation": { "message": "Als je dit account verwijderd is de eigenaar van de Families-organisatie verantwoordelijk voor dit abonnement en de bijbehorende facturen. Weet je zeker dat je wilt doorgaan?" }, "removeSponsorshipSuccess": { "message": "Sponsoring verwijderd" }, "ssoKeyConnectorUnavailable": { "message": "Kan de Key Connector niet bereiken, probeer het later opnieuw." }, "keyConnectorUrl": { "message": "Key Connector URL" }, "sendVerificationCode": { "message": "Stuur een verificatiecode naar je e-mail" }, "sendCode": { "message": "Code versturen" }, "codeSent": { "message": "Code verstuurd" }, "verificationCode": { "message": "Verificatiecode" }, "confirmIdentity": { "message": "Bevestig je identiteit om door te gaan." }, "verificationCodeRequired": { "message": "Verificatiecode vereist." }, "invalidVerificationCode": { "message": "Ongeldige verificatiecode" }, "convertOrganizationEncryptionDesc": { "message": "$ORGANIZATION$ gebruikt SSO met een zelf gehoste sleutelserver. Leden van deze organisatie kunnen inloggen zonder hoofdwachtwoord.", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" } } }, "leaveOrganization": { "message": "Organisatie verlaten" }, "removeMasterPassword": { "message": "Hoofdwachtwoord verwijderen" }, "removedMasterPassword": { "message": "Hoofdwachtwoord verwijderd." }, "allowSso": { "message": "SSO-authenticatie toestaan" }, "allowSsoDesc": { "message": "Na het instellen zal uw configuratie worden opgeslagen en kunnen leden zich authenticeren met behulp van hun Identity Provider inloggegevens." }, "ssoPolicyHelpStart": { "message": "Inschakelen", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Enable the SSO Authentication policy to require all members to log in with SSO.'" }, "ssoPolicyHelpLink": { "message": "SSO-beleid", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Enable the SSO Authentication policy to require all members to log in with SSO.'" }, "ssoPolicyHelpEnd": { "message": "om alle leden inloggen met SSO te verplichten.", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Enable the SSO Authentication policy to require all members to log in with SSO.'" }, "ssoPolicyHelpKeyConnector": { "message": "SSO-authenticatie en Enkele Organisatie-beleid zijn vereist voor het instellen van de versleuteling van de Key Connector." }, "memberDecryptionOption": { "message": "Member Decryption Options" }, "memberDecryptionPassDesc": { "message": "Eenmaal ingelogd, ontsleutelen leden kluisgegevens met hun hoofdwachtwoorden." }, "keyConnector": { "message": "Key Connector" }, "memberDecryptionKeyConnectorDesc": { "message": "Verbind Login met SSO met je zelf gehoste decoderingssleutelserver. Met deze optie kunnen leden kluisgegevens ontsleutelen zonder hoofdwachtwoord." }, "keyConnectorPolicyRestriction": { "message": "\"Login met SSO en Key Connector Decryption\" is ingeschakeld. Dit beleid is alleen van toepassing op de eigenaren en beheerders." }, "enabledSso": { "message": "SSO ingeschakeld" }, "disabledSso": { "message": "SSO uitgeschakeld" }, "enabledKeyConnector": { "message": "Key Connector ingeschakeld" }, "disabledKeyConnector": { "message": "Key Connector uigeschakeld" }, "keyConnectorWarning": { "message": "Zodra Key Connector is ingesteld, kunnen Member Decryption Options niet worden gewijzigd." }, "migratedKeyConnector": { "message": "Gemigreerd naar Key Connector" }, "paymentSponsored": { "message": "Geef een betalingsmethode om aan de organisatie te koppelen. Maak je geen zorgen, we brengen niets in rekening tenzij je aanvullende functies kiest of je sponsoring verloopt. " }, "orgCreatedSponsorshipInvalid": { "message": "De sponsoring is verlopen. Je kunt de organisatie die je hebt aangemaakt verwijderen om kosten aan het einde van je proefperiode van 7 dagen te voorkomen. Anders kun je deze pop-up sluiten om de organisatie te behouden en factureringsverantwoordelijkheid te nemen." }, "newFamiliesOrganization": { "message": "Nieuwe Families-oganisatie" }, "acceptOffer": { "message": "Aanbod accepteren" }, "sponsoringOrg": { "message": "Sponsoringorganisatie" }, "keyConnectorTest": { "message": "Test" }, "keyConnectorTestSuccess": { "message": "Gelukt! Key Connector bereikt." }, "keyConnectorTestFail": { "message": "Kan Key Connector niet bereiken. Controleer de URL." }, "sponsorshipTokenHasExpired": { "message": "De sponsoring is verlopen." }, "freeWithSponsorship": { "message": "GRATIS met sponsoring" }, "formErrorSummaryPlural": { "message": "$COUNT$ velden hierboven vereisen je aandacht.", "placeholders": { "count": { "content": "$1", "example": "5" } } }, "formErrorSummarySingle": { "message": "1 veld hierboven vereist je aandacht." }, "fieldRequiredError": { "message": "$FIELDNAME$ is vereist.", "placeholders": { "fieldname": { "content": "$1", "example": "Full name" } } }, "required": { "message": "vereist" }, "idpSingleSignOnServiceUrlRequired": { "message": "Vereist als Entiteit ID geen URL is." }, "openIdOptionalCustomizations": { "message": "Optionele aanpassingen" }, "openIdAuthorityRequired": { "message": "Vereist als Autoriteit niet geldig is." }, "separateMultipleWithComma": { "message": "Scheid meerdere met kommas." }, "sessionTimeout": { "message": "Je sessie is verlopen. Ga terug en probeer opnieuw in te loggen." }, "exportingPersonalVaultTitle": { "message": "Persoonlijke kluis exporteren" }, "exportingOrganizationVaultTitle": { "message": "Organisatiekluis exporteren" }, "exportingPersonalVaultDescription": { "message": "Exporteert alleen de persoonlijke kluis-items gerelateerd aan $EMAIL$. Geen kluis-items van de organisatie.", "placeholders": { "email": { "content": "$1", "example": "name@example.com" } } }, "exportingOrganizationVaultDescription": { "message": "Exporteert alleen de organisatiekluis van $ORGANIZATION$. Geen persoonlijke kluis-items of items van andere organisaties.", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" } } }, "backToReports": { "message": "Terug naar rapporten" }, "generator": { "message": "Generator" }, "whatWouldYouLikeToGenerate": { "message": "Wat wil je genereren?" }, "passwordType": { "message": "Type wachtwoord" }, "regenerateUsername": { "message": "Gebruikersnaam opnieuw genereren" }, "generateUsername": { "message": "Gebruikersnaam genereren" }, "usernameType": { "message": "Type gebruikersnaam" }, "plusAddressedEmail": { "message": "Plus Addressed Email", "description": "Username generator option that appends a random sub-address to the username. For example: address+subaddress@email.com" }, "plusAddressedEmailDesc": { "message": "Use your email provider's sub-addressing capabilities." }, "catchallEmail": { "message": "Catch-all e-mail" }, "catchallEmailDesc": { "message": "Use your domain's configured catch-all inbox." }, "random": { "message": "Willekeurig" }, "randomWord": { "message": "Willekeurig woord" }, "service": { "message": "Dienst" } }
bitwarden/web/src/locales/nl/messages.json/0
{ "file_path": "bitwarden/web/src/locales/nl/messages.json", "repo_id": "bitwarden", "token_count": 61283 }
149
{ "pageTitle": { "message": "$APP_NAME$ 網頁版密碼庫", "description": "The title of the website in the browser window.", "placeholders": { "app_name": { "content": "$1", "example": "Bitwarden" } } }, "whatTypeOfItem": { "message": "這是什麼類型的項目?" }, "name": { "message": "名稱" }, "uri": { "message": "URI" }, "uriPosition": { "message": "URI $POSITION$", "description": "A listing of URIs. Ex: URI 1, URI 2, URI 3, etc.", "placeholders": { "position": { "content": "$1", "example": "2" } } }, "newUri": { "message": "新增 URI" }, "username": { "message": "使用者名稱" }, "password": { "message": "密碼" }, "newPassword": { "message": "新密碼" }, "passphrase": { "message": "密碼短語" }, "notes": { "message": "備註" }, "customFields": { "message": "自訂欄位" }, "cardholderName": { "message": "持卡人姓名" }, "number": { "message": "號碼" }, "brand": { "message": "發卡組織" }, "expiration": { "message": "逾期" }, "securityCode": { "message": "安全代碼 (CVV)" }, "identityName": { "message": "身分名稱" }, "company": { "message": "公司" }, "ssn": { "message": "社會保險號碼" }, "passportNumber": { "message": "護照號碼" }, "licenseNumber": { "message": "許可證號碼" }, "email": { "message": "電子郵件" }, "phone": { "message": "電話號碼" }, "january": { "message": "一月" }, "february": { "message": "二月" }, "march": { "message": "三月" }, "april": { "message": "四月" }, "may": { "message": "五月" }, "june": { "message": "六月" }, "july": { "message": "七月" }, "august": { "message": "八月" }, "september": { "message": "九月" }, "october": { "message": "十月" }, "november": { "message": "十一月" }, "december": { "message": "十二月" }, "title": { "message": "稱呼" }, "mr": { "message": "Mr" }, "mrs": { "message": "Mrs" }, "ms": { "message": "Ms" }, "dr": { "message": "Dr" }, "expirationMonth": { "message": "逾期月份" }, "expirationYear": { "message": "逾期年份" }, "authenticatorKeyTotp": { "message": "驗證器金鑰 (TOTP)" }, "folder": { "message": "資料夾" }, "newCustomField": { "message": "新增自訂欄位" }, "value": { "message": "值" }, "dragToSort": { "message": "透過拖曳來排序" }, "cfTypeText": { "message": "文字型" }, "cfTypeHidden": { "message": "隱藏型" }, "cfTypeBoolean": { "message": "布林值" }, "cfTypeLinked": { "message": "連結型", "description": "This describes a field that is 'linked' (related) to another field." }, "remove": { "message": "移除" }, "unassigned": { "message": "未指派" }, "noneFolder": { "message": "(未分類)", "description": "This is the folder for uncategorized items" }, "addFolder": { "message": "新增資料夾" }, "editFolder": { "message": "編輯資料夾" }, "baseDomain": { "message": "基底網域", "description": "Domain name. Ex. website.com" }, "domainName": { "message": "網域名稱", "description": "Domain name. Ex. website.com" }, "host": { "message": "主機", "description": "A URL's host value. For example, the host of https://sub.domain.com:443 is 'sub.domain.com:443'." }, "exact": { "message": "完全相符" }, "startsWith": { "message": "開始於" }, "regEx": { "message": "規則運算式", "description": "A programming term, also known as 'RegEx'." }, "matchDetection": { "message": "一致性偵測", "description": "URI match detection for auto-fill." }, "defaultMatchDetection": { "message": "預設一致性偵測", "description": "Default URI match detection for auto-fill." }, "never": { "message": "永不" }, "toggleVisibility": { "message": "切換可見度" }, "toggleCollapse": { "message": "切換折疊", "description": "Toggling an expand/collapse state." }, "generatePassword": { "message": "產生密碼" }, "checkPassword": { "message": "檢查密碼是否已外洩。" }, "passwordExposed": { "message": "此密碼已外洩了 $VALUE$ 次,應立即變更密碼。", "placeholders": { "value": { "content": "$1", "example": "2" } } }, "passwordSafe": { "message": "任何已知的外洩密碼資料庫中都沒有此密碼,它目前是安全的。" }, "save": { "message": "儲存" }, "cancel": { "message": "取消" }, "canceled": { "message": "已取消" }, "close": { "message": "關閉" }, "delete": { "message": "刪除" }, "favorite": { "message": "我的最愛" }, "unfavorite": { "message": "取消最愛" }, "edit": { "message": "編輯" }, "searchCollection": { "message": "搜尋集合" }, "searchFolder": { "message": "搜尋資料夾" }, "searchFavorites": { "message": "搜尋我的最愛" }, "searchType": { "message": "搜尋類型", "description": "Search item type" }, "searchVault": { "message": "搜尋密碼庫" }, "allItems": { "message": "所有項目" }, "favorites": { "message": "我的最愛" }, "types": { "message": "類型" }, "typeLogin": { "message": "登入" }, "typeCard": { "message": "支付卡" }, "typeIdentity": { "message": "身分" }, "typeSecureNote": { "message": "安全筆記" }, "typeLoginPlural": { "message": "登入資料" }, "typeCardPlural": { "message": "支付卡" }, "typeIdentityPlural": { "message": "身分" }, "typeSecureNotePlural": { "message": "安全筆記" }, "folders": { "message": "資料夾" }, "collections": { "message": "集合" }, "firstName": { "message": "名" }, "middleName": { "message": "中間名" }, "lastName": { "message": "姓" }, "fullName": { "message": "全名" }, "address1": { "message": "地址 1" }, "address2": { "message": "地址 2" }, "address3": { "message": "地址 3" }, "cityTown": { "message": "市/鎮" }, "stateProvince": { "message": "州/省" }, "zipPostalCode": { "message": "郵遞區號" }, "country": { "message": "國家" }, "shared": { "message": "已共用" }, "attachments": { "message": "附件" }, "select": { "message": "選擇" }, "addItem": { "message": "新增項目" }, "editItem": { "message": "編輯項目" }, "viewItem": { "message": "檢視項目" }, "ex": { "message": "例如", "description": "Short abbreviation for 'example'." }, "other": { "message": "其他" }, "share": { "message": "共用" }, "moveToOrganization": { "message": "移動至組織" }, "valueCopied": { "message": "$VALUE$ 已複製", "description": "Value has been copied to the clipboard.", "placeholders": { "value": { "content": "$1", "example": "Password" } } }, "copyValue": { "message": "複製值", "description": "Copy value to clipboard" }, "copyPassword": { "message": "複製密碼", "description": "Copy password to clipboard" }, "copyUsername": { "message": "複製使用者名稱", "description": "Copy username to clipboard" }, "copyNumber": { "message": "複製號碼", "description": "Copy credit card number" }, "copySecurityCode": { "message": "複製安全代碼", "description": "Copy credit card security code (CVV)" }, "copyUri": { "message": "複製 URI", "description": "Copy URI to clipboard" }, "myVault": { "message": "我的密碼庫" }, "vault": { "message": "密碼庫" }, "moveSelectedToOrg": { "message": "移動已選取項目至組織" }, "deleteSelected": { "message": "刪除已選取項目" }, "moveSelected": { "message": "移動已選取項目" }, "selectAll": { "message": "全選" }, "unselectAll": { "message": "取消全選" }, "launch": { "message": "啟動" }, "newAttachment": { "message": "新增附件" }, "deletedAttachment": { "message": "附件已刪除" }, "deleteAttachmentConfirmation": { "message": "確定要刪除此附件嗎?" }, "attachmentSaved": { "message": "附件已儲存。" }, "file": { "message": "檔案" }, "selectFile": { "message": "選擇檔案。" }, "maxFileSize": { "message": "檔案最大為 500MB。" }, "updateKey": { "message": "更新加密金鑰前不能使用此功能。" }, "addedItem": { "message": "已新增項目" }, "editedItem": { "message": "已編輯項目" }, "movedItemToOrg": { "message": "已將 $ITEMNAME$ 移動至 $ORGNAME$", "placeholders": { "itemname": { "content": "$1", "example": "Secret Item" }, "orgname": { "content": "$2", "example": "Company Name" } } }, "movedItemsToOrg": { "message": "將已選取項目移動至 $ORGNAME$", "placeholders": { "orgname": { "content": "$1", "example": "Company Name" } } }, "deleteItem": { "message": "刪除項目" }, "deleteFolder": { "message": "刪除資料夾" }, "deleteAttachment": { "message": "刪除附件" }, "deleteItemConfirmation": { "message": "確定要刪除此項目嗎?" }, "deletedItem": { "message": "項目已移至垃圾桶" }, "deletedItems": { "message": "項目已移至垃圾桶" }, "movedItems": { "message": "已移動項目" }, "overwritePasswordConfirmation": { "message": "您確定要覆寫目前的密碼嗎?" }, "editedFolder": { "message": "已編輯資料夾" }, "addedFolder": { "message": "已新增資料夾" }, "deleteFolderConfirmation": { "message": "您確定要刪除此資料夾嗎?" }, "deletedFolder": { "message": "已刪除的資料夾" }, "loggedOut": { "message": "已登出" }, "loginExpired": { "message": "您的登入工作階段已逾期。" }, "logOutConfirmation": { "message": "您確定要登出嗎?" }, "logOut": { "message": "登出" }, "ok": { "message": "確定" }, "yes": { "message": "是" }, "no": { "message": "否" }, "loginOrCreateNewAccount": { "message": "登入或建立帳戶以存取您的安全密碼庫。" }, "createAccount": { "message": "建立帳戶" }, "logIn": { "message": "登入" }, "submit": { "message": "送出" }, "emailAddressDesc": { "message": "您需要使用您的電子郵件地址登入。" }, "yourName": { "message": "您的名稱" }, "yourNameDesc": { "message": "我們應該怎樣稱呼您?" }, "masterPass": { "message": "主密碼" }, "masterPassDesc": { "message": "主密碼是用於存取密碼庫的密碼。它非常重要,請您不要忘記它。若您忘記了主密碼,沒有任何方法能將其復原。" }, "masterPassHintDesc": { "message": "主密碼提示可以在您忘記主密碼時幫助您回憶主密碼。" }, "reTypeMasterPass": { "message": "重新輸入主密碼" }, "masterPassHint": { "message": "主密碼提示(選用)" }, "masterPassHintLabel": { "message": "主密碼提示" }, "settings": { "message": "設定" }, "passwordHint": { "message": "密碼提示" }, "enterEmailToGetHint": { "message": "請輸入您的帳户電子郵件地址以接收主密碼提示。" }, "getMasterPasswordHint": { "message": "取得主密碼提示" }, "emailRequired": { "message": "必須填入電子郵件地址 。" }, "invalidEmail": { "message": "無效的電子郵件地址。" }, "masterPassRequired": { "message": "必須填入主密碼。" }, "masterPassLength": { "message": "主密碼需要至少 8 個字元。" }, "masterPassDoesntMatch": { "message": "兩次填入的主密碼不相符。" }, "newAccountCreated": { "message": "帳戶已建立!現在可以登入了。" }, "masterPassSent": { "message": "已傳送包含您主密碼提示的電子郵件。" }, "unexpectedError": { "message": "發生了未預期的錯誤。" }, "emailAddress": { "message": "電子郵件地址" }, "yourVaultIsLocked": { "message": "密碼庫已鎖定。請驗證主密碼以繼續。" }, "unlock": { "message": "解鎖" }, "loggedInAsEmailOn": { "message": "已在 $HOSTNAME$ 上以 $EMAIL$ 身份登入。", "placeholders": { "email": { "content": "$1", "example": "name@example.com" }, "hostname": { "content": "$2", "example": "bitwarden.com" } } }, "invalidMasterPassword": { "message": "無效的主密碼" }, "lockNow": { "message": "立即鎖定" }, "noItemsInList": { "message": "沒有可列出的項目。" }, "noCollectionsInList": { "message": "沒有可列出的集合。" }, "noGroupsInList": { "message": "沒有可列出的群組。" }, "noUsersInList": { "message": "沒有可列出的使用者。" }, "noEventsInList": { "message": "沒有可列出的事件。" }, "newOrganization": { "message": "新增組織" }, "noOrganizationsList": { "message": "您沒有加入任何組織。組織允許您與其他使用者安全地共用項目。" }, "versionNumber": { "message": "版本 $VERSION_NUMBER$", "placeholders": { "version_number": { "content": "$1", "example": "1.2.3" } } }, "enterVerificationCodeApp": { "message": "輸入驗證器應用程式提供的 6 位數驗證碼。" }, "enterVerificationCodeEmail": { "message": "輸入已傳送至 $EMAIL$ 的 6 位數驗證碼。", "placeholders": { "email": { "content": "$1", "example": "example@gmail.com" } } }, "verificationCodeEmailSent": { "message": "已傳送驗證電子郵件至 $EMAIL$。", "placeholders": { "email": { "content": "$1", "example": "example@gmail.com" } } }, "rememberMe": { "message": "記住我" }, "sendVerificationCodeEmailAgain": { "message": "再次傳送​​包含驗證碼的電子郵件" }, "useAnotherTwoStepMethod": { "message": "使用另一種兩步驟登入方法" }, "insertYubiKey": { "message": "將您的 YubiKey 插入電腦的 USB 連接埠,然後按一下它的按鈕。" }, "insertU2f": { "message": "將您的安全金鑰插入電腦的 USB 連接埠,然後按一下它的按鈕(如有的話)。" }, "loginUnavailable": { "message": "無法登入" }, "noTwoStepProviders": { "message": "此帳戶已啟用兩步驟登入,但是本瀏覽器不支援已設定的兩步驟登入方法。" }, "noTwoStepProviders2": { "message": "請使用已支援的瀏覽器(例如 Chrome ),及/或新增可以更好地跨瀏覽器的兩步驟登入方法(例如驗證器應用程式)。" }, "twoStepOptions": { "message": "兩步驟登入選項" }, "recoveryCodeDesc": { "message": "無法使用任何雙因素提供程式嗎?請使用您的復原碼以停用您帳戶的所有雙因素提供程式。" }, "recoveryCodeTitle": { "message": "復原碼" }, "authenticatorAppTitle": { "message": "驗證器應用程式" }, "authenticatorAppDesc": { "message": "使用驗證器應用程式 (如 Authy 或 Google Authenticator) 產生基於時間的驗證碼。", "description": "'Authy' and 'Google Authenticator' are product names and should not be translated." }, "yubiKeyTitle": { "message": "YubiKey OTP 安全金鑰" }, "yubiKeyDesc": { "message": "使用 YubiKey 存取您的帳戶。支援 YubiKey 4 系列、5 系列以及 NEO 裝置。" }, "duoDesc": { "message": "使用 Duo Security 的 Duo Mobile 程式、SMS 、撥打電話或 U2F 安全金鑰進行驗證。", "description": "'Duo Security' and 'Duo Mobile' are product names and should not be translated." }, "duoOrganizationDesc": { "message": "為您的組織使用 Duo Security 的 Duo Mobile 程式、SMS、撥打電話或 U2F 安全金鑰進行驗證。", "description": "'Duo Security' and 'Duo Mobile' are product names and should not be translated." }, "u2fDesc": { "message": "使用任何啟用了 FIDO U2F 的安全金鑰來存取您的帳戶。" }, "u2fTitle": { "message": "FIDO U2F 安全金鑰" }, "webAuthnTitle": { "message": "FIDO2 WebAuthn" }, "webAuthnDesc": { "message": "使用任何具有 WebAuthn 功能的安全金鑰以存取您的帳戶。" }, "webAuthnMigrated": { "message": "(遷移自 FIDO)" }, "emailTitle": { "message": "電子郵件" }, "emailDesc": { "message": "使用電子郵件傳送驗證碼給您。" }, "continue": { "message": "繼續" }, "organization": { "message": "組織" }, "organizations": { "message": "組織" }, "moveToOrgDesc": { "message": "選擇您希望將這個項目移動至哪個組織。項目的擁有權將會轉移至該組織。轉移之後,您將不再是此項目的直接擁有者。" }, "moveManyToOrgDesc": { "message": "選擇您希望將這些項目移動至哪個組織。項目的擁有權將會轉移至該組織。轉移之後,您將不再是這些項目的直接擁有者。" }, "collectionsDesc": { "message": "編輯與此項目共享的集合。只有具有這些集合存取權限的組織使用者才能夠看到此項目。" }, "deleteSelectedItemsDesc": { "message": "您已經選取了 $COUNT$ 個項目要刪除。確定要刪除這些項目嗎 ?", "placeholders": { "count": { "content": "$1", "example": "150" } } }, "moveSelectedItemsDesc": { "message": "選擇要將這 $COUNT$ 個項目移動至哪個資料夾。", "placeholders": { "count": { "content": "$1", "example": "150" } } }, "moveSelectedItemsCountDesc": { "message": "你選擇了 $COUNT$ 個項目。當中有 $MOVEABLE_COUNT$ 個項目可移動到組織當中,而有 $NONMOVEABLE_COUNT$ 個無法移動。", "placeholders": { "count": { "content": "$1", "example": "10" }, "moveable_count": { "content": "$2", "example": "8" }, "nonmoveable_count": { "content": "$3", "example": "2" } } }, "verificationCodeTotp": { "message": "驗證碼 (TOTP)" }, "copyVerificationCode": { "message": "複製驗證碼" }, "warning": { "message": "警告" }, "confirmVaultExport": { "message": "確認匯出密碼庫" }, "exportWarningDesc": { "message": "此次匯出的密碼庫檔案為未加密格式。您不應將它存放或經由不安全的方式(例如電子郵件)傳送。用完後請立即將它刪除。" }, "encExportKeyWarningDesc": { "message": "將使用您帳戶的加密金鑰來加密匯出的資料,若您更新了帳戶的加密金鑰,請重新匯出,否則將無法解密匯出的檔案。" }, "encExportAccountWarningDesc": { "message": "每個 Bitwarden 使用者帳戶的帳戶加密金鑰都不相同,因此無法將已加密匯出的檔案匯入至不同帳戶中。" }, "export": { "message": "匯出" }, "exportVault": { "message": "匯出密碼庫" }, "fileFormat": { "message": "檔案格式" }, "exportSuccess": { "message": "已匯出您的密碼庫資料。" }, "passwordGenerator": { "message": "密碼產生器" }, "minComplexityScore": { "message": "最小複雜度" }, "minNumbers": { "message": "最少數字位數" }, "minSpecial": { "message": "最少符號位數", "description": "Minimum Special Characters" }, "ambiguous": { "message": "避免易混淆的字元" }, "regeneratePassword": { "message": "重新產生密碼" }, "length": { "message": "長度" }, "numWords": { "message": "字數" }, "wordSeparator": { "message": "文字分隔字元" }, "capitalize": { "message": "大寫", "description": "Make the first letter of a work uppercase." }, "includeNumber": { "message": "包含數字" }, "passwordHistory": { "message": "密碼歷史記錄" }, "noPasswordsInList": { "message": "沒有可列出的密碼。" }, "clear": { "message": "清除", "description": "To clear something out. example: To clear browser history." }, "accountUpdated": { "message": "帳戶已更新" }, "changeEmail": { "message": "變更電子郵件" }, "changeEmailTwoFactorWarning": { "message": "繼續操作將變更您的帳戶電子郵件地址。這不會變更用於雙因素驗證的電子郵件地址。您可以在雙因素登入設定中變更它。" }, "newEmail": { "message": "新的電子郵件" }, "code": { "message": "代碼" }, "changeEmailDesc": { "message": "我們已傳送電子郵件至 $EMAIL$。請檢查您的電子郵件信箱以取得驗證碼,並在下方輸入驗證碼以完成電子郵件地址的變更。", "placeholders": { "email": { "content": "$1", "example": "john.smith@example.com" } } }, "loggedOutWarning": { "message": "接下來會登出目前工作階段,並要求您重新登入帳戶。其他裝置上的工作階段最多會保持一個小時。" }, "emailChanged": { "message": "已變更電子郵件" }, "logBackIn": { "message": "請重新登入。" }, "logBackInOthersToo": { "message": "請重新登入。若您還在使用其他 Bitwarden 應用程式,也請登出後再重新登入。" }, "changeMasterPassword": { "message": "變更主密碼" }, "masterPasswordChanged": { "message": "主密碼已變更" }, "currentMasterPass": { "message": "目前的主密碼" }, "newMasterPass": { "message": "新的主密碼" }, "confirmNewMasterPass": { "message": "確認新的主密碼" }, "encKeySettings": { "message": "加密金鑰設定" }, "kdfAlgorithm": { "message": "KDF 演算法" }, "kdfIterations": { "message": "KDF 迭代" }, "kdfIterationsDesc": { "message": "較高的 KDF 迭代次數可以避免您的主密碼遭到暴力破解。我們建議為 $VALUE$ 或更高。", "placeholders": { "value": { "content": "$1", "example": "100,000" } } }, "kdfIterationsWarning": { "message": "若將 KDF 迭代次數設定太高會導致在 CPU 較慢的裝置上登入(與解鎖)Bitwarden 時降低效能。我們建議您以 $INCREMENT$ 的增量值遞增並在所有的裝置上測試。", "placeholders": { "increment": { "content": "$1", "example": "50,000" } } }, "changeKdf": { "message": "變更 KDF" }, "encKeySettingsChanged": { "message": "加密金鑰設定已變更" }, "dangerZone": { "message": "危險操作區" }, "dangerZoneDesc": { "message": "小心,這些動作無法復原!" }, "deauthorizeSessions": { "message": "取消工作階段授權" }, "deauthorizeSessionsDesc": { "message": "您是否擔心自己的帳戶在其他裝置上保持登入?請遵照以下步驟取消對之前使用過的所有電腦和裝置的授權。若您以前使用過公用電腦或不小心曾將密碼儲存在不屬於您的裝置上,則建議執行此安全步驟,此操作還將清除所有以前記住的兩步驟登入工作階段。" }, "deauthorizeSessionsWarning": { "message": "接下來會登出目前的工作階段,並要求您重新登入。若您有設定兩步驟登入,也需重新驗證。其他裝置上的活動工作階段最多會保持一個小時。" }, "sessionsDeauthorized": { "message": "已取消所有工作階段授權" }, "purgeVault": { "message": "清空密碼庫" }, "purgedOrganizationVault": { "message": "已清空組織的密碼庫。" }, "vaultAccessedByProvider": { "message": "提供者存取了密碼庫。" }, "purgeVaultDesc": { "message": "接下來的操作會刪除密碼庫當中的所有項目與資料夾。屬於組織的共用項目將不會刪除。" }, "purgeOrgVaultDesc": { "message": "接下來的操作將刪除密碼庫當中的所有項目。" }, "purgeVaultWarning": { "message": "清空密碼庫是永久性的。並且無法復原。" }, "vaultPurged": { "message": "已清空您的密碼庫。" }, "deleteAccount": { "message": "刪除帳戶" }, "deleteAccountDesc": { "message": "接下來的操作將刪除您的帳戶及所有相關資料。" }, "deleteAccountWarning": { "message": "刪除您的帳戶是永久性的。並且無法復原。" }, "accountDeleted": { "message": "已刪除帳戶" }, "accountDeletedDesc": { "message": "您的帳戶已經關閉,所有關聯的資料已經被刪除。" }, "myAccount": { "message": "我的帳戶" }, "tools": { "message": "工具" }, "importData": { "message": "匯入資料" }, "importError": { "message": "匯入錯誤" }, "importErrorDesc": { "message": "您嘗試匯入的資料有問題,請處理下方列出的來源檔案中的錯誤然後再試一次。" }, "importSuccess": { "message": "資料已經成功匯入至您的密碼庫中。" }, "importWarning": { "message": "即將匯入資料至 $ORGANIZATION$。您的資料可能會與該組織中的成員共用,確定要繼續嗎?", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" } } }, "importFormatError": { "message": "資料格式不正確。請檢查您匯入的檔案後再試一次。" }, "importNothingError": { "message": "沒有匯入任何內容。" }, "importEncKeyError": { "message": "解密匯出的檔案時發生錯誤,您的加密金鑰與匯出資料時使用的金鑰不同。" }, "selectFormat": { "message": "選擇匯入檔案的格式" }, "selectImportFile": { "message": "選擇要匯入的檔案" }, "orCopyPasteFileContents": { "message": "或複製/貼上要匯入的檔案內容" }, "instructionsFor": { "message": "$NAME$ 教學", "description": "The title for the import tool instructions.", "placeholders": { "name": { "content": "$1", "example": "LastPass (csv)" } } }, "options": { "message": "選項" }, "optionsDesc": { "message": "自訂您的網頁版密碼庫" }, "optionsUpdated": { "message": "已更新選項" }, "language": { "message": "語言" }, "languageDesc": { "message": "變更網頁版密碼庫使用的語言。" }, "disableIcons": { "message": "停用網站圖示顯示功能" }, "disableIconsDesc": { "message": "在您密碼庫的每個登入資料旁顯示一個可辨識的圖示。" }, "enableGravatars": { "message": "啟用 Gravatars 頭像", "description": "'Gravatar' is the name of a service. See www.gravatar.com" }, "enableGravatarsDesc": { "message": "載入 gravatar.com 上的頭像圖片。" }, "enableFullWidth": { "message": "啟用全寬度版面配置", "description": "Allows scaling the web vault UI's width" }, "enableFullWidthDesc": { "message": "允許將網頁版密碼庫完全展開至瀏覽器視窗寬度。" }, "default": { "message": "預設" }, "domainRules": { "message": "網域規則" }, "domainRulesDesc": { "message": "如果您在多個不同網站使用相同的登入資料,您可以將這些網站標記為「通用」。Bitwarden 會為您設定 「全域」域名。" }, "globalEqDomains": { "message": "全域通用域名" }, "customEqDomains": { "message": "自訂通用域名" }, "exclude": { "message": "排除" }, "include": { "message": "包含" }, "customize": { "message": "自訂" }, "newCustomDomain": { "message": "新增自訂網域" }, "newCustomDomainDesc": { "message": "輸入以逗號分隔的網域清單。只允許輸入「基本」網域,請勿輸入子網域名稱。例如,輸入「google.com」即可,而非「www.google.com」。您也可以輸入「androidapp://package.name」來將 Android 應用程式與其他網域名稱建立關聯。" }, "customDomainX": { "message": "自訂網域 $INDEX$", "placeholders": { "index": { "content": "$1", "example": "2" } } }, "domainsUpdated": { "message": "網域已更新" }, "twoStepLogin": { "message": "兩步驟登入" }, "twoStepLoginDesc": { "message": "在登入時執行額外的步驟來保護您的帳戶。" }, "twoStepLoginOrganizationDesc": { "message": "可透過組織等級來設定提供方式,以要求所有使用者都必須開啟兩步驟登入。" }, "twoStepLoginRecoveryWarning": { "message": "啟用兩步驟登入可能會將您永久鎖定在您的 Bitwarden 帳戶外。如果您無法正常使用兩步驟登入驗證應用程式(例如,您遺失了裝置),則可以使用復原碼存取您的帳戶。 如果您失去帳戶的存取權限,Bitwarden 也無法幫助您。所以我們建議您記下或列印復原碼,並將其妥善保存。" }, "viewRecoveryCode": { "message": "檢視復原碼" }, "providers": { "message": "提供者", "description": "Two-step login providers such as YubiKey, Duo, Authenticator apps, Email, etc." }, "enable": { "message": "啟用" }, "enabled": { "message": "已啟用" }, "premium": { "message": "進階版", "description": "Premium Membership" }, "premiumMembership": { "message": "進階會員" }, "premiumRequired": { "message": "需要進階會員資格" }, "premiumRequiredDesc": { "message": "進階會員才可使用此功能。" }, "youHavePremiumAccess": { "message": "您有進階版存取權限" }, "alreadyPremiumFromOrg": { "message": "由於您是擁有進階會員功能的組織的成員,您已獲得進階功能。" }, "manage": { "message": "管理" }, "disable": { "message": "停用" }, "twoStepLoginProviderEnabled": { "message": "您的帳戶已啟用兩步驟登入" }, "twoStepLoginAuthDesc": { "message": "輸入您的主密碼以修改兩步驟登入設定。" }, "twoStepAuthenticatorDesc": { "message": "請依照下列步驟設定使用驗證器應用程式的兩步驟登入:" }, "twoStepAuthenticatorDownloadApp": { "message": "下載兩步驟驗證器應用程式" }, "twoStepAuthenticatorNeedApp": { "message": "需要驗證器應用程式嗎?您可以下載以下應用程式:" }, "iosDevices": { "message": "iOS 裝置" }, "androidDevices": { "message": "Android 裝置" }, "windowsDevices": { "message": "Windows 裝置" }, "twoStepAuthenticatorAppsRecommended": { "message": "推薦使用下列的應用程式,您也可使用其他驗證器應用程式。" }, "twoStepAuthenticatorScanCode": { "message": "使用您的驗證器應用程式掃描此 QR Code" }, "key": { "message": "金鑰" }, "twoStepAuthenticatorEnterCode": { "message": "請輸入應用程式產生的 6 位數驗證碼" }, "twoStepAuthenticatorReaddDesc": { "message": "若您需要將其加入其他裝置,以下是您的驗證器應用程式所需要的 QR Code(或金鑰)。" }, "twoStepDisableDesc": { "message": "您確定要停用兩步驟登入嗎?" }, "twoStepDisabled": { "message": "已停用兩步驟登入方式。" }, "twoFactorYubikeyAdd": { "message": "新增 YubiKey 至您的帳戶。" }, "twoFactorYubikeyPlugIn": { "message": "將 YubiKey 插入電腦的 USB 連接埠。" }, "twoFactorYubikeySelectKey": { "message": "於下方選擇第一個空白的 YubiKey 輸入欄位。" }, "twoFactorYubikeyTouchButton": { "message": "按下 YubiKey 的按鈕。" }, "twoFactorYubikeySaveForm": { "message": "儲存表單" }, "twoFactorYubikeyWarning": { "message": "由於平台限制,無法於所有 Bitwarden 應用程式中使用 YubiKey。請開啟另一套兩步驟登入方式,以確保可在 YubiKey 無法使用時還能存取您的帳戶。支援的平台有:" }, "twoFactorYubikeySupportUsb": { "message": "具有 USB 連接埠的電腦上的網頁版密碼庫、桌面應用程式、命令列介面以及所有瀏覽器擴充套件均可使用您的 YubiKey 。" }, "twoFactorYubikeySupportMobile": { "message": "在具有 NFC 功能或擁有資料連接埠的裝置上的行動應用程式可使用您的 YubiKey。" }, "yubikeyX": { "message": "YubiKey $INDEX$", "placeholders": { "index": { "content": "$1", "example": "2" } } }, "u2fkeyX": { "message": "U2F 金鑰 $INDEX$", "placeholders": { "index": { "content": "$1", "example": "2" } } }, "webAuthnkeyX": { "message": "WebAuthn 金鑰 $INDEX$", "placeholders": { "index": { "content": "$1", "example": "2" } } }, "nfcSupport": { "message": "NFC 支援" }, "twoFactorYubikeySupportsNfc": { "message": "我有一把金鑰支援 NFC。" }, "twoFactorYubikeySupportsNfcDesc": { "message": "若您有一個支援 NFC 的 YubiKey(例如 YubiKey NEO),行動裝置在感應到 NFC 時將提示您。" }, "yubikeysUpdated": { "message": "YubiKey 已更新" }, "disableAllKeys": { "message": "停用全部金鑰" }, "twoFactorDuoDesc": { "message": "請輸入來自您的 Duo 管理面板的 Bitwarden 應用程式資訊。" }, "twoFactorDuoIntegrationKey": { "message": "整合金鑰" }, "twoFactorDuoSecretKey": { "message": "私密金鑰" }, "twoFactorDuoApiHostname": { "message": "API 主機名稱" }, "twoFactorEmailDesc": { "message": "請依照下列步驟設定使用電子郵件的兩步驟登入:" }, "twoFactorEmailEnterEmail": { "message": "輸入您想用來接收驗證碼的電子郵件地址" }, "twoFactorEmailEnterCode": { "message": "請輸入電子郵件中的 6 位數驗證碼" }, "sendEmail": { "message": "傳送電子郵件" }, "twoFactorU2fAdd": { "message": "在您的帳戶中新增 FIDO U2F 安全金鑰" }, "removeU2fConfirmation": { "message": "您確定要移除這把安全金鑰嗎?" }, "twoFactorWebAuthnAdd": { "message": "在您的帳戶中新增 WebAuthn 安全金鑰" }, "readKey": { "message": "讀取金鑰" }, "keyCompromised": { "message": "金鑰已損壞。" }, "twoFactorU2fGiveName": { "message": "幫安全金鑰取一個易記名稱,以方便辨識。" }, "twoFactorU2fPlugInReadKey": { "message": "請將安全金鑰插入您電腦的 USB 連接埠,並按下「讀取鑰匙」按鈕。" }, "twoFactorU2fTouchButton": { "message": "若安全金鑰有按鈕,請按下它。" }, "twoFactorU2fSaveForm": { "message": "儲存表單" }, "twoFactorU2fWarning": { "message": "由於平台限制,無法於所有 Bitwarden 應用程式中使用 FIDO U2F。請開啟另一套兩步驟登入方式,以確保 FIDO U2F 無法使用時還能存取您的帳戶。支援的平台有:" }, "twoFactorU2fSupportWeb": { "message": "桌上型電腦/筆記型電腦上啟用了 U2F 的瀏覽器(Chrome、Opera、Vivaldi 或啟用了 FIDO U2F 的 Firefox)中的網頁版密碼庫和瀏覽器擴充套件。" }, "twoFactorU2fWaiting": { "message": "等待您按下安全金鑰上的按鈕" }, "twoFactorU2fClickSave": { "message": "點選下方的「儲存」按鈕,以啟用此安全金鑰用於兩步驟登入。" }, "twoFactorU2fProblemReadingTryAgain": { "message": "讀取安全金鑰時發生問題。請再試一次。" }, "twoFactorWebAuthnWarning": { "message": "由於平台限制,無法於所有 Bitwarden 應用程式中使用 WebAuthn。請設定另一套兩步驟登入方式,以確保在 WebAuthn 無法使用時還能存取您的帳戶。支援的平台有:" }, "twoFactorWebAuthnSupportWeb": { "message": "桌上型電腦/筆記型電腦上具有 WebAuthn 功能的瀏覽器(Chrome、Opera、Vivaldi 或開啟 FIDO U2F 功能的 Firefox)上的網頁版密碼庫和瀏覽器擴充套件。" }, "twoFactorRecoveryYourCode": { "message": "您的 Bitwarden 兩步驟登入復原碼" }, "twoFactorRecoveryNoCode": { "message": "您尚未啟用任何兩步驟登入方式。等你啟用兩步驟登入方式後,您可回來這裡取得復原碼。" }, "printCode": { "message": "列印代碼", "description": "Print 2FA recovery code" }, "reports": { "message": "報告" }, "reportsDesc": { "message": "點選下方的報告,識別並消除您的線上帳戶中的安全漏洞。" }, "unsecuredWebsitesReport": { "message": "不安全的網站" }, "unsecuredWebsitesReportDesc": { "message": "以 http:// 開頭的 URL 沒有使用最佳的加密方式。將這些帳戶的登入 URI 更改為 https:// 以更安全地瀏覽。" }, "unsecuredWebsitesFound": { "message": "發現不安全的網站" }, "unsecuredWebsitesFoundDesc": { "message": "我們在您的密碼庫中找到 $COUNT$ 個使用不安全 URI 的項目。若網站允許,您應變更其網址配置為 https://。", "placeholders": { "count": { "content": "$1", "example": "8" } } }, "noUnsecuredWebsites": { "message": "您的密碼庫中沒有使用不安全 URI 的項目。" }, "inactive2faReport": { "message": "非使用中兩步驟登入" }, "inactive2faReportDesc": { "message": "兩步驟登入為您的帳戶添加了一層保護。使用 Bitwarden 驗證器或使用其他方法為這些帳戶啟用兩步驟登入。" }, "inactive2faFound": { "message": "發現未啟用 2FA 的登入資料" }, "inactive2faFoundDesc": { "message": "我們在您的密碼庫中找到 $COUNT$ 個可能未設定雙因素驗證的網站(依據 twofactorauth.org)。若要進一步保護這些帳戶,您應啟用雙因素驗證。", "placeholders": { "count": { "content": "$1", "example": "8" } } }, "noInactive2fa": { "message": "沒有在您的密碼庫中找到未設定雙因素驗證的網站。" }, "instructions": { "message": "說明" }, "exposedPasswordsReport": { "message": "已公開的密碼" }, "exposedPasswordsReportDesc": { "message": "資料外洩中暴露的密碼很容易成為攻擊者的目標。更改這些密碼以防止潛在的入侵。" }, "exposedPasswordsFound": { "message": "發現公開密碼" }, "exposedPasswordsFoundDesc": { "message": "我們在您的密碼庫中找到 $COUNT$ 個項目的密碼在已知資料外洩事件中被公開。您應將它們變更為新密碼。", "placeholders": { "count": { "content": "$1", "example": "8" } } }, "noExposedPasswords": { "message": "未在您的密碼庫中找到在已知資料外洩事件中被公開的項目。" }, "checkExposedPasswords": { "message": "檢查公開密碼" }, "exposedXTimes": { "message": "被公開 $COUNT$ 次", "placeholders": { "count": { "content": "$1", "example": "52" } } }, "weakPasswordsReport": { "message": "弱式密碼" }, "weakPasswordsReportDesc": { "message": "弱密碼很容易被攻擊者猜到。使用密碼產生器將這些密碼更改為強密碼。" }, "weakPasswordsFound": { "message": "發現弱式密碼" }, "weakPasswordsFoundDesc": { "message": "我們在您的密碼庫中發現了 $COUNT$ 個使用弱式密碼的項目。您應該將它們變更為更強的密碼。", "placeholders": { "count": { "content": "$1", "example": "8" } } }, "noWeakPasswords": { "message": "您的密碼庫中沒有項目具有弱式密碼。" }, "reusedPasswordsReport": { "message": "重複使用密碼" }, "reusedPasswordsReportDesc": { "message": "重複使用密碼使攻擊者更容易侵入多個帳戶。更改這些密碼,使每個密碼都是唯一的。" }, "reusedPasswordsFound": { "message": "發現重複使用的密碼" }, "reusedPasswordsFoundDesc": { "message": "我們發現您的密碼庫中有 $COUNT$ 組密碼重複使用。您應該將它們變更為不同的密碼。", "placeholders": { "count": { "content": "$1", "example": "8" } } }, "noReusedPasswords": { "message": "未在您密碼庫中找到重複使用密碼的登入資訊。" }, "reusedXTimes": { "message": "已重複使用 $COUNT$ 次", "placeholders": { "count": { "content": "$1", "example": "8" } } }, "dataBreachReport": { "message": "資料外洩" }, "breachDesc": { "message": "外洩的帳戶可能會暴露您的個人信息。透過啟用 2FA 或創建更強的密碼來保護被外洩的帳戶。" }, "breachCheckUsernameEmail": { "message": "請檢查您使用的使用者名稱或電子郵件地址。" }, "checkBreaches": { "message": "檢查密碼外洩情況" }, "breachUsernameNotFound": { "message": "在任何已知的外洩密碼資料庫中都找不到 $USERNAME$。", "placeholders": { "username": { "content": "$1", "example": "user@example.com" } } }, "goodNews": { "message": "好消息!", "description": "ex. Good News, No Breached Accounts Found!" }, "breachUsernameFound": { "message": "$USERNAME$ 在不同的外洩密碼資料庫中找到了 $COUNT$ 次。", "placeholders": { "username": { "content": "$1", "example": "user@example.com" }, "count": { "content": "$2", "example": "7" } } }, "breachFound": { "message": "發現已外洩的帳戶" }, "compromisedData": { "message": "遭外洩的資料" }, "website": { "message": "網站" }, "affectedUsers": { "message": "受影響的使用者" }, "breachOccurred": { "message": "外洩發生於" }, "breachReported": { "message": "外洩回報於" }, "reportError": { "message": "嘗試載入報告時發生錯誤。請再試一次。" }, "billing": { "message": "計費" }, "accountCredit": { "message": "帳戶餘額", "description": "Financial term. In the case of Bitwarden, a positive balance means that you owe money, while a negative balance means that you have a credit (Bitwarden owes you money)." }, "accountBalance": { "message": "帳戶餘額", "description": "Financial term. In the case of Bitwarden, a positive balance means that you owe money, while a negative balance means that you have a credit (Bitwarden owes you money)." }, "addCredit": { "message": "儲值餘額", "description": "Add more credit to your account's balance." }, "amount": { "message": "金額", "description": "Dollar amount, or quantity." }, "creditDelayed": { "message": "已儲值的餘額在交易處理完成後將會出現在你的帳戶中。部分付款方式較為緩慢,會比其他方式花費更多時間處理。" }, "makeSureEnoughCredit": { "message": "請確保您的帳戶有足夠的餘額用於此次購買,若您的帳戶餘額不足,則會以您預設的付款方式補足差額。您可以透過計費頁面對您的帳戶儲值餘額。" }, "creditAppliedDesc": { "message": "您帳戶的餘額可用於消費。任何可用的餘額將用於自動繳納此帳戶的帳單。" }, "goPremium": { "message": "升級至進階版", "description": "Another way of saying \"Get a premium membership\"" }, "premiumUpdated": { "message": "您已升級至進階版" }, "premiumUpgradeUnlockFeatures": { "message": "將您的帳戶升級至進階版,並解鎖一些很棒的附加功能。" }, "premiumSignUpStorage": { "message": "用於檔案附件的 1 GB 的加密檔案儲存空間。" }, "premiumSignUpTwoStep": { "message": "YubiKey、FIDO U2F 和 Duo 等額外的兩步驟登入選項。" }, "premiumSignUpEmergency": { "message": "緊急存取" }, "premiumSignUpReports": { "message": "密碼健康、帳戶體檢以及資料外洩報告,保障您的密碼庫安全。" }, "premiumSignUpTotp": { "message": "用於登入您的密碼庫的 TOTP 驗證碼(2FA)產生器。" }, "premiumSignUpSupport": { "message": "優先客戶支援。" }, "premiumSignUpFuture": { "message": "未來會增加更多進階功能,敬請期待!" }, "premiumPrice": { "message": "每年只需 $PRICE$ !", "placeholders": { "price": { "content": "$1", "example": "$10" } } }, "addons": { "message": "附加項目" }, "premiumAccess": { "message": "進階存取" }, "premiumAccessDesc": { "message": "您可以為您的組織的所有使用者添加進階存取,只需 $PRICE$ /$INTERVAL$.", "placeholders": { "price": { "content": "$1", "example": "$3.33" }, "interval": { "content": "$2", "example": "'month' or 'year'" } } }, "additionalStorageGb": { "message": "額外的儲存空間 (GB)" }, "additionalStorageGbDesc": { "message": "# GB 額外儲存空間" }, "additionalStorageIntervalDesc": { "message": "您的方案擁有 $SIZE$ 的加密儲存空間。您也可以用每 GB $PRICE$ / $INTERVAL$ 購買額外的儲存空間。", "placeholders": { "size": { "content": "$1", "example": "1 GB" }, "price": { "content": "$2", "example": "$4.00" }, "interval": { "content": "$3", "example": "'month' or 'year'" } } }, "summary": { "message": "摘要" }, "total": { "message": "總計" }, "year": { "message": "年" }, "month": { "message": "月" }, "monthAbbr": { "message": "月", "description": "Short abbreviation for 'month'" }, "paymentChargedAnnually": { "message": "將立即使用您選擇的付款方式來扣款,並且每年都會定期扣款。您可以隨時取消。" }, "paymentCharged": { "message": "將立即使用您選擇的付款方式來扣款,並且將每 $INTERVAL$ 定期扣款。您可以隨時取消。", "placeholders": { "interval": { "content": "$1", "example": "month or year" } } }, "paymentChargedWithTrial": { "message": "您的方案包含了 7 天的免費試用。在試用期結束之前,不會從您的付款方式中扣款。您可以隨時取消。" }, "paymentInformation": { "message": "付款資訊" }, "billingInformation": { "message": "帳單資訊" }, "creditCard": { "message": "信用卡" }, "paypalClickSubmit": { "message": "點選 PayPal 按鈕登入您的 PayPal 帳戶,然後點選下方的送出按鈕以繼續。" }, "cancelSubscription": { "message": "取消訂閱" }, "subscriptionCanceled": { "message": "已取消訂閱" }, "pendingCancellation": { "message": "待取消" }, "subscriptionPendingCanceled": { "message": "此訂閱在目前計費周期结束前已標記為取消。" }, "reinstateSubscription": { "message": "重新開始訂閱" }, "reinstateConfirmation": { "message": "您是否要移除待處理的取消要求,重新開始您的訂閱?" }, "reinstated": { "message": "已重新開始訂閱。" }, "cancelConfirmation": { "message": "您確定要取消訂閱嗎?在目前計費周期結束之後,您將無法使用所有訂閲功能。" }, "canceledSubscription": { "message": "已取消訂閱。" }, "neverExpires": { "message": "永不逾期" }, "status": { "message": "狀態" }, "nextCharge": { "message": "下一次扣款" }, "details": { "message": "詳細資料" }, "downloadLicense": { "message": "下載授權證" }, "updateLicense": { "message": "更新授權" }, "updatedLicense": { "message": "已更新授權" }, "manageSubscription": { "message": "管理訂閱" }, "storage": { "message": "儲存空間" }, "addStorage": { "message": "增加儲存空間" }, "removeStorage": { "message": "移除儲存空間" }, "subscriptionStorage": { "message": "您的訂閱方案包含 $MAX_STORAGE$ GB 的加密檔案儲存空間,目前已使用 $USED_STORAGE$。", "placeholders": { "max_storage": { "content": "$1", "example": "4" }, "used_storage": { "content": "$2", "example": "65 MB" } } }, "paymentMethod": { "message": "付款方式" }, "noPaymentMethod": { "message": "尚未選擇付款方式" }, "addPaymentMethod": { "message": "新增付款方式" }, "changePaymentMethod": { "message": "變更付款方式" }, "invoices": { "message": "帳單" }, "noInvoices": { "message": "無帳單。" }, "paid": { "message": "已付款", "description": "Past tense status of an invoice. ex. Paid or unpaid." }, "unpaid": { "message": "待付款", "description": "Past tense status of an invoice. ex. Paid or unpaid." }, "transactions": { "message": "交易紀錄", "description": "Payment/credit transactions." }, "noTransactions": { "message": "無交易記錄" }, "chargeNoun": { "message": "費用", "description": "Noun. A charge from a payment method." }, "refundNoun": { "message": "退款", "description": "Noun. A refunded payment that was charged." }, "chargesStatement": { "message": "任何費用都會在您的帳單上以 $STATEMENT_NAME$ 顯示。", "placeholders": { "statement_name": { "content": "$1", "example": "BITWARDEN" } } }, "gbStorageAdd": { "message": "GB 儲存空間將增加" }, "gbStorageRemove": { "message": "GB 儲存空間將移除" }, "storageAddNote": { "message": "增加存儲空間將會調整計費總額,並立即透過您選擇的付款方式進行扣款。第一期費用將依照目前計費週期的剩餘時間依比例分配。" }, "storageRemoveNote": { "message": "移除儲存空間將會調整計費總額,這筆費用將依照比例返還並用於下一筆帳單費用中。" }, "adjustedStorage": { "message": "已調整 $AMOUNT$ GB 的儲存空間。", "placeholders": { "amount": { "content": "$1", "example": "5" } } }, "contactSupport": { "message": "聯絡客戶支援部門" }, "updatedPaymentMethod": { "message": "已更新付款方式。" }, "purchasePremium": { "message": "購買進階版" }, "licenseFile": { "message": "授權檔案" }, "licenseFileDesc": { "message": "您的授權檔案將被命名為類似 $FILE_NAME$ 的名稱", "placeholders": { "file_name": { "content": "$1", "example": "bitwarden_premium_license.json" } } }, "uploadLicenseFilePremium": { "message": "要升級您的帳戶為進階版會員,您需要上傳有效的授權檔案。" }, "uploadLicenseFileOrg": { "message": "要建立基於內部部署的組織,您需要上傳有效的授權檔案。" }, "accountEmailMustBeVerified": { "message": "必須驗證您帳戶的電子郵件地址。" }, "newOrganizationDesc": { "message": "組織允許您與他人共用密碼庫的部分內容,以及管理特定實體(如家庭、小型團隊或大型公司)的相關使用者。" }, "generalInformation": { "message": "一般資訊" }, "organizationName": { "message": "組織名稱" }, "accountOwnedBusiness": { "message": "此帳戶為企業所有。" }, "billingEmail": { "message": "帳單電子郵件" }, "businessName": { "message": "企業名稱" }, "chooseYourPlan": { "message": "選擇您的方案" }, "users": { "message": "使用者" }, "userSeats": { "message": "使用者席位" }, "additionalUserSeats": { "message": "額外使用者席位" }, "userSeatsDesc": { "message": "# 使用者席位" }, "userSeatsAdditionalDesc": { "message": "您的方案包含 $BASE_SEATS$ 個使用者席位。您可以以每使用者每月 $SEAT_PRICE$ 的價格增加額外使用者。", "placeholders": { "base_seats": { "content": "$1", "example": "5" }, "seat_price": { "content": "$2", "example": "$2.00" } } }, "userSeatsHowManyDesc": { "message": "您需要多少個使用者席位?您也可以在需要的時候增加額外席位。" }, "planNameFree": { "message": "免費", "description": "Free as in 'free beer'." }, "planDescFree": { "message": "適用於測試或個人使用者與 $COUNT$ 位其他使用者共用。", "placeholders": { "count": { "content": "$1", "example": "1" } } }, "planNameFamilies": { "message": "家庭" }, "planDescFamilies": { "message": "適用於個人使用,與家人及朋友共用。" }, "planNameTeams": { "message": "團隊" }, "planDescTeams": { "message": "適用於企業和其他團隊組織。" }, "planNameEnterprise": { "message": "企業" }, "planDescEnterprise": { "message": "適用於企業和其他大型組織。" }, "freeForever": { "message": "永久免費" }, "includesXUsers": { "message": "包含 $COUNT$ 位使用者", "placeholders": { "count": { "content": "$1", "example": "5" } } }, "additionalUsers": { "message": "額外使用者" }, "costPerUser": { "message": "每位使用者 $COST$", "placeholders": { "cost": { "content": "$1", "example": "$3" } } }, "limitedUsers": { "message": "限制 $COUNT$ 位使用者(包括您)", "placeholders": { "count": { "content": "$1", "example": "2" } } }, "limitedCollections": { "message": "限制 $COUNT$ 個集合", "placeholders": { "count": { "content": "$1", "example": "2" } } }, "addShareLimitedUsers": { "message": "新增並與最多 $COUNT$ 位使用者共用", "placeholders": { "count": { "content": "$1", "example": "5" } } }, "addShareUnlimitedUsers": { "message": "新增並與無限位使用者共用" }, "createUnlimitedCollections": { "message": "建立無限個集合" }, "gbEncryptedFileStorage": { "message": "$SIZE$ 加密檔案儲存空間。", "placeholders": { "size": { "content": "$1", "example": "1 GB" } } }, "onPremHostingOptional": { "message": "內部部署(選用)" }, "usersGetPremium": { "message": "使用者取得了進階功能的存取權限" }, "controlAccessWithGroups": { "message": "使用群組控制使用者的存取權限" }, "syncUsersFromDirectory": { "message": "從目錄同步使用者及群組" }, "trackAuditLogs": { "message": "使用稽核記錄追蹤使用者動作" }, "enforce2faDuo": { "message": "強制使用 Duo 2FA" }, "priorityCustomerSupport": { "message": "優先客戶支援" }, "xDayFreeTrial": { "message": "$COUNT$ 天免費試用,隨時可取消", "placeholders": { "count": { "content": "$1", "example": "7" } } }, "monthly": { "message": "每月" }, "annually": { "message": "每年" }, "basePrice": { "message": "基本價格" }, "organizationCreated": { "message": "已建立組織" }, "organizationReadyToGo": { "message": "您的新組織已準備好!" }, "organizationUpgraded": { "message": "您的組織已升級。" }, "leave": { "message": "離開" }, "leaveOrganizationConfirmation": { "message": "您確定要離開這個組織嗎?" }, "leftOrganization": { "message": "您已離開組織。" }, "defaultCollection": { "message": "預設集合" }, "getHelp": { "message": "尋求幫助" }, "getApps": { "message": "取得應用程式" }, "loggedInAs": { "message": "已登入為" }, "eventLogs": { "message": "事件記錄" }, "people": { "message": "人員" }, "policies": { "message": "原則" }, "singleSignOn": { "message": "單一登入(SSO)" }, "editPolicy": { "message": "編輯原則" }, "groups": { "message": "群組" }, "newGroup": { "message": "新群組" }, "addGroup": { "message": "新增群組" }, "editGroup": { "message": "編輯群組" }, "deleteGroupConfirmation": { "message": "您確定要刪除這個群組?" }, "removeUserConfirmation": { "message": "您確定要移除此使用者?" }, "removeUserConfirmationKeyConnector": { "message": "警告!這位使用者需要 Key Connector 管理他們的加密方式。從您的組織中移除這位使用者,會永久停用他們的帳戶。此操作無法復原,是否繼續?" }, "externalId": { "message": "外部 ID" }, "externalIdDesc": { "message": "外部 ID 可用於參考,或將此資源與使用者目錄等外部系統連結起來。" }, "accessControl": { "message": "存取控制" }, "groupAccessAllItems": { "message": "此群組可存取及變更所有項目。" }, "groupAccessSelectedCollections": { "message": "此群組只能存取選擇的集合。" }, "readOnly": { "message": "唯讀" }, "newCollection": { "message": "新集合" }, "addCollection": { "message": "新增集合" }, "editCollection": { "message": "編輯集合" }, "deleteCollectionConfirmation": { "message": "確定要刪除此集合嗎?" }, "editUser": { "message": "編輯使用者" }, "inviteUser": { "message": "邀請使用者" }, "inviteUserDesc": { "message": "在下方輸入 Bitwarden 帳戶的電子郵件位址,以邀請新使用者加入您的組織。若他們沒有 Bitwarden 帳戶,系統將提示他們建立新帳戶。" }, "inviteMultipleEmailDesc": { "message": "透過使用逗號分隔的電子郵件地址,您可以一次邀請 $COUNT$ 位使用者。", "placeholders": { "count": { "content": "$1", "example": "20" } } }, "userUsingTwoStep": { "message": "此使用者正在使用兩步驟登入保護帳戶。" }, "userAccessAllItems": { "message": "此使用者可存取及變更所有項目。" }, "userAccessSelectedCollections": { "message": "此使用者只能存取選擇的集合。" }, "search": { "message": "搜尋" }, "invited": { "message": "已邀請" }, "accepted": { "message": "已接受" }, "confirmed": { "message": "已確認" }, "clientOwnerEmail": { "message": "用戶端擁有者電子郵件" }, "owner": { "message": "擁有者" }, "ownerDesc": { "message": "可以管理組織所有方面且具有最高權限的使用者。" }, "clientOwnerDesc": { "message": "此使用者應獨立於提供者。若提供者與該組織解除關聯,此使用者將繼續保留組織的擁有權。" }, "admin": { "message": "管理員" }, "adminDesc": { "message": "管理員可以存取和管理組織内的所有項目、集合和使用者。" }, "user": { "message": "使用者" }, "userDesc": { "message": "具有組織内已指派集合的存取權限的一般使用者。" }, "manager": { "message": "管理員" }, "managerDesc": { "message": "管理員可以存取和管理組織内已指派的集合。" }, "all": { "message": "全部" }, "refresh": { "message": "重新整理" }, "timestamp": { "message": "時間戳記" }, "event": { "message": "事件" }, "unknown": { "message": "不詳" }, "loadMore": { "message": "載入更多" }, "mobile": { "message": "行動裝置", "description": "Mobile app" }, "extension": { "message": "擴充套件", "description": "Browser extension/addon" }, "desktop": { "message": "電腦版應用程式", "description": "Desktop app" }, "webVault": { "message": "網頁版密碼庫" }, "loggedIn": { "message": "已登入。" }, "changedPassword": { "message": "已變更帳戶密碼。" }, "enabledUpdated2fa": { "message": "已啟用 / 更新兩步驟登入。" }, "disabled2fa": { "message": "已停用兩步驟登入。" }, "recovered2fa": { "message": "已透過兩步驟登入復原帳戶。" }, "failedLogin": { "message": "登入失敗,密碼錯誤。" }, "failedLogin2fa": { "message": "嘗試登入失敗,兩步驟登入錯誤。" }, "exportedVault": { "message": "已匯出密碼庫。" }, "exportedOrganizationVault": { "message": "已匯出組織密碼庫。" }, "editedOrgSettings": { "message": "已編輯組織設定。" }, "createdItemId": { "message": "已建立項目 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "editedItemId": { "message": "已編輯項目 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "deletedItemId": { "message": "項目 $ID$ 已移至垃圾桶。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "movedItemIdToOrg": { "message": "移動項目 $ID$ 至一個組織。", "placeholders": { "id": { "content": "$1", "example": "'Google'" } } }, "viewedItemId": { "message": "檢視了項目 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "viewedPasswordItemId": { "message": "檢視了項目 $ID$ 的密碼。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "viewedHiddenFieldItemId": { "message": "檢視了項目 $ID$ 的隱藏欄位。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "viewedSecurityCodeItemId": { "message": "檢視了項目 $ID$ 的安全代碼。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "copiedPasswordItemId": { "message": "複製了項目 $ID$ 的密碼。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "copiedHiddenFieldItemId": { "message": "複製了項目 $ID$ 的隱藏欄位。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "copiedSecurityCodeItemId": { "message": "複製了項目 $ID$ 的安全代碼", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "autofilledItemId": { "message": "項目 $ID$ 已自動填入。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "createdCollectionId": { "message": "已建立集合 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Server Passwords" } } }, "editedCollectionId": { "message": "已編輯集合 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Server Passwords" } } }, "deletedCollectionId": { "message": "已刪除集合 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Server Passwords" } } }, "editedPolicyId": { "message": "已編輯原則 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Master Password" } } }, "createdGroupId": { "message": "已建立群組 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Developers" } } }, "editedGroupId": { "message": "已編輯群組 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Developers" } } }, "deletedGroupId": { "message": "已刪除群組 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Developers" } } }, "removedUserId": { "message": "已移除使用者 $ID$。", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "createdAttachmentForItem": { "message": "已為項目 $ID$ 建立附件。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "deletedAttachmentForItem": { "message": "已為項目 $ID$ 刪除附件。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "editedCollectionsForItem": { "message": "已為項目 $ID$ 編輯集合。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "invitedUserId": { "message": "已邀請使用者 $ID$。", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "confirmedUserId": { "message": "已確認使用者 $ID$。", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "editedUserId": { "message": "已編輯使用者 $ID$。", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "editedGroupsForUser": { "message": "已編輯使用者 $ID$ 的群組。", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "unlinkedSsoUser": { "message": "已為使用者 $ID$ 取消連結 SSO。", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "createdOrganizationId": { "message": "已建立組織 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "addedOrganizationId": { "message": "已新增組織 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "removedOrganizationId": { "message": "已移除組織 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "accessedClientVault": { "message": "已存取組織 $ID$ 的密碼庫。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "device": { "message": "裝置" }, "view": { "message": "檢視" }, "invalidDateRange": { "message": "無效的日期範圍。" }, "errorOccurred": { "message": "發生錯誤。" }, "userAccess": { "message": "使用者存取" }, "userType": { "message": "使用者類型" }, "groupAccess": { "message": "群組存取" }, "groupAccessUserDesc": { "message": "編輯此使用者所屬的群組。" }, "invitedUsers": { "message": "已邀請使用者。" }, "resendInvitation": { "message": "重新傳送邀請" }, "resendEmail": { "message": "重新傳送電子郵件" }, "hasBeenReinvited": { "message": "已重新邀請 $USER$。", "placeholders": { "user": { "content": "$1", "example": "John Smith" } } }, "confirm": { "message": "確認" }, "confirmUser": { "message": "確認使用者" }, "hasBeenConfirmed": { "message": "$USER$ 已經確認。", "placeholders": { "user": { "content": "$1", "example": "John Smith" } } }, "confirmUsers": { "message": "確認使用者" }, "usersNeedConfirmed": { "message": "有使用者已接受邀請,但仍然需要確認。在確認之前,使用者將無法存取組織。" }, "startDate": { "message": "開始日期" }, "endDate": { "message": "结束日期" }, "verifyEmail": { "message": "驗證電子郵件" }, "verifyEmailDesc": { "message": "驗證您帳戶的電子郵件地址以使用所有功能。" }, "verifyEmailFirst": { "message": "必須驗證您帳戶的電子郵件位址。" }, "checkInboxForVerification": { "message": "請檢查您的電子郵件收件匣以取得驗證連結。" }, "emailVerified": { "message": "您的電子郵件已驗證。" }, "emailVerifiedFailed": { "message": "無法驗證電子郵件。請嘗試傳送一封新的驗證電子郵件。" }, "emailVerificationRequired": { "message": "需要驗證電子郵件" }, "emailVerificationRequiredDesc": { "message": "必須驗證您的電子郵件才能使用此功能。" }, "updateBrowser": { "message": "更新瀏覽器" }, "updateBrowserDesc": { "message": "未支援您使用的瀏覽器。網頁版密碼庫可能無法正常運作。" }, "joinOrganization": { "message": "加入組織" }, "joinOrganizationDesc": { "message": "您已被邀請加入以上組織。若想接受邀請,您需要登入或建立新的 Bitwarden 帳戶。" }, "inviteAccepted": { "message": "已接受邀請" }, "inviteAcceptedDesc": { "message": "管理員確認您的成員身分後,您便可以存取此組織。到時我們會向您傳送電子郵件通知。" }, "inviteAcceptFailed": { "message": "無法接受邀請。請要求組織管理員傳送新的邀請。" }, "inviteAcceptFailedShort": { "message": "無法接受邀請。$DESCRIPTION$", "placeholders": { "description": { "content": "$1", "example": "You must enable 2FA on your user account before you can join this organization." } } }, "rememberEmail": { "message": "記住電子郵件地址" }, "recoverAccountTwoStepDesc": { "message": "若您無法透過一般的兩步驟登入方式存取您的帳戶,您可以使用兩步驟登入復原碼以停用帳戶上的所有兩步驟登入方式。" }, "recoverAccountTwoStep": { "message": "復原帳戶的兩步驟登入" }, "twoStepRecoverDisabled": { "message": "兩步驟登入已在您的帳戶中停用。" }, "learnMore": { "message": "深入了解" }, "deleteRecoverDesc": { "message": "請在下方輸入您的電子郵件地址以復原及刪除您的帳戶。" }, "deleteRecoverEmailSent": { "message": "如果您的帳戶存在,我們將傳送一封包含詳細指示的電子郵件。" }, "deleteRecoverConfirmDesc": { "message": "您已要求刪除您的 Bitwarden 帳戶。點選下方的按鈕以確認。" }, "myOrganization": { "message": "我的組織" }, "deleteOrganization": { "message": "刪除組織" }, "deletingOrganizationContentWarning": { "message": "輸入主密碼以確認刪除 $ORGANIZATION$ 及與之關聯的所有資料。$ORGANIZATION$ 中的密碼庫資料包含:", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" } } }, "deletingOrganizationActiveUserAccountsWarning": { "message": "刪除後,使用者帳戶仍然可用,但將不再與此組織關聯。" }, "deletingOrganizationIsPermanentWarning": { "message": "刪除 $ORGANIZATION$ 是永久性動作,無法回復。", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" } } }, "organizationDeleted": { "message": "已刪除組織" }, "organizationDeletedDesc": { "message": "該組織和所有關聯資料已刪除。" }, "organizationUpdated": { "message": "已更新組織" }, "taxInformation": { "message": "稅務資訊" }, "taxInformationDesc": { "message": "對於美國境內的客戶,需要提供郵遞區號來滿足銷售稅要求,對於其他國家,您可以選擇提供稅務識別碼(VAT/GST)和/或地址以顯示在您的帳單上。" }, "billingPlan": { "message": "方案", "description": "A billing plan/package. For example: families, teams, enterprise, etc." }, "changeBillingPlan": { "message": "升級方案", "description": "A billing plan/package. For example: families, teams, enterprise, etc." }, "changeBillingPlanUpgrade": { "message": "為了將您的帳戶升級至另一個方案,請提供以下資訊。同時請確保您的帳戶已經有一個有效的付款方式。", "description": "A billing plan/package. For example: families, teams, enterprise, etc." }, "invoiceNumber": { "message": "帳單 #$NUMBER$", "description": "ex. Invoice #79C66F0-0001", "placeholders": { "number": { "content": "$1", "example": "79C66F0-0001" } } }, "viewInvoice": { "message": "檢視帳單" }, "downloadInvoice": { "message": "下載帳單" }, "verifyBankAccount": { "message": "驗證銀行帳戶" }, "verifyBankAccountDesc": { "message": "我們已匯入了兩筆小額款項至您的銀行帳戶(需要 1-2 個工作天後才能到帳)。請在此輸入這兩筆款項的金額以驗證銀行帳戶。" }, "verifyBankAccountInitialDesc": { "message": "只有在美國的客戶才能使用銀行帳戶付款。您必須驗證您的銀行帳戶。我們將在未來 1-2 個工作天內匯入兩筆小額款項。在組織的計費頁面上輸入款項金額以驗證銀行帳戶。" }, "verifyBankAccountFailureWarning": { "message": "驗證銀行帳戶失敗將會導致付款失效,並且您的訂閱將會被取消。" }, "verifiedBankAccount": { "message": "已驗證您的銀行帳戶。" }, "bankAccount": { "message": "銀行帳戶" }, "amountX": { "message": "金額 $COUNT$", "description": "Used in bank account verification of micro-deposits. Amount, as in a currency amount. Ex. Amount 1 is $2.00, Amount 2 is $1.50", "placeholders": { "count": { "content": "$1", "example": "1" } } }, "routingNumber": { "message": "匯款路徑編號", "description": "Bank account routing number" }, "accountNumber": { "message": "帳戶號碼" }, "accountHolderName": { "message": "帳戶持有人姓名" }, "bankAccountType": { "message": "帳戶類型" }, "bankAccountTypeCompany": { "message": "公司" }, "bankAccountTypeIndividual": { "message": "個人" }, "enterInstallationId": { "message": "輸入您的安裝 ID" }, "limitSubscriptionDesc": { "message": "為您的訂閲設定席位限制。達到此限制後,您將無法邀請新的使用者。" }, "maxSeatLimit": { "message": "最大席位限制(選用)", "description": "Upper limit of seats to allow through autoscaling" }, "maxSeatCost": { "message": "最大潛在席位費用" }, "addSeats": { "message": "新增席位", "description": "Seat = User Seat" }, "removeSeats": { "message": "移除席位", "description": "Seat = User Seat" }, "subscriptionDesc": { "message": "調整訂閱將會依比例變更您的帳單總額。若新邀請的使用者超過您的訂閱席位,您將立即收到依比例收取的額外使用者費用。" }, "subscriptionUserSeats": { "message": "您的訂閱當中包含 $COUNT$ 位使用者的授權。", "placeholders": { "count": { "content": "$1", "example": "50" } } }, "limitSubscription": { "message": "限制訂閲(選用)" }, "subscriptionSeats": { "message": "訂閲席位" }, "subscriptionUpdated": { "message": "已更新訂閲" }, "additionalOptions": { "message": "其他選項" }, "additionalOptionsDesc": { "message": "如需更多管理訂閱協助,請聯絡客戶支援。" }, "subscriptionUserSeatsUnlimitedAutoscale": { "message": "調整訂閱將會依比例變更您的帳單總額。若新邀請的使用者超過您的訂閱席位,您將立即收到依比例收取的額外使用者費用。" }, "subscriptionUserSeatsLimitedAutoscale": { "message": "調整訂閱將會依比例變更您的帳單總額。若新邀請的使用者超過您的訂閱席位,您將立即收到依比例收取的額外使用者費用,直到您達到 $MAX$ 席位限制。", "placeholders": { "max": { "content": "$1", "example": "50" } } }, "subscriptionFreePlan": { "message": "除非升級方案,否則您最多只能邀請 $COUNT$ 位使用者。", "placeholders": { "count": { "content": "$1", "example": "2" } } }, "subscriptionFamiliesPlan": { "message": "除非升級方案,否則您最多只能邀請 $COUNT$ 位使用者。請聯絡客戶支援進行升級。", "placeholders": { "count": { "content": "$1", "example": "6" } } }, "subscriptionSponsoredFamiliesPlan": { "message": "您的訂閱允許總共 $COUNT$ 位使用者。您的方案由外部組織贊助和支付費用。", "placeholders": { "count": { "content": "$1", "example": "6" } } }, "subscriptionMaxReached": { "message": "調整訂閱將會依比例變更您的帳單總額。在不增加訂閱席位的情況下,您不能邀請超過 $COUNT$ 位使用者。", "placeholders": { "count": { "content": "$1", "example": "50" } } }, "seatsToAdd": { "message": "要新增的席位數" }, "seatsToRemove": { "message": "要移除的席位數" }, "seatsAddNote": { "message": "增加使用者席位將會調整帳單總額,並立即透過您選擇的付款方式進行扣款。第一期費用將依照目前計費週期的剩餘時間依比例分配。" }, "seatsRemoveNote": { "message": "移除使用者席位將會調整計費總額,這筆費用將依照比例返還並用於下一筆帳單費用中。" }, "adjustedSeats": { "message": "調整了 $AMOUNT$ 個使用者席位。", "placeholders": { "amount": { "content": "$1", "example": "15" } } }, "keyUpdated": { "message": "已更新金鑰" }, "updateKeyTitle": { "message": "更新金鑰" }, "updateEncryptionKey": { "message": "更新加密金鑰" }, "updateEncryptionKeyShortDesc": { "message": "您目前使用的是過時的加密方式。" }, "updateEncryptionKeyDesc": { "message": "我們已經採用更強大的加密金鑰,此金鑰提供了更強的安全性及更新功能。更新您的加密金鑰非常簡單快速,僅需輸入您的主密碼即可。此次更新最終將強制執行。" }, "updateEncryptionKeyWarning": { "message": "更新加密金鑰後,您需要登出並重新登入目前使用的所有 Bitwarden 應用程式(如行動應用程式或瀏覽器擴充套件)。登出和重新登入(這會下載新的加密金鑰)失敗可能會導致資料損毀。我們將嘗試自動登出,但可能會有所延遲。" }, "updateEncryptionKeyExportWarning": { "message": "您儲存的任何已加密匯出的檔案也將變成無效。" }, "subscription": { "message": "訂閱" }, "loading": { "message": "正在載入" }, "upgrade": { "message": "升級" }, "upgradeOrganization": { "message": "升級組織" }, "upgradeOrganizationDesc": { "message": "免費組織不提供此功能。切換至付費方案以解鎖更多功能。" }, "createOrganizationStep1": { "message": "建立組織:步驟 1" }, "createOrganizationCreatePersonalAccount": { "message": "在建立組織之前,首先需要建立一個免費的個人帳戶。" }, "refunded": { "message": "已退款" }, "nothingSelected": { "message": "您未選取任何内容。" }, "acceptPolicies": { "message": "一旦核取此方塊,即表示您同意下列條款:" }, "acceptPoliciesError": { "message": "尚未接受服務條款與隱私權政策。" }, "termsOfService": { "message": "服務條款" }, "privacyPolicy": { "message": "隱私權政策" }, "filters": { "message": "篩選器" }, "vaultTimeout": { "message": "密碼庫逾時時間" }, "vaultTimeoutDesc": { "message": "選擇密碼庫多久之後才會逾時並執行選取動作。" }, "oneMinute": { "message": "1 分鐘" }, "fiveMinutes": { "message": "5 分鐘" }, "fifteenMinutes": { "message": "15 分鐘" }, "thirtyMinutes": { "message": "30 分鐘" }, "oneHour": { "message": "1 小時" }, "fourHours": { "message": "4 小時" }, "onRefresh": { "message": "瀏覽器重新重新整理時" }, "dateUpdated": { "message": "已更新", "description": "ex. Date this item was updated" }, "datePasswordUpdated": { "message": "密碼更新於", "description": "ex. Date this password was updated" }, "organizationIsDisabled": { "message": "已停用組織。" }, "licenseIsExpired": { "message": "授權已逾期。" }, "updatedUsers": { "message": "已更新使用者" }, "selected": { "message": "已選擇" }, "ownership": { "message": "擁有權" }, "whoOwnsThisItem": { "message": "誰擁有這個項目?" }, "strong": { "message": "強", "description": "ex. A strong password. Scale: Very Weak -> Weak -> Good -> Strong" }, "good": { "message": "好", "description": "ex. A good password. Scale: Very Weak -> Weak -> Good -> Strong" }, "weak": { "message": "弱", "description": "ex. A weak password. Scale: Very Weak -> Weak -> Good -> Strong" }, "veryWeak": { "message": "非常弱", "description": "ex. A very weak password. Scale: Very Weak -> Weak -> Good -> Strong" }, "weakMasterPassword": { "message": "主密碼強度太弱" }, "weakMasterPasswordDesc": { "message": "您設定的主密碼很脆弱。您應該使用高強度的密碼(或密碼短語)來正確保護您的 bitwarden 帳戶。仍要使用這組主密碼嗎?" }, "rotateAccountEncKey": { "message": "同時輪換帳戶的加密金鑰" }, "rotateEncKeyTitle": { "message": "輪換加密金鑰" }, "rotateEncKeyConfirmation": { "message": "確定要輪換帳戶的加密金鑰嗎?" }, "attachmentsNeedFix": { "message": "此項目包含需要修正的舊檔案附件。" }, "attachmentFixDesc": { "message": "這是一個需要修正的舊檔案附件。點選此處以深入了解。" }, "fix": { "message": "修正", "description": "This is a verb. ex. 'Fix The Car'" }, "oldAttachmentsNeedFixDesc": { "message": "需要先修正密碼庫中舊的檔案附件,然後才能輪換帳戶的加密金鑰。" }, "yourAccountsFingerprint": { "message": "您帳戶的指紋短語", "description": "A 'fingerprint phrase' is a unique word phrase (similar to a passphrase) that a user can use to authenticate their public key with another user, for the purposes of sharing." }, "fingerprintEnsureIntegrityVerify": { "message": "為確保加密金鑰的完整性,繼續之前請先驗證使用者指紋短語。", "description": "A 'fingerprint phrase' is a unique word phrase (similar to a passphrase) that a user can use to authenticate their public key with another user, for the purposes of sharing." }, "dontAskFingerprintAgain": { "message": "不再提示驗證已邀請使用者的指紋短語(不推薦)", "description": "A 'fingerprint phrase' is a unique word phrase (similar to a passphrase) that a user can use to authenticate their public key with another user, for the purposes of sharing." }, "free": { "message": "免費", "description": "Free, as in 'Free beer'" }, "apiKey": { "message": "API 金鑰" }, "apiKeyDesc": { "message": "您的 API 金鑰可用於驗證 Bitwarden 公用 API。" }, "apiKeyRotateDesc": { "message": "輪換 API 金鑰將使前一份金鑰失效。若您認為目前的金鑰不再安全,您可以輪換您的 API 金鑰。" }, "apiKeyWarning": { "message": "您的 API 金鑰擁有對組織的完整存取權限,請儲存在安全的地方。" }, "userApiKeyDesc": { "message": "您的 API 金鑰可用於在 Bitwarden CLI 中進行身分驗證。" }, "userApiKeyWarning": { "message": "您的 API 金鑰是另一套替代的身分驗證機制,請儲存在安全的地方。" }, "oauth2ClientCredentials": { "message": "OAuth 2.0 用戶端憑證", "description": "'OAuth 2.0' is a programming protocol. It should probably not be translated." }, "viewApiKey": { "message": "檢視 API 金鑰" }, "rotateApiKey": { "message": "輪換 API 金鑰" }, "selectOneCollection": { "message": "您必須至少選擇一個集合。" }, "couldNotChargeCardPayInvoice": { "message": "我們無法從您的支付卡扣款。請檢視並支付以下尚未付清的款項。" }, "inAppPurchase": { "message": "應用程式內購買" }, "cannotPerformInAppPurchase": { "message": "使用程式內購買這種付款方式時,無法執行這個動作。" }, "manageSubscriptionFromStore": { "message": "您必須在進行應用程式內購買的商店中管理訂閱。" }, "minLength": { "message": "最小長度" }, "clone": { "message": "複製" }, "masterPassPolicyDesc": { "message": "設定對主密碼強度的最低要求。" }, "twoStepLoginPolicyDesc": { "message": "要求使用者對個人帳戶設定兩步驟登入。" }, "twoStepLoginPolicyWarning": { "message": "非擁有者或管理員,並且其個人帳戶未啟用兩步驟登入的組織成員將從組織中移除,他們將收到一封關於此變更的電子郵件通知。" }, "twoStepLoginPolicyUserWarning": { "message": "您是組織成員,而組織要求您的使用者帳戶啟用兩步驟登入。如果停用所有兩步驟登入方式,您將被自動從這些組織移除。" }, "passwordGeneratorPolicyDesc": { "message": "設定密碼產生器設定的最低要求。" }, "passwordGeneratorPolicyInEffect": { "message": "一個或多個組織原則正影響密碼產生器設定。" }, "masterPasswordPolicyInEffect": { "message": "一個或多個組織原則要求您的主密碼須符合下列條件:" }, "policyInEffectMinComplexity": { "message": "最小複雜度為 $SCORE$", "placeholders": { "score": { "content": "$1", "example": "4" } } }, "policyInEffectMinLength": { "message": "最小長度為 $LENGTH$", "placeholders": { "length": { "content": "$1", "example": "14" } } }, "policyInEffectUppercase": { "message": "至少包含一個大寫字元" }, "policyInEffectLowercase": { "message": "至少包含一個小寫字元" }, "policyInEffectNumbers": { "message": "至少包含一個數字" }, "policyInEffectSpecial": { "message": "至少包含一個下列特殊字元:$CHARS$", "placeholders": { "chars": { "content": "$1", "example": "!@#$%^&*" } } }, "masterPasswordPolicyRequirementsNotMet": { "message": "新的主密碼不符合原則要求。" }, "minimumNumberOfWords": { "message": "字數下限" }, "defaultType": { "message": "預設類型" }, "userPreference": { "message": "使用者偏好設定" }, "vaultTimeoutAction": { "message": "密碼庫逾時動作" }, "vaultTimeoutActionLockDesc": { "message": "鎖定密碼庫後需要重新輸入主密碼才能再次存取。" }, "vaultTimeoutActionLogOutDesc": { "message": "登出密碼庫後需要重新驗證才能再次存取。" }, "lock": { "message": "鎖定", "description": "Verb form: to make secure or inaccesible by" }, "trash": { "message": "垃圾桶", "description": "Noun: A special folder for holding deleted items that have not yet been permanently deleted" }, "searchTrash": { "message": "搜尋垃圾桶" }, "permanentlyDelete": { "message": "永久刪除" }, "permanentlyDeleteSelected": { "message": "永久刪除已選取項目" }, "permanentlyDeleteItem": { "message": "永久刪除項目" }, "permanentlyDeleteItemConfirmation": { "message": "您確定要永久刪除此項目嗎?" }, "permanentlyDeletedItem": { "message": "已永久刪除項目" }, "permanentlyDeletedItems": { "message": "已永久刪除項目" }, "permanentlyDeleteSelectedItemsDesc": { "message": "您已經選取了 $COUNT$ 個項目要永久刪除。確定要永久刪除這些項目嗎?", "placeholders": { "count": { "content": "$1", "example": "150" } } }, "permanentlyDeletedItemId": { "message": "已永久刪除 $ID$ 項目。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "restore": { "message": "還原" }, "restoreSelected": { "message": "還原已選取的項目" }, "restoreItem": { "message": "還原項目" }, "restoredItem": { "message": "已還原項目" }, "restoredItems": { "message": "已還原項目" }, "restoreItemConfirmation": { "message": "您確定要還原此項目嗎?" }, "restoreItems": { "message": "還原項目" }, "restoreSelectedItemsDesc": { "message": "您已經選取了 $COUNT$ 個項目要還原。確定要還原這些項目嗎?", "placeholders": { "count": { "content": "$1", "example": "150" } } }, "restoredItemId": { "message": "已還原項目 $ID$。", "placeholders": { "id": { "content": "$1", "example": "Google" } } }, "vaultTimeoutLogOutConfirmation": { "message": "選擇登出將會在密碼庫逾時後移除對密碼庫的所有存取權限,若要重新驗證則需連線網路。確定要使用此設定嗎?" }, "vaultTimeoutLogOutConfirmationTitle": { "message": "逾時動作確認" }, "hidePasswords": { "message": "隱藏密碼" }, "countryPostalCodeRequiredDesc": { "message": "我們僅收集此資訊用來計算營業稅與財務報表。" }, "includeVAT": { "message": "包含 VAT/GST 稅務資訊(選用)" }, "taxIdNumber": { "message": "VAT/GST 稅務 ID" }, "taxInfoUpdated": { "message": "已更新稅務資訊。" }, "setMasterPassword": { "message": "設定主密碼" }, "ssoCompleteRegistration": { "message": "要完成 SSO 登入設定,請設定一組主密碼以存取和保護您的密碼庫。" }, "identifier": { "message": "識別碼" }, "organizationIdentifier": { "message": "組織識別碼" }, "ssoLogInWithOrgIdentifier": { "message": "若要使用組織的單一登入入口登入。請先輸入您的組織識別碼。" }, "enterpriseSingleSignOn": { "message": "企業單一登入" }, "ssoHandOff": { "message": "您現在可以關閉此分頁,並且回到擴充套件繼續。" }, "includeAllTeamsFeatures": { "message": "包含所有團隊版功能" }, "includeSsoAuthentication": { "message": "透過 SAML2.0 和 OpenID Connect 進行 SSO 驗證" }, "includeEnterprisePolicies": { "message": "企業原則" }, "ssoValidationFailed": { "message": "SSO 驗證失敗" }, "ssoIdentifierRequired": { "message": "需要組織識別碼。" }, "unlinkSso": { "message": "取消連結 SSO" }, "unlinkSsoConfirmation": { "message": "您確定要取消本組織的 SSO 連結嗎?" }, "linkSso": { "message": "連結 SSO" }, "singleOrg": { "message": "單一組織" }, "singleOrgDesc": { "message": "限制使用者加入任何其他組織。" }, "singleOrgBlockCreateMessage": { "message": "您目前的組織原則不允許您加入多個組織。請聯絡您的組織管理員或從其他 Bitwarden 帳戶註冊。" }, "singleOrgPolicyWarning": { "message": "不是擁有者或管理員並且已經是其他組織的成員的組織成員將從您的組織中移除。" }, "requireSso": { "message": "單一登入驗證" }, "requireSsoPolicyDesc": { "message": "要求使用者以企業單一登入方法登入。" }, "prerequisite": { "message": "先決條件" }, "requireSsoPolicyReq": { "message": "必須先開啟單一組織企業原則,才能開啟此原則。" }, "requireSsoPolicyReqError": { "message": "未啟用單一組織原則。" }, "requireSsoExemption": { "message": "組織擁有者與管理員不受此原則的執行影響。" }, "sendTypeFile": { "message": "檔案" }, "sendTypeText": { "message": "文字" }, "createSend": { "message": "建立新 Send", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "editSend": { "message": "編輯 Send", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "createdSend": { "message": "已建立 Send", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "editedSend": { "message": "已編輯 Send", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "deletedSend": { "message": "已刪除 Send", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "deleteSend": { "message": "刪除 Send", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "deleteSendConfirmation": { "message": "您確定要刪除此 Send 嗎?", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "whatTypeOfSend": { "message": "這是什麽類型的 Send?", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "deletionDate": { "message": "刪除日期" }, "deletionDateDesc": { "message": "此 Send 將在指定的日期和時間後被永久刪除。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "expirationDate": { "message": "逾期日期" }, "expirationDateDesc": { "message": "如果設定此選項,對此 Send 的存取將在指定的日期和時間後逾期。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "maxAccessCount": { "message": "最大存取次數" }, "maxAccessCountDesc": { "message": "如果設定此選項,當達到最大存取次數時,使用者將無法再次存取此 Send。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "currentAccessCount": { "message": "目前存取次數" }, "sendPasswordDesc": { "message": "選用。使用者需提供密碼才能存取此 Send。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendNotesDesc": { "message": "關於此 Send 的私人備註。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "disabled": { "message": "已停用" }, "sendLink": { "message": "Send 連結", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "copySendLink": { "message": "複製 Send 連結", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "removePassword": { "message": "移除密碼" }, "removedPassword": { "message": "已移除密碼" }, "removePasswordConfirmation": { "message": "您確定要移除此密碼嗎?" }, "hideEmail": { "message": "對收件人隱藏我的電子郵件地址。" }, "disableThisSend": { "message": "停用此 Send 以阻止任何人存取。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "allSends": { "message": "所有 Send" }, "maxAccessCountReached": { "message": "已達最大存取次數", "description": "This text will be displayed after a Send has been accessed the maximum amount of times." }, "pendingDeletion": { "message": "等待刪除" }, "expired": { "message": "已逾期" }, "searchSends": { "message": "搜尋 Send", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendProtectedPassword": { "message": "此 Send 受到密碼保護,請在下方輸入密碼以繼續。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendProtectedPasswordDontKnow": { "message": "不知道密碼?請向此 Send 的寄件者索取密碼。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendHiddenByDefault": { "message": "此 Send 預設為隱藏。您可使用下方的按鈕切換其可見度。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "downloadFile": { "message": "下載檔案" }, "sendAccessUnavailable": { "message": "您嘗試存取的 Send 不存在或無法再使用。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "missingSendFile": { "message": "找不到與此 Send 關聯的檔案。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "noSendsInList": { "message": "沒有可列出的 Send。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "emergencyAccess": { "message": "緊急存取" }, "emergencyAccessDesc": { "message": "授予和管理可信任連絡人的緊急存取權限。當遇到緊急情况時,可信任連絡人可以要求存取檢視或接管您帳戶的權限。瀏覽說明頁面以取得有關零知識共用的工作原理和更多詳細資訊。" }, "emergencyAccessOwnerWarning": { "message": "您是一個或多個組織的擁有者。如果您授予緊急聯絡人接管存取權限,那麼他們在接管後將能夠以組織擁有者的身分使用您的所有權限。" }, "trustedEmergencyContacts": { "message": "信任的緊急聯絡人" }, "noTrustedContacts": { "message": "您尚未新增任何緊急聯絡人,請邀請一位可信任的聯絡人以開始。" }, "addEmergencyContact": { "message": "新增緊急聯絡人" }, "designatedEmergencyContacts": { "message": "已指定為緊急聯絡人" }, "noGrantedAccess": { "message": "您尚未被指定為任何人的緊急聯絡人。" }, "inviteEmergencyContact": { "message": "邀請緊急聯絡人" }, "editEmergencyContact": { "message": "編輯緊急聯絡人" }, "inviteEmergencyContactDesc": { "message": "透過在下方輸入他們的 Bitwarden 帳戶的電子郵件地址,來邀請新的緊急聯絡人。若他們還沒有 Bitwarden 帳戶,系統將提示他們建立新帳戶。" }, "emergencyAccessRecoveryInitiated": { "message": "已啟動緊急存取" }, "emergencyAccessRecoveryApproved": { "message": "已核准緊急存取" }, "viewDesc": { "message": "可以檢視您擁有的密碼庫中的所有項目。" }, "takeover": { "message": "接管" }, "takeoverDesc": { "message": "可以使用新的主密碼重設您的帳戶。" }, "waitTime": { "message": "等候時間" }, "waitTimeDesc": { "message": "自動授予存取權限前所需的時間。" }, "oneDay": { "message": "1 天" }, "days": { "message": "$DAYS$ 天", "placeholders": { "days": { "content": "$1", "example": "1" } } }, "invitedUser": { "message": "已邀請使用者。" }, "acceptEmergencyAccess": { "message": "您已被邀請成為上述使用者的緊急聯絡人。要接受邀請,您需要登入或建立新的 Bitwarden 帳戶。" }, "emergencyInviteAcceptFailed": { "message": "無法接受邀請。請向使用者要求傳送新的邀請。" }, "emergencyInviteAcceptFailedShort": { "message": "無法接受邀請。$DESCRIPTION$", "placeholders": { "description": { "content": "$1", "example": "You must enable 2FA on your user account before you can join this organization." } } }, "emergencyInviteAcceptedDesc": { "message": "確認您的身份後,您便可以存取此使用者的緊急選項。到時我們會向您傳送電子郵件通知。" }, "requestAccess": { "message": "要求存取權限" }, "requestAccessConfirmation": { "message": "您確定要申請緊急存取嗎?在 $WAITTIME$ 天之後或使用者手動批准要求時您將取得存取權限。", "placeholders": { "waittime": { "content": "$1", "example": "1" } } }, "requestSent": { "message": "來自 $USER$ 的緊急存取要求。我們將透過電子郵件通知您何時可以繼續。", "placeholders": { "user": { "content": "$1", "example": "John Smith" } } }, "approve": { "message": "核准" }, "reject": { "message": "拒絕" }, "approveAccessConfirmation": { "message": "您確定要核准緊急存取嗎?這將允許 $USER$ $ACTION$ 您的帳戶。", "placeholders": { "user": { "content": "$1", "example": "John Smith" }, "action": { "content": "$2", "example": "View" } } }, "emergencyApproved": { "message": "已核准緊急存取。" }, "emergencyRejected": { "message": "已拒絕緊急存取" }, "passwordResetFor": { "message": "$USER$ 的密碼已重設。您現在可以使用新密碼登入了。", "placeholders": { "user": { "content": "$1", "example": "John Smith" } } }, "personalOwnership": { "message": "個人擁有權" }, "personalOwnershipPolicyDesc": { "message": "透過移除個人擁有權選項要求使用者將密碼庫項目儲存至組織。" }, "personalOwnershipExemption": { "message": "組織擁有者與管理員不受此原則的執行影響。" }, "personalOwnershipSubmitError": { "message": "由於某個企業原則,您被限制為儲存項目至您的個人密碼庫。將擁有權變更為組織,並從可用的集合中選擇。" }, "disableSend": { "message": "停用 Send" }, "disableSendPolicyDesc": { "message": "不允許使用者建立或編輯 Bitwarden Send。但允許刪除現有的 Send。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "disableSendExemption": { "message": "可以管理組織原則的組織使用者豁免此原則的執行。" }, "sendDisabled": { "message": "已停用 Send", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendDisabledWarning": { "message": "由於企業原則限制,您只能刪除現有的 Send。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendOptions": { "message": "Send 選項", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendOptionsPolicyDesc": { "message": "設定用於建立和編輯 Send 的選項。", "description": "'Sends' is a plural noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendOptionsExemption": { "message": "可以管理組織原則的組織使用者豁免此原則的執行。" }, "disableHideEmail": { "message": "不允許使用者在建立或編輯 Send 時隱藏他們的電子郵件位址。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendOptionsPolicyInEffect": { "message": "以下組織原則目前作用中:" }, "sendDisableHideEmailInEffect": { "message": "使用者在建立或編輯 Send 時不允許隱藏他們的電子郵件地址。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "modifiedPolicyId": { "message": "原則 $ID$ 已修改。", "placeholders": { "id": { "content": "$1", "example": "Master Password" } } }, "planPrice": { "message": "方案價格" }, "estimatedTax": { "message": "估計稅額" }, "custom": { "message": "自訂" }, "customDesc": { "message": "進階設定允許更精細地控制使用者權限。" }, "permissions": { "message": "權限" }, "accessEventLogs": { "message": "存取事件紀錄" }, "accessImportExport": { "message": "存取匯入/匯出" }, "accessReports": { "message": "存取報告" }, "missingPermissions": { "message": "您欠缺執行本動作必要的權限。" }, "manageAllCollections": { "message": "管理所有集合。" }, "createNewCollections": { "message": "建立新的集合" }, "editAnyCollection": { "message": "編輯任何集合" }, "deleteAnyCollection": { "message": "刪除任何集合" }, "manageAssignedCollections": { "message": "管理已指派的集合" }, "editAssignedCollections": { "message": "編輯已指派的集合" }, "deleteAssignedCollections": { "message": "刪除已指派的集合" }, "manageGroups": { "message": "管理群組" }, "managePolicies": { "message": "管理原則" }, "manageSso": { "message": "管理 SSO" }, "manageUsers": { "message": "管理使用者" }, "manageResetPassword": { "message": "管理密碼重設" }, "disableRequiredError": { "message": "您必須先手動停用 $POLICYNAME$ 原則,然後才能停用此原則。", "placeholders": { "policyName": { "content": "$1", "example": "Single Sign-On Authentication" } } }, "personalOwnershipPolicyInEffect": { "message": "組織原則正在影響您的擁有權選項。" }, "personalOwnershipPolicyInEffectImports": { "message": "組織原則已禁止您將項目匯入至您的個人密碼庫。" }, "personalOwnershipCheckboxDesc": { "message": "停用組織使用者的個人擁有權。" }, "textHiddenByDefault": { "message": "存取此 Send 時,將預設隱藏文字", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendNameDesc": { "message": "用於描述此 Send 的易記名稱。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendTextDesc": { "message": "您想要傳送的文字。" }, "sendFileDesc": { "message": "您想要傳送的檔案。" }, "copySendLinkOnSave": { "message": "儲存時複製連結至剪貼簿以便共用此 Send。" }, "sendLinkLabel": { "message": "Send 連結", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "send": { "message": "Send", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendAccessTaglineProductDesc": { "message": "Bitwarden Send 可以輕鬆、安全地向其他人傳輸敏感的暫存資訊。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "sendAccessTaglineLearnMore": { "message": "深入了解", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read '**Learn more about** Bitwarden Send or sign up to try it today.'" }, "sendVaultCardProductDesc": { "message": "與任何人直接共用文字或檔案。" }, "sendVaultCardLearnMore": { "message": "深入了解", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read '**Learn more**, see how it works, or try it now. '" }, "sendVaultCardSee": { "message": "參閲", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more, **see** how it works, or try it now.'" }, "sendVaultCardHowItWorks": { "message": "運作方式", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more, see **how it works**, or try it now.'" }, "sendVaultCardOr": { "message": "或", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more, see how it works, **or** try it now.'" }, "sendVaultCardTryItNow": { "message": "立即嘗試", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more, see how it works, or **try it now**.'" }, "sendAccessTaglineOr": { "message": "或", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more about Bitwarden Send **or** sign up to try it today.'" }, "sendAccessTaglineSignUp": { "message": "註冊", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more about Bitwarden Send or **sign up** to try it today.'" }, "sendAccessTaglineTryToday": { "message": "現在就試試。", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more about Bitwarden Send or sign up to **try it today.**'" }, "sendCreatorIdentifier": { "message": "Bitwarden 使用者 $USER_IDENTIFIER$ 與您共用了以下內容", "placeholders": { "user_identifier": { "content": "$1", "example": "An email address" } } }, "viewSendHiddenEmailWarning": { "message": "建立此 Send 的 Bitwarden 使用者已選擇隱藏他們的電子郵件地址。在使用或下載此連結的內容之前,應確保您信任此連結的來源。", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." }, "expirationDateIsInvalid": { "message": "指定的逾期日期無效。" }, "deletionDateIsInvalid": { "message": "指定的刪除日期無效。" }, "expirationDateAndTimeRequired": { "message": "必須指定逾期日期和時間。" }, "deletionDateAndTimeRequired": { "message": "要求指定刪除日期和時間。" }, "dateParsingError": { "message": "儲存刪除日期和逾期日期時發生錯誤。" }, "webAuthnFallbackMsg": { "message": "要驗證您的 2FA,請點選下方的按鈕。" }, "webAuthnAuthenticate": { "message": "驗證 WebAuthn" }, "webAuthnNotSupported": { "message": "此瀏覽器不支援 WebAuthn。" }, "webAuthnSuccess": { "message": "WebAuthn 驗證成功!您可以關閉此分頁。" }, "hintEqualsPassword": { "message": "密碼提示不能與您的密碼相同。" }, "enrollPasswordReset": { "message": "註冊密碼重設" }, "enrolledPasswordReset": { "message": "已註冊密碼重設" }, "withdrawPasswordReset": { "message": "撤銷密碼重設" }, "enrollPasswordResetSuccess": { "message": "註冊成功!" }, "withdrawPasswordResetSuccess": { "message": "撤銷成功!" }, "eventEnrollPasswordReset": { "message": "使用者 $ID$ 註冊了密碼重設協助。", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "eventWithdrawPasswordReset": { "message": "使用者 $ID$ 撤銷了密碼重設協助。", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "eventAdminPasswordReset": { "message": "重設使用者 $ID$ 的主密碼", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "eventResetSsoLink": { "message": "重設使用者 $ID$ 的 SSO 連結", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "firstSsoLogin": { "message": "$ID$ 第一次使用 SSO 登入", "placeholders": { "id": { "content": "$1", "example": "John Smith" } } }, "resetPassword": { "message": "重設密碼" }, "resetPasswordLoggedOutWarning": { "message": "接下來會將 $NAME$ 登出目前的工作階段,並要求他們重新登入帳戶。其他裝置上的活動工作階段最多會保持一個小時。", "placeholders": { "name": { "content": "$1", "example": "John Smith" } } }, "thisUser": { "message": "此使用者" }, "resetPasswordMasterPasswordPolicyInEffect": { "message": "一個或多個組織原則要求主密碼須符合下列條件:" }, "resetPasswordSuccess": { "message": "密碼重設成功!" }, "resetPasswordEnrollmentWarning": { "message": "註冊後將允許組織管理者變更您的主密碼。確定要註冊嗎?" }, "resetPasswordPolicy": { "message": "主密碼重設" }, "resetPasswordPolicyDescription": { "message": "允許組織管理者重設組織使用者的主密碼。" }, "resetPasswordPolicyWarning": { "message": "組織使用者需要先自行註冊或被自動註冊後,管理者才能重設他們的主密碼。" }, "resetPasswordPolicyAutoEnroll": { "message": "自動註冊" }, "resetPasswordPolicyAutoEnrollDescription": { "message": "所有接受邀請的使用者,將會被自動註冊密碼重設,並且不允許撤銷。" }, "resetPasswordPolicyAutoEnrollWarning": { "message": "已經在組織中的使用者將不會被註冊密碼重設。他們需要先自行註冊後管理者才能重設他們的主密碼。" }, "resetPasswordPolicyAutoEnrollCheckbox": { "message": "要求為新使用者啟用自動註冊" }, "resetPasswordAutoEnrollInviteWarning": { "message": "此組織有一個可以為您自動註冊密碼重設的企業原則。註冊後將允許組織管理員變更您的主密碼。" }, "resetPasswordOrgKeysError": { "message": "組織金鑰回應為 null" }, "resetPasswordDetailsError": { "message": "重設密碼詳細資訊回應為 null" }, "trashCleanupWarning": { "message": "垃圾桶中超過 30 天的密碼將會被自動刪除。" }, "trashCleanupWarningSelfHosted": { "message": "垃圾桶中超過一定時間的密碼將會被自動刪除。" }, "passwordPrompt": { "message": "重新詢問主密碼" }, "passwordConfirmation": { "message": "確認主密碼" }, "passwordConfirmationDesc": { "message": "此動作受到保護。若要繼續,請重新輸入您的主密碼以驗證您的身份。" }, "reinviteSelected": { "message": "重新傳送邀請" }, "noSelectedUsersApplicable": { "message": "此動作不適用於任何已選取的使用者。" }, "removeUsersWarning": { "message": "您確定要移除以下使用者嗎?這可能需要幾秒鐘的時間,並且不能中斷或取消。" }, "theme": { "message": "主題" }, "themeDesc": { "message": "選擇網頁密碼庫主題。" }, "themeSystem": { "message": "使用系統主題" }, "themeDark": { "message": "深色" }, "themeLight": { "message": "淺色" }, "confirmSelected": { "message": "確認選取" }, "bulkConfirmStatus": { "message": "批次作業狀態" }, "bulkConfirmMessage": { "message": "已成功確認。" }, "bulkReinviteMessage": { "message": "已成功重新邀請。" }, "bulkRemovedMessage": { "message": "已成功移除。" }, "bulkFilteredMessage": { "message": "已排除,不適用於此動作。" }, "fingerprint": { "message": "指紋" }, "removeUsers": { "message": "移除使用者" }, "error": { "message": "錯誤" }, "resetPasswordManageUsers": { "message": "必須啟用管理密碼重設權限後才能啟用管理使用者權限" }, "setupProvider": { "message": "提供者設定" }, "setupProviderLoginDesc": { "message": "已邀請您設定一個新的提供者。若要繼續,您需要登入或建立一個新的 Bitwarden 帳戶。" }, "setupProviderDesc": { "message": "請在下方輸入詳細資訊以完成提供者設定。若您有任何問題,請聯絡客戶支援。" }, "providerName": { "message": "提供者名稱" }, "providerSetup": { "message": "已完成提供者設定。" }, "clients": { "message": "客户" }, "providerAdmin": { "message": "提供者管理員" }, "providerAdminDesc": { "message": "具有最高權限的使用者,可以管理提供者的所有層面也可以存取和管理客戶組織。" }, "serviceUser": { "message": "服務使用者" }, "serviceUserDesc": { "message": "服務使用者可以存取和管理所有客戶組織。" }, "providerInviteUserDesc": { "message": "透過在下方輸入他們的 Bitwarden 帳戶電子郵件位址,來邀請新的使用者加入您的提供者。若他們還沒有 Bitwarden 帳戶,將提示他們建立新帳戶。" }, "joinProvider": { "message": "加入提供者" }, "joinProviderDesc": { "message": "您已受邀請加入上方所列的提供者。若想接受邀請,您需要登入或建立新的 Bitwarden 帳戶。" }, "providerInviteAcceptFailed": { "message": "無法接受邀請。請要求提供者管理員傳送新的邀請。" }, "providerInviteAcceptedDesc": { "message": "管理員確認您的成員身分後,您便可以存取此提供者。到時我們會向您傳送電子郵件通知。" }, "providerUsersNeedConfirmed": { "message": "有使用者已接受邀請,但仍然需要確認。在確認之前,使用者將無法存取提供者。" }, "provider": { "message": "提供者" }, "newClientOrganization": { "message": "新的客戶組織" }, "newClientOrganizationDesc": { "message": "建立一個新的客戶組織,該組織將作為提供者與您建立關聯。您將能夠存取和管理此組織。" }, "addExistingOrganization": { "message": "新增現有組織" }, "myProvider": { "message": "我的提供者" }, "addOrganizationConfirmation": { "message": "您確定要將 $ORGANIZATION$ 新增為 $PROVIDER$ 的客戶嗎?", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" }, "provider": { "content": "$2", "example": "My Provider Name" } } }, "organizationJoinedProvider": { "message": "已成功將組織新增至提供者" }, "accessingUsingProvider": { "message": "正在使用提供者 $PROVIDER$ 存取組織", "placeholders": { "provider": { "content": "$1", "example": "My Provider Name" } } }, "providerIsDisabled": { "message": "已停用提供者。" }, "providerUpdated": { "message": "已更新提供者" }, "yourProviderIs": { "message": "您的提供者為 $PROVIDER$。他們對您的組織具有管理和計費權限。", "placeholders": { "provider": { "content": "$1", "example": "My Provider Name" } } }, "detachedOrganization": { "message": "組織 $ORGANIZATION$ 已與您的提供者中斷連結。", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" } } }, "detachOrganizationConfirmation": { "message": "您確定要分離此組織嗎?該組織將繼續存在,但不再由此提供者管理。" }, "add": { "message": "新增" }, "updatedMasterPassword": { "message": "已更新主密碼" }, "updateMasterPassword": { "message": "更新主密碼" }, "updateMasterPasswordWarning": { "message": "您的主密碼最近被您的組織管理者變更過。您必須現在更新主密碼才能存取密碼庫。繼續操作會登出您目前的工作階段,並要求您重新登入帳戶。其他裝置上的活動工作階段最多會保持一個小時。" }, "masterPasswordInvalidWarning": { "message": "您的主密碼不符合此組織原則的要求。您必須現在更新主密碼才可以加入此組織。繼續操作會登出您目前的工作階段,並要求您重新登入帳戶。其他裝置上的活動工作階段最多會保持一個小時。" }, "maximumVaultTimeout": { "message": "密碼庫逾時時間" }, "maximumVaultTimeoutDesc": { "message": "為所有使用者設定最大密碼庫逾時時間。" }, "maximumVaultTimeoutLabel": { "message": "最大密碼庫逾時時間" }, "invalidMaximumVaultTimeout": { "message": "無效的最大密碼庫逾時時間。" }, "hours": { "message": "小時" }, "minutes": { "message": "分鐘" }, "vaultTimeoutPolicyInEffect": { "message": "您的組織原則正在影響您的密碼庫逾時時間。密碼庫逾時時間最多可以設定到 $HOURS$ 小時 $MINUTES$ 分鐘。", "placeholders": { "hours": { "content": "$1", "example": "5" }, "minutes": { "content": "$2", "example": "5" } } }, "customVaultTimeout": { "message": "自訂密碼庫逾時時間" }, "vaultTimeoutToLarge": { "message": "您的密碼庫逾時時間超過組織設定的限制。" }, "disablePersonalVaultExport": { "message": "停用個人密碼庫匯出" }, "disablePersonalVaultExportDesc": { "message": "禁止使用者匯出個人密碼庫資料。" }, "vaultExportDisabled": { "message": "已停用密碼庫匯出" }, "personalVaultExportPolicyInEffect": { "message": "一個或多個組織原則禁止您匯出個人密碼庫。" }, "selectType": { "message": "選擇 SSO 類型" }, "type": { "message": "類型" }, "openIdConnectConfig": { "message": "OpenID 連線設定" }, "samlSpConfig": { "message": "SAML 服務提供程式設定" }, "samlIdpConfig": { "message": "SAML 身分提供程式設定" }, "callbackPath": { "message": "回呼路徑" }, "signedOutCallbackPath": { "message": "已登出回呼路徑" }, "authority": { "message": "授權單位" }, "clientId": { "message": "客戶 ID" }, "clientSecret": { "message": "客戶金鑰" }, "metadataAddress": { "message": "中繼資料位址" }, "oidcRedirectBehavior": { "message": "OIDC 重新導向行為" }, "getClaimsFromUserInfoEndpoint": { "message": "從使用者資訊端點取得聲明" }, "additionalScopes": { "message": "自訂範圍" }, "additionalUserIdClaimTypes": { "message": "自訂使用者 ID 聲明類型" }, "additionalEmailClaimTypes": { "message": "電子郵件聲明類型" }, "additionalNameClaimTypes": { "message": "自訂名稱聲明類型" }, "acrValues": { "message": "要求的驗證資料內容類別參考值" }, "expectedReturnAcrValue": { "message": "回應中預期的「acr」聲明值" }, "spEntityId": { "message": "SP 實體 ID" }, "spMetadataUrl": { "message": "SAML 2.0 中繼資料 URL" }, "spAcsUrl": { "message": "判斷提示取用者服務 (ACS) URL" }, "spNameIdFormat": { "message": "名稱 ID 格式" }, "spOutboundSigningAlgorithm": { "message": "傳出簽署演算法" }, "spSigningBehavior": { "message": "簽署行為" }, "spMinIncomingSigningAlgorithm": { "message": "最小傳入簽署演算法" }, "spWantAssertionsSigned": { "message": "需要已簽署宣告" }, "spValidateCertificates": { "message": "驗證憑證" }, "idpEntityId": { "message": "實體 ID" }, "idpBindingType": { "message": "繫結類型" }, "idpSingleSignOnServiceUrl": { "message": "單一登入服務 URL" }, "idpSingleLogoutServiceUrl": { "message": "單一登出服務 URL" }, "idpX509PublicCert": { "message": "X509 公開憑證" }, "idpOutboundSigningAlgorithm": { "message": "傳出簽署演算法" }, "idpAllowUnsolicitedAuthnResponse": { "message": "允許未經要求的驗證回應" }, "idpAllowOutboundLogoutRequests": { "message": "允許傳出登出要求" }, "idpSignAuthenticationRequests": { "message": "簽署身分驗證要求" }, "ssoSettingsSaved": { "message": "已儲存單一登入設定。" }, "sponsoredFamilies": { "message": "免費的 Bitwarden 家庭方案" }, "sponsoredFamiliesEligible": { "message": "您與家庭成員可使用免費的 Bitwarden 家庭方案。就算不在上班時間,也可以使用您的私人電子郵件來兌換此方案,以保障您的資料安全。" }, "sponsoredFamiliesEligibleCard": { "message": "立即兌換您的免費 Bitwarden 家庭方案,即使不在上班時間也能夠保障您的資料安全。" }, "sponsoredFamiliesInclude": { "message": "Bitwarden 家庭方案內容包含" }, "sponsoredFamiliesPremiumAccess": { "message": "最多 6 位使用者的付費方案存取權限" }, "sponsoredFamiliesSharedCollections": { "message": "用於家庭共用帳號密碼的集合" }, "badToken": { "message": "連結已失效。請讓贊助者重新傳送邀請。" }, "reclaimedFreePlan": { "message": "已回收免費方案" }, "redeem": { "message": "兌換" }, "sponsoredFamiliesSelectOffer": { "message": "選擇您希望被贊助的組織" }, "familiesSponsoringOrgSelect": { "message": "您想兌換哪一個免費家庭邀請呢?" }, "sponsoredFamiliesEmail": { "message": "輸入您的個人電子郵件以兌換 Bitwarden 家庭方案" }, "sponsoredFamiliesLeaveCopy": { "message": "如果您離開或被從該組織中移除,您的家庭方案將在計費周期結束時逾期。" }, "acceptBitwardenFamiliesHelp": { "message": "接受現有組織的邀請或建立一個新的家庭組織。" }, "setupSponsoredFamiliesLoginDesc": { "message": "您已被邀請加入一個免費的 Bitwarden 家庭方案組織。若要繼續,您必須登入至接受邀請的帳戶。" }, "sponsoredFamiliesAcceptFailed": { "message": "無法接受邀請。請透過您的企業帳戶重新傳送邀請郵件,然後再試一次。" }, "sponsoredFamiliesAcceptFailedShort": { "message": "無法接受邀請。$DESCRIPTION$", "placeholders": { "description": { "content": "$1", "example": "You must have at least one existing Families Organization." } } }, "sponsoredFamiliesOffer": { "message": "兌換免費的 Bitwarden 家庭方案" }, "sponsoredFamiliesOfferRedeemed": { "message": "已成功兌換免費的 Bitwarden 家庭方案" }, "redeemed": { "message": "已兌換" }, "redeemedAccount": { "message": "已兌換帳戶" }, "revokeAccount": { "message": "撤銷帳戶 $NAME$", "placeholders": { "name": { "content": "$1", "example": "My Sponsorship Name" } } }, "resendEmailLabel": { "message": "重新傳送贊助郵件至 $NAME$", "placeholders": { "name": { "content": "$1", "example": "My Sponsorship Name" } } }, "freeFamiliesPlan": { "message": "免費家庭方案" }, "redeemNow": { "message": "立即兌換" }, "recipient": { "message": "收件者" }, "removeSponsorship": { "message": "移除贊助" }, "removeSponsorshipConfirmation": { "message": "移除贊助後,您將自己負責此訂閱及其相關帳單。您確定要繼續嗎?" }, "sponsorshipCreated": { "message": "已建立贊助" }, "revoke": { "message": "撤銷" }, "emailSent": { "message": "已寄出郵件" }, "revokeSponsorshipConfirmation": { "message": "移除此帳戶後,家庭組織的擁有者將負責此訂閱及其相關帳單。您確定要繼續嗎?" }, "removeSponsorshipSuccess": { "message": "已移除贊助" }, "ssoKeyConnectorUnavailable": { "message": "無法連線至 Key Connector。請稍後再試。" }, "keyConnectorUrl": { "message": "Key Connector URL" }, "sendVerificationCode": { "message": "傳送驗證碼至您的電子郵件信箱" }, "sendCode": { "message": "傳送驗證碼" }, "codeSent": { "message": "驗證碼已傳送" }, "verificationCode": { "message": "驗證碼" }, "confirmIdentity": { "message": "請先確認身分後再繼續。" }, "verificationCodeRequired": { "message": "必須填入驗證碼。" }, "invalidVerificationCode": { "message": "無效的驗證碼" }, "convertOrganizationEncryptionDesc": { "message": "$ORGANIZATION$ 使用自我托管金鑰伺服器 SSO。此組織的成員登入時將不再需要主密碼。", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" } } }, "leaveOrganization": { "message": "離開組織" }, "removeMasterPassword": { "message": "移除主密碼" }, "removedMasterPassword": { "message": "已移除主密碼。" }, "allowSso": { "message": "允許 SSO 身分驗證" }, "allowSsoDesc": { "message": "設定後,您的設定將被儲存,成員將可以使用他們的識別提供者憑證進行身分驗證。" }, "ssoPolicyHelpStart": { "message": "啟用", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Enable the SSO Authentication policy to require all members to log in with SSO.'" }, "ssoPolicyHelpLink": { "message": "SSO 驗證原則", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Enable the SSO Authentication policy to require all members to log in with SSO.'" }, "ssoPolicyHelpEnd": { "message": "要求所有成員皆使用 SSO 登入。", "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Enable the SSO Authentication policy to require all members to log in with SSO.'" }, "ssoPolicyHelpKeyConnector": { "message": "SSO 驗證及單一組織原則需要先設定 Key Connector 解密方式後才能啟用。" }, "memberDecryptionOption": { "message": "成員解密選項" }, "memberDecryptionPassDesc": { "message": "通過驗證以後,成員將使用他們的主密碼解密密碼庫資料。" }, "keyConnector": { "message": "Key Connector" }, "memberDecryptionKeyConnectorDesc": { "message": "連結 SSO 登入至您的自我托管解密金鑰伺服器。使用此選項後,成員便無需使用它們的主密碼來解密密碼庫資料。聯絡 Bitwarden 客戶支援以取得設定協助。" }, "keyConnectorPolicyRestriction": { "message": "已啟用「SSO 登入和 Key Connector 解密」。此原則僅適用於擁有者和管理員。" }, "enabledSso": { "message": "已啟用 SSO" }, "disabledSso": { "message": "已停用 SSO" }, "enabledKeyConnector": { "message": "已啟用 Key Connector" }, "disabledKeyConnector": { "message": "已停用 Key Connector" }, "keyConnectorWarning": { "message": "一旦成員開始使用 Key Connector,您的組織將無法還原為使用主密碼解密。請於您可以輕鬆地部署和管理金鑰伺服器時再繼續。" }, "migratedKeyConnector": { "message": "已移轉至 Key Connector" }, "paymentSponsored": { "message": "請提供一個與此組織關聯的付款方式。別擔心,我們不會向您收取任何費用,除非您選擇進階功能或您的贊助到期。 " }, "orgCreatedSponsorshipInvalid": { "message": "贊助邀請已逾期,您可以刪除您建立的組織,以避免在 7 天試用期結束後被收取費用。 您也可以關閉此提示以保留該組織並承擔計費責任。" }, "newFamiliesOrganization": { "message": "新的家庭組織" }, "acceptOffer": { "message": "接受邀請" }, "sponsoringOrg": { "message": "贊助組織" }, "keyConnectorTest": { "message": "測試" }, "keyConnectorTestSuccess": { "message": "成功!已連線 Key Connector。" }, "keyConnectorTestFail": { "message": "無法連線 Key Connector。請檢查 URL。" }, "sponsorshipTokenHasExpired": { "message": "此贊助邀請已逾期。" }, "freeWithSponsorship": { "message": "免費贊助" }, "formErrorSummaryPlural": { "message": "您需注意上方的 $COUNT$ 個欄位。", "placeholders": { "count": { "content": "$1", "example": "5" } } }, "formErrorSummarySingle": { "message": "您需注意上方的 1 個欄位。" }, "fieldRequiredError": { "message": "$FIELDNAME$ 是必要項目。", "placeholders": { "fieldname": { "content": "$1", "example": "Full name" } } }, "required": { "message": "必填" }, "idpSingleSignOnServiceUrlRequired": { "message": "若 Entity ID 非 URL,則必須填入。" }, "openIdOptionalCustomizations": { "message": "選用自訂項目" }, "openIdAuthorityRequired": { "message": "若授權無效,則必須填入。" }, "separateMultipleWithComma": { "message": "使用逗號分隔。" }, "sessionTimeout": { "message": "您的登入階段已逾時,請返回並嘗試重新登入。" }, "exportingPersonalVaultTitle": { "message": "匯出個人密碼庫" }, "exportingOrganizationVaultTitle": { "message": "匯出組織密碼庫" }, "exportingPersonalVaultDescription": { "message": "只會匯出與 $EMAIL$ 關聯的個人密碼庫。組織密碼庫的項目不包含在內。", "placeholders": { "email": { "content": "$1", "example": "name@example.com" } } }, "exportingOrganizationVaultDescription": { "message": "只會匯出與 $ORGANIZATION$ 關聯的組織密碼庫。個人密碼庫和其他組織的項目不包含在內。", "placeholders": { "organization": { "content": "$1", "example": "My Org Name" } } }, "backToReports": { "message": "返回報告" }, "generator": { "message": "產生器" }, "whatWouldYouLikeToGenerate": { "message": "您想要產生什麼?" }, "passwordType": { "message": "密碼類型" }, "regenerateUsername": { "message": "重新產生使用者名稱" }, "generateUsername": { "message": "產生使用者名稱" }, "usernameType": { "message": "使用者名稱類型" }, "plusAddressedEmail": { "message": "加號地址電子郵件", "description": "Username generator option that appends a random sub-address to the username. For example: address+subaddress@email.com" }, "plusAddressedEmailDesc": { "message": "使用您的電子郵件提供者的子地址功能。" }, "catchallEmail": { "message": "Catch-all 電子郵件" }, "catchallEmailDesc": { "message": "使用您的網域設定的 Catch-all 收件匣。" }, "random": { "message": "隨機" }, "randomWord": { "message": "隨機單字" }, "service": { "message": "服務" } }
bitwarden/web/src/locales/zh_TW/messages.json/0
{ "file_path": "bitwarden/web/src/locales/zh_TW/messages.json", "repo_id": "bitwarden", "token_count": 75211 }
150
.table { @include themify($themes) { color: themed("textColor"); } td { vertical-align: middle; @include themify($themes) { color: themed("textColor"); } & > a { &:not(.badge) { @include themify($themes) { color: themed("tableLinkColor"); } &:hover { @include themify($themes) { color: themed("tableLinkColorHover"); } } } } &.reduced-lh { line-height: 1; small { font-size: 80%; } } small, > .bwi, .icon { @include themify($themes) { color: themed("textMuted"); } } .bwi-globe { @include themify($themes) { color: themed("iconColor"); } } } td.wrap { word-break: break-all; } td.table-list-options { height: 50px; max-width: 76px; text-align: right; width: 76px; &.wider { max-width: 100px; width: 100px; } .btn { line-height: 1; transition: initial; } .dropdown-menu { line-height: $line-height-base; } } td.table-action-right { text-align: right; } // Deprecated: only used for old Bootstrap table-list-option menus before the End User Vault Refresh. // New menus should be permanently visible. tr:not(:hover) td.table-list-options { > .dropdown:not(.show) button:not(:focus):not(:active), > button.dropdown-toggle:not(:focus):not(:active) { @extend .sr-only; } } td.table-list-icon { max-width: 45px; text-align: center; width: 45px; img { @extend .rounded; @extend .img-fluid; max-height: 24px; } } td.table-list-checkbox { max-width: 35px; width: 35px; } td.table-list-strike { text-decoration: line-through; @include themify($themes) { color: themed("textMuted"); } } &.table-list { &.table td, .table th { &:not(tr:first-child td) { @include themify($themes) { border-top: 1px solid themed("tableSeparator"); } } } thead th { border-top: none; } tr:first-child { td { border: none; } } } } .table-hover tbody tr:hover { @include themify($themes) { background-color: themed("tableRowHover"); color: themed("tableColorHover"); } }
bitwarden/web/src/scss/tables.scss/0
{ "file_path": "bitwarden/web/src/scss/tables.scss", "repo_id": "bitwarden", "token_count": 1147 }
151
{ "extends": "./jslib/shared/tsconfig", "compilerOptions": { "baseUrl": ".", "paths": { "tldjs": ["jslib/common/src/misc/tldjs.noop"], "jslib-common/*": ["jslib/common/src/*"], "jslib-angular/*": ["jslib/angular/src/*"], "@bitwarden/components": ["jslib/components/src"], "src/*": ["src/*"] } }, "angularCompilerOptions": { "preserveWhitespaces": true }, "files": ["src/app/polyfills.ts", "src/app/main.ts", "bitwarden_license/src/app/main.ts"], "include": [ "src/connectors/*.ts", "src/models/*.ts", "src/services/*.ts", "src/abstractions/*.ts" ] }
bitwarden/web/tsconfig.json/0
{ "file_path": "bitwarden/web/tsconfig.json", "repo_id": "bitwarden", "token_count": 295 }
152
package com.aitongyi.web.back.conf; //import org.mybatis.spring.annotation.MapperScan; import org.mybatis.spring.annotation.MapperScan; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.EnableAspectJAutoProxy; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.web.multipart.commons.CommonsMultipartResolver; import org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer; import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; import org.springframework.web.servlet.view.InternalResourceViewResolver; @EnableWebMvc @EnableAspectJAutoProxy @EnableScheduling @ComponentScan(basePackages = {"com.aitongyi.web.back.controller", "com.aitongyi.web.service", "com.aitongyi.web.task"}) @MapperScan("com.aitongyi.web.dao.mapper") public class MvcConfig extends WebMvcConfigurerAdapter { @Override public void addResourceHandlers(ResourceHandlerRegistry registry) { } @Override public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) { configurer.enable(); } /** * jsp视图解析器 * @return */ @Bean public InternalResourceViewResolver jspViewResolver() { InternalResourceViewResolver bean = new InternalResourceViewResolver(); bean.setViewClass(org.springframework.web.servlet.view.JstlView.class); bean.setPrefix("/WEB-INF/pages/"); bean.setSuffix(".jsp"); return bean; } /** * 公共部分解析器 * @return */ @Bean(name="multipartResolver") public CommonsMultipartResolver commonsMultipartResolver(){ CommonsMultipartResolver common = new CommonsMultipartResolver(); common.setMaxUploadSize(10 * 1024 * 1024);//10M return common; } }
chwshuang/web/back/src/main/java/com/aitongyi/web/back/conf/MvcConfig.java/0
{ "file_path": "chwshuang/web/back/src/main/java/com/aitongyi/web/back/conf/MvcConfig.java", "repo_id": "chwshuang", "token_count": 769 }
153
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>web</artifactId> <groupId>com.aitongyi.web</groupId> <version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>dao</artifactId> <dependencies> <dependency> <groupId>com.aitongyi.web</groupId> <artifactId>bean</artifactId> <version>${project.version}</version> </dependency> </dependencies> </project>
chwshuang/web/dao/pom.xml/0
{ "file_path": "chwshuang/web/dao/pom.xml", "repo_id": "chwshuang", "token_count": 358 }
154
package web import ( "net/http" "reflect" ) // Request wraps net/http's Request and gocraf/web specific fields. In particular, PathParams is used to access // captures params in your URL. A Request is sent to handlers on each request. type Request struct { *http.Request // PathParams exists if you have wildcards in your URL that you need to capture. // Eg, /users/:id/tickets/:ticket_id and /users/1/tickets/33 would yield the map {id: "3", ticket_id: "33"} PathParams map[string]string // The actual route that got invoked route *route rootContext reflect.Value // Root context. Set immediately. targetContext reflect.Value // The target context corresponding to the route. Not set until root middleware is done. } // IsRouted can be called from middleware to determine if the request has been routed yet. func (r *Request) IsRouted() bool { return r.route != nil } // RoutePath returns the routed path string. Eg, if a route was registered with // router.Get("/suggestions/:suggestion_id/comments", f), then RoutePath will return "/suggestions/:suggestion_id/comments". func (r *Request) RoutePath() string { if r.route != nil { return r.route.Path } return "" }
gocraft/web/request.go/0
{ "file_path": "gocraft/web/request.go", "repo_id": "gocraft", "token_count": 352 }
155
--- title: HTML eleventyNavigation: key: HTML # parent: Going Buildless order: 20 --- <dfn>HTML</dfn> stands for <q>HyperText Markup Language</q>, <q>HyperText</q> being text documents containing interactive links to other such documents, and <q>Markup</q> meaning a syntax for applying semantics (such as those links) to that document. As we saw in the [previous section](./server.md), HTML is the primary resource that servers send to browsers. Even if the web server is entirely dynamic, meaning it doesn't send the contents of `.html` files from its web root, it will still send a string of HTML for most requests. Every web page is, ultimately and essentially, an HTML document. The purpose of this document isn't to present a comprehensive tutorial, but to highlight some of the imporant basic aspects of HTML. ## View Source You can inspect every HTML page by context-clicking and selecting "View Page Source". This lets you see the complete HTML document for the page you are viewing. When we were first exploring the web back in the 90s, "View Source" let us learn from others, and better understand how the web worked. ```html <html> <head> <title>My Page</title> </head> <body> <h1>My page</h1> <p>This page's content was authored in <abbr>HTML</abbr>.</p> <a href="/next.html">Next Page</a> </body> </html> ``` ## Semantic HTML The "ML" in <abbr>HTML</abbr>, "Markup Language" means that HTML tags provide structure and context to the text of the document, they "mark the text up" with additional information that's useful to readers, assistive technology, and machines. Consider a list, for example. An author could create the visual effect of a list in HTML using only the <dfn>`<br/>`</dfn> (line break) tag and the <dfn>`&emsp`</dfn> (em-space [HTML entity](https://developer.mozilla.org/en-US/docs/Glossary/Entity)): ```HTML A list:<br/> <br/> &emsp;1. First<br/> &emsp;2. Second<br/> &emsp;3. Third<br/> <br/> ``` But there are several problems with this. First, the HTML is hard to read and hard to maintain. There's nothing here, aside from the text "A list", to indicate that this should be a list. Second, the markup doesn't actually provide any new information. Assistive technology or computers like web crawlers won't be able to identify this as a list of items. Third, it will be difficult to design the style of the page with CSS. Much better to use what HTML provides, the <dfn>`<ol>`</ol> (ordered-list) tag. ```HTML A list: <ol> <li>First</li> <li>Second</li> <li>Third</li> </ol> ``` [HTML has many semantic tags built-in](https://developer.mozilla.org/en-US/docs/Web/HTML/Element), including tags which group parts of the page into logical units, tags for page headings, and tags for displaying various specific kinds of information. Some of the lesser-known tags include: - `<time>` for representing time values - `<kbd>` for representing a keyboard key or key combination - `<aside>` for representing content that is auxiliary to the main content - `<article>` for a composed section of content that represents a coherent unit ### DIV Soup Sometimes, when you [inspect a web page](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools), you'll see something like this: ```html <div class="css-698um9"> <div class="css-1tk5puc"> <div class="css-jbmajz"> <!-- ...etc --> </div> </div> </div> ``` This "DIV soup" is a sign that the developers did not use semantic HTML. Users of assistive technology may have difficulty using this web page, computers may have difficulty parsing it (i.e. it may not rank highly on search engines), and developers will have difficulty understanding the structure of the HTML and the purpose of its various elements. As much as possible, developers should strive to use the semantically correct HTML tags for their content. ## Learn more If you wanna know more check out MDN's [HTML basics](https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/HTML_basics).
modernweb-dev/web/docs-drafts/faqs/html.md/0
{ "file_path": "modernweb-dev/web/docs-drafts/faqs/html.md", "repo_id": "modernweb-dev", "token_count": 1183 }
156
--- eleventyNavigation: key: Family --- # About Modern Web > Our goal is to provide developers with the guides and tools they need to build for the modern web. We aim to work closely with the browser and avoid complex abstractions. Modern browsers are a powerful platform for building websites and applications. We try to work with what's available in the browser first before reaching for custom solutions. When you're working _with_ the browser rather than against it, code, skills, and knowledge remain relevant for a longer time. Development becomes faster and debugging is easier because there are fewer layers of abstractions involved. At the same time, we are aware of the fact that not all problems can be solved elegantly by the browser today. We support developers making informed decisions about introducing tools and customizations to their projects, in such a way that developers can upgrade later as browser support improves. ## Modern Web Family The Modern Web Family consists of: - [modern-web.dev](https://modern-web.dev) with the `@web` npm namespace - [open-wc.org](https://open-wc.org) with the `@open-wc` npm namespace
modernweb-dev/web/docs/discover/about.md/0
{ "file_path": "modernweb-dev/web/docs/discover/about.md", "repo_id": "modernweb-dev", "token_count": 265 }
157
# Dev Server >> Plugins >> Import Maps ||5 Plugin for resolving imports using [Import maps](https://github.com/WICG/import-maps). Import Maps can be used to resolve imports in your code as an alternative to the `--node-resolve` flag, or to mock modules. ## Import Maps > Description from the original proposal readme This proposal allows control over what URLs get fetched by JavaScript import statements and import() expressions. This allows "bare import specifiers", such as import moment from "moment", to work. The mechanism for doing this is via an import map which can be used to control the resolution of module specifiers generally. As an introductory example, consider the code ```js import moment from 'moment'; import { partition } from 'lodash'; ``` Today, this throws, as such bare specifiers are explicitly reserved. By supplying the browser with the following import map ```html <script type="importmap"> { "imports": { "moment": "/node_modules/moment/src/moment.js", "lodash": "/node_modules/lodash-es/lodash.js" } } </script> ``` the above would act as if you had written ```js import moment from '/node_modules/moment/src/moment.js'; import { partition } from '/node_modules/lodash-es/lodash.js'; ``` ## Installation Install the package: ``` npm i --save-dev @web/dev-server-import-maps ``` Add the plugin to your `web-dev-server.config.mjs` or `web-test-runner.config.js`: ```js import { importMapsPlugin } from '@web/dev-server-import-maps'; export default { plugins: [importMapsPlugin()], }; ``` ## Basic usage When the plugin is installed any import maps found in HTML files are used to resolve imports in modules imported by the HTML file: ```html <html> <head> <script type="importmap"> { "imports": { "chai": "/node_modules/@esm-bundle/chai/chai.js", "./app.js": "./mocked-app.js" } } </script> </head> <body> <script type="module"> // mapped to /node_modules/@esm-bundle/chai/chai.js import chai from 'chai'; // mapped to ./mocked-app.js import app from './app.js'; // any imports inside ./foo.js will be mapped as well import './foo.js'; </script> </body> </html> ``` In the test runner, you can author tests in HTML to use import maps in your test. ## Import map options Check the [official proposal](https://github.com/WICG/import-maps) for all possible options. ## Injecting import maps The import map plugin can also inject import maps to HTML files using the `inject` option. ```js import { importMapsPlugin } from '@web/dev-server-import-maps'; export default { plugins: [ importMapsPlugin({ inject: { importMap: { imports: { foo: './bar.js' }, }, }, }), ], }; ``` ### Including or excluding file You can control which html files the import map is injected into using the `include` option. This is a glob matched against the browser path: ```js import { importMapsPlugin } from '@web/dev-server-import-maps'; export default { plugins: [ importMapsPlugin({ inject: { include: '/pages/*.html', importMap: { imports: { foo: './bar.js' }, }, }, }), ], }; ``` The `exclude` option can be used to exclude files: ```js import { importMapsPlugin } from '@web/dev-server-import-maps'; export default { plugins: [ importMapsPlugin({ inject: { exclude: '**/*.fragment.html', importMap: { imports: { foo: './bar.js' }, }, }, }), ], }; ``` ### Multiple Import Maps The `inject` option can also take an array with multiple import maps: ```js import { importMapsPlugin } from '@web/dev-server-import-maps'; export default { plugins: [ importMapsPlugin({ inject: [ { include: '/pages/a.html', importMap: { imports: { foo: './bar1.js' }, }, }, { include: '/pages/b.html', importMap: { imports: { foo: './bar2.js' }, }, }, { include: '/test/**/*.test.html', importMap: { imports: { foo: './bar3.js' }, }, }, ], }), ], }; ```
modernweb-dev/web/docs/docs/dev-server/plugins/import-maps.md/0
{ "file_path": "modernweb-dev/web/docs/docs/dev-server/plugins/import-maps.md", "repo_id": "modernweb-dev", "token_count": 1659 }
158
--- eleventyNavigation: key: Storybook Builder >> Overview title: Overview parent: Storybook Builder order: 1 --- # Web Storybook Builder `@web/storybook-builder` is a [Storybook builder](https://storybook.js.org/docs/web-components/builders/overview) powered by [`@web/dev-server`](../dev-server/overview.md). If you are using the ecosystem of `@web/dev-server` and `@web/test-runner`, then this is the right choice for your Storybook setup. ## Installation Install the `@web/storybook-builder`: ```bash npm install @web/storybook-builder --save-dev ``` Install a framework, e.g. for Web Components: > Information about supported frameworks can be found [here](./frameworks.md). ```bash npm install @web/storybook-framework-web-components --save-dev ``` Then proceed to the [Configuration](./configuration.md). ## Migration If you are migrating from the `@web/dev-server-storybook` plugin to Storybook 7, please read the [Migration to Storybook 7 guide](./migration-to-storybook-7.md).
modernweb-dev/web/docs/docs/storybook-builder/overview.md/0
{ "file_path": "modernweb-dev/web/docs/docs/storybook-builder/overview.md", "repo_id": "modernweb-dev", "token_count": 313 }
159
# Test Runner >> Reporters >> Dot ||40 Mocha-style dot reporter for Web Test Runner ## Example ```js import { dotReporter } from '@web/test-runner'; export default { nodeResolve: true, reporters: [dotReporter()], }; ```
modernweb-dev/web/docs/docs/test-runner/reporters/dot.md/0
{ "file_path": "modernweb-dev/web/docs/docs/test-runner/reporters/dot.md", "repo_id": "modernweb-dev", "token_count": 77 }
160
# Test Runner >> Browsers ||30 Browser launchers are responsible for opening and controlling the actual browser. By default, the test runner will look for a globally installed Chrome on your computer. ## Testing with Puppeteer You can run tests with puppeteer, which will download a local instance of Chromium instead of relying on a globally installed version of Chrome. First, install the package: ``` npm i --save-dev @web/test-runner-puppeteer ``` Then, add the `--puppeteer` in your `package.json`: ```json { "scripts": { "test": "wtr \"test/**/*.test.js\" --node-resolve --puppeteer" } } ``` ## Testing in all evergreen browsers [Playwright](https://github.com/microsoft/playwright) is a great tool by Microsoft that allows us to run tests in all evergreen browsers. If you want to make use of this, you can do so by following these instructions: ``` npm i --save-dev @web/test-runner-playwright ``` This will locally install the required versions of Chromium, Firefox, and WebKit. Once installation is done, we can specify which browsers we want to actually make use of in our `package.json` script: ```json "test": "web-test-runner \"test/**/*.test.js\" --node-resolve --playwright --browsers chromium firefox webkit", ``` Now all we need to do is run our tests: ``` $ npm run test $ web-test-runner "test/**/*.test.js" --node-resolve --playwright --browsers chromium firefox webkit Chromium: |██████████████████████████████| 2/2 test files | 3 passed, 0 failed Firefox: |██████████████████████████████| 2/2 test files | 3 passed, 0 failed Webkit: |██████████████████████████████| 2/2 test files | 3 passed, 0 failed Finished running tests in 3.4s, all tests passed! 🎉 ``` As you can see, we've executed 2 test files in 3 different real browsers. If all your tests are green you can't get any more confident about your code. So let's ship it! ## Using Browserstack For modern browsers we recommend using other browser launchers, as they are a lot faster. Browserstack can be used to target older browser versions. Check the [docs](../../docs/test-runner/browser-launchers/browserstack.md) to learn how to set it up. ## Learn more All the code is available on [github](https://github.com/modernweb-dev/example-projects/tree/master/guides/test-runner). See the [documentation of @web/test-runner](../../docs/test-runner/overview.md).
modernweb-dev/web/docs/guides/test-runner/browsers.md/0
{ "file_path": "modernweb-dev/web/docs/guides/test-runner/browsers.md", "repo_id": "modernweb-dev", "token_count": 695 }
161
setTimeout(() => { window.location.reload(); }, 100); it('x', async function test() { this.timeout(20000); await new Promise(r => setTimeout(r, 10000)); });
modernweb-dev/web/integration/test-runner/tests/location-change/browser-tests/fail-location-reload.test.js/0
{ "file_path": "modernweb-dev/web/integration/test-runner/tests/location-change/browser-tests/fail-location-reload.test.js", "repo_id": "modernweb-dev", "token_count": 57 }
162
foo'
modernweb-dev/web/integration/test-runner/tests/test-failure/browser-tests/fail-syntax-error-dependency.js/0
{ "file_path": "modernweb-dev/web/integration/test-runner/tests/test-failure/browser-tests/fail-syntax-error-dependency.js", "repo_id": "modernweb-dev", "token_count": 2 }
163
import { expect } from 'chai'; import puppeteer, { Browser, Page } from 'puppeteer'; import fs from 'fs'; import path from 'path'; import { deserialize } from '../src/deserialize.js'; const serializeScript = fs.readFileSync(require.resolve('../dist/serialize.js'), 'utf-8'); const defaultOptions = { browserRootDir: __dirname, cwd: __dirname }; describe('serialize deserialize', function () { this.timeout(10000); let browser: Browser; let page: Page; before(async () => { browser = await puppeteer.launch({ headless: true }); page = await browser.newPage(); await page.goto('about:blank'); await page.evaluate( `(function () { var module = {}; var exports = {}; \n${serializeScript};\n window._serialize = serialize })()`, ); }); after(async () => { await browser.close(); }); it('handles strings', async () => { const serialized = await page.evaluate(() => (window as any)._serialize('foo')); const deserialized = await deserialize(serialized); expect(deserialized).to.equal('foo'); }); it('handles numbers', async () => { const serialized = await page.evaluate(() => (window as any)._serialize(1)); const deserialized = await deserialize(serialized); expect(deserialized).to.equal(1); }); it('handles Date', async () => { const serialized = await page.evaluate(() => (window as any)._serialize(new Date('2020-07-25T12:00:00.000Z')), ); const deserialized = await deserialize(serialized); expect(deserialized).to.equal('2020-07-25T12:00:00.000Z'); }); it('handles Function', async () => { const serialized = await page.evaluate(() => { function foo(x: number, y: number) { return x * y; } return (window as any)._serialize(foo); }); const deserialized = await deserialize(serialized); expect(typeof deserialized).to.equal('function'); expect(deserialized.name).to.equal('foo'); }); it('handles bound Function', async () => { const serialized = await page.evaluate(() => { function foo(x: number, y: number) { return x * y; } return (window as any)._serialize(foo.bind(null)); }); const deserialized = await deserialize(serialized); expect(typeof deserialized).to.equal('function'); expect(deserialized.name).to.equal('foo'); }); it('handles Symbol', async () => { const serialized = await page.evaluate(() => (window as any)._serialize(Symbol('foo'))); const deserialized = await deserialize(serialized); expect(deserialized).to.equal('Symbol(foo)'); }); it('handles arrow functions', async () => { const serialized = await page.evaluate(() => { const foo = (x: number, y: number) => x * y; return (window as any)._serialize(foo); }); const deserialized = await deserialize(serialized); expect(typeof deserialized).to.equal('function'); expect(deserialized.name).to.equal('foo'); }); it('handles anonymous arrow functions', async () => { const serialized = await page.evaluate(() => (window as any)._serialize((x: number, y: number) => x * y), ); const deserialized = await deserialize(serialized); expect(typeof deserialized).to.equal('function'); expect(deserialized.name).to.equal(''); }); it('handles Text nodes', async () => { const serialized = await page.evaluate(() => (window as any)._serialize(document.createTextNode('hello world')), ); const deserialized = await deserialize(serialized); expect(deserialized).to.equal('Text: hello world'); }); it('handles Comment nodes', async () => { const serialized = await page.evaluate(() => (window as any)._serialize(document.createComment('hello world')), ); const deserialized = await deserialize(serialized); expect(deserialized).to.equal('Comment: hello world'); }); it('handles HTMLElement', async () => { const serialized = await page.evaluate(() => { const element = document.createElement('div'); element.innerHTML = '<h1><span>Hello world</span></h1>'; return (window as any)._serialize(element); }); const deserialized = await deserialize(serialized); expect(deserialized).to.equal('HTMLDivElement: <div><h1><span>Hello world</span></h1></div>'); }); it('handles ShadowRoot', async () => { const serialized = await page.evaluate(() => { const element = document.createElement('div'); element.attachShadow({ mode: 'open' }); element.shadowRoot!.innerHTML = '<h1><span>Hello world</span></h1>'; return (window as any)._serialize(element.shadowRoot); }); const deserialized = await deserialize(serialized); expect(deserialized).to.equal('ShadowRoot: <h1><span>Hello world</span></h1>'); }); it('handles RegExp', async () => { const serialized = await page.evaluate(() => (window as any)._serialize(/foo.*?\\/)); const deserialized = await deserialize(serialized); expect(deserialized instanceof RegExp).to.be.true; expect(deserialized.source).to.equal('foo.*?\\\\'); expect(deserialized.flags).to.equal(''); }); it('handles RegExp with flags', async () => { const serialized = await page.evaluate(() => (window as any)._serialize(new RegExp('foo.*?\\\\', 'g')), ); const deserialized = await deserialize(serialized); expect(deserialized instanceof RegExp).to.be.true; expect(deserialized.source).to.equal('foo.*?\\\\'); expect(deserialized.flags).to.equal('g'); }); it('handles URL', async () => { const serialized = await page.evaluate(() => (window as any)._serialize(new URL('https://www.example.com')), ); const deserialized = await deserialize(serialized); expect(deserialized).to.equal('https://www.example.com/'); }); it('handles URLSearchparams', async () => { const serialized = await page.evaluate(() => (window as any)._serialize(new URLSearchParams('foo=bar&lorem=ipsum')), ); const deserialized = await deserialize(serialized); expect(deserialized).to.equal('URLSearchParams: foo=bar&lorem=ipsum'); }); it('handles classes', async () => { const serialized = await page.evaluate(() => { class Foo { a = 1; b = 2; } return (window as any)._serialize(new Foo()); }); const deserialized = await deserialize(serialized); expect(deserialized).to.eql({ a: 1, b: 2 }); expect(deserialized.constructor.name).to.equal('Foo'); }); it('handles objects', async () => { const serialized = await page.evaluate(() => (window as any)._serialize({ a: 1, b: 2 })); const deserialized = await deserialize(serialized); expect(deserialized).to.eql({ a: 1, b: 2 }); }); it('handles arrays', async () => { const serialized = await page.evaluate(() => (window as any)._serialize([1, 2, 3])); const deserialized = await deserialize(serialized); expect(deserialized).to.eql([1, 2, 3]); }); it('handles objects', async () => { const serialized = await page.evaluate(() => (window as any)._serialize({ a: 1, b: 2 })); const deserialized = await deserialize(serialized); expect(deserialized).to.eql({ a: 1, b: 2 }); }); it('handles objects with methods', async () => { const serialized = await page.evaluate(() => (window as any)._serialize({ foo() { return 'foo'; }, bar: () => { return 'bar'; }, baz: function baz() { return 'baz'; }, 'my-element': () => 'bar', }), ); const deserialized = await deserialize(serialized); expect(deserialized.foo).to.be.a('function'); expect(deserialized.foo.name).to.equal('foo'); expect(deserialized.bar).to.be.a('function'); expect(deserialized.bar.name).to.equal('bar'); expect(deserialized.baz).to.be.a('function'); expect(deserialized.baz.name).to.equal('baz'); expect(deserialized['my-element']).to.be.a('function'); expect(deserialized['my-element'].name).to.equal('my-element'); }); it('handles deep objects', async () => { const serialized = await page.evaluate(() => (window as any)._serialize({ myNumber: 123, myString: 'foo', myObject: { myUrl: new URL('http://www.example.com/'), myMethod() { return 'x'; }, myRegExp: /x/, }, myArray: [1, '2'], }), ); const deserialized = await deserialize(serialized); expect(deserialized.myNumber).to.equal(123); expect(deserialized.myString).to.equal('foo'); expect(deserialized.myObject.myUrl).to.equal('http://www.example.com/'); expect(deserialized.myObject.myMethod).to.be.a('function'); expect(deserialized.myObject.myMethod.name).to.equal('myMethod'); expect(deserialized.myObject.myRegExp).to.a('RegExp'); expect(deserialized.myObject.myRegExp.source).to.equal('x'); expect(deserialized.myArray).to.eql([1, '2']); }); it('handles deep arrays', async () => { const serialized = await page.evaluate(() => { class Foo { x = 'y'; } return (window as any)._serialize([ 1, '2', /x/, new URL('http://www.example.com/'), Symbol('foo'), { a: 1, b: 2, c: new URLSearchParams('x=y'), d: new Foo() }, ]); }); const deserialized = await deserialize(serialized); expect(deserialized[0]).to.equal(1); expect(deserialized[1]).to.equal('2'); expect(deserialized[2]).to.a('RegExp'); expect(deserialized[2].source).to.equal('x'); expect(deserialized[3]).to.equal('http://www.example.com/'); expect(deserialized[4]).to.equal('Symbol(foo)'); expect(deserialized[5].a).to.equal(1); expect(deserialized[5].b).to.equal(2); expect(deserialized[5].c).to.equal('URLSearchParams: x=y'); expect(deserialized[5].d).to.eql({ x: 'y' }); expect(deserialized[5].d.constructor.name).to.equal('Foo'); }); it('handles circular references', async () => { const serialized = await page.evaluate(() => { const foo: Record<string, unknown> = {}; foo.circular = foo; return (window as any)._serialize(foo); }); const deserialized = await deserialize(serialized); expect(deserialized).to.eql({ circular: '[Circular]', }); }); it('handles multiple circular references', async () => { const serialized = await page.evaluate(() => { const foo: Record<string, unknown> = {}; foo.circular1 = foo; foo.x = { circular2: foo, lorem: 'ipsum' }; foo.y = { z: { a: 1, b: 2, circular3: foo } }; return (window as any)._serialize(foo); }); const deserialized = await deserialize(serialized); expect(deserialized).to.eql({ circular1: '[Circular]', x: { circular2: '[Circular]', lorem: 'ipsum', }, y: { z: { a: 1, b: 2, circular3: '[Circular]', }, }, }); }); it('handles circular references in arrays', async () => { const serialized = await page.evaluate(() => { const foo: Record<string, unknown> = {}; foo.circulars = [foo, 'bar', foo]; return (window as any)._serialize(foo); }); const deserialized = await deserialize(serialized); expect(deserialized).to.eql({ circulars: ['[Circular]', 'bar', '[Circular]'] }); }); it('handles generated circular references', async () => { const serialized = await page.evaluate(() => { const Foo = () => null; const obj: any = { f: Foo, x: null }; obj.x = obj; return (window as any)._serialize(obj); }); const deserialized = await deserialize(serialized); expect(deserialized.f).to.be.a('function'); expect(deserialized.x).to.equal('[Circular]'); }); it('handles errors', async () => { const serialized = await page.evaluate(() => { const c = () => new Error('my error msg'); const b = () => c(); const a = () => b(); return (window as any)._serialize(a()); }); const deserialized = await deserialize(serialized, defaultOptions); expect(deserialized).to.be.a('string'); expect(deserialized).to.include('my error msg'); expect(deserialized).to.include('2:29'); expect(deserialized).to.include('3:29'); expect(deserialized).to.include('4:29'); expect(deserialized).to.include('5:38'); }); it('handles errors in objects', async () => { const serialized = await page.evaluate(() => { const c = () => new Error('my error msg'); const b = () => c(); const a = () => b(); return (window as any)._serialize({ myError: a() }); }); const deserialized = await deserialize(serialized, defaultOptions); expect(deserialized.myError).to.be.a('string'); expect(deserialized.myError).to.include('my error msg'); expect(deserialized.myError).to.include('2:29'); expect(deserialized.myError).to.include('3:29'); expect(deserialized.myError).to.include('4:29'); expect(deserialized.myError).to.include('5:49'); }); it('handles errors in arrays', async () => { const serialized = await page.evaluate(() => { const c = () => new Error('my error msg'); const b = () => c(); const a = () => b(); return (window as any)._serialize([a(), b(), c()]); }); const deserialized = await deserialize(serialized, defaultOptions); expect(deserialized[0]).to.be.a('string'); expect(deserialized[0]).to.include('my error msg'); expect(deserialized[0]).to.include('2:29'); expect(deserialized[0]).to.include('3:29'); expect(deserialized[0]).to.include('4:29'); expect(deserialized[0]).to.include('5:39'); expect(deserialized[1]).to.be.a('string'); expect(deserialized[1]).to.include('my error msg'); expect(deserialized[1]).to.include('2:29'); expect(deserialized[1]).to.include('3:29'); expect(deserialized[1]).to.include('5:44'); expect(deserialized[2]).to.be.a('string'); expect(deserialized[2]).to.include('my error msg'); expect(deserialized[2]).to.include('2:29'); expect(deserialized[2]).to.include('5:49'); }); it('can map stack trace locations', async () => { const serialized = await page.evaluate(() => { const c = () => new Error('my error msg'); const b = () => c(); const a = () => b(); return (window as any)._serialize(a()); }); const deserialized = await deserialize(serialized, { ...defaultOptions, mapStackLocation: l => ({ ...l, filePath: `${l.filePath}__MAPPED__`, line: 1, column: 2 }), }); expect(deserialized).to.be.a('string'); expect(deserialized).to.include('my error msg'); expect(deserialized).to.include(`__MAPPED__:1:2`); }); it('mapped stack traces can be async', async () => { const serialized = await page.evaluate(() => { const c = () => new Error('my error msg'); const b = () => c(); const a = () => b(); return (window as any)._serialize(a()); }); const deserialized = await deserialize(serialized, { ...defaultOptions, async mapStackLocation(l) { await new Promise(r => setTimeout(r, 100)); return { ...l, filePath: `${l.filePath}__MAPPED__`, line: 1, column: 2 }; }, }); expect(deserialized).to.be.a('string'); expect(deserialized).to.include('my error msg'); expect(deserialized).to.include(`__MAPPED__:1:2`); }); it('can define a cwd below current directory', async () => { const serialized = await page.evaluate(() => { const c = () => new Error('my error msg'); const b = () => c(); const a = () => b(); return (window as any)._serialize(a()); }); const deserialized = await deserialize(serialized, { ...defaultOptions, cwd: path.resolve(__dirname, '..'), }); expect(deserialized).to.be.a('string'); expect(deserialized).to.include('my error msg'); expect(deserialized).to.include(`2:29`); expect(deserialized).to.include(`3:29`); expect(deserialized).to.include(`4:29`); expect(deserialized).to.include(`5:38`); }); it('can define a cwd above current directory', async () => { const serialized = await page.evaluate(() => { const c = () => new Error('my error msg'); const b = () => c(); const a = () => b(); return (window as any)._serialize(a()); }); const deserialized = await deserialize(serialized, { cwd: path.resolve(__dirname, '..', 'foo'), browserRootDir: path.resolve(__dirname, '..'), }); expect(deserialized).to.be.a('string'); expect(deserialized).to.include('my error msg'); expect(deserialized).to.include(`2:29`); expect(deserialized).to.include(`3:29`); expect(deserialized).to.include(`4:29`); expect(deserialized).to.include(`5:38`); }); it('handles null', async () => { const serialized = await page.evaluate(() => (window as any)._serialize(null)); const deserialized = await deserialize(serialized); expect(deserialized).to.equal(null); }); it('handles undefined', async () => { const serialized = await page.evaluate(() => (window as any)._serialize(undefined)); const deserialized = await deserialize(serialized); expect(deserialized).to.equal(undefined); }); it('handles undefined in an object', async () => { const serialized = await page.evaluate(() => (window as any)._serialize({ x: undefined })); const deserialized = await deserialize(serialized); expect(deserialized).to.eql({ x: undefined }); }); it('handles undefined in an array', async () => { const serialized = await page.evaluate(() => (window as any)._serialize([1, undefined, '2', undefined]), ); const deserialized = await deserialize(serialized); expect(deserialized).to.eql([1, undefined, '2', undefined]); }); it('handles multiple undefined values', async () => { const serialized = await page.evaluate(() => (window as any)._serialize({ a: { a1: undefined, a2: undefined, a3: { x: undefined } }, b: undefined, c: { q: [1, undefined] }, }), ); const deserialized = await deserialize(serialized); expect(deserialized).to.eql({ a: { a1: undefined, a2: undefined, a3: { x: undefined } }, b: undefined, c: { q: [1, undefined] }, }); }); it('handles Promises', async () => { const serialized = await page.evaluate(() => (window as any)._serialize(new Promise(resolve => resolve(1))), ); const deserialized = await deserialize(serialized); expect(deserialized).to.eql('Promise { }'); }); it('handles errors thrown during serialization', async () => { const serialized = await page.evaluate(() => (window as any)._serialize({ get x() { throw new Error('error in getter'); }, }), ); const deserialized = await deserialize(serialized); expect(deserialized).to.eql(null); }); });
modernweb-dev/web/packages/browser-logs/test/serialize-deserialize.test.ts/0
{ "file_path": "modernweb-dev/web/packages/browser-logs/test/serialize-deserialize.test.ts", "repo_id": "modernweb-dev", "token_count": 7348 }
164
module.exports = { foo: 'bar' };
modernweb-dev/web/packages/config-loader/test/fixtures/package-cjs/commonjs-in-.js/my-project.config.js/0
{ "file_path": "modernweb-dev/web/packages/config-loader/test/fixtures/package-cjs/commonjs-in-.js/my-project.config.js", "repo_id": "modernweb-dev", "token_count": 13 }
165
# @web/dev-server-core ## 0.7.1 ### Patch Changes - 649edc2b: Add option to modify chokidar watchOptions with @web/dev-server ## 0.7.0 ### Minor Changes - c185cbaa: Set minimum node version to 18 ### Patch Changes - Updated dependencies [c185cbaa] - @web/parse5-utils@2.1.0 ## 0.6.3 ### Patch Changes - 27493246: add types for remaining exports ## 0.6.2 ### Patch Changes - 640ba85f: added types for main entry point - Updated dependencies [640ba85f] - @web/parse5-utils@2.0.2 ## 0.6.1 ### Patch Changes - 95715f9b: Allow web socket based refresh in middleware mode, by accepting the source `server` as an option for the `middlewareMode` config property ## 0.6.0 ### Minor Changes - 7f0f4315: Raise-up the maxSessionMemory of the http2 server to avoid network errors when a large number of files are served ## 0.5.2 ### Patch Changes - ce57936c: support middleware mode BREAKING CHANGE Theoretically it's a breaking change for Plugin API since now `serverStart` hook might not have a param `server`. The breaking change shouldnt impact your codebase immediately since you need to first activate `middlewareMode` to actually break stuff if any plugin depends on the existence of the `server` arg that gets passed to the plugin, but type wise it might break compilation of such plugins right away. Considering that `@web/dev-server` is still on semver 0.x.x, and since the impact of this breaking change should be very minimal, we decided to make the breaking change in this patch version. ## 0.5.1 ### Patch Changes - c26d3730: Update TypeScript ## 0.5.0 ### Minor Changes - febd9d9d: Set node 16 as the minimum version. ### Patch Changes - ca715faf: Upgrade lru-cache dependency & add a file cache for v8-to-istanbul conversions - Updated dependencies [febd9d9d] - @web/parse5-utils@2.0.0 ## 0.4.1 ### Patch Changes - c103f166: Update `isbinaryfile` - Updated dependencies [18a16bb0] - @web/parse5-utils@1.3.1 ## 0.4.0 ### Minor Changes - ac05ca5d: Add option to disable the fileWatcher in the dev server, to allow the test-runner to run once without files added to the watcher. - acc0a84c: Expand support for Rollup plugins with child plugins, specifically the Node Resolve plugin. ### Patch Changes - 81db401b: Generate longer self signed keys Closes #2122 ## 0.3.19 ### Patch Changes - 00da4255: Update es-module-lexer to 1.0.0 ## 0.3.18 ### Patch Changes - 39610b4c: Handle 'upgrade' requests only for matched url. ## 0.3.17 ### Patch Changes - b2c081d8: When serving content to an iframe within a csp restricted page, the websocket script may not be able to access the parent window. Accessing it may result in an uncaught DOMException which we now handle. ## 0.3.16 ### Patch Changes - a09282b4: Replace chalk with nanocolors ## 0.3.15 ### Patch Changes - 369394fe: Update dependency es-module-lexer to ^0.9.0 ## 0.3.14 ### Patch Changes - dc61726d: Update dependency es-module-lexer to ^0.7.1 ## 0.3.13 ### Patch Changes - fca0a4c3: Safely stringify error messages in tests ## 0.3.12 ### Patch Changes - e7efd5b7: use script origin to connect websocket ## 0.3.11 ### Patch Changes - 6c5893cc: use unescaped import specifier ## 0.3.10 ### Patch Changes - 780a3520: Use http2 config for websocket protocol check ## 0.3.9 ### Patch Changes - 6772f9cc: Detect websocket url from server ## 0.3.8 ### Patch Changes - d59241f1: add support for base path ## 0.3.7 ### Patch Changes - 1265c13e: Migrate websocket endpoint away from '/' to '/wds'. This allows end users to potentially proxy web sockets with out colliding with WebDevServer's websocket. ## 0.3.6 ### Patch Changes - 83750cd2: fallback to fetch on IE11 - 096fe25f: add stream close error to filter - Updated dependencies [b5af71e3] - @web/parse5-utils@1.2.0 ## 0.3.5 ### Patch Changes - 2c223cf0: filter server stream errors ## 0.3.4 ### Patch Changes - 8861ded8: feat(dev-server-core): share websocket instances with iframe parent ## 0.3.3 ### Patch Changes - 1dd7cd0e: export outside root dir utils ## 0.3.2 ### Patch Changes - 375116ad: fix handling of paths resolved outside the root dir. we now correctly use the resolved path when resolving relative imports and when populating the transform cache ## 0.3.1 ### Patch Changes - eceb6295: match dotfiles when resolving mimetypes ## 0.3.0 ### Minor Changes - 0f613e0e: handle modules resolved outside root dir ## 0.2.19 ### Patch Changes - fb56854: Bust cache when a file is deleted ## 0.2.18 ### Patch Changes - 07edac1: improve handling of dynamic imports ## 0.2.17 ### Patch Changes - f0472df: add fileParsed hook ## 0.2.16 ### Patch Changes - b025992: add debug logging flag ## 0.2.15 ### Patch Changes - a03749e: mark websocket module as resolved import ## 0.2.14 ### Patch Changes - 835d16f: add koa types dependency ## 0.2.13 ### Patch Changes - e8ebfcc: ensure user plugins are run after builtin plugins ## 0.2.12 ### Patch Changes - 1ba84e4: Expose webSocketServer on the WebSocketManager in case developers using the Node API want apply their own WebSocket message handling, but reusing the WebSocket Server of the dev server. ## 0.2.11 ### Patch Changes - 2291ca1: export websocket types ## 0.2.10 ### Patch Changes - 3a2dc12: fixed caching of index.html using directory path ## 0.2.9 ### Patch Changes - 123c0c0: don't serve compressed files ## 0.2.8 ### Patch Changes - 5ba52dd: properly close server on exit - 8199b68: use web sockets for browser - server communication ## 0.2.7 ### Patch Changes - b1306c9: fixed race condition caching headers ## 0.2.6 ### Patch Changes - cd1213e: improved logging of resolving outside root dir ## 0.2.5 ### Patch Changes - 69717a2: improved logic which stops the server ## 0.2.4 ### Patch Changes - 05f826e: add missing get-stream package ## 0.2.3 ### Patch Changes - 0cc6a82: expose ErrorWithLocation class ## 0.2.2 ### Patch Changes - bc1741d: expose getHtmlPath function ## 0.2.1 ### Patch Changes - aa65fd1: run build before publishing ## 0.2.0 ### Minor Changes - 9be1f95: Added native node es module entrypoints. This is a breaking change. Before, native node es module imports would import a CJS module as a default import and require destructuring afterwards: ```js import playwrightModule from '@web/test-runner-playwright'; const { playwrightLauncher } = playwrightModule; ``` Now, the exports are only available directly as a named export: ```js import { playwrightLauncher } from '@web/test-runner-playwright'; ``` ### Patch Changes - 96dd279: watch the HTML file for inline scripts - 62ff8b2: make tests work on windows ## 0.1.9 ### Patch Changes - 8fb820b: add an easy way to change served mime types ## 0.1.8 ### Patch Changes - 04a2cda: make test-runner-browserstack work with dev-server-core ## 0.1.7 ### Patch Changes - 9712125: fix not watching files with syntax errors ## 0.1.6 ### Patch Changes - 8892f98: allow downstream middleware to serve files ## 0.1.5 ### Patch Changes - 8596276: move logger to test runner cli ## 0.1.4 ### Patch Changes - db5baff: cleanup and sort dependencies ## 0.1.3 ### Patch Changes - c104663: run legacy plugin after resolving imports ## 0.1.2 ### Patch Changes - 2672e8a: expose isInlineScriptRequest function ## 0.1.1 ### Patch Changes - 59d3efe: remove dependency on building-utils ## 0.1.0 ### Minor Changes - c4cb321: Use web dev server in test runner. This contains multiple breaking changes: - Browsers that don't support es modules are not supported for now. We will add this back later. - Most es-dev-server config options are no longer available. The only options that are kept are `plugins`, `middleware`, `nodeResolve` and `preserveSymlinks`. - Test runner config changes: - Dev server options are not available on the root level of the configuration file. - `nodeResolve` is no longer enabled by default. You can enable it with the `--node-resolve` flag or `nodeResolve` option. - `middlewares` option is now called `middleware`. - `testFrameworkImport` is now called `testFramework`. - `address` is now split into `protocol` and `hostname`. ## 0.0.3 ### Patch Changes - 9302247: allow plugins to set a transform cache key ## 0.0.2 ### Patch Changes - c5da67f: always deduce mime type ## 0.0.1 ### Patch Changes - a65e3c9: first setup
modernweb-dev/web/packages/dev-server-core/CHANGELOG.md/0
{ "file_path": "modernweb-dev/web/packages/dev-server-core/CHANGELOG.md", "repo_id": "modernweb-dev", "token_count": 2777 }
166
import { Middleware } from 'koa'; /** * Returns 304 response for cacheable requests if etag matches */ export function etagCacheMiddleware(): Middleware { return async (ctx, next) => { await next(); if (!ctx.body || ctx.status === 304) { return; } if (!['GET', 'HEAD'].includes(ctx.method)) { return; } if (ctx.status < 200 || ctx.status >= 300) { return; } // let koa check if the respone is still fresh this means // the etags of the request and response match, so the browser // still has a fresh copy so it doesn't need to re-download it if (ctx.fresh) { ctx.status = 304; ctx.response.remove('content-type'); ctx.response.remove('content-length'); } // don't send last-modified since it doesn't do microseconds, we already // generate an etag based on the timestamp from the filesystem ctx.response.remove('last-modified'); }; }
modernweb-dev/web/packages/dev-server-core/src/middleware/etagCacheMiddleware.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-core/src/middleware/etagCacheMiddleware.ts", "repo_id": "modernweb-dev", "token_count": 332 }
167
import Koa from 'koa'; import path from 'path'; import { FSWatcher } from 'chokidar'; import httpServer, { IncomingMessage, ServerResponse } from 'http'; import http2Server from 'http2'; import fs from 'fs'; import net, { Server, Socket, ListenOptions } from 'net'; import { DevServerCoreConfig } from './DevServerCoreConfig.js'; import { createMiddleware } from './createMiddleware.js'; import { Logger } from '../logger/Logger.js'; import { addPlugins } from './addPlugins.js'; /** * A request handler that returns a 301 HTTP Redirect to the same location as the original * request but using the https protocol */ function httpsRedirect(req: IncomingMessage, res: ServerResponse) { const { host } = req.headers; res.writeHead(301, { Location: `https://${host}${req.url}` }); res.end(); } /** * Creates a koa server with middlewares, but does not start it. Returns the koa app and * http server instances. */ export function createServer( logger: Logger, cfg: DevServerCoreConfig, fileWatcher: FSWatcher, middlewareMode = false, ) { const app = new Koa(); app.silent = true; app.on('error', error => { if (['EPIPE', 'ECONNRESET', 'ERR_STREAM_PREMATURE_CLOSE'].includes(error.code)) { return; } console.error('Error while handling server request.'); console.error(error); }); addPlugins(logger, cfg); // special case the legacy plugin, if it is given make sure the resolve module imports plugin // runs before the legacy plugin because it compiles away module syntax. ideally we have a // generic API for this, but we need to design that a bit more first const indexOfLegacy = cfg.plugins!.findIndex(p => p.name === 'legacy'); let indexOfResolve = cfg.plugins!.findIndex(p => p.name === 'resolve-module-imports'); if (indexOfLegacy !== -1 && indexOfResolve !== -1) { const legacy = cfg.plugins!.splice(indexOfLegacy, 1)[0]; // recompute after splicing indexOfResolve = cfg.plugins!.findIndex(p => p.name === 'resolve-module-imports'); cfg.plugins!.splice(indexOfResolve, 1, cfg.plugins![indexOfResolve], legacy); } const middleware = createMiddleware(cfg, logger, fileWatcher); for (const m of middleware) { app.use(m); } if (middlewareMode) { return { app }; } let server: Server; if (cfg.http2) { const dir = path.join(__dirname, '..'); const options = { key: fs.readFileSync( cfg.sslKey ? path.resolve(cfg.sslKey) : path.join(dir, '..', '.self-signed-dev-server-ssl.key'), ), cert: fs.readFileSync( cfg.sslCert ? path.resolve(cfg.sslCert) : path.join(dir, '..', '.self-signed-dev-server-ssl.cert'), ), allowHTTP1: true, maxSessionMemory: 20, }; const httpsRedirectServer = httpServer.createServer(httpsRedirect); server = http2Server.createSecureServer(options, app.callback()); let appServerPort: number; let httpsRedirectServerPort: number; /** * A connection handler that checks if the connection is using TLS */ const httpRedirectProxy = (socket: Socket) => { socket.once('data', buffer => { // A TLS handshake record starts with byte 22. const address = buffer[0] === 22 ? appServerPort : httpsRedirectServerPort; const proxy = (net as any).createConnection(address, () => { proxy.write(buffer); socket.pipe(proxy).pipe(socket); }); }); }; const wrapperServer = net.createServer(httpRedirectProxy); wrapperServer.addListener('close', () => { httpsRedirectServer.close(); server.close(); }); wrapperServer.addListener('listening', () => { const info = server.address(); if (!info || typeof info === 'string') { return; } const { address, port } = info; appServerPort = port + 1; httpsRedirectServerPort = port + 2; server.listen({ address, port: appServerPort }); httpsRedirectServer.listen({ address, port: httpsRedirectServerPort }); }); const serverListen = wrapperServer.listen.bind(wrapperServer); (wrapperServer as any).listen = (config: ListenOptions, callback: () => void) => { server.addListener('listening', callback); serverListen(config); return server; }; } else { server = httpServer.createServer(app.callback()); } return { server, app, }; }
modernweb-dev/web/packages/dev-server-core/src/server/createServer.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-core/src/server/createServer.ts", "repo_id": "modernweb-dev", "token_count": 1593 }
168
<html> <head> <title>My app 2</title> </head> <body> <p>Hello world 2</p> </body> </html>
modernweb-dev/web/packages/dev-server-core/test/fixtures/basic/src/index.html/0
{ "file_path": "modernweb-dev/web/packages/dev-server-core/test/fixtures/basic/src/index.html", "repo_id": "modernweb-dev", "token_count": 54 }
169
import { expect } from 'chai'; import { createTestServer } from '../helpers.js'; import { webSocketScript } from '../../src/web-sockets/webSocketsPlugin.js'; describe('webSocketsPlugin', () => { it('injects an event stream script if a plugin has inject set and event stream is enabled', async () => { const { server, host } = await createTestServer({ injectWebSocket: true, plugins: [ { name: 'test', injectWebSocket: true, }, ], }); try { const response = await fetch(`${host}/index.html`); const body = await response.text(); expect(response.status).to.equal(200); expect(body).to.include(webSocketScript); } finally { server.stop(); } }); it('does not inject an event stream script if a plugin has inject set and event stream is disabled', async () => { const { server, host } = await createTestServer({ injectWebSocket: false, plugins: [ { name: 'test', injectWebSocket: true, }, ], }); try { const response = await fetch(`${host}/index.html`); const body = await response.text(); expect(response.status).to.equal(200); expect(body).to.not.include(webSocketScript); } finally { server.stop(); } }); it('does not inject event stream script is no plugin has inject set', async () => { const { server, host } = await createTestServer(); try { const response = await fetch(`${host}/index.html`); const body = await response.text(); expect(response.status).to.equal(200); expect(body).to.not.include(webSocketScript); } finally { server.stop(); } }); it('does not inject event stream script into html fragments without html or body', async () => { const { server, host } = await createTestServer({ plugins: [ { name: 'test', injectWebSocket: true, }, ], }); try { const responseA = await fetch(`${host}/html-fragment-a.html`); const responseB = await fetch(`${host}/html-fragment-b.html`); const bodyA = await responseA.text(); const bodyB = await responseB.text(); expect(responseA.status).to.equal(200); expect(responseB.status).to.equal(200); expect(bodyA).to.not.include(webSocketScript); expect(bodyB).to.not.include(webSocketScript); } finally { server.stop(); } }); });
modernweb-dev/web/packages/dev-server-core/test/web-sockets/webSocketsPlugin.test.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-core/test/web-sockets/webSocketsPlugin.test.ts", "repo_id": "modernweb-dev", "token_count": 975 }
170
import { Context, Plugin, PluginSyntaxError, Logger, DevServerCoreConfig, getRequestFilePath, } from '@web/dev-server-core'; import type { TransformOptions, BuildFailure } from 'esbuild'; import { Loader, Message, transform } from 'esbuild'; import { promisify } from 'util'; import path from 'path'; import fs from 'fs'; import { queryAll, predicates, getTextContent, setTextContent, } from '@web/dev-server-core/dist/dom5'; import { parse as parseHtml, serialize as serializeHtml } from 'parse5'; import { getEsbuildTarget } from './getEsbuildTarget.js'; const filteredWarnings = ['Unsupported source map comment']; async function fileExists(path: string) { try { await promisify(fs.access)(path); return true; } catch { return false; } } export interface EsbuildConfig { loaders: Record<string, Loader>; target: string | string[]; handledExtensions: string[]; tsFileExtensions: string[]; jsxFactory?: string; jsxFragment?: string; define?: { [key: string]: string }; tsconfig?: string; banner?: string; footer?: string; } export class EsbuildPlugin implements Plugin { private config?: DevServerCoreConfig; private esbuildConfig: EsbuildConfig; private logger?: Logger; private transformedHtmlFiles: string[] = []; private tsconfigRaw?: string; name = 'esbuild'; constructor(esbuildConfig: EsbuildConfig) { this.esbuildConfig = esbuildConfig; } async serverStart({ config, logger }: { config: DevServerCoreConfig; logger: Logger }) { this.config = config; this.logger = logger; if (this.esbuildConfig.tsconfig) { this.tsconfigRaw = await promisify(fs.readFile)(this.esbuildConfig.tsconfig, 'utf8'); } } resolveMimeType(context: Context) { const fileExtension = path.posix.extname(context.path); if (this.esbuildConfig.handledExtensions.includes(fileExtension)) { return 'js'; } } async resolveImport({ source, context }: { source: string; context: Context }) { const fileExtension = path.posix.extname(context.path); if (!this.esbuildConfig.tsFileExtensions.includes(fileExtension)) { // only handle typescript files return; } if (!source.endsWith('.js') || !source.startsWith('.')) { // only handle relative imports return; } // a TS file imported a .js file relatively, but they might intend to import a .ts file instead // check if the .ts file exists, and rewrite it in that case const filePath = getRequestFilePath(context.url, this.config!.rootDir); const fileDir = path.dirname(filePath); const importAsTs = source.substring(0, source.length - 3) + '.ts'; const importedTsFilePath = path.join(fileDir, importAsTs); if (!(await fileExists(importedTsFilePath))) { return; } return importAsTs; } transformCacheKey(context: Context) { // the transformed files are cached per esbuild transform target const target = getEsbuildTarget(this.esbuildConfig.target, context.headers['user-agent']); return Array.isArray(target) ? target.join('_') : target; } async transform(context: Context) { let loader: Loader; if (context.response.is('html')) { // we are transforming inline scripts loader = 'js'; } else { const fileExtension = path.posix.extname(context.path); loader = this.esbuildConfig.loaders[fileExtension]; } if (!loader) { // we are not handling this file return; } const target = getEsbuildTarget(this.esbuildConfig.target, context.headers['user-agent']); if (target === 'esnext' && loader === 'js') { // no need run esbuild, this happens when compile target is set to auto and the user is on a modern browser return; } const filePath = getRequestFilePath(context.url, this.config!.rootDir); if (context.response.is('html')) { this.transformedHtmlFiles.push(context.path); return this.__transformHtml(context, filePath, loader, target); } return this.__transformCode(context.body as string, filePath, loader, target); } private async __transformHtml( context: Context, filePath: string, loader: Loader, target: string | string[], ) { const documentAst = parseHtml(context.body as string); const inlineScripts = queryAll( documentAst, predicates.AND( predicates.hasTagName('script'), predicates.NOT(predicates.hasAttr('src')), predicates.OR( predicates.NOT(predicates.hasAttr('type')), predicates.hasAttrValue('type', 'module'), ), ), ); if (inlineScripts.length === 0) { return; } for (const node of inlineScripts) { const code = getTextContent(node); const transformedCode = await this.__transformCode(code, filePath, loader, target); setTextContent(node, transformedCode); } return serializeHtml(documentAst); } private async __transformCode( code: string, filePath: string, loader: Loader, target: string | string[], ): Promise<string> { try { const transformOptions: TransformOptions = { sourcefile: filePath, sourcemap: 'inline', loader, target, // don't set any format for JS-like formats, otherwise esbuild reformats the code unnecessarily format: ['js', 'jsx', 'ts', 'tsx'].includes(loader) ? undefined : 'esm', jsxFactory: this.esbuildConfig.jsxFactory, jsxFragment: this.esbuildConfig.jsxFragment, define: this.esbuildConfig.define, tsconfigRaw: this.tsconfigRaw, banner: this.esbuildConfig.banner, footer: this.esbuildConfig.footer, }; const { code: transformedCode, warnings } = await transform(code, transformOptions); if (warnings) { const relativePath = path.relative(process.cwd(), filePath); for (const warning of warnings) { if (!filteredWarnings.some(w => warning.text.includes(w))) { this.logger!.warn( `[@web/test-runner-esbuild] Warning while transforming ${relativePath}: ${warning.text}`, ); } } } return transformedCode; } catch (e) { if (Array.isArray((e as BuildFailure).errors)) { const msg = (e as BuildFailure).errors[0] as Message; if (msg.location) { throw new PluginSyntaxError( msg.text, filePath, code, msg.location.line, msg.location.column, ); } throw new Error(msg.text); } throw e; } } }
modernweb-dev/web/packages/dev-server-esbuild/src/EsbuildPlugin.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-esbuild/src/EsbuildPlugin.ts", "repo_id": "modernweb-dev", "token_count": 2491 }
171
{ "compilerOptions": { "target": "es2022", "useDefineForClassFields": true } }
modernweb-dev/web/packages/dev-server-esbuild/test/fixture/tsconfig.json/0
{ "file_path": "modernweb-dev/web/packages/dev-server-esbuild/test/fixture/tsconfig.json", "repo_id": "modernweb-dev", "token_count": 41 }
172
import { sharedTemplate } from './sharedTemplate.js'; const renderedComponents = new Set(); export class MyComponent extends HTMLElement { static styles = ` h1 { color: hotpink; } p { color: olivegreen; } `; static template = ` <h1>Foo</h1> <p>Bar</p> `; constructor() { super(); this.attachShadow({ mode: 'open' }); } connectedCallback() { renderedComponents.add(this); this.render(); } disconnectedCallback() { renderedComponents.delete(this); } render() { this.shadowRoot.innerHTML = ` <style>${MyComponent.styles}</style> ${sharedTemplate} ${MyComponent.template} `; } } if (import.meta.hot) { import.meta.hot.accept(({ module }) => { MyComponent.styles = module.MyComponent.styles; MyComponent.template = module.MyComponent.template; for (const component of renderedComponents) { component.render(); } }); } if (!window.customElements.get('my-component')) { window.customElements.define('my-component', MyComponent); }
modernweb-dev/web/packages/dev-server-hmr/demo/vanilla/component.js/0
{ "file_path": "modernweb-dev/web/packages/dev-server-hmr/demo/vanilla/component.js", "repo_id": "modernweb-dev", "token_count": 384 }
173
# Dev server import maps Plugin for resolving imports using [Import maps](https://github.com/WICG/import-maps). Import Maps can be used to resolve imports in your code as an alternative to the `--node-resolve` flag, or to mock modules. See [our website](https://modern-web.dev/docs/dev-server/plugins/import-maps/) for full documentation.
modernweb-dev/web/packages/dev-server-import-maps/README.md/0
{ "file_path": "modernweb-dev/web/packages/dev-server-import-maps/README.md", "repo_id": "modernweb-dev", "token_count": 94 }
174
import { fetchText, expectIncludes, virtualFilesPlugin } from '@web/dev-server-core/test-helpers'; import { createTestServer } from '@web/dev-server-core/test-helpers'; import { expect } from 'chai'; import { spy } from 'hanbi'; import path from 'path'; import { importMapsPlugin } from '../src/importMapsPlugin.js'; import { IMPORT_MAP_PARAM } from '../src/utils.js'; function createHtml(importMap: Record<string, unknown>) { return ` <html> <head> <link rel="preload" href="./app.js"> <script type="importmap"> { "imports": ${JSON.stringify(importMap)} } </script> </head> <body> <script type="module" src="./app.js"></script> <script type="module"> import "foo"; import foo from "./bar.js"; </script> </body> </html> `; } describe('applies import map id', () => { it(`to module scripts`, async () => { const files = { '/index.html': createHtml({ foo: './mocked-foo.js' }), }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }); const text = await fetchText(`${host}/index.html`); expectIncludes(text, `<script type="module" src="./app.js?${IMPORT_MAP_PARAM}=0"></script>`); server.stop(); }); it('to preload links', async () => { const files = { '/index.html': createHtml({ foo: './mocked-foo.js' }), }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }); const text = await fetchText(`${host}/index.html`); expectIncludes(text, `<link rel="preload" href="./app.js?${IMPORT_MAP_PARAM}=0">`); server.stop(); }); it(`to inline modules`, async () => { const files = { '/index.html': createHtml({ foo: './mocked-foo.js' }), }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }); const text = await fetchText(`${host}/index.html`); expectIncludes(text, `import "/mocked-foo.js?${IMPORT_MAP_PARAM}=0"`); expectIncludes(text, `import foo from "./bar.js?${IMPORT_MAP_PARAM}=0";`); server.stop(); }); it(`to imports in js files`, async () => { const files = { '/index.html': createHtml({ foo: './mocked-foo.js' }), '/app.js': 'import "foo"; import foo from "./bar.js";', }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }); await fetchText(`${host}/index.html`); const text = await fetchText(`${host}/app.js?${IMPORT_MAP_PARAM}=0`); expectIncludes(text, `import "/mocked-foo.js?${IMPORT_MAP_PARAM}=0"`); expectIncludes(text, `import foo from "./bar.js?${IMPORT_MAP_PARAM}=0";`); server.stop(); }); it(`to imports resolved by other plugins`, async () => { const files = { '/index.html': createHtml({}), '/app.js': 'import "bar";', }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [ { name: 'test', resolveImport({ source }) { return `RESOLVED__${source}`; }, }, virtualFilesPlugin(files), importMapsPlugin(), ], }); await fetchText(`${host}/index.html`); const text = await fetchText(`${host}/app.js?${IMPORT_MAP_PARAM}=0`); expectIncludes(text, `import "RESOLVED__bar?${IMPORT_MAP_PARAM}=0"`); server.stop(); }); it(`to imports transformed by other plugins`, async () => { const files = { '/index.html': createHtml({}), '/app.js': 'import "bar";', }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [ { name: 'test', transformImport({ source }) { return `TRANSFORMED__${source}`; }, }, virtualFilesPlugin(files), importMapsPlugin(), ], }); await fetchText(`${host}/index.html`); const text = await fetchText(`${host}/app.js?${IMPORT_MAP_PARAM}=0`); expectIncludes(text, `import "TRANSFORMED__bar?${IMPORT_MAP_PARAM}=0"`); server.stop(); }); it(`to imports that already contain search parameters`, async () => { const files = { '/index.html': createHtml({}), '/app.js': 'import "bar?foo=bar";', }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }); await fetchText(`${host}/index.html`); const text = await fetchText(`${host}/app.js?${IMPORT_MAP_PARAM}=0`); expectIncludes(text, `import "bar?foo=bar&${IMPORT_MAP_PARAM}=0"`); server.stop(); }); }); describe('resolving imports', () => { it(`resolves imports in modules`, async () => { const files = { '/index.html': createHtml({ foo: './mocked-bare-foo.js', './bar.js': './mocked-bar.js' }), '/app.js': 'import "foo";\nimport bar from "./bar.js";', }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }); await fetchText(`${host}/index.html`); const text = await fetchText(`${host}/app.js?${IMPORT_MAP_PARAM}=0`); expectIncludes(text, `import "/mocked-bare-foo.js?${IMPORT_MAP_PARAM}=0";`); expectIncludes(text, `import bar from "/mocked-bar.js?${IMPORT_MAP_PARAM}=0";`); server.stop(); }); it(`handles modules in directories`, async () => { const files = { '/index.html': createHtml({ './bar.js': './mocked-bar.js' }), '/x/y/app.js': 'import bar from "../../bar.js";\nimport bar from "../bar.js";', }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }); await fetchText(`${host}/index.html`); const text = await fetchText(`${host}/x/y/app.js?${IMPORT_MAP_PARAM}=0`); expectIncludes(text, `import bar from "/mocked-bar.js?${IMPORT_MAP_PARAM}=0";`); expectIncludes(text, `import bar from "../bar.js?${IMPORT_MAP_PARAM}=0";`); server.stop(); }); it(`leaves unmapped bare imports untouched`, async () => { const files = { '/index.html': createHtml({ './bar.js': './mocked-bar.js' }), '/x/y/app.js': 'import "x";', }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }); await fetchText(`${host}/index.html`); const text = await fetchText(`${host}/x/y/app.js?${IMPORT_MAP_PARAM}=0`); expectIncludes(text, `import "x?${IMPORT_MAP_PARAM}=0";`); server.stop(); }); it('resolves imports against the document base url', async () => { const files = { '/x/y/index.html': createHtml({ './bar.js': './mocked-bar.js' }), '/x/app.js': 'import "./y/bar.js"; \n import "./bar.js"; \n import "../bar.js";', }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }); await fetchText(`${host}/x/y/index.html`); const text = await fetchText(`${host}/x/app.js?${IMPORT_MAP_PARAM}=0`); expectIncludes(text, `import "/x/y/mocked-bar.js?${IMPORT_MAP_PARAM}=0";`); expectIncludes(text, `import "./bar.js?${IMPORT_MAP_PARAM}=0";`); expectIncludes(text, `import "../bar.js?${IMPORT_MAP_PARAM}=0";`); server.stop(); }); it('resolves import maps against an absolute <base href="...">', async () => { const files = { '/x/y/index.html': ` <html> <head> <base href="/foo/" /> <script type="importmap"> { "imports": { "bar": "./bar.js" } } </script> </head> </html>`, '/x/app.js': 'import "bar";', }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }); await fetchText(`${host}/x/y/index.html`); const text = await fetchText(`${host}/x/app.js?${IMPORT_MAP_PARAM}=0`); expectIncludes(text, `import "/foo/bar.js?${IMPORT_MAP_PARAM}=0";`); server.stop(); }); it('resolves import maps against a relative <base href="...">', async () => { const files = { '/x/y/index.html': ` <html> <head> <base href="foo/" /> <script type="importmap"> { "imports": { "bar": "./bar.js" } } </script> </head> </html>`, '/x/app.js': 'import "bar";', }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }); await fetchText(`${host}/x/y/index.html`); const text = await fetchText(`${host}/x/app.js?${IMPORT_MAP_PARAM}=0`); expectIncludes(text, `import "/x/y/foo/bar.js?${IMPORT_MAP_PARAM}=0";`); server.stop(); }); it(`unchanged import maps does not create new import map ids`, async () => { let i = 0; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [ { name: 'test', serve(context) { if (context.path === '/foo.html') { i += 1; return i !== 3 ? createHtml({ foo: './mocked-foo.js' }) : createHtml({ foo: './not-mocked-foo.js' }); } }, }, importMapsPlugin(), ], }); const textA = await fetchText(`${host}/foo.html`); expectIncludes(textA, `<script type="module" src="./app.js?${IMPORT_MAP_PARAM}=0"></script>`); expectIncludes(textA, `import "/mocked-foo.js?${IMPORT_MAP_PARAM}=0"`); expectIncludes(textA, `import foo from "./bar.js?${IMPORT_MAP_PARAM}=0";`); const textB = await fetchText(`${host}/foo.html`); expectIncludes(textB, `<script type="module" src="./app.js?${IMPORT_MAP_PARAM}=0"></script>`); expectIncludes(textB, `import "/mocked-foo.js?${IMPORT_MAP_PARAM}=0"`); expectIncludes(textB, `import foo from "./bar.js?${IMPORT_MAP_PARAM}=0";`); const textC = await fetchText(`${host}/foo.html`); expectIncludes(textC, `<script type="module" src="./app.js?${IMPORT_MAP_PARAM}=1"></script>`); expectIncludes(textC, `import "/not-mocked-foo.js?${IMPORT_MAP_PARAM}=1"`); expectIncludes(textC, `import foo from "./bar.js?${IMPORT_MAP_PARAM}=1";`); server.stop(); }); it('leaves HTML pages without an import map untouched', async () => { const files = { '/index.html': '<html><body><script src="./app.js"></script></body></html>', }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }); const text = await fetchText(`${host}/index.html`); expectIncludes(text, '<html><body><script src="./app.js"></script></body></html>'); server.stop(); }); it('returns 200 and logs warning on invalid JSON', async () => { const files = { '/index.html': ` <html> <head> <script type="importmap">{</script> </head> <body> <script src="./app.js"></script> </body> </html>`, }; const loggerSpies = { log: spy(), debug: spy(), error: spy(), warn: spy(), group: spy(), groupEnd: spy(), logSyntaxError: spy(), }; const logger = { log: loggerSpies.log.handler, debug: loggerSpies.debug.handler, error: loggerSpies.error.handler, warn: loggerSpies.warn.handler, group: loggerSpies.group.handler, groupEnd: loggerSpies.groupEnd.handler, logSyntaxError: loggerSpies.logSyntaxError.handler, }; const { server, host } = await createTestServer( { rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }, logger, ); const text = await fetchText(`${host}/index.html`); expectIncludes(text, '<script type="importmap">{</script>'); expect(loggerSpies.warn.callCount).to.equal(1); const warning = loggerSpies.warn.getCall(0).args[0]; expectIncludes(warning, 'Failed to parse import map in "'); expectIncludes(warning, `test${path.sep}index.html": `); server.stop(); }); it('can remap to complete urls with a different domain', async () => { const files = { '/index.html': createHtml({ foo: 'https://my-cdn.com/foo/bar.js' }), '/app.js': 'import "foo";\nimport bar from "./bar.js";', }; const { server, host } = await createTestServer({ rootDir: __dirname, plugins: [virtualFilesPlugin(files), importMapsPlugin()], }); await fetchText(`${host}/index.html`); const text = await fetchText(`${host}/app.js?${IMPORT_MAP_PARAM}=0`); expectIncludes(text, `https://my-cdn.com/foo/bar.js?wds-import-map=0`); server.stop(); }); });
modernweb-dev/web/packages/dev-server-import-maps/test/resolving.test.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-import-maps/test/resolving.test.ts", "repo_id": "modernweb-dev", "token_count": 5613 }
175
import { Plugin, Logger, getRequestFilePath, isInlineScriptRequest } from '@web/dev-server-core'; import { GeneratedFile, PolyfillsConfig } from '@web/polyfills-loader'; import path from 'path'; import { isLegacyBrowser } from './isLegacyBrowser.js'; import { babelTransform, es5Config, systemJsConfig } from './babelTransform.js'; import { injectPolyfillsLoader } from './injectPolyfillsLoader.js'; import { PARAM_TRANSFORM_SYSTEMJS } from './constants.js'; interface inlineScripts { lastModified: string; inlineScripts: GeneratedFile[]; } const REGEXP_TO_BROWSER_PATH = new RegExp(path.sep === '\\' ? '\\\\' : path.sep, 'g'); /** * Turns a file path into a path suitable for browsers, with a / as seperator. * @param {string} filePath * @returns {string} */ function toBrowserPath(filePath: string) { return filePath.replace(REGEXP_TO_BROWSER_PATH, '/'); } export interface LegacyPluginOptions { polyfills?: PolyfillsConfig; } export function legacyPlugin(options: LegacyPluginOptions = {}): Plugin { // index html data, keyed by url const inlineScripts = new Map<string, inlineScripts>(); // polyfills, keyed by request path const polyfills = new Map<string, string>(); let rootDir: string; let logger: Logger; return { name: 'legacy', async serverStart(args) { ({ logger } = args); ({ rootDir } = args.config); }, transformCacheKey(context) { return isLegacyBrowser(context, logger) ? 'legacy' : undefined; }, async serve(context) { if (!isLegacyBrowser(context, logger)) { return; } /** * serve extracted inline module if url matches. an inline module requests has this * structure: * `/inline-script-<index>?source=<index-html-path>` * for example: * `/inline-script-2?source=/src/index-html` * source query parameter is the index.html the inline module came from, index is the index * of the inline module in that index.html. We use these to look up the correct code to * serve */ if (isInlineScriptRequest(context.url)) { const sourcePath = context.URL.searchParams.get('source'); if (!sourcePath) { throw new Error(`${context.url} is missing a source param`); } const data = inlineScripts.get(sourcePath); if (!data) { return undefined; } const name = path.basename(context.path); const inlineScript = data.inlineScripts.find(f => f.path.split('?')[0] === name); if (!inlineScript) { throw new Error(`Could not find inline module for ${context.url}`); } return { body: inlineScript.content, headers: { 'cache-control': 'no-cache', 'last-modified': data.lastModified, } as Record<string, string>, }; } // serve polyfill from memory if path matches const polyfill = polyfills.get(context.path); if (polyfill) { // aggresively cache polyfills, they are hashed so content changes bust the cache return { body: polyfill, headers: { 'cache-control': 'public, max-age=31536000' } }; } }, async transform(context) { if (!isLegacyBrowser(context, logger)) { return; } if (context.response.is('js')) { if (context.path.includes('/polyfills/')) { return; } const config = context.URL.searchParams.get(PARAM_TRANSFORM_SYSTEMJS) === 'true' ? systemJsConfig : es5Config; const filePath = getRequestFilePath(context.url, rootDir); const transformed = await babelTransform(filePath, context.body as string, config); context.body = transformed; return; } if (context.response.is('html')) { const result = await injectPolyfillsLoader(context, options.polyfills); context.body = result.indexHTML; inlineScripts.set(result.htmlPath, { ...result, inlineScripts: result.inlineScripts, lastModified: context.response.headers['last-modified'] as string, }); // cache polyfills for serving result.polyfills.forEach(p => { let root = context.path.endsWith('/') ? context.path : path.posix.dirname(context.path); if (!root.endsWith('/')) { root = `${root}/`; } polyfills.set(`${root}${toBrowserPath(p.path)}`, p.content); }); } }, transformImport({ source, context }) { if (!isLegacyBrowser(context, logger)) { return; } const prefix = source.includes('?') ? '&' : '?'; return `${source}${prefix}${PARAM_TRANSFORM_SYSTEMJS}=true`; }, }; } export default legacyPlugin;
modernweb-dev/web/packages/dev-server-legacy/src/legacyPlugin.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-legacy/src/legacyPlugin.ts", "repo_id": "modernweb-dev", "token_count": 1927 }
176
import path from 'path'; import { DevServerCoreConfig, FSWatcher, Plugin as WdsPlugin, Context, ResolveOptions, } from '@web/dev-server-core'; import { PluginContext, MinimalPluginContext, TransformPluginContext, CustomPluginOptions, ModuleInfo, } from 'rollup'; export function createRollupPluginContextAdapter< T extends PluginContext | MinimalPluginContext | TransformPluginContext, >( pluginContext: T, wdsPlugin: WdsPlugin, config: DevServerCoreConfig, fileWatcher: FSWatcher, context: Context, pluginMetaPerModule: Map<string, CustomPluginOptions>, ) { return { ...pluginContext, getModuleInfo(id: string): Partial<ModuleInfo> { return { id, code: context.body as string, ast: null, dynamicallyImportedIds: [], dynamicallyImportedIdResolutions: [], dynamicImporters: [], hasDefaultExport: false, implicitlyLoadedBefore: [], implicitlyLoadedAfterOneOf: [], importedIds: [], importedIdResolutions: [], importers: [], isEntry: false, isExternal: false, isIncluded: false, moduleSideEffects: false, syntheticNamedExports: false, meta: pluginMetaPerModule.get(id) ?? {}, }; }, addWatchFile(id: string) { const filePath = path.join(process.cwd(), id); fileWatcher.add(filePath); }, emitAsset() { throw new Error('Emitting files is not yet supported'); }, emitFile() { throw new Error('Emitting files is not yet supported'); }, getAssetFileName() { throw new Error('Emitting files is not yet supported'); }, getFileName() { throw new Error('Emitting files is not yet supported'); }, setAssetSource() { throw new Error('Emitting files is not yet supported'); }, async resolve(source: string, importer: string, options: ResolveOptions) { if (!context) throw new Error('Context is required.'); const { skipSelf, ...resolveOptions } = options; if (skipSelf) wdsPlugin.resolveImportSkip?.(context, source, importer); for (const pl of config.plugins ?? []) { if (pl.resolveImport && (!skipSelf || pl !== wdsPlugin)) { const result = await pl.resolveImport({ source, context, resolveOptions, }); let resolvedId: string | undefined; if (typeof result === 'string') { resolvedId = result; } else if (typeof result === 'object') { resolvedId = result?.id; } if (resolvedId) { const importerDir = path.dirname(importer); return { id: path.isAbsolute(resolvedId) ? resolvedId : path.join(importerDir, resolvedId), }; } } } }, async resolveId( source: string, importer: string, options: { isEntry: boolean; skipSelf: boolean; custom: Record<string, unknown> }, ) { const resolveResult = await this.resolve(source, importer, options); if (typeof resolveResult === 'string') { return resolveResult; } if (typeof resolveResult === 'object') { return resolveResult?.id; } return resolveResult; }, }; }
modernweb-dev/web/packages/dev-server-rollup/src/createRollupPluginContextAdapter.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-rollup/src/createRollupPluginContextAdapter.ts", "repo_id": "modernweb-dev", "token_count": 1351 }
177
import c from './foo/c.js'; export default `b ${c}`;
modernweb-dev/web/packages/dev-server-rollup/test/node/fixtures/bundle-basic/src/b.js/0
{ "file_path": "modernweb-dev/web/packages/dev-server-rollup/test/node/fixtures/bundle-basic/src/b.js", "repo_id": "modernweb-dev", "token_count": 23 }
178
.foo { color: blue; } .bar { color: red; }
modernweb-dev/web/packages/dev-server-rollup/test/node/fixtures/postcss/my-styles.css/0
{ "file_path": "modernweb-dev/web/packages/dev-server-rollup/test/node/fixtures/postcss/my-styles.css", "repo_id": "modernweb-dev", "token_count": 25 }
179
import path from 'path'; import rollupNodeResolve from '@rollup/plugin-node-resolve'; import rollupCommonjs from '@rollup/plugin-commonjs'; import { createTestServer, fetchText, expectIncludes } from '../test-helpers.js'; import { fromRollup } from '../../../src/index.js'; import { expect } from 'chai'; const nodeResolve = fromRollup(rollupNodeResolve, {}, { throwOnUnresolvedImport: true }); const commonjs = fromRollup(rollupCommonjs); describe('@rollup/plugin-node-resolve', () => { it('can resolve imports', async () => { const { server, host } = await createTestServer({ plugins: [nodeResolve()], }); try { const text = await fetchText(`${host}/app.js`); expectIncludes(text, "import moduleA from './node_modules/module-a/index.js'"); } finally { server.stop(); } }); it('can resolve imports in extensionless pages', async () => { const { server, host } = await createTestServer({ plugins: [ nodeResolve(), { name: 'test', serve(ctx) { if (ctx.path === '/index') { return { body: '<script type="module">import \'module-a\';</script>', type: 'html' }; } }, }, ], }); try { const text = await fetchText(`${host}/index`); expectIncludes(text, "import './node_modules/module-a/index.js'"); } finally { server.stop(); } }); it('can resolve imports in inline scripts', async () => { const { server, host } = await createTestServer({ plugins: [nodeResolve()], }); try { const text = await fetchText(`${host}/index.html`); expectIncludes(text, "import './node_modules/module-a/index.js';"); } finally { server.stop(); } }); it('can resolve private imports in inline scripts', async () => { const { server, host } = await createTestServer({ rootDir: path.resolve(__dirname, '..', 'fixtures', 'private-imports'), plugins: [nodeResolve()], }); try { const text = await fetchText(`${host}/index.html`); console.log(text); expectIncludes(text, "import './internal-a.js';"); } finally { server.stop(); } }); it('throws when trying to access files from the package directly if they are not exposed in the export map', async () => { const { server, host } = await createTestServer({ rootDir: path.resolve(__dirname, '..', 'fixtures', 'private-imports'), plugins: [nodeResolve()], }); try { const response = await fetch(`${host}/import-private-directly.html`); expect(response.status).to.equal(500); } finally { server.stop(); } }); it('throws on unresolved bare imports', async () => { const { server, host } = await createTestServer({ plugins: [ nodeResolve(), { name: 'test', serve(ctx) { if (ctx.path === '/test-app.js') { return 'import "non-existing"'; } }, }, ], }); try { const response = await fetch(`${host}/test-app.js`); expect(response.status).to.equal(500); } finally { server.stop(); } }); it('does not throw on unresolved relative or absolute imports', async () => { const { server, host } = await createTestServer({ plugins: [ nodeResolve(), { name: 'test', serve(ctx) { if (ctx.path === '/test-app.js') { return 'import "/non-existing.js"; import "./src/non-existing.js";'; } }, }, ], }); try { const text = await fetchText(`${host}/test-app.js`); expect(text).to.equal('import "/non-existing.js"; import "./src/non-existing.js";'); } finally { server.stop(); } }); it('node modules resolved outside root directory with matching basename via symlink are rewritten', async () => { const { server, host } = await createTestServer({ rootDir: path.resolve(__dirname, '..', 'fixtures', 'resolve-outside-dir'), plugins: [nodeResolve()], }); try { const responseText = await fetchText(`${host}/src/app.js`); expectIncludes( responseText, "import moduleB from '/__wds-outside-root__/1/resolve-outside-dir-foo/index.js'", ); } finally { server.stop(); } }); it('node modules resolved outside root directory are rewritten', async () => { const { server, host } = await createTestServer({ rootDir: path.resolve(__dirname, '..', 'fixtures', 'resolve-outside-dir', 'src'), plugins: [nodeResolve()], }); try { const responseText = await fetchText(`${host}/app.js`); expectIncludes( responseText, "import moduleA from '/__wds-outside-root__/1/node_modules/module-a/index.js'", ); } finally { server.stop(); } }); it('node modules resolved outside root directory are rewritten with commonjs', async () => { const { server, host } = await createTestServer({ rootDir: path.resolve(__dirname, '..', 'fixtures', 'resolve-outside-dir', 'src'), plugins: [commonjs(), nodeResolve()], }); try { const responseText = await fetchText(`${host}/app.js`); expectIncludes( responseText, "import moduleA from '/__wds-outside-root__/1/node_modules/module-a/index.js'", ); } finally { server.stop(); } }); });
modernweb-dev/web/packages/dev-server-rollup/test/node/plugins/node-resolve.test.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-rollup/test/node/plugins/node-resolve.test.ts", "repo_id": "modernweb-dev", "token_count": 2233 }
180
import commandLineArgs from 'command-line-args'; export function readCommandLineArgs() { return commandLineArgs([ { name: 'config-dir', alias: 'c', type: String, defaultValue: './.storybook', }, { name: 'output-dir', alias: 'o', type: String, defaultValue: 'storybook-static', }, ]); }
modernweb-dev/web/packages/dev-server-storybook/src/build/readCommandLineArgs.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server-storybook/src/build/readCommandLineArgs.ts", "repo_id": "modernweb-dev", "token_count": 153 }
181
<html> <head> </head> <body> <img width="100" src="/demo/logo.png" /> <h1>Static demo</h1> <p>A demo using https.</p> <div id="test"></div> <script type="module" src="/demo/http2/module.js"></script> <script type="module"> import '/demo/http2/module.js'; window.__tests = { moduleLoaded: window.__moduleLoaded || false, }; document.getElementById('test').innerHTML = `<pre>${JSON.stringify( window.__tests, null, 2, )}</pre>`; </script> <script> (async () => { await fetch('/demo/http2/module.js'); })(); </script> </body> </html>
modernweb-dev/web/packages/dev-server/demo/http2/index.html/0
{ "file_path": "modernweb-dev/web/packages/dev-server/demo/http2/index.html", "repo_id": "modernweb-dev", "token_count": 316 }
182
export class DevServerStartError extends Error {}
modernweb-dev/web/packages/dev-server/src/DevServerStartError.ts/0
{ "file_path": "modernweb-dev/web/packages/dev-server/src/DevServerStartError.ts", "repo_id": "modernweb-dev", "token_count": 10 }
183
import puppeteer from 'puppeteer'; import path from 'path'; import { fileURLToPath } from 'url'; import { startDevServer } from '../index.mjs'; const dirname = path.dirname(fileURLToPath(import.meta.url)); const testCases = [ { name: 'base-path', tests: ['moduleLoaded'], }, { name: 'index-rewrite', tests: ['moduleLoaded'], }, { name: 'node-resolve', tests: [ 'developmentExportCondition', 'inlineNodeResolve', 'nodeResolve', 'noExtension', 'extensionPriority', ], }, { name: 'static', tests: ['moduleLoaded'], }, { name: 'syntax', tests: ['stage4', 'inlineStage4', 'importMeta', 'staticImports', 'dynamicImports'], }, { name: 'export-conditions', tests: ['prodExport'], }, ]; describe('integration tests', () => { let browser; before(async () => { browser = await puppeteer.launch({ headless: 'new', }); }); after(() => { browser.close(); }); for (const testCase of testCases) { describe(`testcase ${testCase.name}`, function test() { this.timeout(30000); let server; beforeEach(async () => { server = await startDevServer({ autoExitProcess: false, logStartMessage: false, argv: ['--config', path.join(dirname, `../demo/${testCase.name}/config.mjs`)], }); }); afterEach(async () => { await server.stop(); }); it('passes the in-browser tests', async function it() { const openPath = `/demo/${testCase.name}/`; const browserPath = `http://${server.config.hostname}:${server.config.port}${openPath}`; const page = await browser.newPage(); await page.goto(browserPath, { waitUntil: 'networkidle2', }); const browserTests = await page.evaluate(() => window.__tests); // the demos run "tests", which we check here for (const test of testCase.tests) { if (!browserTests[test]) { throw new Error(`Expected test ${test} to have passed in the browser.`); } } }); }); } });
modernweb-dev/web/packages/dev-server/test/integration.test.mjs/0
{ "file_path": "modernweb-dev/web/packages/dev-server/test/integration.test.mjs", "repo_id": "modernweb-dev", "token_count": 912 }
184
// @ts-nocheck import fs from 'node:fs'; import { createRequire } from 'node:module'; import path from 'node:path'; const require = createRequire(import.meta.url); export function mockRollupPlugin( { interceptor } = { interceptor: '', }, ) { return { name: 'rollup-plugin-msw', writeBundle(opts) { const serviceWorkerPath = require.resolve('msw/mockServiceWorker.js'); const sw = fs.readFileSync(serviceWorkerPath, 'utf8'); const outPath = path.join(opts.dir, '__msw_sw__.js'); fs.writeFileSync(outPath, sw); }, buildStart(options) { if (interceptor) { const htmlPlugin = options.plugins.find(p => p.name === '@web/rollup-plugin-html'); htmlPlugin.api.addHtmlTransformer(html => { return html.replace( '<head>', `<head><!-- Injected by @web/mocks mockRollupPlugin --><script>${interceptor}</script>`, ); }); } }, }; }
modernweb-dev/web/packages/mocks/rollup-plugin.js/0
{ "file_path": "modernweb-dev/web/packages/mocks/rollup-plugin.js", "repo_id": "modernweb-dev", "token_count": 410 }
185
{ "name": "@web/parse5-utils", "version": "2.1.0", "publishConfig": { "access": "public" }, "description": "Utils for using parse5", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/modernweb-dev/web.git", "directory": "packages/parse5-utils" }, "author": "modern-web", "homepage": "https://github.com/modernweb-dev/web/tree/master/packages/parse5-utils", "main": "src/index.js", "exports": { ".": { "types": "./index.d.ts", "import": "./index.mjs", "require": "./src/index.js" } }, "engines": { "node": ">=18.0.0" }, "scripts": { "build": "tsc", "test:node": "mocha \"test/**/*.test.{ts,js,mjs,cjs}\" --require ts-node/register --reporter dot", "test:watch": "mocha \"test/**/*.test.{ts,js,mjs,cjs}\" --require ts-node/register --watch" }, "files": [ "*.d.ts", "*.mjs", "dist", "src" ], "keywords": [ "web", "node", "parse5", "utils" ], "dependencies": { "@types/parse5": "^6.0.1", "parse5": "^6.0.1" }, "devDependencies": { "@types/html-minifier-terser": "^7.0.0" } }
modernweb-dev/web/packages/parse5-utils/package.json/0
{ "file_path": "modernweb-dev/web/packages/parse5-utils/package.json", "repo_id": "modernweb-dev", "token_count": 548 }
186
import { expect } from 'chai'; import fs from 'fs'; import path from 'path'; import { PolyfillsLoaderConfig } from '../src/types.js'; import { createPolyfillsLoader } from '../src/createPolyfillsLoader.js'; import { noModuleSupportTest, fileTypes } from '../src/utils.js'; const updateSnapshots = process.argv.includes('--update-snapshots'); interface TestSnapshotArgs { name: string; config: PolyfillsLoaderConfig; expectedFiles?: string[]; } async function testSnapshot({ name, config, expectedFiles = [] }: TestSnapshotArgs) { const snapshotPath = path.join(__dirname, 'snapshots', 'createPolyfillsLoader', `${name}.js`); const loader = await createPolyfillsLoader(config); if (!loader) { throw new Error('No loader was generated'); } expect(loader.polyfillFiles.map(f => f.path)).to.eql(expectedFiles); if (updateSnapshots) { fs.writeFileSync(snapshotPath, loader.code, 'utf-8'); } else { const snapshot = fs.readFileSync(snapshotPath, 'utf-8'); expect(loader.code.trim()).to.equal(snapshot.trim()); } } describe('createPolyfillsLoader', function describe() { // bootup of the first test can take a long time in CI to load all the polyfills this.timeout(5000); it('generates a loader script with one module resource', async () => { await testSnapshot({ name: 'module-resource', config: { modern: { files: [{ type: fileTypes.MODULE, path: 'app.js' }] }, polyfills: { hash: false, fetch: true, }, }, expectedFiles: ['polyfills/fetch.js'], }); }); it('generates a loader script with one system resource', async () => { await testSnapshot({ name: 'system-resource', config: { modern: { files: [{ type: fileTypes.SYSTEMJS, path: 'app.js' }] }, polyfills: { hash: false, fetch: true, }, }, expectedFiles: ['polyfills/fetch.js', 'polyfills/systemjs.js'], }); }); it('generates a loader script with one module-shim resource', async () => { await testSnapshot({ name: 'module-shim-resource', config: { modern: { files: [{ type: fileTypes.MODULESHIM, path: 'chunk.js' }] }, polyfills: { hash: false, fetch: true, }, }, expectedFiles: ['polyfills/fetch.js'], }); }); it('generates a loader script with one script resource', async () => { await testSnapshot({ name: 'script-resource', config: { modern: { files: [{ type: fileTypes.SCRIPT, path: 'app.js' }] }, polyfills: { hash: false, fetch: true, }, }, expectedFiles: ['polyfills/fetch.js'], }); }); it('generates a loader script with multiple resources', async () => { await testSnapshot({ name: 'module-resources', config: { modern: { files: [ { type: fileTypes.MODULE, path: 'app.js' }, { type: fileTypes.SCRIPT, path: 'shared.js' }, { type: fileTypes.SYSTEMJS, path: 'other.js' }, ], }, polyfills: { hash: false, fetch: true, }, }, expectedFiles: ['polyfills/fetch.js', 'polyfills/systemjs.js'], }); }); it('generates a loader script with legacy resources', async () => { await testSnapshot({ name: 'module-legacy-system', config: { modern: { files: [{ type: fileTypes.MODULE, path: 'app.js' }] }, legacy: [ { test: noModuleSupportTest, files: [{ type: fileTypes.SYSTEMJS, path: 'legacy/app.js' }], }, ], polyfills: { hash: false, fetch: true, }, }, expectedFiles: ['polyfills/fetch.js', 'polyfills/systemjs.js'], }); }); it('generates a loader script with multiple legacy resources', async () => { await testSnapshot({ name: 'module-legacy-system-multiple', config: { modern: { files: [ { type: fileTypes.MODULE, path: 'app-1.js' }, { type: fileTypes.MODULE, path: 'app-2.js' }, ], }, legacy: [ { test: noModuleSupportTest, files: [ { type: fileTypes.SYSTEMJS, path: 'legacy/app-1.js' }, { type: fileTypes.SYSTEMJS, path: 'legacy/app-2.js' }, ], }, ], polyfills: { hash: false, fetch: true, }, }, expectedFiles: ['polyfills/fetch.js', 'polyfills/systemjs.js'], }); }); it('generates a loader script with multiple types of legacy resources', async () => { await testSnapshot({ name: 'multiple-legacy', config: { modern: { files: [ { type: fileTypes.MODULE, path: 'app-1.js' }, { type: fileTypes.SCRIPT, path: 'app-2.js' }, ], }, legacy: [ { test: noModuleSupportTest, files: [ { type: fileTypes.SYSTEMJS, path: 'legacy/app-1.js' }, { type: fileTypes.SCRIPT, path: 'legacy/app-2.js' }, ], }, { test: "'foo' in bar", files: [ { type: fileTypes.SCRIPT, path: 'foobar/app-1.js' }, { type: fileTypes.SYSTEMJS, path: 'foobar/app-2.js' }, ], }, ], polyfills: { hash: false, fetch: true, }, }, expectedFiles: ['polyfills/fetch.js', 'polyfills/systemjs.js'], }); }); it('generates a loader script with multiple polyfills', async () => { await testSnapshot({ name: 'polyfills', config: { modern: { files: [{ type: fileTypes.MODULE, path: 'app.js' }] }, polyfills: { hash: false, coreJs: true, webcomponents: true, fetch: true, }, }, expectedFiles: [ 'polyfills/fetch.js', 'polyfills/webcomponents.js', 'polyfills/custom-elements-es5-adapter.js', 'polyfills/core-js.js', ], }); }); it('generates a loader script with customized polyfills directory', async () => { await testSnapshot({ name: 'custom-polyfills-dir', config: { modern: { files: [{ type: fileTypes.MODULE, path: 'app.js' }] }, polyfillsDir: 'foo/bar', polyfills: { hash: false, coreJs: true, webcomponents: true, fetch: true, }, }, expectedFiles: [ 'foo/bar/fetch.js', 'foo/bar/webcomponents.js', 'foo/bar/custom-elements-es5-adapter.js', 'foo/bar/core-js.js', ], }); }); it('generates a loader script with a relative path to polyfills directory', async () => { await testSnapshot({ name: 'relative-polyfills-dir', config: { modern: { files: [{ type: fileTypes.MODULE, path: 'app.js' }] }, relativePathToPolyfills: '../..', polyfills: { hash: false, coreJs: true, webcomponents: true, fetch: true, }, }, expectedFiles: [ 'polyfills/fetch.js', 'polyfills/webcomponents.js', 'polyfills/custom-elements-es5-adapter.js', 'polyfills/core-js.js', ], }); }); it('generates a loader script with a polyfill with an initializer', async () => { await testSnapshot({ name: 'polyfills-initializer', config: { modern: { files: [{ type: fileTypes.MODULE, path: 'app.js' }] }, polyfills: { hash: false, coreJs: true, dynamicImport: true, }, }, expectedFiles: ['polyfills/dynamic-import.js', 'polyfills/core-js.js'], }); }); it('generates a loader script with a polyfill loaded as a module', async () => { await testSnapshot({ name: 'polyfills-module', config: { modern: { files: [{ type: fileTypes.MODULE, path: 'app.js' }] }, polyfills: { hash: false, coreJs: true, }, }, expectedFiles: ['polyfills/core-js.js'], }); }); it('generates a loader script with upwards file path', async () => { await testSnapshot({ name: 'upwards-file-path', config: { modern: { files: [{ type: fileTypes.MODULE, path: '../app.js' }] }, polyfills: { hash: false, fetch: true, }, }, expectedFiles: ['polyfills/fetch.js'], }); }); it('generates a loader script with an absolute file path', async () => { await testSnapshot({ name: 'absolute-file-path', config: { modern: { files: [{ type: fileTypes.MODULE, path: '/app.js' }] }, polyfills: { hash: false, fetch: true, }, }, expectedFiles: ['polyfills/fetch.js'], }); }); it('can generate a minified loader', async () => { await testSnapshot({ name: 'minified', config: { modern: { files: [{ type: fileTypes.MODULE, path: '/app.js' }] }, minify: true, polyfills: { hash: false, fetch: true, }, }, expectedFiles: ['polyfills/fetch.js'], }); }); it('can generate a loader without polyfills or legacy', async () => { await testSnapshot({ name: 'no-polyfills-no-legacy', config: { modern: { files: [{ type: fileTypes.MODULE, path: '/app.js' }] }, minify: false, }, expectedFiles: [], }); }); });
modernweb-dev/web/packages/polyfills-loader/test/createPolyfillsLoader.test.ts/0
{ "file_path": "modernweb-dev/web/packages/polyfills-loader/test/createPolyfillsLoader.test.ts", "repo_id": "modernweb-dev", "token_count": 4518 }
187
# Rollup Plugin Copy A Rollup plugin which copies asset files while retaining the relative folder structure. See [our website](https://modern-web.dev/docs/building/rollup-plugin-copy/) for full documentation.
modernweb-dev/web/packages/rollup-plugin-copy/README.md/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-copy/README.md", "repo_id": "modernweb-dev", "token_count": 53 }
188
const path = require('path'); const { expect } = require('chai'); const { patternsToFiles } = require('../src/patternsToFiles.js'); describe('patternsToFiles', () => { it('works with a string', async () => { const files = await patternsToFiles('*.svg', path.resolve(__dirname, './fixture/')); expect(files.length).to.equal(2); expect(files).to.have.members([ path.join(__dirname, './fixture/a.svg'), path.join(__dirname, './fixture/b.svg'), ]); }); it('works with an array of strings ', async () => { const files = await patternsToFiles( ['*.svg', 'sub/*.mark.svg'], path.resolve(__dirname, './fixture/'), ); expect(files.length).to.equal(3); expect(files).to.have.members([ path.join(__dirname, './fixture/a.svg'), path.join(__dirname, './fixture/b.svg'), path.join(__dirname, './fixture/sub/sub-b.mark.svg'), ]); }); });
modernweb-dev/web/packages/rollup-plugin-copy/test/patternsToFiles.test.js/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-copy/test/patternsToFiles.test.js", "repo_id": "modernweb-dev", "token_count": 378 }
189
console.log('lazy-1.js');
modernweb-dev/web/packages/rollup-plugin-html/demo/spa/src/lazy-1.js/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-html/demo/spa/src/lazy-1.js", "repo_id": "modernweb-dev", "token_count": 12 }
190
import { InputOption } from 'rollup'; import { InputHTMLOptions, RollupPluginHTMLOptions } from '../RollupPluginHTMLOptions.js'; import { createError } from '../utils.js'; export function normalizeInputOptions( pluginOptions: RollupPluginHTMLOptions, rollupInput?: InputOption, ): InputHTMLOptions[] { if (pluginOptions.input == null) { if (rollupInput == null) { throw createError('Missing input option in rollup or in HTML plugin options.'); } if (typeof rollupInput === 'string') { return [{ path: rollupInput }]; } if (Array.isArray(rollupInput)) { return rollupInput.map(path => ({ path })); } if (typeof rollupInput === 'object') { return Object.entries(rollupInput).map(([name, path]) => ({ name, path })); } throw createError('Unable to parse rollup input option'); } if (Array.isArray(pluginOptions.input)) { return pluginOptions.input.map(input => { if (typeof input === 'string') { return { path: input }; } return input; }); } if (typeof pluginOptions.input === 'object') { return [pluginOptions.input]; } if (typeof pluginOptions.input === 'string') { return [{ path: pluginOptions.input }]; } throw createError('Unable to parse html plugin input option'); }
modernweb-dev/web/packages/rollup-plugin-html/src/input/normalizeInputOptions.ts/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-html/src/input/normalizeInputOptions.ts", "repo_id": "modernweb-dev", "token_count": 448 }
191
:root { color: x; }
modernweb-dev/web/packages/rollup-plugin-html/test/fixtures/assets/foo/x.css/0
{ "file_path": "modernweb-dev/web/packages/rollup-plugin-html/test/fixtures/assets/foo/x.css", "repo_id": "modernweb-dev", "token_count": 12 }
192