text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```xml
import type { ExcludedSearchResults } from "@Core/ExcludedSearchResults";
import type { SearchResultItemAction } from "@common/Core";
import type { ActionHandler } from "../Contract";
/**
* Action handler for excluding a search result from the search results.
*/
export class ExcludeFromSearchResultsActionHandler implements ActionHandler {
public readonly id = "excludeFromSearchResults";
public constructor(private readonly excludedSearchResults: ExcludedSearchResults) {}
/**
* Excludes an item from the search results.
* Expects the given action's argument to be a SearchResultItem ID as a string.
*/
public async invokeAction(action: SearchResultItemAction): Promise<void> {
await this.excludedSearchResults.add(action.argument);
}
}
``` | /content/code_sandbox/src/main/Core/ActionHandler/DefaultActionHandlers/ExcludeFromSearchResultsActionHandler.ts | xml | 2016-10-11T04:59:52 | 2024-08-16T11:53:31 | ueli | oliverschwendener/ueli | 3,543 | 156 |
```xml
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
<domain:update
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>example.tld</domain:name>
<domain:add>
<domain:status s="clientRenewProhibited"
lang="en">Renew prohibited.</domain:status>
</domain:add>
</domain:update>
</update>
<clTRID>ABC-12345</clTRID>
</command>
</epp>
``` | /content/code_sandbox/core/src/test/resources/google/registry/flows/domain/domain_update_add_non_server_status.xml | xml | 2016-02-29T20:16:48 | 2024-08-15T19:49:29 | nomulus | google/nomulus | 1,685 | 134 |
```xml
import { getSupportedUID } from '@proton/shared/lib/calendar/helper';
import { getIsAllDay } from '@proton/shared/lib/calendar/veventHelper';
import { omit } from '@proton/shared/lib/helpers/object';
import type { VcalVeventComponent } from '@proton/shared/lib/interfaces/calendar/VcalModel';
import type { CalendarEventRecurring } from '../../../interfaces/CalendarEvents';
import { getSafeRruleCount, getSafeRruleUntil } from './helper';
const getRecurrenceOffsetID = (date: Date, isAllDay: boolean) => {
const dateString = [date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate()]
.map((n) => `${n}`.padStart(2, '0'))
.join('');
const timeString = [date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds()]
.map((n) => `${n}`.padStart(2, '0'))
.join('');
return isAllDay ? `R${dateString}` : `R${dateString}T${timeString}`;
};
const getComponentWithUpdatedRrule = (
component: VcalVeventComponent,
originalComponent: VcalVeventComponent,
recurrence: CalendarEventRecurring
): VcalVeventComponent => {
const { rrule: originalRrule } = originalComponent;
const { rrule: newRrule } = component;
if (!originalRrule) {
throw new Error('Original RRULE undefined');
}
if (!newRrule) {
return omit(component, ['rrule']);
}
// Count was not changed, so set a new count based on this occurrence
if (newRrule.value.count && originalRrule.value.count === newRrule.value.count) {
const newCount = newRrule.value.count - (recurrence.occurrenceNumber - 1);
const safeRrule = getSafeRruleCount(newRrule, newCount);
if (!safeRrule) {
return omit(component, ['rrule']);
}
return { ...component, rrule: safeRrule };
}
if (newRrule.value.until) {
return {
...component,
rrule: getSafeRruleUntil(newRrule, component),
};
}
return {
...component,
rrule: newRrule,
};
};
export const getFutureRecurrenceUID = (oldUID: string, localStart: Date, isAllDay: boolean) => {
const offset = getRecurrenceOffsetID(localStart, isAllDay);
const endIndex = oldUID.lastIndexOf('@');
const pre = endIndex === -1 ? oldUID : oldUID.slice(0, endIndex);
const post = endIndex === -1 ? '' : oldUID.slice(endIndex);
// we remove any possible previous recurrence offsets (we match our own type of offset)
const cleanPre = pre.replace(/(?:_R\d{8}(?:T\d{6})?)+$/, '');
return getSupportedUID(`${cleanPre}_${offset}${post}`);
};
const createFutureRecurrence = (
component: VcalVeventComponent,
originalComponent: VcalVeventComponent,
recurrence: CalendarEventRecurring
) => {
const veventWithNewUID = {
...component,
uid: {
value: getFutureRecurrenceUID(
originalComponent.uid.value,
recurrence.localStart,
getIsAllDay(originalComponent)
),
},
};
const veventStripped = omit(veventWithNewUID, ['recurrence-id', 'exdate']);
return getComponentWithUpdatedRrule(veventStripped, originalComponent, recurrence);
};
export default createFutureRecurrence;
``` | /content/code_sandbox/applications/calendar/src/app/containers/calendar/recurrence/createFutureRecurrence.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 798 |
```xml
export * from './PersonaCoin';
export * from './PersonaCoin.base';
``` | /content/code_sandbox/packages/react/src/components/Persona/PersonaCoin/index.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 16 |
```xml
import path from '../../shared/lib/isomorphic/path'
import type { Normalizer } from './normalizer'
export class PrefixingNormalizer implements Normalizer {
private readonly prefix: string
constructor(...prefixes: ReadonlyArray<string>) {
this.prefix = path.posix.join(...prefixes)
}
public normalize(pathname: string): string {
return path.posix.join(this.prefix, pathname)
}
}
``` | /content/code_sandbox/packages/next/src/server/normalizers/prefixing-normalizer.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 88 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<resources>
<dimen name="mtrl_alert_dialog_picker_background_inset">24dp</dimen>
<integer name="mtrl_calendar_year_selector_span">3</integer>
<dimen name="mtrl_calendar_maximum_default_fullscreen_minor_axis">480dp</dimen>
<dimen name="mtrl_calendar_dialog_background_inset">16dp</dimen>
<dimen name="mtrl_calendar_header_height">120dp</dimen>
<dimen name="mtrl_calendar_header_text_padding">12dp</dimen>
<dimen name="mtrl_calendar_day_today_stroke">1dp</dimen>
<dimen name="mtrl_calendar_content_padding">12dp</dimen>
<dimen name="mtrl_calendar_navigation_height">48dp</dimen>
<dimen name="mtrl_calendar_navigation_top_padding">4dp</dimen>
<dimen name="mtrl_calendar_navigation_bottom_padding">4dp</dimen>
<dimen name="mtrl_calendar_month_vertical_padding">0dp</dimen>
<dimen name="mtrl_calendar_action_height">52dp</dimen>
<dimen name="mtrl_calendar_action_padding">8dp</dimen>
<dimen name="mtrl_calendar_action_confirm_button_min_width">64dp</dimen>
<dimen name="mtrl_calendar_header_content_padding_fullscreen">4dp</dimen>
<dimen name="mtrl_calendar_header_selection_line_height">32dp</dimen>
<dimen name="mtrl_calendar_header_divider_thickness">1dp</dimen>
<dimen name="mtrl_calendar_year_height">52dp</dimen>
<dimen name="mtrl_calendar_year_width">88dp</dimen>
<dimen name="mtrl_calendar_year_corner">18dp</dimen>
<dimen name="mtrl_calendar_year_horizontal_padding">8dp</dimen>
<dimen name="mtrl_calendar_year_vertical_padding">8dp</dimen>
<!-- Prior to Lollipop, AppCompatTextView will clip font descenders when using
first_baseline_to_top_height to determine padding. This additional padding prevents clipping. -->
<dimen name="mtrl_calendar_pre_l_text_clip_padding">8dp</dimen>
<!-- portrait -->
<dimen name="mtrl_calendar_header_height_fullscreen">128dp</dimen>
<dimen name="mtrl_calendar_title_baseline_to_top_fullscreen">68dp</dimen>
<dimen name="mtrl_calendar_selection_baseline_to_top_fullscreen">104dp</dimen>
<dimen name="mtrl_calendar_selection_text_baseline_to_bottom_fullscreen">24dp</dimen>
<dimen name="mtrl_calendar_title_baseline_to_top">28dp</dimen>
<dimen name="mtrl_calendar_selection_text_baseline_to_top">100dp</dimen>
<dimen name="mtrl_calendar_selection_text_baseline_to_bottom">20dp</dimen>
<dimen name="mtrl_calendar_header_content_padding">12dp</dimen>
<dimen name="mtrl_calendar_header_toggle_margin_top">24dp</dimen>
<dimen name="mtrl_calendar_header_toggle_margin_bottom">8dp</dimen>
<dimen name="mtrl_calendar_text_input_padding_top">16dp</dimen>
<integer name="mtrl_calendar_selection_text_lines">1</integer>
<integer name="mtrl_calendar_header_orientation">1</integer>
<!-- screens with less than 360dp minimum dimension -->
<dimen name="mtrl_calendar_landscape_header_width">0dp</dimen>
<dimen name="mtrl_calendar_bottom_padding">0dp</dimen>
<dimen name="mtrl_calendar_month_horizontal_padding">2dp</dimen>
<dimen name="mtrl_calendar_day_corner">15dp</dimen>
<dimen name="mtrl_calendar_day_height">32dp</dimen>
<dimen name="mtrl_calendar_day_width">36dp</dimen>
<dimen name="mtrl_calendar_day_horizontal_padding">3dp</dimen>
<dimen name="mtrl_calendar_day_vertical_padding">1dp</dimen>
<!-- only portrait and screens with less than 360dp minimum dimension-->
<dimen name="mtrl_calendar_days_of_week_height">24dp</dimen>
<dimen name="m3_datepicker_elevation">@dimen/m3_sys_elevation_level3</dimen>
</resources>
``` | /content/code_sandbox/lib/java/com/google/android/material/datepicker/res/values/dimens.xml | xml | 2016-12-05T16:11:29 | 2024-08-16T17:51:42 | material-components-android | material-components/material-components-android | 16,176 | 1,037 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* Interface describing `ssumors`.
*/
interface Routine {
/**
* Computes the sum of single-precision floating-point strided array elements using ordinary recursive summation.
*
* @param N - number of indexed elements
* @param x - input array
* @param stride - stride length
* @returns sum
*
* @example
* var Float32Array = require( '@stdlib/array/float32' );
*
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
*
* var v = ssumors( x.length, x, 1 );
* // returns 1.0
*/
( N: number, x: Float32Array, stride: number ): number;
/**
* Computes the sum of single-precision floating-point strided array elements using ordinary recursive summation and alternative indexing semantics.
*
* @param N - number of indexed elements
* @param x - input array
* @param stride - stride length
* @param offset - starting index
* @returns sum
*
* @example
* var Float32Array = require( '@stdlib/array/float32' );
*
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
*
* var v = ssumors.ndarray( x.length, x, 1, 0 );
* // returns 1.0
*/
ndarray( N: number, x: Float32Array, stride: number, offset: number ): number;
}
/**
* Computes the sum of single-precision floating-point strided array elements using ordinary recursive summation.
*
* @param N - number of indexed elements
* @param x - input array
* @param stride - stride length
* @returns sum
*
* @example
* var Float32Array = require( '@stdlib/array/float32' );
*
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
*
* var v = ssumors( x.length, x, 1 );
* // returns 1.0
*
* @example
* var Float32Array = require( '@stdlib/array/float32' );
*
* var x = new Float32Array( [ 1.0, -2.0, 2.0 ] );
*
* var v = ssumors.ndarray( x.length, x, 1, 0 );
* // returns 1.0
*/
declare var ssumors: Routine;
// EXPORTS //
export = ssumors;
``` | /content/code_sandbox/lib/node_modules/@stdlib/blas/ext/base/ssumors/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 640 |
```xml
export function getSha() {
const gitHubSha = process.env.GITHUB_SHA
if (isGitHubActions() && gitHubSha !== undefined && gitHubSha.length > 0) {
return gitHubSha
}
throw new Error(
`Unable to get the SHA for the current platform. Check the documentation for the expected environment variables.`
)
}
export function isGitHubActions() {
return process.env.GITHUB_ACTIONS === 'true'
}
``` | /content/code_sandbox/script/build-platforms.ts | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 99 |
```xml
declare const _default: Partial<{
isAvailableAsync: () => Promise<boolean>;
requestReview: () => Promise<void>;
}>;
export default _default;
//# sourceMappingURL=ExpoStoreReview.d.ts.map
``` | /content/code_sandbox/packages/expo-store-review/build/ExpoStoreReview.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 44 |
```xml
<vector android:height="48dp" android:viewportHeight="128"
android:viewportWidth="128" android:width="48dp" xmlns:android="path_to_url">
<path
android:fillColor="#aaa"
android:pathData="M24.308,100H104.308V52l-40,-16 -40,16z"/>
<path
android:pathData="m16.308,56 l48,-20 48,20"
android:strokeColor="#333"
android:strokeWidth="12"/>
<path
android:fillColor="#fac800"
android:pathData="M56.855,55.595 L50.236,75.452 58.51,73.798 55.201,92 80.022,65.524 63.474,68.833 73.403,52.286Z"/>
</vector>
``` | /content/code_sandbox/app/src/main/res/drawable/ic_building_service.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 196 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="path_to_url"
xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<parent>
<artifactId>whatsmars-parent</artifactId>
<groupId>org.hongxi</groupId>
<version>2021.4.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<version>${version}</version>
<packaging>pom</packaging>
<modules>
<module>${artifactId}-api</module>
<module>${artifactId}-service</module>
</modules>
</project>
``` | /content/code_sandbox/whatsmars-archetypes/dubbo-archetype/src/main/resources/archetype-resources/pom.xml | xml | 2016-04-01T10:33:04 | 2024-08-14T23:44:08 | whatsmars | javahongxi/whatsmars | 1,952 | 174 |
```xml
import { IPropertyPaneAccessor } from "@microsoft/sp-webpart-base";
export interface IScriptEditorProps {
script: string;
title: string;
propPaneHandle: IPropertyPaneAccessor;
}
``` | /content/code_sandbox/samples/react-script-editor/src/webparts/scriptEditor/components/IScriptEditorProps.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 45 |
```xml
export * from './Revision/Revision'
export * from './Revision/RevisionMetadata'
export * from './UseCase/AddAuthenticator/AddAuthenticator'
export * from './UseCase/AddAuthenticator/AddAuthenticatorDTO'
export * from './UseCase/DeleteAuthenticator/DeleteAuthenticator'
export * from './UseCase/DeleteAuthenticator/DeleteAuthenticatorDTO'
export * from './UseCase/DeleteRevision/DeleteRevision'
export * from './UseCase/DeleteRevision/DeleteRevisionDTO'
export * from './UseCase/GetAuthenticatorAuthenticationOptions/GetAuthenticatorAuthenticationOptions'
export * from './your_sha512_hash'
export * from './UseCase/GetAuthenticatorAuthenticationResponse/GetAuthenticatorAuthenticationResponse'
export * from './UseCase/GetAuthenticatorAuthenticationResponse/GetAuthenticatorAuthenticationResponseDTO'
export * from './UseCase/GetRecoveryCodes/GetRecoveryCodes'
export * from './UseCase/GetRevision/GetRevision'
export * from './UseCase/GetRevision/GetRevisionDTO'
export * from './UseCase/ListAuthenticators/ListAuthenticators'
export * from './UseCase/ListRevisions/ListRevisions'
export * from './UseCase/ListRevisions/ListRevisionsDTO'
export * from './UseCase/SignInWithRecoveryCodes/SignInWithRecoveryCodes'
export * from './UseCase/SignInWithRecoveryCodes/SignInWithRecoveryCodesDTO'
``` | /content/code_sandbox/packages/snjs/lib/Domain/index.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 287 |
```xml
/*
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import { html } from 'lit';
import { spreadProps, getElementStorybookArgs } from '@cds/core/internal';
import { ClarityIcons } from '@cds/core/icon/icon.service.js';
import { vmIcon } from '@cds/core/icon/shapes/vm.js';
import '@cds/core/selection-panels/radio/register.js';
ClarityIcons.addIcons(vmIcon);
export default {
title: 'Stories/Radio Panel',
component: 'cds-radio-panel',
parameters: {
options: { showPanel: true },
design: {
type: 'figma',
url: 'path_to_url
},
},
};
export function API(args: any) {
return html`
<cds-radio-group layout="vertical-inline">
<label>API</label>
<cds-radio-panel ...="${spreadProps(getElementStorybookArgs(args))}">
<label cds-layout="vertical align:center gap:md">
<span>Panel content</span>
</label>
<input type="radio" />
<cds-control-message .status=${args.status}>message text</cds-control-message>
</cds-radio-panel>
</cds-radio-group>
`;
}
export function basic() {
return html`
<cds-radio-group layout="vertical-inline">
<label>Basic</label>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message>Helper text2</cds-control-message>
</cds-radio-group>
`;
}
export function vertical() {
return html`
<cds-radio-group layout="vertical-inline">
<label>Vertical inline</label>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message>Helper text2</cds-control-message>
</cds-radio-group>
<cds-radio-group cds-layout="m-t:md" layout="vertical">
<label>Vertical</label>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message>Helper text</cds-control-message>
</cds-radio-group>
`;
}
export function horizontal() {
return html`
<cds-radio-group layout="horizontal-inline">
<label>Horizontal inline</label>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message>Helper text</cds-control-message>
</cds-radio-group>
<cds-radio-group cds-layout="m-t:md" layout="horizontal">
<label>Horizontal</label>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message>Helper text</cds-control-message>
</cds-radio-group>
`;
}
export function compact() {
return html`
<cds-radio-group layout="compact">
<label>Compact</label>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message>Helper text</cds-control-message>
</cds-radio-group>
`;
}
export function status() {
return html`
<div cds-layout="vertical gap:lg">
<cds-radio-group layout="vertical-inline" status="error">
<label>Error</label>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message status="error">Helper text2</cds-control-message>
</cds-radio-group>
<cds-radio-group layout="vertical-inline" status="success">
<label>Success</label>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message status="success">Helper text2</cds-control-message>
</cds-radio-group>
<cds-radio-group layout="vertical-inline">
<label>Default</label>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message>Helper text2</cds-control-message>
</cds-radio-group>
<cds-radio-group layout="vertical-inline" disabled>
<label>Disabled</label>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" disabled />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" disabled />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" disabled />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" disabled />
</cds-radio-panel>
<cds-control-message>Helper text2</cds-control-message>
</cds-radio-group>
</div>
`;
}
export function sizes() {
return html`
<section cds-layout="vertical gap:md">
<cds-radio-group layout="vertical-inline">
<label>Default</label>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message>Helper text2</cds-control-message>
</cds-radio-group>
<cds-radio-group layout="vertical-inline">
<label>Small (sm)</label>
<cds-radio-panel size="sm">
<label cds-layout="vertical gap:sm align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel size="sm">
<label cds-layout="vertical gap:sm align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel size="sm">
<label cds-layout="vertical gap:sm align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel size="sm">
<label cds-layout="vertical gap:sm align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message>Helper text2</cds-control-message>
</cds-radio-group>
<cds-radio-group layout="vertical-inline">
<label>Medium (md)</label>
<cds-radio-panel size="md">
<label cds-layout="vertical gap:sm align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel size="md">
<label cds-layout="vertical gap:sm align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel size="md">
<label cds-layout="vertical gap:sm align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel size="md">
<label cds-layout="vertical gap:sm align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message>Helper text2</cds-control-message>
</cds-radio-group>
<cds-radio-group layout="vertical-inline">
<label>Large (lg)</label>
<cds-radio-panel size="lg">
<label cds-layout="vertical gap:lg align:center">
<span cds-text="heading">VM One</span>
<span cds-text="section center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel size="lg">
<label cds-layout="vertical gap:lg align:center">
<span cds-text="heading">VM Two</span>
<span cds-text="section center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message>Helper text2</cds-control-message>
</cds-radio-group>
<cds-radio-group layout="vertical-inline">
<label>Extra-large (xl)</label>
<cds-radio-panel size="xl">
<label cds-layout="vertical gap:lg align:center">
<span cds-text="heading">VM One</span>
<span cds-text="section center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel size="xl">
<label cds-layout="vertical gap:lg align:center">
<span cds-text="heading">VM Two</span>
<span cds-text="section center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message>Helper text2</cds-control-message>
</cds-radio-group>
</section>
`;
}
export function darkTheme() {
return html`
<div cds-theme="dark">
<cds-radio-group layout="vertical-inline">
<label>Vertical inline</label>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM One</span>
<span cds-text="subsection center">Orchestrate & Automate</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Two</span>
<span cds-text="subsection center">Replication & Remediation</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Three</span>
<span cds-text="subsection center">Scale & Secure</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-radio-panel>
<label cds-layout="vertical gap:md align:center">
<span cds-text="section">VM Four</span>
<span cds-text="subsection center">Storage & Salvage</span>
</label>
<input type="radio" value="1" />
</cds-radio-panel>
<cds-control-message>Helper text2</cds-control-message>
</cds-radio-group>
</div>
`;
}
``` | /content/code_sandbox/packages/core/src/selection-panels/radio/radio-panel.stories.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 5,517 |
```xml
import * as React from 'react';
import { Segment } from '@fluentui/react-northstar';
const SegmentExample = () => <Segment>The elevator to success is out of order. Youll have to use the stairs.</Segment>;
export default SegmentExample;
``` | /content/code_sandbox/packages/fluentui/docs/src/examples/components/Segment/Types/SegmentExample.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 55 |
```xml
/// <reference path="@ms/odsp.d.ts" />
/// <reference path="@ms/odsp-webpack.d.ts" />
/// <reference path="assertion-error/assertion-error.d.ts" />
/// <reference path="chai/chai.d.ts" />
/// <reference path="es6-collections/es6-collections.d.ts" />
/// <reference path="es6-promise/es6-promise.d.ts" />
/// <reference path="lodash/lodash.d.ts" />
/// <reference path="mocha/mocha.d.ts" />
/// <reference path="node/node.d.ts" />
/// <reference path="react/react.d.ts" />
/// <reference path="react/react-addons-shallow-compare.d.ts" />
/// <reference path="react/react-addons-test-utils.d.ts" />
/// <reference path="react/react-addons-update.d.ts" />
/// <reference path="react/react-dom.d.ts" />
/// <reference path="systemjs/systemjs.d.ts" />
/// <reference path="whatwg-fetch/whatwg-fetch.d.ts" />
/// <reference path="knockout/knockout.d.ts" />
/// <reference path="combokeys/combokeys.d.ts" />
/// <reference path="react-redux/react-redux.d.ts" />
/// <reference path="redux/redux.d.ts" />
/// <reference path="redux-logger/redux-logger.d.ts" />
``` | /content/code_sandbox/samples/react-redux/typings/tsd.d.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 290 |
```xml
/** @jsx jsx */
import { Transforms } from 'slate'
import { jsx } from '../../..'
export const run = editor => {
Transforms.setNodes(editor, { key: 'a' }, { at: [0, 1] })
}
export const input = (
<editor>
<block>
<text />
<inline>word</inline>
<text />
</block>
</editor>
)
export const output = (
<editor>
<block>
<text />
<inline key="a">word</inline>
<text />
</block>
</editor>
)
``` | /content/code_sandbox/packages/slate/test/transforms/setNodes/path/inline.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 135 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="path_to_url" xmlns:xsi="path_to_url" xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-java</artifactId>
<version>0.64.8</version>
</parent>
<artifactId>flexmark-ext-ins</artifactId>
<name>flexmark-java extension for ins</name>
<description>flexmark-java extension for ins</description>
<dependencies>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-util</artifactId>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark</artifactId>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-test-util</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-core-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
``` | /content/code_sandbox/flexmark-ext-ins/pom.xml | xml | 2016-01-23T15:29:29 | 2024-08-15T04:04:18 | flexmark-java | vsch/flexmark-java | 2,239 | 306 |
```xml
import React from 'react';
type IconProps = React.SVGProps<SVGSVGElement>;
export declare const IcAt: (props: IconProps) => React.JSX.Element;
export {};
``` | /content/code_sandbox/packages/icons/lib/icAt.d.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 42 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>RTL8188EU8</string>
<key>CFBundleGetInfoString</key>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.realtek.driver.RTL8188EU</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1003</string>
<key>CFBundleSignature</key>
<string>realtek</string>
<key>CFBundleVersion</key>
<string>1003</string>
<key>IOKitPersonalities</key>
<dict>
<key>RTL8188EU</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.realtek.driver.RTL8188EU</string>
<key>IOClass</key>
<string>RTL8188EU</string>
<key>IOKitDebug</key>
<integer>65535</integer>
<key>IOProviderClass</key>
<string>IOUSBInterface</string>
<key>bConfigurationValue</key>
<integer>1</integer>
<key>bInterfaceNumber</key>
<integer>0</integer>
<key>idProduct</key>
<integer>33145</integer>
<key>idVendor</key>
<integer>3034</integer>
</dict>
<key>RTL8188EU_VAU</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.realtek.driver.RTL8188EU</string>
<key>IOClass</key>
<string>RTL8188EU</string>
<key>IOKitDebug</key>
<integer>65535</integer>
<key>IOProviderClass</key>
<string>IOUSBInterface</string>
<key>bConfigurationValue</key>
<integer>1</integer>
<key>bInterfaceNumber</key>
<integer>0</integer>
<key>idProduct</key>
<integer>41337</integer>
<key>idVendor</key>
<integer>3034</integer>
</dict>
</dict>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IONetworkingFamily</key>
<string>1.1</string>
<key>com.apple.iokit.IOUSBFamily</key>
<string>1.8</string>
<key>com.apple.kpi.bsd</key>
<string>8.0.0b2</string>
<key>com.apple.kpi.iokit</key>
<string>8.0.0b2</string>
<key>com.apple.kpi.libkern</key>
<string>8.0.0b2</string>
<key>com.apple.kpi.mach</key>
<string>8.0.0b2</string>
</dict>
</dict>
</plist>
``` | /content/code_sandbox/Clover-Configs/Lenovo/Y700/CLOVER/kexts/Other/RTL8188EU8.kext/Contents/Resources/Info-RTL8188EU___MountainLion__Upgraded_.plist | xml | 2016-11-05T04:22:54 | 2024-08-12T19:25:53 | Hackintosh-Installer-University | huangyz0918/Hackintosh-Installer-University | 3,937 | 826 |
```xml
import {Readable} from 'stream';
declare namespace getRawBody {
export type Encoding = string | true;
export interface Options {
/**
* The expected length of the stream.
*/
length?: number | string | null;
/**
* The byte limit of the body. This is the number of bytes or any string
* format supported by `bytes`, for example `1000`, `'500kb'` or `'3mb'`.
*/
limit?: number | string | null;
/**
* The encoding to use to decode the body into a string. By default, a
* `Buffer` instance will be returned when no encoding is specified. Most
* likely, you want `utf-8`, so setting encoding to `true` will decode as
* `utf-8`. You can use any type of encoding supported by `iconv-lite`.
*/
encoding?: Encoding | null;
}
export interface RawBodyError extends Error {
/**
* The limit in bytes.
*/
limit?: number;
/**
* The expected length of the stream.
*/
length?: number;
expected?: number;
/**
* The received bytes.
*/
received?: number;
/**
* The encoding.
*/
encoding?: string;
/**
* The corresponding status code for the error.
*/
status: number;
statusCode: number;
/**
* The error type.
*/
type: string;
}
}
/**
* Gets the entire buffer of a stream either as a `Buffer` or a string.
* Validates the stream's length against an expected length and maximum
* limit. Ideal for parsing request bodies.
*/
declare function getRawBody(
stream: Readable,
callback: (err: getRawBody.RawBodyError, body: Buffer) => void
): void;
declare function getRawBody(
stream: Readable,
options: (getRawBody.Options & { encoding: getRawBody.Encoding }) | getRawBody.Encoding,
callback: (err: getRawBody.RawBodyError, body: string) => void
): void;
declare function getRawBody(
stream: Readable,
options: getRawBody.Options,
callback: (err: getRawBody.RawBodyError, body: Buffer) => void
): void;
declare function getRawBody(
stream: Readable,
options: (getRawBody.Options & { encoding: getRawBody.Encoding }) | getRawBody.Encoding
): Promise<string>;
declare function getRawBody(
stream: Readable,
options?: getRawBody.Options
): Promise<Buffer>;
export = getRawBody;
``` | /content/code_sandbox/014云开发实现小程序支付/cloud/pay/node_modules/raw-body/index.d.ts | xml | 2016-11-24T02:09:00 | 2024-08-16T05:39:00 | xiaochengxu_demos | qiushi123/xiaochengxu_demos | 1,634 | 567 |
```xml
import "reflect-metadata"
import {
closeTestingConnections,
createTestingConnections,
reloadTestingDatabases,
} from "../../../utils/test-utils"
import { DataSource } from "../../../../src/data-source/DataSource"
import { Post } from "./entity/Post"
import { Category } from "./entity/Category"
describe("persistence > cascade operations with custom name", () => {
let connections: DataSource[]
before(
async () =>
(connections = await createTestingConnections({
entities: [__dirname + "/entity/*{.js,.ts}"],
})),
)
beforeEach(() => reloadTestingDatabases(connections))
after(() => closeTestingConnections(connections))
describe("cascade update", function () {
it("should remove relation", () =>
Promise.all(
connections.map(async (connection) => {
// create first post and category and save them
const post1 = new Post()
post1.title = "Hello Post #1"
const category1 = new Category()
category1.name = "Category saved by cascades #1"
category1.posts = [post1]
await connection.manager.save(category1)
category1.posts = []
await connection.manager.save(category1)
// now check
const posts = await connection.manager.find(Post, {
join: {
alias: "post",
leftJoinAndSelect: {
category: "post.category",
},
},
order: {
id: "ASC",
},
})
posts.should.be.eql([
{
id: 1,
title: "Hello Post #1",
category: null,
},
])
}),
))
})
})
``` | /content/code_sandbox/test/functional/persistence/custom-column-name-pk/custom-column-name-pk.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 352 |
```xml
import * as React from 'react';
import styles from './WebpartDetails.module.scss';
import { IWebpartDetailsProps } from './IWebpartDetailsProps';
import { sp } from "@pnp/sp";
import "@pnp/sp/webs";
import { IFile } from '@pnp/sp/files/types';
import { ClientsidePageFromFile, IClientsidePage } from "@pnp/sp/clientside-pages";
import { Dropdown, IDropdownOption } from 'office-ui-fabric-react/lib/Dropdown';
import { IWebpartDetailState } from './IWebpartDetailState';
export default class WebpartDetails extends React.Component<IWebpartDetailsProps, IWebpartDetailState> {
constructor(props: IWebpartDetailsProps, state: any) {
super(props);
this.state = {
webpartData: [],
selectedWebpart: null,
selectedKeys: []
};
}
public componentWillMount() {
this.getallwebpart();
}
public async getallwebpart() {
let webpartdata = [];
let file: IFile = sp.web.getFileByServerRelativePath(this.props.context.pageContext.site.serverRequestPath);
let page: IClientsidePage = await ClientsidePageFromFile(file);
page.sections.forEach(section => {
//loop through each section
section.columns.forEach(column => {
//loop through each column and control in the selected section
column.controls.forEach(control => {
//exclude the current webpart
if (this.props.context.instanceId !== control.data.id) {
let webpart = {
key: control.data.id,
text: (control.data.webPartData && control.data.webPartData.title) || this.htmlToText(control.data.innerHTML)
};
webpartdata.push(webpart);
}
});
});
});
this.setState({
webpartData: webpartdata
});
}
public htmlToText(html: string) {
//create a temporary div and get the text of the div and remove the div from DOM
let tempDiv = document.createElement('div');
tempDiv.innerHTML = html;
let displayTitle = tempDiv.textContent.substring(0, tempDiv.textContent.length > 20 ? 20 : tempDiv.textContent.length) + '...';
tempDiv.remove();
return displayTitle;
}
public onDropdownChange = (event: React.FormEvent<HTMLDivElement>, item: IDropdownOption): void => {
if (item) {
let selectedNode = document.querySelectorAll('[data-sp-feature-instance-id="' + item.key + '"]');
let parentNode: HTMLElement = selectedNode[0].parentNode as HTMLElement;
if (item.selected) {
//hide the webpart
parentNode.style.display = "none";
} else {
//unhide the webpart
parentNode.style.display = "flex";
}
this.setState({
selectedKeys: item.selected ? [...this.state.selectedKeys, item.key as string] : this.state.selectedKeys.filter(key => key !== item.key),
});
}
}
public render(): React.ReactElement<IWebpartDetailsProps> {
return (
<span>
<Dropdown
label="Select the webpart to hide"
selectedKeys={this.state.selectedKeys}
onChange={this.onDropdownChange}
multiSelect
placeholder="Select webparts"
options={this.state.webpartData}
/>
</span>
);
}
}
``` | /content/code_sandbox/samples/react-webpartdetails/src/webparts/webpartDetails/components/WebpartDetails.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 722 |
```xml
/*
import test from 'tape-promise/tape';
import {UniformBufferLayout, UniformBlock} from '@luma.gl/core';
import {fixture} from 'test/setup';
const UBO_INDEX = 0;
const FLOAT = 1.0;
const VEC2 = [2.0, 2.0];
const VEC3 = [3.0, 3.0, 3.0];
const VEC4 = [4.0, 4.0, 4.0, 4.0];
const VS = /* glsl *`\
#version 300 es
in float inValue;
layout(std140) uniform;
uniform uboStruct
{
float float_1;
vec2 vec2_1;
vec3 vec3_1;
vec4 vec4_1;
} uboData;
out float outValue;
void main()
{
vec2 vec2_1 = uboData.vec2_1;
vec3 vec3_1 = uboData.vec3_1;
vec4 vec4_1 = uboData.vec4_1;
float m = uboData.float_1;
m = m + vec2_1.x + vec2_1.y;
m = m + vec3_1.x + vec3_1.y + vec3_1.z;
m = m + vec4_1.x + vec4_1.y + vec4_1.z + vec4_1.w;;
outValue = m * inValue;
}
`;
const FS = /* glsl *`\
#version 300 es
precision highp float;
out vec4 oColor;
void main(void) {
oColor = vec4(1.0, 1.0, 1.0, 1.0);
}
`;
test('api#UniformBufferLayout', (t) => {
const std140 = new UniformBufferLayout({
uEnabled: 'u32',
uProjectionMatrix: 'mat4x4<f32>'
})
const uniformBlock = new UniformBlock(std140);
uniformBlock.setUniforms({
uEnabled: true,
uProjectionMatrix: Array(16)
.fill(0)
.map((_, i) => i)
});
const value = uniformBlock.getData();
t.ok(value, 'Std140Layout correct');
t.end();
});
test.skip('api#UniformBufferLayout getData', (t) => {
const program = new Program(gl2, {vs: VS, fs: FS});
const uniformBlockIndex = program.getUniformBlockIndex('uboStruct');
program.uniformBlockBinding(uniformBlockIndex, UBO_INDEX);
const indices = program.getActiveUniformBlockParameter(
uniformBlockIndex,
GL.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES
);
// float offsets
const offsets = program.getActiveUniforms(indices, GL.UNIFORM_OFFSET).map((x) => x / 4);
const std140 = new UniformBufferLayout({
float_1: 'f32',
vec2_1: 'vec2<f32>',
vec3_1: 'vec3<f32>',
vec4_1: 'vec4<f32>'
}).setUniforms({
float_1: 1.0,
vec2_1: VEC2,
vec3_1: VEC3,
vec4_1: VEC4
});
const data = std140.getData();
const float1 = data.slice(offsets[0], offsets[0] + 1);
const vec2 = data.slice(offsets[1], offsets[1] + 2);
const vec3 = data.slice(offsets[2], offsets[2] + 3);
const vec4 = data.slice(offsets[3], offsets[3] + 4);
t.equal(float1[0], FLOAT, 'float scalar uniform values matched');
t.deepEqual(vec2, VEC2, 'vec2 uniform values matched');
t.deepEqual(vec3, VEC3, 'vec3 uniform values matched');
t.deepEqual(vec4, VEC4, 'vec4 uniform values matched');
t.end();
});
test.skip('api#UniformBufferLayout setData', (t) => {
const {gl2} = fixture;
const sourceData = new Float32Array([1, 2, 3, 4, 5]);
const sourceBuffer = new Buffer(gl2, {data: sourceData});
const transform = new Transform(gl2, {
sourceBuffers: {
inValue: sourceBuffer
},
vs: VS,
feedbackMap: {
inValue: 'outValue'
},
varyings: ['outValue'],
elementCount: 5
});
const std140 = new UniformBufferLayout({
float_1: 'f32',
vec2_1: 'vec2<f32>',
vec3_1: 'vec3<f32>',
vec4_1: 'vec4<f32>'
}).setUniforms({
float_1: 1.0,
vec2_1: VEC2,
vec3_1: VEC3,
vec4_1: VEC4
});
const data = std140.getData();
const ubo = new Buffer(gl2, {
target: GL.UNIFORM_BUFFER,
data,
accessor: {
size: 1,
index: UBO_INDEX
}
});
ubo.bind();
transform.run();
ubo.unbind();
const outData = transform.getBuffer('outValue').getData();
const expectedData = sourceData.map((value) => value * 30.0);
t.deepEqual(outData, expectedData, 'Should receive expected data');
t.end();
});
*/
``` | /content/code_sandbox/modules/core/test/portable/uniform-buffer-layout.spec.ts | xml | 2016-01-25T09:41:59 | 2024-08-16T10:03:05 | luma.gl | visgl/luma.gl | 2,280 | 1,227 |
```xml
/* eslint-disable testing-library/no-node-access */
import React from 'react';
import { render, screen } from '@testing-library/react';
import { testStandardProps } from '@test/utils';
import PlaceholderParagraph from '../PlaceholderParagraph';
describe('Placeholder.Paragraph', () => {
testStandardProps(<PlaceholderParagraph />);
it('Should hava a `rs-placeholder-paragraph` class', () => {
render(<PlaceholderParagraph data-testid="p" />);
expect(screen.getByTestId('p')).to.have.class('rs-placeholder');
expect(screen.getByTestId('p')).to.have.class('rs-placeholder-paragraph');
});
it('Should render 5 rows', () => {
render(<PlaceholderParagraph rows={5} data-testid="p" />);
expect(screen.getByTestId('p').lastElementChild?.children).to.have.length(5);
});
it('Height of rows should be 50px', () => {
render(<PlaceholderParagraph rowHeight={50} data-testid="p" />);
expect(screen.getByTestId('p').lastElementChild?.lastElementChild).to.have.style(
'height',
'50px'
);
});
it('Should has a 50px gap between rows', () => {
render(<PlaceholderParagraph rowSpacing={50} data-testid="p" />);
expect(screen.getByTestId('p').lastElementChild?.lastElementChild).to.have.style(
'margin-top',
'50px'
);
});
it('Should render graph', () => {
render(<PlaceholderParagraph graph data-testid="p" />);
expect(screen.getByTestId('p').firstElementChild).to.have.class(
'rs-placeholder-paragraph-graph'
);
});
it('Should render circle graph', () => {
render(<PlaceholderParagraph graph="circle" data-testid="p" />);
expect(screen.getByTestId('p').firstElementChild).to.have.class(
'rs-placeholder-paragraph-graph-circle'
);
});
it('Should render image graph', () => {
render(<PlaceholderParagraph graph="image" data-testid="p" />);
expect(screen.getByTestId('p').firstElementChild).to.have.class(
'rs-placeholder-paragraph-graph-image'
);
});
it('Should be active', () => {
render(<PlaceholderParagraph active data-testid="p" />);
expect(screen.getByTestId('p')).to.have.class('rs-placeholder-active');
});
});
``` | /content/code_sandbox/src/Placeholder/test/PlaceholderParagraphSpec.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 515 |
```xml
export interface Client {
getRootPathAsync(): Promise<string>;
isFileIgnoredAsync(filePath: string): Promise<boolean>;
}
export default function getVCSClientAsync(projectDir: string): Promise<Client>;
``` | /content/code_sandbox/packages/expo-updates/utils/build/vcs.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 44 |
```xml
import { AdaptedEvent, Point } from '../interfaces';
import VelocityTracker from './VelocityTracker';
export interface TrackerElement {
abosoluteCoords: Point;
relativeCoords: Point;
timestamp: number;
velocityX: number;
velocityY: number;
}
const MAX_POINTERS = 20;
export default class PointerTracker {
private velocityTracker = new VelocityTracker();
private trackedPointers: Map<number, TrackerElement> = new Map<
number,
TrackerElement
>();
private touchEventsIds: Map<number, number> = new Map<number, number>();
private lastMovedPointerId: number;
private cachedAbsoluteAverages: { x: number; y: number } = { x: 0, y: 0 };
private cachedRelativeAverages: { x: number; y: number } = { x: 0, y: 0 };
public constructor() {
this.lastMovedPointerId = NaN;
for (let i = 0; i < MAX_POINTERS; ++i) {
this.touchEventsIds.set(i, NaN);
}
}
public addToTracker(event: AdaptedEvent): void {
if (this.trackedPointers.has(event.pointerId)) {
return;
}
this.lastMovedPointerId = event.pointerId;
const newElement: TrackerElement = {
abosoluteCoords: { x: event.x, y: event.y },
relativeCoords: { x: event.offsetX, y: event.offsetY },
timestamp: event.time,
velocityX: 0,
velocityY: 0,
};
this.trackedPointers.set(event.pointerId, newElement);
this.mapTouchEventId(event.pointerId);
this.cachedAbsoluteAverages = this.getAbsoluteCoordsAverage();
this.cachedRelativeAverages = this.getRelativeCoordsAverage();
}
public removeFromTracker(pointerId: number): void {
this.trackedPointers.delete(pointerId);
this.removeMappedTouchId(pointerId);
}
public track(event: AdaptedEvent): void {
const element: TrackerElement = this.trackedPointers.get(
event.pointerId
) as TrackerElement;
if (!element) {
return;
}
this.lastMovedPointerId = event.pointerId;
this.velocityTracker.add(event);
const [velocityX, velocityY] = this.velocityTracker.getVelocity();
element.velocityX = velocityX;
element.velocityY = velocityY;
element.abosoluteCoords = { x: event.x, y: event.y };
element.relativeCoords = { x: event.offsetX, y: event.offsetY };
this.trackedPointers.set(event.pointerId, element);
this.cachedAbsoluteAverages = this.getAbsoluteCoordsAverage();
this.cachedRelativeAverages = this.getRelativeCoordsAverage();
}
// Mapping TouchEvents ID
private mapTouchEventId(id: number): void {
for (const [mappedId, touchId] of this.touchEventsIds) {
if (isNaN(touchId)) {
this.touchEventsIds.set(mappedId, id);
break;
}
}
}
private removeMappedTouchId(id: number): void {
const mappedId: number = this.getMappedTouchEventId(id);
if (!isNaN(mappedId)) {
this.touchEventsIds.set(mappedId, NaN);
}
}
public getMappedTouchEventId(touchEventId: number): number {
for (const [key, value] of this.touchEventsIds.entries()) {
if (value === touchEventId) {
return key;
}
}
return NaN;
}
public getVelocity(pointerId: number) {
return {
x: this.trackedPointers.get(pointerId)?.velocityX as number,
y: this.trackedPointers.get(pointerId)?.velocityY as number,
};
}
public getLastAbsoluteCoords(pointerId?: number) {
if (pointerId !== undefined) {
return {
x: this.trackedPointers.get(pointerId)?.abosoluteCoords.x as number,
y: this.trackedPointers.get(pointerId)?.abosoluteCoords.y as number,
};
} else {
return {
x: this.trackedPointers.get(this.lastMovedPointerId)?.abosoluteCoords
.x as number,
y: this.trackedPointers.get(this.lastMovedPointerId)?.abosoluteCoords
.y as number,
};
}
}
public getLastRelativeCoords(pointerId?: number) {
if (pointerId !== undefined) {
return {
x: this.trackedPointers.get(pointerId)?.relativeCoords.x as number,
y: this.trackedPointers.get(pointerId)?.relativeCoords.y as number,
};
} else {
return {
x: this.trackedPointers.get(this.lastMovedPointerId)?.relativeCoords
.x as number,
y: this.trackedPointers.get(this.lastMovedPointerId)?.relativeCoords
.y as number,
};
}
}
// Some handlers use these methods to send average values in native event.
// This may happen when pointers have already been removed from tracker (i.e. pointerup event).
// In situation when NaN would be sent as a response, we return cached value.
// That prevents handlers from crashing
public getAbsoluteCoordsAverage() {
const coordsSum = this.getAbsoluteCoordsSum();
const avgX = coordsSum.x / this.trackedPointers.size;
const avgY = coordsSum.y / this.trackedPointers.size;
const averages = {
x: isNaN(avgX) ? this.cachedAbsoluteAverages.x : avgX,
y: isNaN(avgY) ? this.cachedAbsoluteAverages.y : avgY,
};
return averages;
}
public getRelativeCoordsAverage() {
const coordsSum = this.getRelativeCoordsSum();
const avgX = coordsSum.x / this.trackedPointers.size;
const avgY = coordsSum.y / this.trackedPointers.size;
const averages = {
x: isNaN(avgX) ? this.cachedRelativeAverages.x : avgX,
y: isNaN(avgY) ? this.cachedRelativeAverages.y : avgY,
};
return averages;
}
public getAbsoluteCoordsSum(ignoredPointer?: number) {
const sum = { x: 0, y: 0 };
this.trackedPointers.forEach((value, key) => {
if (key !== ignoredPointer) {
sum.x += value.abosoluteCoords.x;
sum.y += value.abosoluteCoords.y;
}
});
return sum;
}
public getRelativeCoordsSum(ignoredPointer?: number) {
const sum = { x: 0, y: 0 };
this.trackedPointers.forEach((value, key) => {
if (key !== ignoredPointer) {
sum.x += value.relativeCoords.x;
sum.y += value.relativeCoords.y;
}
});
return sum;
}
public getTrackedPointersCount(): number {
return this.trackedPointers.size;
}
public getTrackedPointersID(): number[] {
const keys: number[] = [];
this.trackedPointers.forEach((_value, key) => {
keys.push(key);
});
return keys;
}
public getData(): Map<number, TrackerElement> {
return this.trackedPointers;
}
public resetTracker(): void {
this.velocityTracker.reset();
this.trackedPointers.clear();
this.lastMovedPointerId = NaN;
for (let i = 0; i < MAX_POINTERS; ++i) {
this.touchEventsIds.set(i, NaN);
}
}
public static shareCommonPointers(
stPointers: number[],
ndPointers: number[]
): boolean {
return stPointers.some((pointerId) => ndPointers.includes(pointerId));
}
}
``` | /content/code_sandbox/src/web/tools/PointerTracker.ts | xml | 2016-10-27T08:31:38 | 2024-08-16T12:03:40 | react-native-gesture-handler | software-mansion/react-native-gesture-handler | 5,989 | 1,704 |
```xml
/*
* This suite intentionally runs in node environment to simulate SSR
* @jest-environment node
*/
import { createContext, SYMBOL_NAMESPACE } from './global-context-selector';
function getGlobalProperty(symbol: Symbol) {
// @ts-expect-error - Indexing object with symbols not supported until TS 4.4
return global[symbol];
}
function getGlobalContextSymbols() {
return Object.getOwnPropertySymbols(global).reduce((acc, cur) => {
if (Symbol.keyFor(cur)?.includes(SYMBOL_NAMESPACE)) {
acc.push(cur);
}
return acc;
}, [] as Symbol[]);
}
describe('createContext', () => {
beforeEach(() => {
getGlobalContextSymbols().forEach(sym => {
// @ts-expect-error - Indexing object with symbols not supported until TS 4.4
delete global[sym];
});
});
it('should create context on global', () => {
const MyContext = createContext({}, 'MyContext', 'package', '9.0.0');
const sym = getGlobalContextSymbols()[0];
expect(getGlobalProperty(sym)).toBe(MyContext);
});
it('should create single context', () => {
const MyContext = createContext({}, 'MyContext', 'package', '9.0.0');
const MyContext2 = createContext({}, 'MyContext', 'package', '9.0.0');
expect(getGlobalContextSymbols().length).toEqual(1);
expect(getGlobalProperty(getGlobalContextSymbols()[0])).toBe(MyContext);
expect(MyContext2).toBe(MyContext);
});
});
``` | /content/code_sandbox/packages/react-components/global-context/src/global-context-selector.test.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 336 |
```xml
<resources>
<!--
Base application theme for API 14+. This theme completely replaces
AppBaseTheme from BOTH res/values/styles.xml and
res/values-v11/styles.xml on API 14+ devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
<!-- API 14 theme customizations can go here. -->
</style>
</resources>
``` | /content/code_sandbox/limbo-android-arm/src/main/res/values-v14/styles.xml | xml | 2016-02-13T09:05:37 | 2024-08-16T14:28:26 | limbo | limboemu/limbo | 2,563 | 89 |
```xml
// Joo Mendes
// Mar 2019
import * as React from 'react';
import styles from './TenantProperties.module.scss';
import { ITenantPropertyPanelProps, panelMode } from './ITenantPropertyPanelProps';
import { ITenantPropertyPanelSate } from './ITenantPropertyPanelState';
import { escape } from '@microsoft/sp-lodash-subset';
import spservice from '../../../services/spservices';
import * as strings from 'TenantPropertiesWebPartStrings';
import { TextField } from 'office-ui-fabric-react/lib/TextField';
import { Panel, PanelType } from 'office-ui-fabric-react/lib/Panel';
import { Dialog, DialogType, DialogFooter } from 'office-ui-fabric-react/lib/Dialog';
import { PrimaryButton, DefaultButton } from 'office-ui-fabric-react/lib/Button';
// Display Tenant Property Panel Component
export default class TenantPropertyPanel extends React.Component<ITenantPropertyPanelProps, ITenantPropertyPanelSate> {
private spService: spservice;
public constructor(props) {
super(props);
this.state = ({
showPanel: false,
readOnly: true,
visible: true,
multiline: true,
primaryButtonLabel: strings.PrimaryButtonLabelSave,
disableButton: true,
tenantProperty: null,
errorMessage: ''
});
// Init class services
this.spService = new spservice(this.props.context);
this.onGetErrorMessageKey = this.onGetErrorMessageKey.bind(this);
this.onGetErrorMessageValue = this.onGetErrorMessageValue.bind(this);
this.onGetErrorMessageDescription = this.onGetErrorMessageDescription.bind(this);
this.onGetErrorMessageComment = this.onGetErrorMessageComment.bind(this);
this.onSave = this.onSave.bind(this);
this.onCancel = this.onCancel.bind(this);
this.onChanged = this.onChanged.bind(this);
}
// Cancel Panel
private onCancel(ev: React.MouseEvent<HTMLButtonElement>) {
ev.preventDefault();
this.props.onDismiss();
}
// On Save / Delete
private async onSave(ev: React.MouseEvent<HTMLButtonElement>) {
ev.preventDefault();
switch (this.props.mode) {
// add Tenant Property
case (panelMode.New):
try{
const result = await this.spService.setTenantProperty({
key: this.state.tenantProperty.key,
Value:this.state.tenantProperty.tenantPropertyValue,
Description: this.state.tenantProperty.tenantPropertyDescription,
Comment: this.state.tenantProperty.tenantPropertyComment
});
if (result) {
this.props.onDismiss(null, true);
}
}catch(error){
this.setState({errorMessage:error});
}
break;
// edit Tenant Property
case (panelMode.edit):
try{
const result = await this.spService.setTenantProperty({
key: this.state.tenantProperty.key,
Value:this.state.tenantProperty.tenantPropertyValue,
Description: this.state.tenantProperty.tenantPropertyDescription,
Comment: this.state.tenantProperty.tenantPropertyComment
});
if (result) {
this.props.onDismiss(null, true);
}
}catch(error){
this.setState({errorMessage:error});
}
break;
// Remove Tenant Property
case (panelMode.Delete):
try{
const result = await this.spService.removeTenantProperty({
key: this.state.tenantProperty.key,
Value:this.state.tenantProperty.tenantPropertyValue,
Description: this.state.tenantProperty.tenantPropertyDescription,
Comment: this.state.tenantProperty.tenantPropertyComment
});
if (result) {
this.props.onDismiss(null, true);
}
}catch(error){
this.setState({errorMessage:error});
}
break;
default:
break;
}
}
// Validate Key
private async onGetErrorMessageKey(value: string) {
const _tenantProperty = this.state.tenantProperty;
let returnvalue: string = '';
if (value.trim().length > 0) {
_tenantProperty.key = value;
const tenantPropertyExist: boolean = await this.spService.checkTenantProperty(_tenantProperty.key);
if (tenantPropertyExist && this.props.mode === panelMode.New) {
returnvalue = strings.messageTenantExist;
this.setState({ disableButton: true, tenantProperty: _tenantProperty });
} else {
returnvalue = '';
this.setState({tenantProperty: _tenantProperty });
}
} else {
_tenantProperty.key = value;
this.setState({ disableButton: true, tenantProperty: _tenantProperty });
}
return returnvalue;
}
// Validate Value
private onGetErrorMessageValue(value: string) {
let returnvalue: string = '';
const _tenantProperty = this.state.tenantProperty;
if (value.trim().length > 0) {
_tenantProperty.tenantPropertyValue = value;
this.setState({ disableButton: false, tenantProperty: _tenantProperty });
} else {
_tenantProperty.tenantPropertyValue = value;
this.setState({ disableButton: true, tenantProperty: _tenantProperty });
}
return returnvalue;
}
// Validate Description
private onGetErrorMessageDescription(value: string) {
let returnvalue: string = '';
const _tenantProperty = this.state.tenantProperty;
_tenantProperty.tenantPropertyDescription = value;
this.setState({ tenantProperty: _tenantProperty });
return returnvalue;
}
// Validate Comment
private onGetErrorMessageComment(value: string) {
let returnvalue: string = '';
const _tenantProperty = this.state.tenantProperty;
_tenantProperty.tenantPropertyComment = value;
this.setState({ tenantProperty: _tenantProperty });
return returnvalue;
}
private onChanged(value: string) {
alert(value);
}
// Component DidMount
public async componentDidMount() {
this.setState({ tenantProperty: this.props.TenantProperty });
if (this.props.mode === panelMode.edit || this.props.mode === panelMode.New) {
this.setState({ readOnly: false });
}
}
// Render
public render(): React.ReactElement<ITenantPropertyPanelProps> {
return (
<div>
<Panel
isOpen={this.props.showPanel}
type={PanelType.smallFixedFar}
onDismiss={this.props.onDismiss}
headerText={this.props.mode == panelMode.edit || this.props.mode == panelMode.New ? strings.PanelHeaderTextEdit : strings.PanelHeaderTextDelete}
>
<TextField
label={strings.ListViewColumnKeyLabel}
readOnly={this.state.readOnly}
required={true}
multiline={this.state.multiline}
value={this.state.tenantProperty ? this.state.tenantProperty.key : ''}
deferredValidationTime={1500}
onGetErrorMessage={this.onGetErrorMessageKey} />
<TextField
label={strings.ListViewColumnValueLabel}
multiline={this.state.multiline}
readOnly={this.state.readOnly}
required={true}
deferredValidationTime={1500}
value={this.state.tenantProperty ? this.state.tenantProperty.tenantPropertyValue : ''}
onGetErrorMessage={this.onGetErrorMessageValue} />
<TextField
label={strings.ListViewColumnDescriptionLabel}
multiline={this.state.multiline}
readOnly={this.state.readOnly}
deferredValidationTime={1500}
onGetErrorMessage={this.onGetErrorMessageDescription}
validateOnFocusOut
defaultValue={this.state.tenantProperty ? this.state.tenantProperty.tenantPropertyDescription : ''}
/>
<TextField
label={strings.ListViewColumnCommentLabel}
multiline={this.state.multiline}
readOnly={this.state.readOnly}
validateOnFocusOut
onGetErrorMessage={this.onGetErrorMessageComment}
deferredValidationTime={1500}
defaultValue={this.state.tenantProperty ? this.state.tenantProperty.tenantPropertyComment : ''}
/>
<div className={styles.messageError}>
<span>
{this.state.errorMessage}
</span>
</div>
<DialogFooter>
<PrimaryButton
onClick={this.onSave}
text={this.props.mode == panelMode.edit || this.props.mode == panelMode.New ? strings.PrimaryButtonLabelSave : strings.PrimaryButtonLabelDelete}
disabled={this.state.disableButton}
/>
<DefaultButton onClick={this.onCancel} text={strings.DefaultButtonLabel} />
</DialogFooter>
</Panel>
</div>
);
}
}
``` | /content/code_sandbox/samples/react-tenant-properties/src/webparts/tenantProperties/components/TenantPropertyPanel.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 1,792 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import type {Place, UIChangedFile, VisualChangedFileType} from './UncommittedChanges';
import type {UseUncommittedSelection} from './partialSelection';
import type {ChangedFileType, GeneratedStatus} from './types';
import type {ReactNode} from 'react';
import type {Comparison} from 'shared/Comparison';
import {copyUrlForFile, supportsBrowseUrlForHash} from './BrowseRepo';
import {type ChangedFilesDisplayType} from './ChangedFileDisplayTypePicker';
import {generatedStatusToLabel, generatedStatusDescription} from './GeneratedFile';
import {PartialFileSelectionWithMode} from './PartialFileSelection';
import {SuspenseBoundary} from './SuspenseBoundary';
import {holdingAltAtom, holdingCtrlAtom} from './atoms/keyboardAtoms';
import {externalMergeToolAtom} from './externalMergeTool';
import {T, t} from './i18n';
import {readAtom} from './jotaiUtils';
import {CONFLICT_SIDE_LABELS} from './mergeConflicts/state';
import {AddOperation} from './operations/AddOperation';
import {ForgetOperation} from './operations/ForgetOperation';
import {PurgeOperation} from './operations/PurgeOperation';
import {ResolveInExternalMergeToolOperation} from './operations/ResolveInExternalMergeToolOperation';
import {ResolveOperation, ResolveTool} from './operations/ResolveOperation';
import {RevertOperation} from './operations/RevertOperation';
import {RmOperation} from './operations/RmOperation';
import {useRunOperation} from './operationsState';
import {useUncommittedSelection} from './partialSelection';
import platform from './platform';
import {optimisticMergeConflicts} from './previews';
import {copyAndShowToast} from './toast';
import {ConflictType, succeedableRevset} from './types';
import {usePromise} from './usePromise';
import {Button} from 'isl-components/Button';
import {Checkbox} from 'isl-components/Checkbox';
import {Icon} from 'isl-components/Icon';
import {Subtle} from 'isl-components/Subtle';
import {Tooltip} from 'isl-components/Tooltip';
import {useAtomValue} from 'jotai';
import React from 'react';
import {labelForComparison, revsetForComparison, ComparisonType} from 'shared/Comparison';
import {useContextMenu} from 'shared/ContextMenu';
import {isMac} from 'shared/OperatingSystem';
import {basename, notEmpty} from 'shared/utils';
/**
* Is the alt key currently held down, used to show full file paths.
* On windows, this actually uses the ctrl key instead to avoid conflicting with OS focus behaviors.
*/
const holdingModifiedKeyAtom = isMac ? holdingAltAtom : holdingCtrlAtom;
export function File({
file,
displayType,
comparison,
selection,
place,
generatedStatus,
}: {
file: UIChangedFile;
displayType: ChangedFilesDisplayType;
comparison: Comparison;
selection?: UseUncommittedSelection;
place?: Place;
generatedStatus?: GeneratedStatus;
}) {
const clipboardCopy = (text: string) => copyAndShowToast(text);
// Renamed files are files which have a copy field, where that path was also removed.
// Visually show renamed files as if they were modified, even though sl treats them as added.
const [statusName, icon] = nameAndIconForFileStatus[file.visualStatus];
const generated = generatedStatusToLabel(generatedStatus);
const contextMenu = useContextMenu(() => {
const options = [
{label: t('Copy File Path'), onClick: () => clipboardCopy(file.path)},
{label: t('Copy Filename'), onClick: () => clipboardCopy(basename(file.path))},
{label: t('Open File'), onClick: () => platform.openFile(file.path)},
];
if (platform.openContainingFolder != null) {
options.push({
label: t('Open Containing Folder'),
onClick: () => platform.openContainingFolder?.(file.path),
});
}
if (platform.openDiff != null) {
options.push({
label: t('Open Diff View ($comparison)', {
replace: {$comparison: labelForComparison(comparison)},
}),
onClick: () => platform.openDiff?.(file.path, comparison),
});
}
if (readAtom(supportsBrowseUrlForHash)) {
options.push({
label: t('Copy file URL'),
onClick: () => {
copyUrlForFile(file.path, comparison);
},
});
}
return options;
});
const runOperation = useRunOperation();
// Hold "alt" key to show full file paths instead of short form.
// This is a quick way to see where a file comes from without
// needing to go through the menu to change the rendering type.
const isHoldingAlt = useAtomValue(holdingModifiedKeyAtom);
const tooltip = [file.tooltip, generatedStatusDescription(generatedStatus)]
.filter(notEmpty)
.join('\n\n');
const openFile = () => {
if (file.visualStatus === 'U') {
const tool = readAtom(externalMergeToolAtom);
if (tool != null) {
runOperation(new ResolveInExternalMergeToolOperation(tool, file.path));
return;
}
}
platform.openFile(file.path);
};
return (
<>
<div
className={`changed-file file-${statusName} file-${generated}`}
data-testid={`changed-file-${file.path}`}
onContextMenu={contextMenu}
key={file.path}
tabIndex={0}
onKeyUp={e => {
if (e.key === 'Enter') {
openFile();
}
}}>
<FileSelectionCheckbox file={file} selection={selection} />
<span className="changed-file-path" onClick={openFile}>
<Icon icon={icon} />
<Tooltip title={tooltip} delayMs={2_000} placement="right">
<span
className="changed-file-path-text"
onCopy={e => {
const selection = document.getSelection();
if (selection) {
// we inserted LTR markers, remove them again on copy
e.clipboardData.setData(
'text/plain',
selection.toString().replace(/\u200E/g, ''),
);
e.preventDefault();
}
}}>
{escapeForRTL(
displayType === 'tree'
? file.path.slice(file.path.lastIndexOf('/') + 1)
: // Holding alt takes precedence over fish/short styles, but not tree.
displayType === 'fullPaths' || isHoldingAlt
? file.path
: displayType === 'fish'
? file.path
.split('/')
.map((a, i, arr) => (i === arr.length - 1 ? a : a[0]))
.join('/')
: file.label,
)}
</span>
</Tooltip>
</span>
<FileActions file={file} comparison={comparison} place={place} />
</div>
{place === 'main' && selection?.isExpanded(file.path) && (
<MaybePartialSelection file={file} />
)}
</>
);
}
const revertableStatues = new Set(['M', 'R', '!']);
const conflictStatuses = new Set<ChangedFileType>(['U', 'Resolved']);
function FileActions({
comparison,
file,
place,
}: {
comparison: Comparison;
file: UIChangedFile;
place?: Place;
}) {
const runOperation = useRunOperation();
const conflicts = useAtomValue(optimisticMergeConflicts);
const conflictData = conflicts?.files?.find(f => f.path === file.path);
const label = labelForConflictType(conflictData?.conflictType);
let conflictLabel = null;
if (label) {
conflictLabel = <Subtle>{label}</Subtle>;
}
const actions: Array<React.ReactNode> = [];
if (platform.openDiff != null && !conflictStatuses.has(file.status)) {
actions.push(
<Tooltip title={t('Open diff view')} key="open-diff-view" delayMs={1000}>
<Button
className="file-show-on-hover"
icon
data-testid="file-open-diff-button"
onClick={() => {
platform.openDiff?.(file.path, comparison);
}}>
<Icon icon="request-changes" />
</Button>
</Tooltip>,
);
}
if (
(revertableStatues.has(file.status) && comparison.type !== ComparisonType.Committed) ||
// special case: reverting does actually work for added files in the head commit
(comparison.type === ComparisonType.HeadChanges && file.status === 'A')
) {
actions.push(
<Tooltip
title={
comparison.type === ComparisonType.UncommittedChanges
? t('Revert back to last commit')
: t('Revert changes made by this commit')
}
key="revert"
delayMs={1000}>
<Button
className="file-show-on-hover"
key={file.path}
icon
data-testid="file-revert-button"
onClick={() => {
platform
.confirm(
comparison.type === ComparisonType.UncommittedChanges
? t('Are you sure you want to revert $file?', {replace: {$file: file.path}})
: t(
'Are you sure you want to revert $file back to how it was just before the last commit? Uncommitted changes to this file will be lost.',
{replace: {$file: file.path}},
),
)
.then(ok => {
if (!ok) {
return;
}
runOperation(
new RevertOperation(
[file.path],
comparison.type === ComparisonType.UncommittedChanges
? undefined
: succeedableRevset(revsetForComparison(comparison)),
),
);
});
}}>
<Icon icon="discard" />
</Button>
</Tooltip>,
);
}
if (comparison.type === ComparisonType.UncommittedChanges) {
if (file.status === 'A') {
actions.push(
<Tooltip
title={t('Stop tracking this file, without removing from the filesystem')}
key="forget"
delayMs={1000}>
<Button
className="file-show-on-hover"
key={file.path}
icon
onClick={() => {
runOperation(new ForgetOperation(file.path));
}}>
<Icon icon="circle-slash" />
</Button>
</Tooltip>,
);
} else if (file.status === '?') {
actions.push(
<Tooltip title={t('Start tracking this file')} key="add" delayMs={1000}>
<Button
className="file-show-on-hover"
key={file.path}
icon
onClick={() => runOperation(new AddOperation(file.path))}>
<Icon icon="add" />
</Button>
</Tooltip>,
<Tooltip title={t('Remove this file from the filesystem')} key="remove" delayMs={1000}>
<Button
className="file-show-on-hover"
key={file.path}
icon
data-testid="file-action-delete"
onClick={async () => {
const ok = await platform.confirm(
t('Are you sure you want to delete $file?', {replace: {$file: file.path}}),
);
if (!ok) {
return;
}
runOperation(new PurgeOperation([file.path]));
}}>
<Icon icon="trash" />
</Button>
</Tooltip>,
);
} else if (file.status === 'Resolved') {
actions.push(
<Tooltip title={t('Mark as unresolved')} key="unresolve-mark">
<Button
key={file.path}
icon
onClick={() => runOperation(new ResolveOperation(file.path, ResolveTool.unmark))}>
<Icon icon="circle-slash" />
</Button>
</Tooltip>,
);
} else if (file.status === 'U') {
actions.push(
<Tooltip title={t('Mark as resolved')} key="resolve-mark">
<Button
className="file-show-on-hover"
data-testid="file-action-resolve"
key={file.path}
icon
onClick={() => runOperation(new ResolveOperation(file.path, ResolveTool.mark))}>
<Icon icon="check" />
</Button>
</Tooltip>,
);
if (
conflictData?.conflictType &&
[ConflictType.DeletedInSource, ConflictType.DeletedInDest].includes(
conflictData.conflictType,
)
) {
actions.push(
<Tooltip title={t('Delete file')} key="resolve-delete">
<Button
className="file-show-on-hover"
data-testid="file-action-resolve-delete"
icon
onClick={() => {
runOperation(new RmOperation(file.path, /* force */ true));
// then explicitly mark the file as resolved
runOperation(new ResolveOperation(file.path, ResolveTool.mark));
}}>
<Icon icon="trash" />
</Button>
</Tooltip>,
);
} else {
actions.push(
<Tooltip
title={t('Take $local', {
replace: {$local: CONFLICT_SIDE_LABELS.local},
})}
key="resolve-local">
<Button
className="file-show-on-hover"
key={file.path}
icon
onClick={() => runOperation(new ResolveOperation(file.path, ResolveTool.local))}>
<Icon icon="fold-up" />
</Button>
</Tooltip>,
<Tooltip
title={t('Take $incoming', {
replace: {$incoming: CONFLICT_SIDE_LABELS.incoming},
})}
key="resolve-other">
<Button
className="file-show-on-hover"
key={file.path}
icon
onClick={() => runOperation(new ResolveOperation(file.path, ResolveTool.other))}>
<Icon icon="fold-down" />
</Button>
</Tooltip>,
<Tooltip
title={t('Combine both $incoming and $local', {
replace: {
$local: CONFLICT_SIDE_LABELS.local,
$incoming: CONFLICT_SIDE_LABELS.incoming,
},
})}
key="resolve-both">
<Button
className="file-show-on-hover"
key={file.path}
icon
onClick={() => runOperation(new ResolveOperation(file.path, ResolveTool.both))}>
<Icon icon="fold" />
</Button>
</Tooltip>,
);
}
}
if (place === 'main' && conflicts == null) {
actions.push(<PartialSelectionAction file={file} key="partial-selection" />);
}
}
return (
<div className="file-actions" data-testid="file-actions">
{conflictLabel}
{actions}
</div>
);
}
function labelForConflictType(type?: ConflictType) {
switch (type) {
case ConflictType.DeletedInSource:
return t('(Deleted in $incoming)', {
replace: {$incoming: CONFLICT_SIDE_LABELS.incoming},
});
case ConflictType.DeletedInDest:
return t('(Deleted in $local)', {replace: {$local: CONFLICT_SIDE_LABELS.local}});
default:
return null;
}
}
/**
* We render file paths with CSS text-direction: rtl,
* which allows the ellipsis overflow to appear on the left.
* However, rtl can have weird effects, such as moving leading '.' to the end.
* To fix this, it's enough to add a left-to-right marker at the start of the path
*/
function escapeForRTL(s: string): ReactNode {
return '\u200E' + s + '\u200E';
}
function FileSelectionCheckbox({
file,
selection,
}: {
file: UIChangedFile;
selection?: UseUncommittedSelection;
}) {
const checked = selection?.isFullyOrPartiallySelected(file.path) ?? false;
return selection == null ? null : (
<Checkbox
aria-label={t('$label $file', {
replace: {$label: checked ? 'unselect' : 'select', $file: file.path},
})}
checked={checked}
indeterminate={selection.isPartiallySelected(file.path)}
data-testid={'file-selection-checkbox'}
onChange={checked => {
if (checked) {
if (file.renamedFrom != null) {
// Selecting a renamed file also selects the original, so they are committed/amended together
// the UI merges them visually anyway.
selection.select(file.renamedFrom, file.path);
} else {
selection.select(file.path);
}
} else {
if (file.renamedFrom != null) {
selection.deselect(file.renamedFrom, file.path);
} else {
selection.deselect(file.path);
}
}
}}
/>
);
}
function PartialSelectionAction({file}: {file: UIChangedFile}) {
const selection = useUncommittedSelection();
const handleClick = () => {
selection.toggleExpand(file.path);
};
return (
<Tooltip
component={() => (
<div style={{maxWidth: '300px'}}>
<div>
<T>Toggle chunk selection</T>
</div>
<div>
<Subtle>
<T>
Shows changed files in your commit and lets you select individual chunks or lines to
include.
</T>
</Subtle>
</div>
</div>
)}>
<Button className="file-show-on-hover" icon onClick={handleClick}>
<Icon icon="diff" />
</Button>
</Tooltip>
);
}
// Left margin to "indendent" by roughly a checkbox width.
const leftMarginStyle: React.CSSProperties = {marginLeft: 'calc(2.5 * var(--pad))'};
function MaybePartialSelection({file}: {file: UIChangedFile}) {
const fallback = (
<div style={leftMarginStyle}>
<Icon icon="loading" />
</div>
);
return (
<SuspenseBoundary fallback={fallback}>
<PartialSelectionPanel file={file} />
</SuspenseBoundary>
);
}
function PartialSelectionPanel({file}: {file: UIChangedFile}) {
const path = file.path;
const selection = useUncommittedSelection();
const chunkSelect = usePromise(selection.getChunkSelect(path));
return (
<div style={leftMarginStyle}>
<PartialFileSelectionWithMode
chunkSelection={chunkSelect}
setChunkSelection={state => selection.editChunkSelect(path, state)}
mode="unified"
/>
</div>
);
}
/**
* Map for changed files statuses into classNames (for color & styles) and icon names.
*/
const nameAndIconForFileStatus: Record<VisualChangedFileType, [string, string]> = {
A: ['added', 'diff-added'],
M: ['modified', 'diff-modified'],
R: ['removed', 'diff-removed'],
'?': ['ignored', 'question'],
'!': ['missing', 'warning'],
U: ['unresolved', 'diff-ignored'],
Resolved: ['resolved', 'pass'],
Renamed: ['modified', 'diff-renamed'],
Copied: ['added', 'diff-added'],
};
``` | /content/code_sandbox/addons/isl/src/ChangedFile.tsx | xml | 2016-05-05T16:53:47 | 2024-08-16T19:12:02 | sapling | facebook/sapling | 5,987 | 4,155 |
```xml
import type { DefaultSession } from 'next-auth';
declare module 'next-auth' {
/**
* Returned by `useSession`, `getSession` and received as a prop on the `SessionProvider` React Context
*/
type Session = {
user?: DefaultSession['user'] & {
id: string;
};
};
}
``` | /content/code_sandbox/apps/portal/src/types/next-auth.d.ts | xml | 2016-07-05T05:00:48 | 2024-08-16T19:01:19 | tech-interview-handbook | yangshun/tech-interview-handbook | 115,302 | 73 |
```xml
import { Repository } from '../models/repository'
import { Account } from '../models/account'
import { getAccountForEndpoint } from './api'
/** Get the authenticated account for the repository. */
export function getAccountForRepository(
accounts: ReadonlyArray<Account>,
repository: Repository
): Account | null {
const gitHubRepository = repository.gitHubRepository
if (!gitHubRepository) {
return null
}
return getAccountForEndpoint(accounts, gitHubRepository.endpoint)
}
``` | /content/code_sandbox/app/src/lib/get-account-for-repository.ts | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 103 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="path_to_url"
android:width="48dp"
android:height="48dp"
android:viewportWidth="48"
android:viewportHeight="48">
<path
android:fillColor="#36c"
android:pathData="M47.09,21.86l-21-21a3.09,3.09,0,0,0-4.37,0L17.41,5.26l5.52,5.52a3.67,3.67,0,0,1,4.65,4.68l5.32,5.32a3.67,3.67,0,1,1-2.2,2.07l-5-5V30.95a3.68,3.68,0,1,1-4.23
.7 ,3.67,3.67,0,0,1,1.2-.8V17.66a3.68,3.68,0,0,1-2-4.82L15.28,7.4 .91
,21.76a3.09,3.09,0,0,0,0,4.37l21,21a3.09,3.09,0,0,0,4.37,0L47.09,26.23a3.09,3.09,0,0,0,0-4.37m-13,.73a1.65,1.65,0,1,1-1.65,1.65A1.65,1.65,0,0,1,34.1,22.59Zm-10-10a1.65,1.65,0,1,1-1.65,1.65A1.65,1.65,0,0,1,24.12,12.63Zm0,20a1.65,1.65,0,1,1-1.65,1.65A1.65,1.65,0,0,1,24.09,32.6Z" />
</vector>
``` | /content/code_sandbox/docs/assets/ic_launcher.xml | xml | 2016-10-14T02:54:01 | 2024-08-16T16:01:33 | MGit | maks/MGit | 1,193 | 490 |
```xml
import { useEffect, useState } from 'react';
import useCache from '@proton/components/hooks/useCache';
import { useBlockchainClient } from '../../hooks/useBlockchainClient';
const FEES_ESTIMATION_KEY = 'fees_estimation';
export const useBlockchainFeesEstimation = () => {
const cache = useCache();
const blockchainClient = useBlockchainClient();
const [feesEstimation, setFeesEstimation] = useState<Map<string, number>>(new Map());
const [loading, setLoading] = useState(false);
useEffect(() => {
const fees = cache.get(FEES_ESTIMATION_KEY);
if (fees) {
setFeesEstimation(fees);
return;
} else {
setLoading(true);
blockchainClient
.getFeesEstimation()
.then((est) => {
setFeesEstimation(est);
cache.set(FEES_ESTIMATION_KEY, est);
setLoading(false);
})
.catch(() => {
setLoading(false);
});
}
// blockchainClient is stable at mount
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [cache]);
return { feesEstimation, loading };
};
``` | /content/code_sandbox/applications/wallet/src/app/contexts/BitcoinBlockchainContext/useBlockchainFeesEstimation.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 255 |
```xml
/**
* @license
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at path_to_url
*/
import {Version} from '@angular/core';
/** Current version of Angular Material. */
export const VERSION = new Version('0.0.0-PLACEHOLDER');
``` | /content/code_sandbox/src/material/core/version.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 69 |
```xml
// Type definitions for ag-grid v6.2.1
// Project: path_to_url
// Definitions by: Niall Crosby <path_to_url
// Definitions: path_to_url
import { AbstractColDef } from "../entities/colDef";
import { GridOptionsWrapper } from "../gridOptionsWrapper";
import { ColumnGroup } from "../entities/columnGroup";
import { Column } from "../entities/column";
export declare class CssClassApplier {
static addHeaderClassesFromCollDef(abstractColDef: AbstractColDef, eHeaderCell: HTMLElement, gridOptionsWrapper: GridOptionsWrapper, column: Column, columnGroup: ColumnGroup): void;
}
``` | /content/code_sandbox/services/dashboard/assets-dev/js/vendor/ag-grid/dist/lib/headerRendering/cssClassApplier.d.ts | xml | 2016-06-21T19:39:58 | 2024-08-12T19:23:26 | mylg | mehrdadrad/mylg | 2,691 | 138 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" datatype="plaintext" original="ng2.template">
<body>
<trans-unit id="6641024648411549335" datatype="html">
<source>Host</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">19</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">106</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">998</context>
</context-group>
<target>Host</target>
</trans-unit>
<trans-unit id="5548632560367794954" datatype="html">
<source>SMTP host server</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">23</context>
</context-group>
<target>SMTP host server</target>
</trans-unit>
<trans-unit id="6117946241126833991" datatype="html">
<source>Port</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">29</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">116</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">986</context>
</context-group>
<target>Porta</target>
</trans-unit>
<trans-unit id="8345791171984839037" datatype="html">
<source>SMTP server's port</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">32</context>
</context-group>
<target>SMTP server's port</target>
</trans-unit>
<trans-unit id="7417306416104386782" datatype="html">
<source>isSecure</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">38</context>
</context-group>
<target>isSecure</target>
</trans-unit>
<trans-unit id="3595369311836927260" datatype="html">
<source>Is the connection secure. See path_to_url#tls-options for more details</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">41</context>
</context-group>
<target>Is the connection secure. See path_to_url#tls-options for more details</target>
</trans-unit>
<trans-unit id="4974172930949190178" datatype="html">
<source>TLS required</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">47</context>
</context-group>
<target>TLS required</target>
</trans-unit>
<trans-unit id="4629987485563394658" datatype="html">
<source>if this is true and secure is false then Nodemailer (used library in the background) tries to use STARTTLS. See path_to_url#tls-options for more details</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">50</context>
</context-group>
<target>if this is true and secure is false then Nodemailer (used library in the background) tries to use STARTTLS. See path_to_url#tls-options for more details</target>
</trans-unit>
<trans-unit id="2392488717875840729" datatype="html">
<source>User</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">57</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">22</context>
</context-group>
<target>User</target>
</trans-unit>
<trans-unit id="5128106301085777888" datatype="html">
<source>User to connect to the SMTP server.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">60</context>
</context-group>
<target>User to connect to the SMTP server.</target>
</trans-unit>
<trans-unit id="1431416938026210429" datatype="html">
<source>Password</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">67</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">146</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">193</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">88</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">100</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/login/login.component.html</context>
<context context-type="linenumber">38</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/users/users.component.html</context>
<context context-type="linenumber">66</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/sharelogin/share-login.component.html</context>
<context context-type="linenumber">25</context>
</context-group>
<target>Senha</target>
</trans-unit>
<trans-unit id="5394112790576096537" datatype="html">
<source>Password to connect to the SMTP server.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">71</context>
</context-group>
<target>Password to connect to the SMTP server.</target>
</trans-unit>
<trans-unit id="2704982721159979632" datatype="html">
<source>Sender email</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">83</context>
</context-group>
<target>Sender email</target>
</trans-unit>
<trans-unit id="5308313168080901236" datatype="html">
<source>Some services do not allow sending from random e-mail addresses. Set this accordingly.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">86</context>
</context-group>
<target>Some services do not allow sending from random e-mail addresses. Set this accordingly.</target>
</trans-unit>
<trans-unit id="4452860738128824775" datatype="html">
<source>SMTP</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">93</context>
</context-group>
<target>SMTP</target>
</trans-unit>
<trans-unit id="4768749765465246664" datatype="html">
<source>Email</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">105</context>
</context-group>
<target>Email</target>
</trans-unit>
<trans-unit id="5088570468989623310" datatype="html">
<source>The app uses Nodemailer in the background for sending e-mails. Refer to path_to_url if some options are not clear.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/MessagingConfig.ts</context>
<context context-type="linenumber">107</context>
</context-group>
<target>The app uses Nodemailer in the background for sending e-mails. Refer to path_to_url if some options are not clear.</target>
</trans-unit>
<trans-unit id="4198035112366277884" datatype="html">
<source>Database</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">126</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1047</context>
</context-group>
<target>Banco de dados</target>
</trans-unit>
<trans-unit id="5248717555542428023" datatype="html">
<source>Username</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">136</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/login/login.component.html</context>
<context context-type="linenumber">27</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/users/users.component.html</context>
<context context-type="linenumber">64</context>
</context-group>
<target>Usurio</target>
</trans-unit>
<trans-unit id="5922507650738289450" datatype="html">
<source>Sqlite db filename</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">159</context>
</context-group>
<target>Nome de arquivo bd Sqlite</target>
</trans-unit>
<trans-unit id="6242404539171057139" datatype="html">
<source>Sqlite will save the db with this filename.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">163</context>
</context-group>
<target>Sqlite ir salvar o bd com este nome de arquivo.</target>
</trans-unit>
<trans-unit id="8953033926734869941" datatype="html">
<source>Name</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">173</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">438</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">669</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">951</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">260</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/users/users.component.html</context>
<context context-type="linenumber">16</context>
</context-group>
<target>Nome</target>
</trans-unit>
<trans-unit id="4145496584631696119" datatype="html">
<source>Role</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">183</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/users/users.component.html</context>
<context context-type="linenumber">17</context>
</context-group>
<target>Cargo</target>
</trans-unit>
<trans-unit id="1923436359287758169" datatype="html">
<source>Unencrypted, temporary password. App will encrypt it and delete this.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">197</context>
</context-group>
<target>No criptografado, senha temporria. Aplicao ir encriptografar e deletar isso.</target>
</trans-unit>
<trans-unit id="4590004310985064600" datatype="html">
<source>Encrypted password</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">204</context>
</context-group>
<target>Senha criptografada</target>
</trans-unit>
<trans-unit id="8650499415827640724" datatype="html">
<source>Type</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">239</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">661</context>
</context-group>
<target>Tipo</target>
</trans-unit>
<trans-unit id="1238021661446404501" datatype="html">
<source>SQLite is recommended.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">244</context>
</context-group>
<target>SQLite recomendado.</target>
</trans-unit>
<trans-unit id="9183561046697462335" datatype="html">
<source>Database folder</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">251</context>
</context-group>
<target>Pasta do banco de dados</target>
</trans-unit>
<trans-unit id="631272345671042051" datatype="html">
<source>All file-based data will be stored here (sqlite database, job history data).</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">255</context>
</context-group>
<target>Todos os dados de arquivo sero armazenados aqui(banco de dados sqlite, historico de dados de trabalho).</target>
</trans-unit>
<trans-unit id="3636930811048814547" datatype="html">
<source>SQLite</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">262</context>
</context-group>
<target>SQLite</target>
</trans-unit>
<trans-unit id="96151499268029457" datatype="html">
<source>MySQL</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">272</context>
</context-group>
<target>MySQL</target>
</trans-unit>
<trans-unit id="4719488548459812147" datatype="html">
<source>Enforced users</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">289</context>
</context-group>
<target>Forar usurio</target>
</trans-unit>
<trans-unit id="5248918329958232371" datatype="html">
<source>Creates these users in the DB during startup if they do not exist. If a user with this name exist, it won't be overwritten, even if the role is different.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">295</context>
</context-group>
<target>Ir criar esses usurios no banco de dados durante o inico se eles no existirem. Se um usurio com mesmo nome j estiver cadastrado, ele no ser sobrescrito mesmo se for um cargo diferente.</target>
</trans-unit>
<trans-unit id="5469820923661123729" datatype="html">
<source>High quality resampling</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">306</context>
</context-group>
<target>High quality resampling</target>
</trans-unit>
<trans-unit id="5826490037337254388" datatype="html">
<source>if true, 'lanczos3' will used to scale photos, otherwise faster but lower quality 'nearest'.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">309</context>
</context-group>
<target>Se verdadeiro, 'lanczos3' ser utilizado para escala das fotos, se no ser mais rpido porm menor qualidade 'prximo'.</target>
</trans-unit>
<trans-unit id="7563121839842898948" datatype="html">
<source>Converted photo and thumbnail quality</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">316</context>
</context-group>
<target>Foto convertida e qualidade da miniatura</target>
</trans-unit>
<trans-unit id="2244219270224531739" datatype="html">
<source>Between 0-100.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">319</context>
</context-group>
<target>Entre 0-100.</target>
</trans-unit>
<trans-unit id="1917409152137411884" datatype="html">
<source>Use chroma subsampling</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">326</context>
</context-group>
<target>Use chroma subsampling</target>
</trans-unit>
<trans-unit id="1836296647835828593" datatype="html">
<source>Use high quality chroma subsampling in webp. See: path_to_url#webp.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">329</context>
</context-group>
<target>Use high quality chroma subsampling in webp. See: path_to_url#webp.</target>
</trans-unit>
<trans-unit id="5353755005542296188" datatype="html">
<source>Person face margin</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">336</context>
</context-group>
<target>Margem rosto da pessoa</target>
</trans-unit>
<trans-unit id="5475581732854937898" datatype="html">
<source>This ratio of the face bounding box will be added to the face as a margin. Higher number add more margin.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">339</context>
</context-group>
<target>This ratio of the face bounding box will be added to the face as a margin. Higher number add more margin.</target>
</trans-unit>
<trans-unit id="2608032520920350167" datatype="html">
<source>OnTheFly *.gpx compression</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">349</context>
</context-group>
<target>Compresso *.gpx ao vivo</target>
</trans-unit>
<trans-unit id="5010771687614184937" datatype="html">
<source>Enables on the fly *.gpx compression.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">353</context>
</context-group>
<target>Habilita compresso *.gpx ao vivo.</target>
</trans-unit>
<trans-unit id="2459653061010411129" datatype="html">
<source>Min distance</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">360</context>
</context-group>
<target>Distancia mnima</target>
</trans-unit>
<trans-unit id="3661874866354505207" datatype="html">
<source>Filters out entry that are closer than this to each other in meters.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">365</context>
</context-group>
<target>Filters out entry that are closer than this to each other in meters.</target>
</trans-unit>
<trans-unit id="3542117266563491040" datatype="html">
<source>Max middle point deviance</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">372</context>
</context-group>
<target>Max middle point deviance</target>
</trans-unit>
<trans-unit id="1754404097862874766" datatype="html">
<source>Filters out entry that would fall on the line if we would just connect the previous and the next points. This setting sets the sensitivity for that (higher number, more points are filtered).</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">377</context>
</context-group>
<target>Filters out entry that would fall on the line if we would just connect the previous and the next points. This setting sets the sensitivity for that (higher number, more points are filtered).</target>
</trans-unit>
<trans-unit id="7868435806239546428" datatype="html">
<source>Min time delta</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">384</context>
</context-group>
<target>Delta tempo mnimo</target>
</trans-unit>
<trans-unit id="8357288317395152108" datatype="html">
<source>Filters out entry that are closer than this in time in milliseconds.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">389</context>
</context-group>
<target>Filtra entradas que esto mais perto que isso em tempo em milissegundos.</target>
</trans-unit>
<trans-unit id="1496463932969476539" datatype="html">
<source>GPX compression</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">399</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1252</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">67</context>
</context-group>
<target>Compresso GPX</target>
</trans-unit>
<trans-unit id="6317771699376768085" datatype="html">
<source>Update timeout</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">420</context>
</context-group>
<target>Atualiza timeout</target>
</trans-unit>
<trans-unit id="8736166630756120293" datatype="html">
<source>After creating a sharing link, it can be updated for this long.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">424</context>
</context-group>
<target>Aps criar um link de compartilhamento, pode ser alterado por esse tempo.</target>
</trans-unit>
<trans-unit id="5936920037659087069" datatype="html">
<source>Index cache timeout</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">435</context>
</context-group>
<target>Timeout cache do ndice</target>
</trans-unit>
<trans-unit id="4751279777806037015" datatype="html">
<source>If there was no indexing in this time, it reindexes. (skipped if indexes are in DB and sensitivity is low).</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">439</context>
</context-group>
<target>Se no houve indexao no perodo, ir reindexar. (Ignora se os indces esto no bd e sensibilidade baixa).</target>
</trans-unit>
<trans-unit id="1334817424484159222" datatype="html">
<source>Folder reindexing sensitivity</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">446</context>
</context-group>
<target>Sensibilidade de reindexao da pasta</target>
</trans-unit>
<trans-unit id="918816665248579909" datatype="html">
<source>Set the reindexing sensitivity. High value check the folders for change more often. Setting to never only indexes if never indexed or explicit running the Indexing Job.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">449</context>
</context-group>
<target>Set the reindexing sensitivity. High value check the folders for change more often. Setting to never only indexes if never indexed or explicit running the Indexing Job.</target>
</trans-unit>
<trans-unit id="3568851002082270949" datatype="html">
<source>Exclude Folder List</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">456</context>
</context-group>
<target>Lista de pastas no includas</target>
</trans-unit>
<trans-unit id="1610825524284664220" datatype="html">
<source>Folders to exclude from indexing. If an entry starts with '/' it is treated as an absolute path. If it doesn't start with '/' but contains a '/', the path is relative to the image directory. If it doesn't contain a '/', any folder with this name will be excluded.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">462</context>
</context-group>
<target>Pastas no includas na indexao. Se a entrada comear com '/' ela tratada como caminho absoluto. Se ela no comear com '/' mas contm '/', o caminho relativo ao diretrio de imagens. Se no conter '/', qualquer pasta com esse nome no ser incluida.</target>
</trans-unit>
<trans-unit id="1086546411028005438" datatype="html">
<source>Exclude File List</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">469</context>
</context-group>
<target>Lista de arquivos no includos</target>
</trans-unit>
<trans-unit id="3805748632901985219" datatype="html">
<source>.ignore;.pg2ignore</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">473</context>
</context-group>
<target>.ignore;.pg2ignore</target>
</trans-unit>
<trans-unit id="5517726334666694295" datatype="html">
<source>Files that mark a folder to be excluded from indexing. Any folder that contains a file with this name will be excluded from indexing.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">475</context>
</context-group>
<target>Arquivo que marca uma pasta que no ser includa na indexao. Qualquer pasta que conter um arquivo com esse nome no ser includa na indexao.</target>
</trans-unit>
<trans-unit id="3089345247204108252" datatype="html">
<source>Max duplicates</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">486</context>
</context-group>
<target>Max duplicates</target>
</trans-unit>
<trans-unit id="2857981877504842327" datatype="html">
<source>Maximum number of duplicates to list.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">489</context>
</context-group>
<target>Maximum number of duplicates to list.</target>
</trans-unit>
<trans-unit id="3733215288982610673" datatype="html">
<source>Level</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">499</context>
</context-group>
<target>Level</target>
</trans-unit>
<trans-unit id="6041867609103875269" datatype="html">
<source>Logging level.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">502</context>
</context-group>
<target>Logging level.</target>
</trans-unit>
<trans-unit id="676216864464481272" datatype="html">
<source>Sql Level</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">508</context>
</context-group>
<target>Sql Level</target>
</trans-unit>
<trans-unit id="8812113673684921175" datatype="html">
<source>Logging level for SQL queries.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">511</context>
</context-group>
<target>Logging level for SQL queries.</target>
</trans-unit>
<trans-unit id="6212535853329157478" datatype="html">
<source>Server timing</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">516</context>
</context-group>
<target>Server timing</target>
</trans-unit>
<trans-unit id="7410385593985151245" datatype="html">
<source>If enabled, the app ads "Server-Timing" http header to the response.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">519</context>
</context-group>
<target>If enabled, the app ads "Server-Timing" http header to the response.</target>
</trans-unit>
<trans-unit id="6011589038643567137" datatype="html">
<source>Max saved progress</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">619</context>
</context-group>
<target>Max saved progress</target>
</trans-unit>
<trans-unit id="1628705458537085502" datatype="html">
<source>Job history size.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">622</context>
</context-group>
<target>Job history size.</target>
</trans-unit>
<trans-unit id="8021865850981477352" datatype="html">
<source>Processing batch size</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">629</context>
</context-group>
<target>Processing batch size</target>
</trans-unit>
<trans-unit id="4763786307361733917" datatype="html">
<source>Jobs load this many photos or videos form the DB for processing at once.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">632</context>
</context-group>
<target>Jobs load this many photos or videos form the DB for processing at once.</target>
</trans-unit>
<trans-unit id="547146152434765833" datatype="html">
<source>Scheduled jobs</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">638</context>
</context-group>
<target>Scheduled jobs</target>
</trans-unit>
<trans-unit id="306805200938050070" datatype="html">
<source>Bit rate</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">694</context>
</context-group>
<target>Bit rate</target>
</trans-unit>
<trans-unit id="2478892300465956089" datatype="html">
<source>Target bit rate of the output video will be scaled down this this. This should be less than the upload rate of your home server.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">698</context>
</context-group>
<target>Target bit rate of the output video will be scaled down this this. This should be less than the upload rate of your home server.</target>
</trans-unit>
<trans-unit id="1963136290621768454" datatype="html">
<source>Resolution</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">705</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">831</context>
</context-group>
<target>Resolution</target>
</trans-unit>
<trans-unit id="8355011535250584768" datatype="html">
<source>The height of the output video will be scaled down to this, while keeping the aspect ratio.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">710</context>
</context-group>
<target>The height of the output video will be scaled down to this, while keeping the aspect ratio.</target>
</trans-unit>
<trans-unit id="3228666320262483835" datatype="html">
<source>FPS</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">717</context>
</context-group>
<target>FPS</target>
</trans-unit>
<trans-unit id="1755420511646795750" datatype="html">
<source>Target frame per second (fps) of the output video will be scaled down this this.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">721</context>
</context-group>
<target>Target frame per second (fps) of the output video will be scaled down this this.</target>
</trans-unit>
<trans-unit id="7513076467032912668" datatype="html">
<source>Format</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">727</context>
</context-group>
<target>Format</target>
</trans-unit>
<trans-unit id="4558851785770149120" datatype="html">
<source>MP4 codec</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">736</context>
</context-group>
<target>MP4 codec</target>
</trans-unit>
<trans-unit id="6048942710723898007" datatype="html">
<source>Webm Codec</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">746</context>
</context-group>
<target>Webm Codec</target>
</trans-unit>
<trans-unit id="8500867820372719149" datatype="html">
<source>CRF</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">757</context>
</context-group>
<target>CRF</target>
</trans-unit>
<trans-unit id="639575417147182282" datatype="html">
<source>The range of the Constant Rate Factor (CRF) scale is 051, where 0 is lossless, 23 is the default, and 51 is worst quality possible.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">760</context>
</context-group>
<target>The range of the Constant Rate Factor (CRF) scale is 051, where 0 is lossless, 23 is the default, and 51 is worst quality possible.</target>
</trans-unit>
<trans-unit id="6333857424161463201" datatype="html">
<source>Preset</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">768</context>
</context-group>
<target>Preset</target>
</trans-unit>
<trans-unit id="5666144931223883408" datatype="html">
<source>A preset is a collection of options that will provide a certain encoding speed to compression ratio. A slower preset will provide better compression (compression is quality per filesize).</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">771</context>
</context-group>
<target>A preset is a collection of options that will provide a certain encoding speed to compression ratio. A slower preset will provide better compression (compression is quality per filesize).</target>
</trans-unit>
<trans-unit id="875741467182223722" datatype="html">
<source>Custom Output Options</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">778</context>
</context-group>
<target>Custom Output Options</target>
</trans-unit>
<trans-unit id="4633198251733160919" datatype="html">
<source>It will be sent to ffmpeg as it is, as custom output options.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">783</context>
</context-group>
<target>It will be sent to ffmpeg as it is, as custom output options.</target>
</trans-unit>
<trans-unit id="2012036823425449881" datatype="html">
<source>Custom Input Options</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">790</context>
</context-group>
<target>Custom Input Options</target>
</trans-unit>
<trans-unit id="4952811342387778937" datatype="html">
<source>It will be sent to ffmpeg as it is, as custom input options.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">796</context>
</context-group>
<target>It will be sent to ffmpeg as it is, as custom input options.</target>
</trans-unit>
<trans-unit id="3617023035573084133" datatype="html">
<source>Video transcoding</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">806</context>
</context-group>
<target>Video transcoding</target>
</trans-unit>
<trans-unit id="440637971406706761" datatype="html">
<source>To ensure smooth video playback, video transcoding is recommended to a lower bit rate than the server's upload rate. The transcoded videos will be save to the thumbnail folder. You can trigger the transcoding manually, but you can also create an automatic encoding job in advanced settings mode.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">810</context>
</context-group>
<target>To ensure smooth video playback, video transcoding is recommended to a lower bit rate than the server's upload rate. The transcoded videos will be save to the thumbnail folder. You can trigger the transcoding manually, but you can also create an automatic encoding job in advanced settings mode.</target>
</trans-unit>
<trans-unit id="4328921999658902771" datatype="html">
<source>On the fly converting</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">819</context>
</context-group>
<target>On the fly converting</target>
</trans-unit>
<trans-unit id="2470605681014912285" datatype="html">
<source>Converts photos on the fly, when they are requested.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">825</context>
</context-group>
<target>Converts photos on the fly, when they are requested.</target>
</trans-unit>
<trans-unit id="7423094978007045780" datatype="html">
<source>The shorter edge of the converted photo will be scaled down to this, while keeping the aspect ratio.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">838</context>
</context-group>
<target>The shorter edge of the converted photo will be scaled down to this, while keeping the aspect ratio.</target>
</trans-unit>
<trans-unit id="5818532657372977595" datatype="html">
<source>Photo resizing</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">847</context>
</context-group>
<target>Photo resizing</target>
</trans-unit>
<trans-unit id="3200155866272065974" datatype="html">
<source>Cover Filter query</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">859</context>
</context-group>
<target>Cover Filter query</target>
</trans-unit>
<trans-unit id="3934792735027900470" datatype="html">
<source>Filters the sub-folders with this search query. If filter results no photo, the app will search again without the filter.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">864</context>
</context-group>
<target>Filters the sub-folders with this search query. If filter results no photo, the app will search again without the filter.</target>
</trans-unit>
<trans-unit id="6038145233304913703" datatype="html">
<source>Cover Sorting</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">873</context>
</context-group>
<target>Cover Sorting</target>
</trans-unit>
<trans-unit id="7281714126487619000" datatype="html">
<source>If multiple cover is available sorts them by these methods and selects the first one.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">877</context>
</context-group>
<target>If multiple cover is available sorts them by these methods and selects the first one.</target>
</trans-unit>
<trans-unit id="4487775872787805732" datatype="html">
<source>Images folder</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">891</context>
</context-group>
<target>Images folder</target>
</trans-unit>
<trans-unit id="3675884621668409255" datatype="html">
<source>Images are loaded from this folder (read permission required)</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">896</context>
</context-group>
<target>Images are loaded from this folder (read permission required)</target>
</trans-unit>
<trans-unit id="2771235786507007543" datatype="html">
<source>Temp folder</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">902</context>
</context-group>
<target>Temp folder</target>
</trans-unit>
<trans-unit id="9031495654448374643" datatype="html">
<source>Thumbnails, converted photos, videos will be stored here (write permission required)</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">907</context>
</context-group>
<target>Thumbnails, converted photos, videos will be stored here (write permission required)</target>
</trans-unit>
<trans-unit id="3548220493996366914" datatype="html">
<source>Metadata read buffer</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">914</context>
</context-group>
<target>Metadata read buffer</target>
</trans-unit>
<trans-unit id="4644756487867291334" datatype="html">
<source>Only this many bites will be loaded when scanning photo/video for metadata. Increase this number if your photos shows up as square.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">920</context>
</context-group>
<target>Only this many bites will be loaded when scanning photo/video for metadata. Increase this number if your photos shows up as square.</target>
</trans-unit>
<trans-unit id="6549265851868599441" datatype="html">
<source>Video</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">926</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1223</context>
</context-group>
<target>Video</target>
</trans-unit>
<trans-unit id="7232490753450335839" datatype="html">
<source>Video support uses ffmpeg. ffmpeg and ffprobe binaries need to be available in the PATH or the @ffmpeg-installer/ffmpeg and @ffprobe-installer/ffprobe optional node packages need to be installed.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">935</context>
</context-group>
<target>Video support uses ffmpeg. ffmpeg and ffprobe binaries need to be available in the PATH or the @ffmpeg-installer/ffmpeg and @ffprobe-installer/ffprobe optional node packages need to be installed.</target>
</trans-unit>
<trans-unit id="5750485945694679561" datatype="html">
<source>Photo</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">940</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1230</context>
</context-group>
<target>Photo</target>
</trans-unit>
<trans-unit id="3434410278501759813" datatype="html">
<source>Thumbnail</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">953</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1216</context>
</context-group>
<target>Thumbnail</target>
</trans-unit>
<trans-unit id="537022937435161177" datatype="html">
<source>Session Timeout</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">976</context>
</context-group>
<target>Session Timeout</target>
</trans-unit>
<trans-unit id="7127520017089378528" datatype="html">
<source>Users kept logged in for this long time.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">980</context>
</context-group>
<target>Users kept logged in for this long time.</target>
</trans-unit>
<trans-unit id="2521241309786115337" datatype="html">
<source>Port number. Port 80 is usually what you need.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">991</context>
</context-group>
<target>Port number. Port 80 is usually what you need.</target>
</trans-unit>
<trans-unit id="5922774431911312513" datatype="html">
<source>Server will accept connections from this IPv6 or IPv4 address.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1003</context>
</context-group>
<target>Server will accept connections from this IPv6 or IPv4 address.</target>
</trans-unit>
<trans-unit id="4804785061014590286" datatype="html">
<source>Logs</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1009</context>
</context-group>
<target>Logs</target>
</trans-unit>
<trans-unit id="2188854519574316630" datatype="html">
<source>Server</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1039</context>
</context-group>
<target>Server</target>
</trans-unit>
<trans-unit id="4555457172864212828" datatype="html">
<source>Users</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1055</context>
</context-group>
<target>Users</target>
</trans-unit>
<trans-unit id="4973087105311508591" datatype="html">
<source>Indexing</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1063</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">49</context>
</context-group>
<target>Indexing</target>
</trans-unit>
<trans-unit id="6572597181040351282" datatype="html">
<source>If you add a new folder to your gallery, the site indexes it automatically. If you would like to trigger indexing manually, click index button. (Note: search only works among the indexed directories.)</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1068</context>
</context-group>
<target>If you add a new folder to your gallery, the site indexes it automatically. If you would like to trigger indexing manually, click index button. (Note: search only works among the indexed directories.)</target>
</trans-unit>
<trans-unit id="3250391385569692601" datatype="html">
<source>Media</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1079</context>
</context-group>
<target>Media</target>
</trans-unit>
<trans-unit id="5007962937899031099" datatype="html">
<source>Meta file</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1087</context>
</context-group>
<target>Meta file</target>
</trans-unit>
<trans-unit id="6399882340805620978" datatype="html">
<source>Album cover</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1095</context>
</context-group>
<target>Album cover</target>
</trans-unit>
<trans-unit id="494109936445845592" datatype="html">
<source>Specify a search query and sorting that the app can use to pick the best photo for an album and folder cover. There is no way to manually pick folder and album cover in the app. You can tag some of your photos with 'cover' and set that as search query or rate them to 5 and set sorting to descending by rating.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1106</context>
</context-group>
<target>Specify a search query and sorting that the app can use to pick the best photo for an album and folder cover. There is no way to manually pick folder and album cover in the app. You can tag some of your photos with 'cover' and set that as search query or rate them to 5 and set sorting to descending by rating.</target>
</trans-unit>
<trans-unit id="8422875188929347819" datatype="html">
<source>Sharing</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1112</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">142</context>
</context-group>
<target>Sharing</target>
</trans-unit>
<trans-unit id="3587873128318078848" datatype="html">
<source>Duplicates</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1120</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/duplicates/duplicates.component.ts</context>
<context context-type="linenumber">119</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">164</context>
</context-group>
<target>Duplicates</target>
</trans-unit>
<trans-unit id="2609637210173724919" datatype="html">
<source>Messaging</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1128</context>
</context-group>
<target>Messaging</target>
</trans-unit>
<trans-unit id="8227174550244698887" datatype="html">
<source>The App can send messages (like photos on the same day a year ago. aka: "Top Pick"). Here you can configure the delivery method.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1132</context>
</context-group>
<target>The App can send messages (like photos on the same day a year ago. aka: "Top Pick"). Here you can configure the delivery method.</target>
</trans-unit>
<trans-unit id="3229595422546554334" datatype="html">
<source>Jobs</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">1138</context>
</context-group>
<target>Jobs</target>
</trans-unit>
<trans-unit id="839377997815860434" datatype="html">
<source>Maximum items</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">72</context>
</context-group>
<target>Maximum items</target>
</trans-unit>
<trans-unit id="9059384159901338400" datatype="html">
<source>Maximum number autocomplete items shown at once. If there is not enough items to reach this value, it takes upto double of the individual items.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">75</context>
</context-group>
<target>Maximum number autocomplete items shown at once. If there is not enough items to reach this value, it takes upto double of the individual items.</target>
</trans-unit>
<trans-unit id="1975560396569090938" datatype="html">
<source>Max photo items</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">83</context>
</context-group>
<target>Max photo items</target>
</trans-unit>
<trans-unit id="5932836121108496211" datatype="html">
<source>Maximum number autocomplete items shown per photo category.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">86</context>
</context-group>
<target>Maximum number autocomplete items shown per photo category.</target>
</trans-unit>
<trans-unit id="2869925600895621802" datatype="html">
<source>Max directory items</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">94</context>
</context-group>
<target>Max directory items</target>
</trans-unit>
<trans-unit id="5934414841725017618" datatype="html">
<source>Maximum number autocomplete items shown per directory category.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">97</context>
</context-group>
<target>Maximum number autocomplete items shown per directory category.</target>
</trans-unit>
<trans-unit id="6171775104559161283" datatype="html">
<source>Max caption items</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">105</context>
</context-group>
<target>Max caption items</target>
</trans-unit>
<trans-unit id="8577207045867351291" datatype="html">
<source>Maximum number autocomplete items shown per caption category.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">108</context>
</context-group>
<target>Maximum number autocomplete items shown per caption category.</target>
</trans-unit>
<trans-unit id="4432248344294022579" datatype="html">
<source>Max position items</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">116</context>
</context-group>
<target>Max position items</target>
</trans-unit>
<trans-unit id="3086088882031149981" datatype="html">
<source>Maximum number autocomplete items shown per position category.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">119</context>
</context-group>
<target>Maximum number autocomplete items shown per position category.</target>
</trans-unit>
<trans-unit id="4670515012963382372" datatype="html">
<source>Max faces items</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">127</context>
</context-group>
<target>Max faces items</target>
</trans-unit>
<trans-unit id="6404557966185698497" datatype="html">
<source>Maximum number autocomplete items shown per faces category.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">130</context>
</context-group>
<target>Maximum number autocomplete items shown per faces category.</target>
</trans-unit>
<trans-unit id="8855317879487307752" datatype="html">
<source>Max keyword items</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">138</context>
</context-group>
<target>Max keyword items</target>
</trans-unit>
<trans-unit id="6509178736104380145" datatype="html">
<source>Maximum number autocomplete items shown per keyword category.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">141</context>
</context-group>
<target>Maximum number autocomplete items shown per keyword category.</target>
</trans-unit>
<trans-unit id="4354453441748274999" datatype="html">
<source>Enable Autocomplete</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">151</context>
</context-group>
<target>Enable Autocomplete</target>
</trans-unit>
<trans-unit id="7703111577289302879" datatype="html">
<source>Show hints while typing search query.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">154</context>
</context-group>
<target>Show hints while typing search query.</target>
</trans-unit>
<trans-unit id="7287846403801225511" datatype="html">
<source>Max items per category</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">161</context>
</context-group>
<target>Max items per category</target>
</trans-unit>
<trans-unit id="8268742369352149269" datatype="html">
<source>Maximum number autocomplete items shown per category.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">164</context>
</context-group>
<target>Maximum number autocomplete items shown per category.</target>
</trans-unit>
<trans-unit id="7037803898839863679" datatype="html">
<source>Cache timeout</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">172</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">196</context>
</context-group>
<target>Cache timeout</target>
</trans-unit>
<trans-unit id="7460330515350740380" datatype="html">
<source>Autocomplete cache timeout. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">176</context>
</context-group>
<target>Autocomplete cache timeout.</target>
</trans-unit>
<trans-unit id="2180291763949669799" datatype="html">
<source>Enable</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">186</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">255</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">267</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">289</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">466</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">970</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1121</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1158</context>
</context-group>
<target>Enable</target>
</trans-unit>
<trans-unit id="8338545895574711090" datatype="html">
<source>Enables searching.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">189</context>
</context-group>
<target>Enables searching.</target>
</trans-unit>
<trans-unit id="8206089520407978340" datatype="html">
<source>Search cache timeout.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">200</context>
</context-group>
<target>Search cache timeout.</target>
</trans-unit>
<trans-unit id="6507738516307254402" datatype="html">
<source>Autocomplete</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">206</context>
</context-group>
<target>Autocomplete</target>
</trans-unit>
<trans-unit id="7747085006165494563" datatype="html">
<source>Maximum media result</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">215</context>
</context-group>
<target>Maximum media result</target>
</trans-unit>
<trans-unit id="1471447046544934544" datatype="html">
<source>Maximum number of photos and videos that are listed in one search result.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">218</context>
</context-group>
<target>Maximum number of photos and videos that are listed in one search result.</target>
</trans-unit>
<trans-unit id="2809377676909040375" datatype="html">
<source>Maximum directory result</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">224</context>
</context-group>
<target>Maximum directory result</target>
</trans-unit>
<trans-unit id="8397283408986431970" datatype="html">
<source>Maximum number of directories that are listed in one search result.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">227</context>
</context-group>
<target>Maximum number of directories that are listed in one search result.</target>
</trans-unit>
<trans-unit id="5788628366491057479" datatype="html">
<source>List directories</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">233</context>
</context-group>
<target>List directories</target>
</trans-unit>
<trans-unit id="1935594850787078673" datatype="html">
<source>Search returns also with directories, not just media.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">236</context>
</context-group>
<target>Search returns also with directories, not just media.</target>
</trans-unit>
<trans-unit id="709142926386769059" datatype="html">
<source>List metafiles</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">242</context>
</context-group>
<target>List metafiles</target>
</trans-unit>
<trans-unit id="7791806012343648215" datatype="html">
<source>Search also returns with metafiles from directories that contain a media file of the matched search result.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">245</context>
</context-group>
<target>Search also returns with metafiles from directories that contain a media file of the matched search result.</target>
</trans-unit>
<trans-unit id="6475889191924902342" datatype="html">
<source>Enables sharing.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">270</context>
</context-group>
<target>Enables sharing.</target>
</trans-unit>
<trans-unit id="166448092104563965" datatype="html">
<source>Password protected</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">276</context>
</context-group>
<target>Password protected</target>
</trans-unit>
<trans-unit id="4655262361738444589" datatype="html">
<source>Enables password protected sharing links.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">279</context>
</context-group>
<target>Enables password protected sharing links.</target>
</trans-unit>
<trans-unit id="700572637665748593" datatype="html">
<source>Enables random link generation.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">292</context>
</context-group>
<target>Enables random link generation.</target>
</trans-unit>
<trans-unit id="1318992731180201330" datatype="html">
<source>Name of a map layer.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">304</context>
</context-group>
<target>Name of a map layer.</target>
</trans-unit>
<trans-unit id="412557495167115018" datatype="html">
<source>Url of a map layer.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">313</context>
</context-group>
<target>Url of a map layer.</target>
</trans-unit>
<trans-unit id="1143133976589063640" datatype="html">
<source>Sets if the layer is dark (used as default in the dark mode).</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">321</context>
</context-group>
<target>Sets if the layer is dark (used as default in the dark mode).</target>
</trans-unit>
<trans-unit id="4946508934141722594" datatype="html">
<source>SVG icon viewBox</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">337</context>
</context-group>
<target>SVG icon viewBox</target>
</trans-unit>
<trans-unit id="1828745019899593980" datatype="html">
<source>SVG path viewBox. See: path_to_url
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">340</context>
</context-group>
<target>SVG path viewBox. See: path_to_url
</trans-unit>
<trans-unit id="5506858590097128875" datatype="html">
<source>SVG Items</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">346</context>
</context-group>
<target>SVG Items</target>
</trans-unit>
<trans-unit id="4389372102342374611" datatype="html">
<source>Content elements (paths, circles, rects) of the SVG icon. Icons used on the map: fontawesome.com/icons.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">349</context>
</context-group>
<target>Content elements (paths, circles, rects) of the SVG icon. Icons used on the map: fontawesome.com/icons.</target>
</trans-unit>
<trans-unit id="9011959596901584887" datatype="html">
<source>Color</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">366</context>
</context-group>
<target>Color</target>
</trans-unit>
<trans-unit id="986022036062271497" datatype="html">
<source>Color of the path. Use any valid css colors.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">369</context>
</context-group>
<target>Color of the path. Use any valid css colors.</target>
</trans-unit>
<trans-unit id="8634167331842982441" datatype="html">
<source>Dash pattern</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">375</context>
</context-group>
<target>Dash pattern</target>
</trans-unit>
<trans-unit id="2438737359865289528" datatype="html">
<source>Dash pattern of the path. Represents the spacing and length of the dash. Read more about dash array at: path_to_url
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">379</context>
</context-group>
<target>Dash pattern of the path. Represents the spacing and length of the dash. Read more about dash array at: path_to_url
</trans-unit>
<trans-unit id="1057726871811234595" datatype="html">
<source>Svg Icon</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">387</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1388</context>
</context-group>
<target>Svg Icon</target>
</trans-unit>
<trans-unit id="189392445108403363" datatype="html">
<source>Set the icon of the map marker pin.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">391</context>
</context-group>
<target>Set the icon of the map marker pin.</target>
</trans-unit>
<trans-unit id="133947232251217266" datatype="html">
<source>Matchers</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">409</context>
</context-group>
<target>Matchers</target>
</trans-unit>
<trans-unit id="1761476223758787118" datatype="html">
<source>List of regex string to match the name of the path. Case insensitive. Empty list matches everything.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">412</context>
</context-group>
<target>List of regex string to match the name of the path. Case insensitive. Empty list matches everything.</target>
</trans-unit>
<trans-unit id="1041265241960537761" datatype="html">
<source>Path and icon theme</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">419</context>
</context-group>
<target>Path and icon theme</target>
</trans-unit>
<trans-unit id="8088686757026932221" datatype="html">
<source>List of regex string to match the name of the path.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">422</context>
</context-group>
<target>List of regex string to match the name of the path.</target>
</trans-unit>
<trans-unit id="6445741902419302713" datatype="html">
<source>Name of the marker and path group on the map.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">441</context>
</context-group>
<target>Name of the marker and path group on the map.</target>
</trans-unit>
<trans-unit id="4837108640322397601" datatype="html">
<source>Path themes</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">448</context>
</context-group>
<target>Path themes</target>
</trans-unit>
<trans-unit id="6908693151615823516" datatype="html">
<source>Matchers for a given map and path theme.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">451</context>
</context-group>
<target>Matchers for a given map and path theme.</target>
</trans-unit>
<trans-unit id="4552446388068845156" datatype="html">
<source>Image Markers</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">472</context>
</context-group>
<target>Image Markers</target>
</trans-unit>
<trans-unit id="7016588915008667535" datatype="html">
<source>Map will use thumbnail images as markers instead of the default pin.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">475</context>
</context-group>
<target>Map will use thumbnail images as markers instead of the default pin.</target>
</trans-unit>
<trans-unit id="2109343451775315440" datatype="html">
<source>Map Provider</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">481</context>
</context-group>
<target>Map Provider</target>
</trans-unit>
<trans-unit id="5860141610052555892" datatype="html">
<source>Mapbox access token</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">489</context>
</context-group>
<target>Mapbox access token</target>
</trans-unit>
<trans-unit id="8929337277635076687" datatype="html">
<source>MapBox needs an access token to work, create one at path_to_url
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">493</context>
</context-group>
<target>MapBox needs an access token to work, create one at path_to_url
</trans-unit>
<trans-unit id="2386684148261896485" datatype="html">
<source>The map module will use these urls to fetch the map tiles.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">498</context>
</context-group>
<target>The map module will use these urls to fetch the map tiles.</target>
</trans-unit>
<trans-unit id="6452617211342461685" datatype="html">
<source>Custom Layers</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">501</context>
</context-group>
<target>Custom Layers</target>
</trans-unit>
<trans-unit id="1382580573983259242" datatype="html">
<source>Max Preview Markers</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">511</context>
</context-group>
<target>Max Preview Markers</target>
</trans-unit>
<trans-unit id="4090171517655540902" datatype="html">
<source>Maximum number of markers to be shown on the map preview on the gallery page.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">514</context>
</context-group>
<target>Maximum number of markers to be shown on the map preview on the gallery page.</target>
</trans-unit>
<trans-unit id="4556849443711086202" datatype="html">
<source>Path theme groups</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">522</context>
</context-group>
<target>Path theme groups</target>
</trans-unit>
<trans-unit id="7429215598366742079" datatype="html">
<source>Markers are grouped and themed by these settings</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">526</context>
</context-group>
<target>Markers are grouped and themed by these settings</target>
</trans-unit>
<trans-unit id="2826067096229698347" datatype="html">
<source>Bend long path trigger</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">590</context>
</context-group>
<target>Bend long path trigger</target>
</trans-unit>
<trans-unit id="4801778710475188270" datatype="html">
<source>Map will bend the path if two points are this far apart on latititude axes. This intended to bend flight if only the end and the start points are given.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">593</context>
</context-group>
<target>Map will bend the path if two points are this far apart on latititude axes. This intended to bend flight if only the end and the start points are given.</target>
</trans-unit>
<trans-unit id="5208941380118400380" datatype="html">
<source>Map Icon size</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">603</context>
</context-group>
<target>Map Icon size</target>
</trans-unit>
<trans-unit id="5685971437887935419" datatype="html">
<source>Icon size (used on maps).</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">607</context>
</context-group>
<target>Icon size (used on maps).</target>
</trans-unit>
<trans-unit id="21285779955192982" datatype="html">
<source>Person thumbnail size</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">612</context>
</context-group>
<target>Person thumbnail size</target>
</trans-unit>
<trans-unit id="6270003837253502273" datatype="html">
<source>Person (face) thumbnail size.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">616</context>
</context-group>
<target>Person (face) thumbnail size.</target>
</trans-unit>
<trans-unit id="1164574322837752416" datatype="html">
<source>Thumbnail sizes</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">621</context>
</context-group>
<target>Thumbnail sizes</target>
</trans-unit>
<trans-unit id="4279695256899764193" datatype="html">
<source>Size of the thumbnails. The best matching size will be generated. More sizes give better quality, but use more storage and CPU to render. If size is 240, that shorter side of the thumbnail will have 160 pixels.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">624</context>
</context-group>
<target>Size of the thumbnails. The best matching size will be generated. More sizes give better quality, but use more storage and CPU to render. If size is 240, that shorter side of the thumbnail will have 160 pixels.</target>
</trans-unit>
<trans-unit id="7466923289878135364" datatype="html">
<source>SearchQuery</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">677</context>
</context-group>
<target>SearchQuery</target>
</trans-unit>
<trans-unit id="8308045076391224954" datatype="html">
<source>Url</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">687</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">65</context>
</context-group>
<target>Url</target>
</trans-unit>
<trans-unit id="8864288285279476751" datatype="html">
<source>Method</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">716</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">740</context>
</context-group>
<target>Method</target>
</trans-unit>
<trans-unit id="6093210751404423786" datatype="html">
<source>Ascending</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">723</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">747</context>
</context-group>
<target>Ascending</target>
</trans-unit>
<trans-unit id="177392694971808911" datatype="html">
<source>Default sorting</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">760</context>
</context-group>
<target>Default sorting</target>
</trans-unit>
<trans-unit id="8993065143187639036" datatype="html">
<source>Default sorting method for photo and video in a directory results.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">763</context>
</context-group>
<target>Default sorting method for photo and video in a directory results.</target>
</trans-unit>
<trans-unit id="6155309121839598217" datatype="html">
<source>Default search sorting</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">770</context>
</context-group>
<target>Default search sorting</target>
</trans-unit>
<trans-unit id="7941581315950625881" datatype="html">
<source>Default sorting method for photo and video in a search results.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">773</context>
</context-group>
<target>Default sorting method for photo and video in a search results.</target>
</trans-unit>
<trans-unit id="2219985387769419367" datatype="html">
<source>Default grouping</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">780</context>
</context-group>
<target>Default grouping</target>
</trans-unit>
<trans-unit id="5640283237212785034" datatype="html">
<source>Default grouping method for photo and video in a directory results.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">784</context>
</context-group>
<target>Default grouping method for photo and video in a directory results.</target>
</trans-unit>
<trans-unit id="6222361365815783209" datatype="html">
<source>Default search grouping</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">791</context>
</context-group>
<target>Default search grouping</target>
</trans-unit>
<trans-unit id="4276017218108240034" datatype="html">
<source>Default grouping method for photo and video in a search results.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">795</context>
</context-group>
<target>Default grouping method for photo and video in a search results.</target>
</trans-unit>
<trans-unit id="1524055079900109760" datatype="html">
<source>Download Zip</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">805</context>
</context-group>
<target>Download Zip</target>
</trans-unit>
<trans-unit id="3946771566659086037" datatype="html">
<source>Enable download zip of a directory contents Directory flattening. (Does not work for searches.)</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">810</context>
</context-group>
<target>Enable download zip of a directory contents Directory flattening. (Does not work for searches.)</target>
</trans-unit>
<trans-unit id="6121078413919868273" datatype="html">
<source>Directory flattening</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">816</context>
</context-group>
<target>Directory flattening</target>
</trans-unit>
<trans-unit id="705617377096083016" datatype="html">
<source>Adds a button to flattens the file structure, by listing the content of all subdirectories. (Won't work if the gallery has multiple folders with the same path.)</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">821</context>
</context-group>
<target>Adds a button to flattens the file structure, by listing the content of all subdirectories. (Won't work if the gallery has multiple folders with the same path.)</target>
</trans-unit>
<trans-unit id="2057017984457052518" datatype="html">
<source>Default grid size</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">828</context>
</context-group>
<target>Default grid size</target>
</trans-unit>
<trans-unit id="783998631226539613" datatype="html">
<source>Default grid size that is used to render photos and videos.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">832</context>
</context-group>
<target>Default grid size that is used to render photos and videos.</target>
</trans-unit>
<trans-unit id="221212791975935245" datatype="html">
<source>Show item count</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">839</context>
</context-group>
<target>Show item count</target>
</trans-unit>
<trans-unit id="3624970360822137346" datatype="html">
<source>Shows the number photos and videos on the navigation bar.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">842</context>
</context-group>
<target>Shows the number photos and videos on the navigation bar.</target>
</trans-unit>
<trans-unit id="7565716024468232322" datatype="html">
<source>Links</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">849</context>
</context-group>
<target>Links</target>
</trans-unit>
<trans-unit id="4807202367596301715" datatype="html">
<source>Visible links in the top menu.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">853</context>
</context-group>
<target>Visible links in the top menu.</target>
</trans-unit>
<trans-unit id="9123353964549107895" datatype="html">
<source>Navbar show delay</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">862</context>
</context-group>
<target>Navbar show delay</target>
</trans-unit>
<trans-unit id="6740139625083216976" datatype="html">
<source>Ratio of the page height, you need to scroll to show the navigation bar.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">866</context>
</context-group>
<target>Ratio of the page height, you need to scroll to show the navigation bar.</target>
</trans-unit>
<trans-unit id="4038528744338038654" datatype="html">
<source>Navbar hide delay</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">871</context>
</context-group>
<target>Navbar hide delay</target>
</trans-unit>
<trans-unit id="5390013750224429307" datatype="html">
<source>Ratio of the page height, you need to scroll to hide the navigation bar.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">875</context>
</context-group>
<target>Ratio of the page height, you need to scroll to hide the navigation bar.</target>
</trans-unit>
<trans-unit id="8991316344176796079" datatype="html">
<source>Show scroll up button</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">881</context>
</context-group>
<target>Show scroll up button</target>
</trans-unit>
<trans-unit id="425470521667717513" datatype="html">
<source>Set when the floating scroll-up button should be visible.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">885</context>
</context-group>
<target>Set when the floating scroll-up button should be visible.</target>
</trans-unit>
<trans-unit id="7921800793872747437" datatype="html">
<source>Sorting and grouping</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">893</context>
</context-group>
<target>Sorting and grouping</target>
</trans-unit>
<trans-unit id="8685965882892653885" datatype="html">
<source>Default slideshow speed</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">906</context>
</context-group>
<target>Default slideshow speed</target>
</trans-unit>
<trans-unit id="8391296346935301055" datatype="html">
<source>Default time interval for displaying a photo in the slide show.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">911</context>
</context-group>
<target>Default time interval for displaying a photo in the slide show.</target>
</trans-unit>
<trans-unit id="1443139905845643218" datatype="html">
<source>Always show captions</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">917</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">66</context>
</context-group>
<target>Always show captions</target>
</trans-unit>
<trans-unit id="1541637444630104645" datatype="html">
<source>If enabled, lightbox will always show caption by default, not only on hover.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">920</context>
</context-group>
<target>If enabled, lightbox will always show caption by default, not only on hover.</target>
</trans-unit>
<trans-unit id="6677770225614932975" datatype="html">
<source>Always show faces</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">925</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">79</context>
</context-group>
<target>Always show faces</target>
</trans-unit>
<trans-unit id="9050621730692215024" datatype="html">
<source>If enabled, lightbox will always show faces by default, not only on hover.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">928</context>
</context-group>
<target>If enabled, lightbox will always show faces by default, not only on hover.</target>
</trans-unit>
<trans-unit id="5516106982912474900" datatype="html">
<source>Loop Videos</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">933</context>
</context-group>
<target>Loop Videos</target>
</trans-unit>
<trans-unit id="3583632647770258043" datatype="html">
<source>If enabled, lightbox will loop videos by default.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">936</context>
</context-group>
<target>If enabled, lightbox will loop videos by default.</target>
</trans-unit>
<trans-unit id="3660810634447085698" datatype="html">
<source>Name of the theme</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">953</context>
</context-group>
<target>Name of the theme</target>
</trans-unit>
<trans-unit id="7103588127254721505" datatype="html">
<source>Theme</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">958</context>
</context-group>
<target>Theme</target>
</trans-unit>
<trans-unit id="3213844127441603131" datatype="html">
<source>Adds these css settings as it is to the end of the body tag of the page.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">960</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1006</context>
</context-group>
<target>Adds these css settings as it is to the end of the body tag of the page.</target>
</trans-unit>
<trans-unit id="6375921149948953257" datatype="html">
<source>Enable themes and color modes.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">973</context>
</context-group>
<target>Enable themes and color modes.</target>
</trans-unit>
<trans-unit id="667242951578974423" datatype="html">
<source>Default theme mode</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">980</context>
</context-group>
<target>Default theme mode</target>
</trans-unit>
<trans-unit id="1744907786345958713" datatype="html">
<source>Sets the default theme mode that is used for the application.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">983</context>
</context-group>
<target>Sets the default theme mode that is used for the application.</target>
</trans-unit>
<trans-unit id="2756376392555555363" datatype="html">
<source>Selected theme</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">990</context>
</context-group>
<target>Selected theme</target>
</trans-unit>
<trans-unit id="4758803789125339433" datatype="html">
<source>Selected theme to use on the site.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">994</context>
</context-group>
<target>Selected theme to use on the site.</target>
</trans-unit>
<trans-unit id="8968641302600675865" datatype="html">
<source>Selected theme css</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1001</context>
</context-group>
<target>Selected theme css</target>
</trans-unit>
<trans-unit id="6385104003676355545" datatype="html">
<source>Cache</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1029</context>
</context-group>
<target>Cache</target>
</trans-unit>
<trans-unit id="4527546780564866281" datatype="html">
<source>Caches directory contents and search results for better performance.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1032</context>
</context-group>
<target>Caches directory contents and search results for better performance.</target>
</trans-unit>
<trans-unit id="1555465647399115479" datatype="html">
<source>Scroll based thumbnail generation</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1037</context>
</context-group>
<target>Scroll based thumbnail generation</target>
</trans-unit>
<trans-unit id="2408284962530107777" datatype="html">
<source>Those thumbnails get higher priority that are visible on the screen.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1040</context>
</context-group>
<target>Those thumbnails get higher priority that are visible on the screen.</target>
</trans-unit>
<trans-unit id="4152397028845147341" datatype="html">
<source>Sort directories by date</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1046</context>
</context-group>
<target>Sort directories by date</target>
</trans-unit>
<trans-unit id="3147181893618230466" datatype="html">
<source>If enabled, directories will be sorted by date, like photos, otherwise by name. Directory date is the last modification time of that directory not the creation date of the oldest photo.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1049</context>
</context-group>
<target>If enabled, directories will be sorted by date, like photos, otherwise by name. Directory date is the last modification time of that directory not the creation date of the oldest photo.</target>
</trans-unit>
<trans-unit id="7060776697703711531" datatype="html">
<source>On scroll thumbnail prioritising</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1055</context>
</context-group>
<target>On scroll thumbnail prioritising</target>
</trans-unit>
<trans-unit id="2449365823353179479" datatype="html">
<source>Those thumbnails will be rendered first that are in view.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1058</context>
</context-group>
<target>Those thumbnails will be rendered first that are in view.</target>
</trans-unit>
<trans-unit id="4204029540853675536" datatype="html">
<source>Navigation bar</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1063</context>
</context-group>
<target>Navigation bar</target>
</trans-unit>
<trans-unit id="138256296895235303" datatype="html">
<source>Caption first naming</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1071</context>
</context-group>
<target>Caption first naming</target>
</trans-unit>
<trans-unit id="5529709926880329339" datatype="html">
<source>Show the caption (IPTC 120) tags from the EXIF data instead of the filenames.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1074</context>
</context-group>
<target>Show the caption (IPTC 120) tags from the EXIF data instead of the filenames.</target>
</trans-unit>
<trans-unit id="7094332074276703160" datatype="html">
<source>Lightbox</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1081</context>
</context-group>
<target>Lightbox</target>
</trans-unit>
<trans-unit id="2798270190074840767" datatype="html">
<source>Themes</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1089</context>
</context-group>
<target>Themes</target>
</trans-unit>
<trans-unit id="2482105354766980770" datatype="html">
<source>Pigallery2 uses Bootstrap 5.3 (path_to_url for design (css, layout). In dark mode it sets 'data-bs-theme="dark"' to the <html> to take advantage bootstrap's color modes. For theming, read more at: path_to_url
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1093</context>
</context-group>
<target>Pigallery2 uses Bootstrap 5.3 (path_to_url for design (css, layout). In dark mode it sets 'data-bs-theme="dark"' to the <html> to take advantage bootstrap's color modes. For theming, read more at: path_to_url
</trans-unit>
<trans-unit id="5004767305340835166" datatype="html">
<source>Inline blog starts open</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1098</context>
</context-group>
<target>Inline blog starts open</target>
</trans-unit>
<trans-unit id="237163013641208057" datatype="html">
<source>Makes inline blog (*.md files content) to be auto open.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1102</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1112</context>
</context-group>
<target>Makes inline blog (*.md files content) to be auto open.</target>
</trans-unit>
<trans-unit id="8496975322830640739" datatype="html">
<source>Top blog starts open</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1108</context>
</context-group>
<target>Top blog starts open</target>
</trans-unit>
<trans-unit id="9185454837312696816" datatype="html">
<source>Supported formats with transcoding</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1130</context>
</context-group>
<target>Supported formats with transcoding</target>
</trans-unit>
<trans-unit id="4322859338400777784" datatype="html">
<source>Video formats that are supported after transcoding (with the build-in ffmpeg support).</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1135</context>
</context-group>
<target>Video formats that are supported after transcoding (with the build-in ffmpeg support).</target>
</trans-unit>
<trans-unit id="2099861843042326383" datatype="html">
<source>Supported formats without transcoding</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1143</context>
</context-group>
<target>Supported formats without transcoding</target>
</trans-unit>
<trans-unit id="2918342650701087250" datatype="html">
<source>Video formats that are supported also without transcoding. Browser supported formats: path_to_url
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1148</context>
</context-group>
<target>Video formats that are supported also without transcoding. Browser supported formats: path_to_url
</trans-unit>
<trans-unit id="6335601943118526384" datatype="html">
<source>Enable photo converting.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1160</context>
</context-group>
<target>Enable photo converting.</target>
</trans-unit>
<trans-unit id="8044411854765524879" datatype="html">
<source>Load full resolution image on zoom.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1166</context>
</context-group>
<target>Load full resolution image on zoom.</target>
</trans-unit>
<trans-unit id="6870206109332559881" datatype="html">
<source>Enables loading the full resolution image on zoom in the ligthbox (preview).</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1171</context>
</context-group>
<target>Enables loading the full resolution image on zoom in the ligthbox (preview).</target>
</trans-unit>
<trans-unit id="3545289586736261463" datatype="html">
<source>Photo converting</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1180</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">57</context>
</context-group>
<target>Photo converting</target>
</trans-unit>
<trans-unit id="1269143586062804510" datatype="html">
<source>Supported photo formats</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1189</context>
</context-group>
<target>Supported photo formats</target>
</trans-unit>
<trans-unit id="1931666821506012028" datatype="html">
<source>Photo formats that are supported. Browser needs to support these formats natively. Also sharp (libvips) package should be able to convert these formats.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1193</context>
</context-group>
<target>Photo formats that are supported. Browser needs to support these formats natively. Also sharp (libvips) package should be able to convert these formats.</target>
</trans-unit>
<trans-unit id="2270178033581723629" datatype="html">
<source>Enable GPX compressing</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1202</context>
</context-group>
<target>Enable GPX compressing</target>
</trans-unit>
<trans-unit id="1033703021916717714" datatype="html">
<source>Enables lossy (based on delta time and distance. Too frequent points are removed) GPX compression.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1207</context>
</context-group>
<target>Enables lossy (based on delta time and distance. Too frequent points are removed) GPX compression.</target>
</trans-unit>
<trans-unit id="1159790075331375705" datatype="html">
<source>*.gpx files</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1241</context>
</context-group>
<target>*.gpx files</target>
</trans-unit>
<trans-unit id="1872426751751480239" datatype="html">
<source>Reads *.gpx files and renders them on the map.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1246</context>
</context-group>
<target>Reads *.gpx files and renders them on the map.</target>
</trans-unit>
<trans-unit id="5084395604268421279" datatype="html">
<source>Markdown files</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1261</context>
</context-group>
<target>Markdown files</target>
</trans-unit>
<trans-unit id="7631702888933785803" datatype="html">
<source>Reads *.md files in a directory and shows the next to the map.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1265</context>
</context-group>
<target>Reads *.md files in a directory and shows the next to the map.</target>
</trans-unit>
<trans-unit id="4773152636094540112" datatype="html">
<source>*.pg2conf files</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1271</context>
</context-group>
<target>*.pg2conf files</target>
</trans-unit>
<trans-unit id="1722259294720091848" datatype="html">
<source>Reads *.pg2conf files (You can use it for custom sorting and saved search (albums)).</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1275</context>
</context-group>
<target>Reads *.pg2conf files (You can use it for custom sorting and saved search (albums)).</target>
</trans-unit>
<trans-unit id="6014979081471317568" datatype="html">
<source>Supported formats</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1281</context>
</context-group>
<target>Supported formats</target>
</trans-unit>
<trans-unit id="5349838636229861629" datatype="html">
<source>The app will read and process these files.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1285</context>
</context-group>
<target>The app will read and process these files.</target>
</trans-unit>
<trans-unit id="4816216590591222133" datatype="html">
<source>Enabled</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1294</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/template.component.html</context>
<context context-type="linenumber">12</context>
</context-group>
<target>Enabled</target>
</trans-unit>
<trans-unit id="6946816815826261880" datatype="html">
<source>Override keywords</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1302</context>
</context-group>
<target>Override keywords</target>
</trans-unit>
<trans-unit id="60528833843807470" datatype="html">
<source>If a photo has the same face (person) name and keyword, the app removes the duplicate, keeping the face only.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1306</context>
</context-group>
<target>If a photo has the same face (person) name and keyword, the app removes the duplicate, keeping the face only.</target>
</trans-unit>
<trans-unit id="6000343568689359565" datatype="html">
<source>Face starring right</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1311</context>
</context-group>
<target>Face starring right</target>
</trans-unit>
<trans-unit id="2357112787691547745" datatype="html">
<source>Required minimum right to star (favourite) a face.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1314</context>
</context-group>
<target>Required minimum right to star (favourite) a face.</target>
</trans-unit>
<trans-unit id="2239686600313632759" datatype="html">
<source>Face listing right</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1319</context>
</context-group>
<target>Face listing right</target>
</trans-unit>
<trans-unit id="7717019961331408650" datatype="html">
<source>Required minimum right to show the faces tab.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1322</context>
</context-group>
<target>Required minimum right to show the faces tab.</target>
</trans-unit>
<trans-unit id="933361080941409912" datatype="html">
<source>Page title</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1332</context>
</context-group>
<target>Page title</target>
</trans-unit>
<trans-unit id="176222620393429790" datatype="html">
<source>If you access the page form local network its good to know the public url for creating sharing link.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1338</context>
</context-group>
<target>If you access the page form local network its good to know the public url for creating sharing link.</target>
</trans-unit>
<trans-unit id="5093650417970469070" datatype="html">
<source>Page public url</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1340</context>
</context-group>
<target>Page public url</target>
</trans-unit>
<trans-unit id="5431495058415264787" datatype="html">
<source>If you access the gallery under a sub url (like: path_to_url set it here. If it is not working you might miss the '/' from the beginning of the url.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1348</context>
</context-group>
<target>If you access the gallery under a sub url (like: path_to_url set it here. If it is not working you might miss the '/' from the beginning of the url.</target>
</trans-unit>
<trans-unit id="4312373114061005708" datatype="html">
<source>Url Base</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1350</context>
</context-group>
<target>Url Base</target>
</trans-unit>
<trans-unit id="5579979532526495209" datatype="html">
<source>Api path</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1362</context>
</context-group>
<target>Api path</target>
</trans-unit>
<trans-unit id="2663968068169291107" datatype="html">
<source>Injects the content of this between the <head></head> HTML tags of the app. (You can use it add analytics or custom code to the app).</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1373</context>
</context-group>
<target>Injects the content of this between the <head></head> HTML tags of the app. (You can use it add analytics or custom code to the app).</target>
</trans-unit>
<trans-unit id="6764366823411649793" datatype="html">
<source>Custom HTML Head</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1375</context>
</context-group>
<target>Custom HTML Head</target>
</trans-unit>
<trans-unit id="8389568176247015120" datatype="html">
<source>Sets the icon of the app</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1392</context>
</context-group>
<target>Sets the icon of the app</target>
</trans-unit>
<trans-unit id="7321299026311900359" datatype="html">
<source>Password protection</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1409</context>
</context-group>
<target>Password protection</target>
</trans-unit>
<trans-unit id="1001285041433444124" datatype="html">
<source>Enables user management with login to password protect the gallery.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1411</context>
</context-group>
<target>Enables user management with login to password protect the gallery.</target>
</trans-unit>
<trans-unit id="6609079253925902817" datatype="html">
<source>Default user right</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1417</context>
</context-group>
<target>Default user right</target>
</trans-unit>
<trans-unit id="8265334008597043132" datatype="html">
<source>Default user right when password protection is disabled.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1422</context>
</context-group>
<target>Default user right when password protection is disabled.</target>
</trans-unit>
<trans-unit id="2181154762165715522" datatype="html">
<source>Gallery</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1439</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">67</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">25</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">133</context>
</context-group>
<target>Gallery</target>
</trans-unit>
<trans-unit id="1393837337557373364" datatype="html">
<source>Album</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1453</context>
</context-group>
<target>Album</target>
</trans-unit>
<trans-unit id="4580988005648117665" datatype="html">
<source>Search</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1465</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">66</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-builder/query-bulder.gallery.component.ts</context>
<context context-type="linenumber">31</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/search-field-base/search-field-base.gallery.component.ts</context>
<context context-type="linenumber">31</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/search.gallery.component.html</context>
<context context-type="linenumber">27</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/search.gallery.component.html</context>
<context context-type="linenumber">57</context>
</context-group>
<target>Search</target>
</trans-unit>
<trans-unit id="5813867925497374051" datatype="html">
<source>Map</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1476</context>
</context-group>
<target>Map</target>
</trans-unit>
<trans-unit id="169123739434171110" datatype="html">
<source>Faces</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1484</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">69</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/faces/faces.component.ts</context>
<context context-type="linenumber">38</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">20</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">125</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.service.ts</context>
<context context-type="linenumber">40</context>
</context-group>
<target>Faces</target>
</trans-unit>
<trans-unit id="7466323133996752576" datatype="html">
<source>Random photo</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1492</context>
</context-group>
<target>Random photo</target>
</trans-unit>
<trans-unit id="6931351711601311753" datatype="html">
<source>This feature enables you to generate 'random photo' urls. That URL returns a photo random selected from your gallery. You can use the url with 3rd party application like random changing desktop background. Note: With the current implementation, random link also requires login.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1496</context>
</context-group>
<target>This feature enables you to generate 'random photo' urls. That URL returns a photo random selected from your gallery. You can use the url with 3rd party application like random changing desktop background. Note: With the current implementation, random link also requires login.</target>
</trans-unit>
<trans-unit id="5732878542640870310" datatype="html">
<source>Size to generate</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">11</context>
</context-group>
<target>Size to generate</target>
</trans-unit>
<trans-unit id="8013041896880554958" datatype="html">
<source>These thumbnails will be generated. The list should be a subset of the enabled thumbnail sizes</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">13</context>
</context-group>
<target>These thumbnails will be generated. The list should be a subset of the enabled thumbnail sizes</target>
</trans-unit>
<trans-unit id="3188623303493603851" datatype="html">
<source>Indexed only</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">15</context>
</context-group>
<target>Indexed only</target>
</trans-unit>
<trans-unit id="613209736940517083" datatype="html">
<source>Only checks indexed files.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">17</context>
</context-group>
<target>Only checks indexed files.</target>
</trans-unit>
<trans-unit id="8335094363935357421" datatype="html">
<source>Index changes only</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">19</context>
</context-group>
<target>Index changes only</target>
</trans-unit>
<trans-unit id="2887355625408505193" datatype="html">
<source>Only indexes a folder if it got changed.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">21</context>
</context-group>
<target>Only indexes a folder if it got changed.</target>
</trans-unit>
<trans-unit id="5714035432593805888" datatype="html">
<source>Media selectors</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">23</context>
</context-group>
<target>Media selectors</target>
</trans-unit>
<trans-unit id="7534784716124739630" datatype="html">
<source>Set these search queries to find photos and videos to email.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">25</context>
</context-group>
<target>Set these search queries to find photos and videos to email.</target>
</trans-unit>
<trans-unit id="5298689875582975932" datatype="html">
<source>E-mail to</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">27</context>
</context-group>
<target>E-mail to</target>
</trans-unit>
<trans-unit id="969387355003550756" datatype="html">
<source>E-mail address of the recipient.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">29</context>
</context-group>
<target>E-mail address of the recipient.</target>
</trans-unit>
<trans-unit id="9127604588498960753" datatype="html">
<source>Subject</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">31</context>
</context-group>
<target>Subject</target>
</trans-unit>
<trans-unit id="8166565126925776930" datatype="html">
<source>E-mail subject.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">33</context>
</context-group>
<target>E-mail subject.</target>
</trans-unit>
<trans-unit id="8066608938393600549" datatype="html">
<source>Message</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">35</context>
</context-group>
<target>Message</target>
</trans-unit>
<trans-unit id="2752906962332824457" datatype="html">
<source>E-mail text.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">37</context>
</context-group>
<target>E-mail text.</target>
</trans-unit>
<trans-unit id="9153059468211122141" datatype="html">
<source>Gallery reset</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">51</context>
</context-group>
<target>Gallery reset</target>
</trans-unit>
<trans-unit id="2046036880411214558" datatype="html">
<source>Album reset</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">53</context>
</context-group>
<target>Album reset</target>
</trans-unit>
<trans-unit id="1623883110045208603" datatype="html">
<source>Thumbnail generation</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">55</context>
</context-group>
<target>Thumbnail generation</target>
</trans-unit>
<trans-unit id="2212725374840438395" datatype="html">
<source>Video converting</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">59</context>
</context-group>
<target>Video converting</target>
</trans-unit>
<trans-unit id="2035605189158678284" datatype="html">
<source>Temp folder cleaning</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">61</context>
</context-group>
<target>Temp folder cleaning</target>
</trans-unit>
<trans-unit id="3088840048840308975" datatype="html">
<source>Cover filling</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">63</context>
</context-group>
<target>Cover filling</target>
</trans-unit>
<trans-unit id="6795645469514395103" datatype="html">
<source>Cover reset</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">65</context>
</context-group>
<target>Cover reset</target>
</trans-unit>
<trans-unit id="1170030142768130074" datatype="html">
<source>Delete Compressed GPX</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">69</context>
</context-group>
<target>Delete Compressed GPX</target>
</trans-unit>
<trans-unit id="6422562246025271457" datatype="html">
<source>Top Pick Sending</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">71</context>
</context-group>
<target>Top Pick Sending</target>
</trans-unit>
<trans-unit id="4793522720209559817" datatype="html">
<source>Scans the whole gallery from disk and indexes it to the DB.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">83</context>
</context-group>
<target>Scans the whole gallery from disk and indexes it to the DB.</target>
</trans-unit>
<trans-unit id="4691070723688024701" datatype="html">
<source>Deletes all directories, photos and videos from the DB.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">85</context>
</context-group>
<target>Deletes all directories, photos and videos from the DB.</target>
</trans-unit>
<trans-unit id="6504202610617727748" datatype="html">
<source>Removes all albums from the DB</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">87</context>
</context-group>
<target>Removes all albums from the DB</target>
</trans-unit>
<trans-unit id="2844399786106605327" datatype="html">
<source>Generates thumbnails from all media files and stores them in the tmp folder.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">89</context>
</context-group>
<target>Generates thumbnails from all media files and stores them in the tmp folder.</target>
</trans-unit>
<trans-unit id="6374721327915016061" datatype="html">
<source>Generates high res photos from all media files and stores them in the tmp folder.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">91</context>
</context-group>
<target>Generates high res photos from all media files and stores them in the tmp folder.</target>
</trans-unit>
<trans-unit id="681839472013852986" datatype="html">
<source>Transcodes all videos and stores them in the tmp folder.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">93</context>
</context-group>
<target>Transcodes all videos and stores them in the tmp folder.</target>
</trans-unit>
<trans-unit id="2403828565802891849" datatype="html">
<source>Removes unnecessary files from the tmp folder.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">95</context>
</context-group>
<target>Removes unnecessary files from the tmp folder.</target>
</trans-unit>
<trans-unit id="1886565118515809311" datatype="html">
<source>Updates the cover photo of all albums (both directories and saved searches) and faces.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">97</context>
</context-group>
<target>Updates the cover photo of all albums (both directories and saved searches) and faces.</target>
</trans-unit>
<trans-unit id="4106034977348030939" datatype="html">
<source>Deletes the cover photo of all albums and faces</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">99</context>
</context-group>
<target>Deletes the cover photo of all albums and faces</target>
</trans-unit>
<trans-unit id="32946664903270658" datatype="html">
<source>Compresses all gpx files</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">101</context>
</context-group>
<target>Compresses all gpx files</target>
</trans-unit>
<trans-unit id="4490323950044057611" datatype="html">
<source>Deletes all compressed GPX files</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">103</context>
</context-group>
<target>Deletes all compressed GPX files</target>
</trans-unit>
<trans-unit id="4246926023108353911" datatype="html">
<source>Gets the top photos of the selected search queries and sends them over email. You need to set up the SMTP server connection to send e-mails.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/backendtext.service.ts</context>
<context context-type="linenumber">105</context>
</context-group>
<target>Gets the top photos of the selected search queries and sends them over email. You need to set up the SMTP server connection to send e-mails.</target>
</trans-unit>
<trans-unit id="1677142486230902467" datatype="html">
<source>Server error</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/notification.service.ts</context>
<context context-type="linenumber">81</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/notification.service.ts</context>
<context context-type="linenumber">84</context>
</context-group>
<target>Server error</target>
</trans-unit>
<trans-unit id="2642163697922706049" datatype="html">
<source>Server info</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/model/notification.service.ts</context>
<context context-type="linenumber">87</context>
</context-group>
<target>Server info</target>
</trans-unit>
<trans-unit id="8398233202919865612" datatype="html">
<source>h</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/pipes/DurationPipe.ts</context>
<context context-type="linenumber">20</context>
</context-group>
<note priority="1" from="description">hour</note>
<target>h</target>
</trans-unit>
<trans-unit id="8033953731717586115" datatype="html">
<source>m</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/pipes/DurationPipe.ts</context>
<context context-type="linenumber">23</context>
</context-group>
<note priority="1" from="description">minute</note>
<target>m</target>
</trans-unit>
<trans-unit id="2155832126259145609" datatype="html">
<source>s</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/pipes/DurationPipe.ts</context>
<context context-type="linenumber">26</context>
</context-group>
<note priority="1" from="description">second</note>
<target>s</target>
</trans-unit>
<trans-unit id="4513704550431982162" datatype="html">
<source>Developer</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">20</context>
</context-group>
<target>Developer</target>
</trans-unit>
<trans-unit id="5041354590769758251" datatype="html">
<source>Admin</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">21</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/admin/admin.component.ts</context>
<context context-type="linenumber">59</context>
</context-group>
<target>Admin</target>
</trans-unit>
<trans-unit id="268369328039605234" datatype="html">
<source>Guest</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">23</context>
</context-group>
<target>Guest</target>
</trans-unit>
<trans-unit id="805152477619072259" datatype="html">
<source>LimitedGuest</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">24</context>
</context-group>
<target>LimitedGuest</target>
</trans-unit>
<trans-unit id="8643289769990675407" datatype="html">
<source>Basic</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">27</context>
</context-group>
<target>Basic</target>
</trans-unit>
<trans-unit id="6201638315245239510" datatype="html">
<source>Advanced</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">28</context>
</context-group>
<target>Advanced</target>
</trans-unit>
<trans-unit id="7323232063800300323" datatype="html">
<source>Under the hood</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">29</context>
</context-group>
<target>Under the hood</target>
</trans-unit>
<trans-unit id="9212449559226155586" datatype="html">
<source>Always</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">31</context>
</context-group>
<target>Always</target>
</trans-unit>
<trans-unit id="221578388510207648" datatype="html">
<source>Mobile only</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">32</context>
</context-group>
<target>Mobile only</target>
</trans-unit>
<trans-unit id="8372007266188249803" datatype="html">
<source>Never</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">33</context>
</context-group>
<target>Never</target>
</trans-unit>
<trans-unit id="1920513678812261969" datatype="html">
<source>Full</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">35</context>
</context-group>
<target>Full</target>
</trans-unit>
<trans-unit id="4046649033157042513" datatype="html">
<source>Compact</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">36</context>
</context-group>
<target>Compact</target>
</trans-unit>
<trans-unit id="7590013429208346303" datatype="html">
<source>Custom</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">38</context>
</context-group>
<target>Custom</target>
</trans-unit>
<trans-unit id="113099127945736504" datatype="html">
<source>OpenStreetMap</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">39</context>
</context-group>
<target>OpenStreetMap</target>
</trans-unit>
<trans-unit id="441839877284474887" datatype="html">
<source>Mapbox</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">40</context>
</context-group>
<target>Mapbox</target>
</trans-unit>
<trans-unit id="4101442988100757762" datatype="html">
<source>never</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">43</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">18</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.ts</context>
<context context-type="linenumber">79</context>
</context-group>
<target>never</target>
</trans-unit>
<trans-unit id="7897565236366850950" datatype="html">
<source>low</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">44</context>
</context-group>
<target>low</target>
</trans-unit>
<trans-unit id="2602838849414645735" datatype="html">
<source>high</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">45</context>
</context-group>
<target>high</target>
</trans-unit>
<trans-unit id="4688460977394283086" datatype="html">
<source>medium</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">46</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">61</context>
</context-group>
<target>medium</target>
</trans-unit>
<trans-unit id="3938396793871184620" datatype="html">
<source>date</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">49</context>
</context-group>
<target>date</target>
</trans-unit>
<trans-unit id="3325180562659478330" datatype="html">
<source>name</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">50</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">108</context>
</context-group>
<target>name</target>
</trans-unit>
<trans-unit id="8415080222848862490" datatype="html">
<source>rating</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">51</context>
</context-group>
<target>rating</target>
</trans-unit>
<trans-unit id="8893285757291009420" datatype="html">
<source>random</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">52</context>
</context-group>
<target>random</target>
</trans-unit>
<trans-unit id="8056126739851189826" datatype="html">
<source>faces</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">53</context>
</context-group>
<target>faces</target>
</trans-unit>
<trans-unit id="2999337676190296805" datatype="html">
<source>file size</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">54</context>
</context-group>
<target>file size</target>
</trans-unit>
<trans-unit id="2838693330548032903" datatype="html">
<source>don't group</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">56</context>
</context-group>
<target>don't group</target>
</trans-unit>
<trans-unit id="4044854304763114941" datatype="html">
<source>extra small</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">59</context>
</context-group>
<target>extra small</target>
</trans-unit>
<trans-unit id="704865667518683453" datatype="html">
<source>small</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">60</context>
</context-group>
<target>small</target>
</trans-unit>
<trans-unit id="2765721507544664929" datatype="html">
<source>big</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">62</context>
</context-group>
<target>big</target>
</trans-unit>
<trans-unit id="782745584760781543" datatype="html">
<source>extra large</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">63</context>
</context-group>
<target>extra large</target>
</trans-unit>
<trans-unit id="5043933900720743682" datatype="html">
<source>Albums</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">68</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/albums/albums.component.ts</context>
<context context-type="linenumber">34</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">17</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">118</context>
</context-group>
<target>Albums</target>
</trans-unit>
<trans-unit id="188313477943387511" datatype="html">
<source>And</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">72</context>
</context-group>
<target>And</target>
</trans-unit>
<trans-unit id="5504129468136884250" datatype="html">
<source>Or</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">73</context>
</context-group>
<target>Or</target>
</trans-unit>
<trans-unit id="3114268147592827952" datatype="html">
<source>Some of</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">74</context>
</context-group>
<target>Some of</target>
</trans-unit>
<trans-unit id="7166568209965309766" datatype="html">
<source>Any text</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">75</context>
</context-group>
<target>Any text</target>
</trans-unit>
<trans-unit id="5203279511751768967" datatype="html">
<source>From</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">76</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">117</context>
</context-group>
<target>From</target>
</trans-unit>
<trans-unit id="706270083777559326" datatype="html">
<source>Until</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">77</context>
</context-group>
<target>Until</target>
</trans-unit>
<trans-unit id="1779552786277618671" datatype="html">
<source>Distance</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">78</context>
</context-group>
<target>Distance</target>
</trans-unit>
<trans-unit id="157463387541377837" datatype="html">
<source>Min rating</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">79</context>
</context-group>
<target>Min rating</target>
</trans-unit>
<trans-unit id="8686048867619829717" datatype="html">
<source>Max rating</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">80</context>
</context-group>
<target>Max rating</target>
</trans-unit>
<trans-unit id="4492817943545541734" datatype="html">
<source>Min faces</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">81</context>
</context-group>
<target>Min faces</target>
</trans-unit>
<trans-unit id="142295387545931274" datatype="html">
<source>Max faces</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">82</context>
</context-group>
<target>Max faces</target>
</trans-unit>
<trans-unit id="2618179203175887603" datatype="html">
<source>Min resolution</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">83</context>
</context-group>
<target>Min resolution</target>
</trans-unit>
<trans-unit id="8281989101801179201" datatype="html">
<source>Max resolution</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">84</context>
</context-group>
<target>Max resolution</target>
</trans-unit>
<trans-unit id="5256256049865563765" datatype="html">
<source>Directory</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">85</context>
</context-group>
<target>Directory</target>
</trans-unit>
<trans-unit id="2300247576851644080" datatype="html">
<source>File name</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">86</context>
</context-group>
<target>File name</target>
</trans-unit>
<trans-unit id="6838559377527923778" datatype="html">
<source>Caption</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">87</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.service.ts</context>
<context context-type="linenumber">59</context>
</context-group>
<target>Caption</target>
</trans-unit>
<trans-unit id="642093017171576305" datatype="html">
<source>Orientation</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">88</context>
</context-group>
<target>Orientation</target>
</trans-unit>
<trans-unit id="3177862278657494562" datatype="html">
<source>Date pattern</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">89</context>
</context-group>
<target>Date pattern</target>
</trans-unit>
<trans-unit id="1172866303261737245" datatype="html">
<source>Position</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">90</context>
</context-group>
<target>Position</target>
</trans-unit>
<trans-unit id="4259420107141838090" datatype="html">
<source>Person</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">91</context>
</context-group>
<target>Person</target>
</trans-unit>
<trans-unit id="5206272431542421762" datatype="html">
<source>Keyword</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/EnumTranslations.ts</context>
<context context-type="linenumber">92</context>
</context-group>
<target>Keyword</target>
</trans-unit>
<trans-unit id="3443810994372262728" datatype="html">
<source>Server notifications</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/admin/admin.component.html</context>
<context context-type="linenumber">5</context>
</context-group>
<target>Server notifications</target>
</trans-unit>
<trans-unit id="881767691558053357" datatype="html">
<source> To dismiss these notifications, restart the server. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/admin/admin.component.html</context>
<context context-type="linenumber">23,24</context>
</context-group>
<target>To dismiss these notifications, restart the server.</target>
</trans-unit>
<trans-unit id="1768748035579543849" datatype="html">
<source>App version:</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/admin/admin.component.html</context>
<context context-type="linenumber">35</context>
</context-group>
<target>App version:</target>
</trans-unit>
<trans-unit id="3931464303130647899" datatype="html">
<source>Mode:</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/admin/admin.component.html</context>
<context context-type="linenumber">39</context>
</context-group>
<target>Mode:</target>
</trans-unit>
<trans-unit id="271318073764837543" datatype="html">
<source> Menu</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/admin/admin.component.html</context>
<context context-type="linenumber">86</context>
</context-group>
<note priority="1" from="description">title of left card in settings page that contains settings contents</note>
<target>Menu</target>
</trans-unit>
<trans-unit id="5052755121871408908" datatype="html">
<source>Up time</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/admin/admin.component.html</context>
<context context-type="linenumber">129</context>
</context-group>
<target>Up time</target>
</trans-unit>
<trans-unit id="714730744313654167" datatype="html">
<source>Application version</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/admin/admin.component.html</context>
<context context-type="linenumber">138</context>
</context-group>
<target>Application version</target>
</trans-unit>
<trans-unit id="4138612661014637777" datatype="html">
<source>Built at</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/admin/admin.component.html</context>
<context context-type="linenumber">141</context>
</context-group>
<target>Built at</target>
</trans-unit>
<trans-unit id="7076930552474914340" datatype="html">
<source>Git commit</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/admin/admin.component.html</context>
<context context-type="linenumber">145</context>
</context-group>
<target>Git commit</target>
</trans-unit>
<trans-unit id="7022070615528435141" datatype="html">
<source>Delete</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/albums/album/album.component.html</context>
<context context-type="linenumber">24</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">39</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">303</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">157</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/sharings-list/sharings-list.component.html</context>
<context context-type="linenumber">29</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">92</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">282</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">314</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">376</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">454</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">519</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">560</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">603</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/users/users.component.html</context>
<context context-type="linenumber">38</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">27</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">282</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">328</context>
</context-group>
<target>Delete</target>
</trans-unit>
<trans-unit id="3017479276216613525" datatype="html">
<source>Album is locked, cannot be deleted from the webpage.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/albums/album/album.component.html</context>
<context context-type="linenumber">29</context>
</context-group>
<target>Album is locked, cannot be deleted from the webpage.</target>
</trans-unit>
<trans-unit id="7786160088790041328" datatype="html">
<source>Add saved search</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/albums/albums.component.html</context>
<context context-type="linenumber">15</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/albums/albums.component.html</context>
<context context-type="linenumber">34</context>
</context-group>
<target>Adicionar busca salva</target>
</trans-unit>
<trans-unit id="3231059240281443547" datatype="html">
<source>No albums to show.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/albums/albums.component.html</context>
<context context-type="linenumber">23</context>
</context-group>
<target>No albums to show.</target>
</trans-unit>
<trans-unit id="3768927257183755959" datatype="html">
<source>Save</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/albums/albums.component.html</context>
<context context-type="linenumber">70</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/search.gallery.component.html</context>
<context context-type="linenumber">51</context>
</context-group>
<target>Save</target>
</trans-unit>
<trans-unit id="4531897455936063912" datatype="html">
<source>To .pg2conf</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/albums/saved-search-popup/saved-search-popup.component.html</context>
<context context-type="linenumber">4</context>
</context-group>
<target>To .pg2conf</target>
</trans-unit>
<trans-unit id="6733799876332344576" datatype="html">
<source>Saved Search to .saved_searches.pg2conf</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/albums/saved-search-popup/saved-search-popup.component.html</context>
<context context-type="linenumber">11</context>
</context-group>
<target>Saved Search to .saved_searches.pg2conf</target>
</trans-unit>
<trans-unit id="2861315058248271208" datatype="html">
<source>Add this json to a '.saved_searches.pg2conf' file in your gallery:</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/albums/saved-search-popup/saved-search-popup.component.html</context>
<context context-type="linenumber">16</context>
</context-group>
<target>Add this json to a '.saved_searches.pg2conf' file in your gallery:</target>
</trans-unit>
<trans-unit id="1692479277642537323" datatype="html">
<source>This saved search will be loaded from file during gallery indexing and it will survive a database reset.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/albums/saved-search-popup/saved-search-popup.component.html</context>
<context context-type="linenumber">18</context>
</context-group>
<target>This saved search will be loaded from file during gallery indexing and it will survive a database reset.</target>
</trans-unit>
<trans-unit id="2904029998096758375" datatype="html">
<source> No duplicates found </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/duplicates/duplicates.component.html</context>
<context context-type="linenumber">8,10</context>
</context-group>
<target>No duplicates found</target>
</trans-unit>
<trans-unit id="1262530507063329624" datatype="html">
<source>No faces to show.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/faces/faces.component.html</context>
<context context-type="linenumber">16</context>
</context-group>
<target>No faces to show.</target>
</trans-unit>
<trans-unit id="413116577994876478" datatype="html">
<source>Light</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">97</context>
</context-group>
<target>Light</target>
</trans-unit>
<trans-unit id="3892161059518616136" datatype="html">
<source>Dark</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">101</context>
</context-group>
<target>Dark</target>
</trans-unit>
<trans-unit id="616064537937996961" datatype="html">
<source>Auto</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">106</context>
</context-group>
<target>Auto</target>
</trans-unit>
<trans-unit id="1684734235599362204" datatype="html">
<source>Tools</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">156</context>
</context-group>
<target>Tools</target>
</trans-unit>
<trans-unit id="7990544842257386570" datatype="html">
<source>key: c</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">169</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">66</context>
</context-group>
<target>key: c</target>
</trans-unit>
<trans-unit id="2897959497810772660" datatype="html">
<source>Fix navbar</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">169</context>
</context-group>
<target>Fix navbar</target>
</trans-unit>
<trans-unit id="4930506384627295710" datatype="html">
<source>Settings</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">187</context>
</context-group>
<target>Settings</target>
</trans-unit>
<trans-unit id="3797778920049399855" datatype="html">
<source>Logout</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/frame/frame.component.html</context>
<context context-type="linenumber">193</context>
</context-group>
<target>Logout</target>
</trans-unit>
<trans-unit id="665354434676729572" datatype="html">
<source>Cannot find location</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/contentLoader.service.ts</context>
<context context-type="linenumber">119</context>
</context-group>
<target>Cannot find location</target>
</trans-unit>
<trans-unit id="7436975022198908854" datatype="html">
<source>Unknown server error</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/contentLoader.service.ts</context>
<context context-type="linenumber">121</context>
</context-group>
<target>Unknown server error</target>
</trans-unit>
<trans-unit id="1146494050504614738" datatype="html">
<source>Select only this</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.gallery.component.html</context>
<context context-type="linenumber">109</context>
</context-group>
<target>Select only this</target>
</trans-unit>
<trans-unit id="1046995673577274517" datatype="html">
<source>Nothing to filter</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.gallery.component.html</context>
<context context-type="linenumber">120</context>
</context-group>
<target>Nothing to filter</target>
</trans-unit>
<trans-unit id="7808756054397155068" datatype="html">
<source>Reset</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.gallery.component.html</context>
<context context-type="linenumber">126</context>
</context-group>
<target>Reset</target>
</trans-unit>
<trans-unit id="4097761430561209267" datatype="html">
<source>unknown</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.gallery.component.ts</context>
<context context-type="linenumber">20</context>
</context-group>
<target>unknown</target>
</trans-unit>
<trans-unit id="1604795977599078115" datatype="html">
<source>Keywords</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.service.ts</context>
<context context-type="linenumber">34</context>
</context-group>
<target>Keywords</target>
</trans-unit>
<trans-unit id="2519596434061402334" datatype="html">
<source>no face</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.service.ts</context>
<context context-type="linenumber">44</context>
</context-group>
<target>no face</target>
</trans-unit>
<trans-unit id="6424207774190031517" datatype="html">
<source>Faces groups</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.service.ts</context>
<context context-type="linenumber">49</context>
</context-group>
<target>Faces groups</target>
</trans-unit>
<trans-unit id="3706222784708785028" datatype="html">
<source>Rating</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.service.ts</context>
<context context-type="linenumber">64</context>
</context-group>
<target>Rating</target>
</trans-unit>
<trans-unit id="5087678602655068553" datatype="html">
<source>Camera</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.service.ts</context>
<context context-type="linenumber">69</context>
</context-group>
<target>Camera</target>
</trans-unit>
<trans-unit id="6950975828565350688" datatype="html">
<source>Lens</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.service.ts</context>
<context context-type="linenumber">74</context>
</context-group>
<target>Lens</target>
</trans-unit>
<trans-unit id="2314075913167237221" datatype="html">
<source>City</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.service.ts</context>
<context context-type="linenumber">79</context>
</context-group>
<target>City</target>
</trans-unit>
<trans-unit id="5911214550882917183" datatype="html">
<source>State</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.service.ts</context>
<context context-type="linenumber">84</context>
</context-group>
<target>State</target>
</trans-unit>
<trans-unit id="516176798986294299" datatype="html">
<source>Country</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/filter/filter.service.ts</context>
<context context-type="linenumber">89</context>
</context-group>
<target>Country</target>
</trans-unit>
<trans-unit id="2817799343282769458" datatype="html">
<source>Link availability</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/gallery.component.html</context>
<context context-type="linenumber">7</context>
</context-group>
<target>Link availability</target>
</trans-unit>
<trans-unit id="7036284206110282007" datatype="html">
<source>days</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/gallery.component.html</context>
<context context-type="linenumber">9</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">264</context>
</context-group>
<target>days</target>
</trans-unit>
<trans-unit id="1018831956200649278" datatype="html">
<source> Too many results to show. Refine your search. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/gallery.component.html</context>
<context context-type="linenumber">35,36</context>
</context-group>
<target>Too many results to show. Refine your search.</target>
</trans-unit>
<trans-unit id="5920553521143471222" datatype="html">
<source>info key: i</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">10</context>
</context-group>
<target>info key: i</target>
</trans-unit>
<trans-unit id="4199727168861044300" datatype="html">
<source>toggle fullscreen, key: f</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">17</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">25</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html</context>
<context context-type="linenumber">26</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html</context>
<context context-type="linenumber">33</context>
</context-group>
<target>toggle fullscreen, key: f</target>
</trans-unit>
<trans-unit id="3099741642167775297" datatype="html">
<source>Download</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">45</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">46</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">54</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">32</context>
</context-group>
<target>Download</target>
</trans-unit>
<trans-unit id="6639312389704540885" datatype="html">
<source>Slideshow playback speed</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">55</context>
</context-group>
<target>Slideshow playback speed</target>
</trans-unit>
<trans-unit id="6561811782994945096" datatype="html">
<source>Slideshow speed:</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">55</context>
</context-group>
<target>Slideshow speed:</target>
</trans-unit>
<trans-unit id="3118381885529786097" datatype="html">
<source>key: a</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">79</context>
</context-group>
<target>key: a</target>
</trans-unit>
<trans-unit id="3853005186637856594" datatype="html">
<source>key: l</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">94</context>
</context-group>
<target>key: l</target>
</trans-unit>
<trans-unit id="1289596067609871549" datatype="html">
<source>Loop videos</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">94</context>
</context-group>
<target>Loop videos</target>
</trans-unit>
<trans-unit id="6587606691006859224" datatype="html">
<source>close, key: Escape</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">111</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/map/lightbox/lightbox.map.gallery.component.html</context>
<context context-type="linenumber">37</context>
</context-group>
<target>close, key: Escape</target>
</trans-unit>
<trans-unit id="4866232808329812257" datatype="html">
<source>key: left arrow</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">169</context>
</context-group>
<target>key: left arrow</target>
</trans-unit>
<trans-unit id="5015670487371268284" datatype="html">
<source>key: right arrow</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">174</context>
</context-group>
<target>key: right arrow</target>
</trans-unit>
<trans-unit id="2952982394711430494" datatype="html">
<source>Zoom out, key: '-'</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">186</context>
</context-group>
<target>Zoom out, key: '-'</target>
</trans-unit>
<trans-unit id="5841975167410475386" datatype="html">
<source>Zoom in, key: '+'</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">193</context>
</context-group>
<target>Zoom in, key: '+'</target>
</trans-unit>
<trans-unit id="9042260521669277115" datatype="html">
<source>Pause</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">206</context>
</context-group>
<target>Pause</target>
</trans-unit>
<trans-unit id="8597427582603336662" datatype="html">
<source>Auto play</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.html</context>
<context context-type="linenumber">213</context>
</context-group>
<target>Auto play</target>
</trans-unit>
<trans-unit id="314315645942131479" datatype="html">
<source>Info</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.html</context>
<context context-type="linenumber">3</context>
</context-group>
<target>Info</target>
</trans-unit>
<trans-unit id="5602245631444655788" datatype="html">
<source>duration</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.html</context>
<context context-type="linenumber">61</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.html</context>
<context context-type="linenumber">46</context>
</context-group>
<target>duration</target>
</trans-unit>
<trans-unit id="593870536587305607" datatype="html">
<source>bit rate</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.html</context>
<context context-type="linenumber">67</context>
</context-group>
<target>bit rate</target>
</trans-unit>
<trans-unit id="2821179408673282599" datatype="html">
<source>Home</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.ts</context>
<context context-type="linenumber">70</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.ts</context>
<context context-type="linenumber">64</context>
</context-group>
<target>Home</target>
</trans-unit>
<trans-unit id="5294987439623514854" datatype="html">
<source>Error during loading the video.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/lightbox.gallery.component.html</context>
<context context-type="linenumber">21</context>
</context-group>
<target>Error during loading the video.</target>
</trans-unit>
<trans-unit id="7778584211809714680" datatype="html">
<source> Most likely the video is not transcoded. It can be done in the settings. You need to transcode these videos to watch them online: </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/lightbox/lightbox.gallery.component.html</context>
<context context-type="linenumber">23,27</context>
</context-group>
<target>Most likely the video is not transcoded. It can be done in the settings. You need to transcode these videos to watch them online:</target>
</trans-unit>
<trans-unit id="3681011128402308176" datatype="html">
<source>Sport</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/map/lightbox/lightbox.map.gallery.component.ts</context>
<context context-type="linenumber">176</context>
</context-group>
<target>Sport</target>
</trans-unit>
<trans-unit id="1415537753700024352" datatype="html">
<source>Transportation</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/map/lightbox/lightbox.map.gallery.component.ts</context>
<context context-type="linenumber">179</context>
</context-group>
<target>Transportation</target>
</trans-unit>
<trans-unit id="7953475258022164347" datatype="html">
<source>Other paths</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/map/lightbox/lightbox.map.gallery.component.ts</context>
<context context-type="linenumber">182</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/map/lightbox/lightbox.map.gallery.component.ts</context>
<context context-type="linenumber">205</context>
</context-group>
<target>Other paths</target>
</trans-unit>
<trans-unit id="8314090883669143391" datatype="html">
<source>Latitude</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/map/lightbox/lightbox.map.gallery.component.ts</context>
<context context-type="linenumber">675</context>
</context-group>
<target>Latitude</target>
</trans-unit>
<trans-unit id="2703718513716530782" datatype="html">
<source>longitude</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/map/lightbox/lightbox.map.gallery.component.ts</context>
<context context-type="linenumber">675</context>
</context-group>
<target>longitude</target>
</trans-unit>
<trans-unit id="6560708001470959956" datatype="html">
<source>street</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/map/map.service.ts</context>
<context context-type="linenumber">23</context>
</context-group>
<target>street</target>
</trans-unit>
<trans-unit id="5616490555226013552" datatype="html">
<source>satellite</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/map/map.service.ts</context>
<context context-type="linenumber">30</context>
</context-group>
<target>satellite</target>
</trans-unit>
<trans-unit id="3574756324609227822" datatype="html">
<source>hybrid</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/map/map.service.ts</context>
<context context-type="linenumber">37</context>
</context-group>
<target>hybrid</target>
</trans-unit>
<trans-unit id="8262108640078645269" datatype="html">
<source>dark</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/map/map.service.ts</context>
<context context-type="linenumber">44</context>
</context-group>
<target>dark</target>
</trans-unit>
<trans-unit id="7909798112576642157" datatype="html">
<source>Searching for:</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">15</context>
</context-group>
<target>Searching for:</target>
</trans-unit>
<trans-unit id="413346167952108153" datatype="html">
<source>items</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">24</context>
</context-group>
<target>items</target>
</trans-unit>
<trans-unit id="5686806460713319354" datatype="html">
<source>Show all subdirectories</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">42</context>
</context-group>
<target>Show all subdirectories</target>
</trans-unit>
<trans-unit id="4163272119298020373" datatype="html">
<source>Filters</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">52</context>
</context-group>
<target>Filters</target>
</trans-unit>
<trans-unit id="4124492018839258838" datatype="html">
<source>Sort and group</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">58</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/sorting-method/sorting-method.settings-entry.component.html</context>
<context context-type="linenumber">3</context>
</context-group>
<target>Sort and group</target>
</trans-unit>
<trans-unit id="2317496634288800773" datatype="html">
<source> group </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">75,76</context>
</context-group>
<target>group</target>
</trans-unit>
<trans-unit id="2774613742044941352" datatype="html">
<source>Sorting</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">83</context>
</context-group>
<target>Sorting</target>
</trans-unit>
<trans-unit id="7266946560591201477" datatype="html">
<source>Grouping follows sorting</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">88</context>
</context-group>
<target>Grouping follows sorting</target>
</trans-unit>
<trans-unit id="8007904845243402148" datatype="html">
<source>ascending</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">113</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">148</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/sorting-method/sorting-method.settings-entry.component.html</context>
<context context-type="linenumber">32</context>
</context-group>
<target>ascending</target>
</trans-unit>
<trans-unit id="8583825692753174768" datatype="html">
<source>descending</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">122</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">156</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/sorting-method/sorting-method.settings-entry.component.html</context>
<context context-type="linenumber">41</context>
</context-group>
<target>descending</target>
</trans-unit>
<trans-unit id="877780134171662191" datatype="html">
<source>Grouping</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">128</context>
</context-group>
<target>Grouping</target>
</trans-unit>
<trans-unit id="53284904959011055" datatype="html">
<source>Grid size</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">166</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html</context>
<context context-type="linenumber">176</context>
</context-group>
<target>Grid size</target>
</trans-unit>
<trans-unit id="7241451058585494578" datatype="html">
<source>key: alt + up</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/navigator/navigator.gallery.component.ts</context>
<context context-type="linenumber">123</context>
</context-group>
<target>key: alt + up</target>
</trans-unit>
<trans-unit id="3445823735428564189" datatype="html">
<source>Random link</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/random-query-builder/random-query-builder.gallery.component.html</context>
<context context-type="linenumber">3</context>
</context-group>
<target>Random link</target>
</trans-unit>
<trans-unit id="6692759234829188012" datatype="html">
<source>Random Link creator</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/random-query-builder/random-query-builder.gallery.component.html</context>
<context context-type="linenumber">10</context>
</context-group>
<target>Random Link creator</target>
</trans-unit>
<trans-unit id="5351591262168826856" datatype="html">
<source>Copy </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/random-query-builder/random-query-builder.gallery.component.html</context>
<context context-type="linenumber">28,29</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">50</context>
</context-group>
<target>Copy</target>
</trans-unit>
<trans-unit id="8681331350836567926" datatype="html">
<source>Url has been copied to clipboard</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/random-query-builder/random-query-builder.gallery.component.ts</context>
<context context-type="linenumber">100</context>
</context-group>
<target>Url has been copied to clipboard</target>
</trans-unit>
<trans-unit id="8291852809381837252" datatype="html">
<source>At least this many</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">16</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">22</context>
</context-group>
<target>At least this many</target>
</trans-unit>
<trans-unit id="3249513483374643425" datatype="html">
<source>Add</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">54</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">55</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">530</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">573</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">616</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">292</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">341</context>
</context-group>
<target>Add</target>
</trans-unit>
<trans-unit id="7051066787135970070" datatype="html">
<source>Negate</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">75</context>
</context-group>
<target>Negate</target>
</trans-unit>
<trans-unit id="3548274206254483489" datatype="html">
<source>Search text</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">88</context>
</context-group>
<target>Search text</target>
</trans-unit>
<trans-unit id="5027564160787173789" datatype="html">
<source>From date</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">132</context>
</context-group>
<target>From date</target>
</trans-unit>
<trans-unit id="1701167908768267527" datatype="html">
<source>To date</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">144</context>
</context-group>
<target>To date</target>
</trans-unit>
<trans-unit id="7832159846251736760" datatype="html">
<source>Minimum Rating</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">155</context>
</context-group>
<target>Minimum Rating</target>
</trans-unit>
<trans-unit id="3363276748319081476" datatype="html">
<source>Maximum Rating</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">168</context>
</context-group>
<target>Maximum Rating</target>
</trans-unit>
<trans-unit id="7157228609458530930" datatype="html">
<source>Minimum Person count</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">181</context>
</context-group>
<target>Minimum Person count</target>
</trans-unit>
<trans-unit id="5965220081582142268" datatype="html">
<source>Maximum Person count</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">194</context>
</context-group>
<target>Maximum Person count</target>
</trans-unit>
<trans-unit id="1362128514258619168" datatype="html">
<source>Minimum Resolution</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">208</context>
</context-group>
<target>Minimum Resolution</target>
</trans-unit>
<trans-unit id="6524138748702944953" datatype="html">
<source>Maximum Resolution</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">224</context>
</context-group>
<target>Maximum Resolution</target>
</trans-unit>
<trans-unit id="1403507799985368460" datatype="html">
<source>Landscape</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">244</context>
</context-group>
<target>Landscape</target>
</trans-unit>
<trans-unit id="9024440163320108713" datatype="html">
<source>Portrait</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">245</context>
</context-group>
<target>Portrait</target>
</trans-unit>
<trans-unit id="4882268002141858767" datatype="html">
<source>Last</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">253</context>
</context-group>
<target>Last</target>
</trans-unit>
<trans-unit id="2317694455251704278" datatype="html">
<source>Last N Days</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">256</context>
</context-group>
<target>Last N Days</target>
</trans-unit>
<trans-unit id="1841001414805444530" datatype="html">
<source>Ago</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">272</context>
</context-group>
<target>Ago</target>
</trans-unit>
<trans-unit id="7267191671332895261" datatype="html">
<source>Day(s) ago</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">287</context>
</context-group>
<target>Day(s) ago</target>
</trans-unit>
<trans-unit id="6246978557266811210" datatype="html">
<source>Week(s) ago</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">288</context>
</context-group>
<target>Week(s) ago</target>
</trans-unit>
<trans-unit id="5214793274172992989" datatype="html">
<source>Month(s) ago</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">289</context>
</context-group>
<target>Month(s) ago</target>
</trans-unit>
<trans-unit id="8760070733234838765" datatype="html">
<source>Year(s) ago</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">290</context>
</context-group>
<target>Year(s) ago</target>
</trans-unit>
<trans-unit id="548935897521348324" datatype="html">
<source>Every week</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">291</context>
</context-group>
<target>Every week</target>
</trans-unit>
<trans-unit id="123874585581109714" datatype="html">
<source>Every Month</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">292</context>
</context-group>
<target>Every Month</target>
</trans-unit>
<trans-unit id="1723692577259921020" datatype="html">
<source>Every year</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.html</context>
<context context-type="linenumber">293</context>
</context-group>
<target>Every year</target>
</trans-unit>
<trans-unit id="3200342440195656274" datatype="html">
<source>Insert</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/search-field-base/search-field-base.gallery.component.html</context>
<context context-type="linenumber">51,50</context>
</context-group>
<target>Insert</target>
</trans-unit>
<trans-unit id="5466947574428856253" datatype="html">
<source>Save search to album</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/search.gallery.component.html</context>
<context context-type="linenumber">67</context>
</context-group>
<target>Save search to album</target>
</trans-unit>
<trans-unit id="8002146750272130034" datatype="html">
<source>Album name</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/search.gallery.component.html</context>
<context context-type="linenumber">76</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/search.gallery.component.html</context>
<context context-type="linenumber">80</context>
</context-group>
<target>Album name</target>
</trans-unit>
<trans-unit id="4606777540690493351" datatype="html">
<source>Save as album</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/search/search.gallery.component.html</context>
<context context-type="linenumber">98</context>
</context-group>
<target>Save as album</target>
</trans-unit>
<trans-unit id="7419704019640008953" datatype="html">
<source>Share</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">6</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">11</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">17</context>
</context-group>
<target>Share</target>
</trans-unit>
<trans-unit id="4197988031879614135" datatype="html">
<source>Share </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">41</context>
</context-group>
<target>Share</target>
</trans-unit>
<trans-unit id="7682626963030103121" datatype="html">
<source>Sharing:</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">56</context>
</context-group>
<target>Sharing:</target>
</trans-unit>
<trans-unit id="106602772352937359" datatype="html">
<source>Include subfolders:</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">69</context>
</context-group>
<target>Include subfolders:</target>
</trans-unit>
<trans-unit id="3621339913652620986" datatype="html">
<source>Valid:</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">107</context>
</context-group>
<target>Valid:</target>
</trans-unit>
<trans-unit id="5531237363767747080" datatype="html">
<source>Minutes</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">120</context>
</context-group>
<target>Minutes</target>
</trans-unit>
<trans-unit id="8070396816726827304" datatype="html">
<source>Hours</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">121</context>
</context-group>
<target>Hours</target>
</trans-unit>
<trans-unit id="840951359074313455" datatype="html">
<source>Days</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">122</context>
</context-group>
<target>Days</target>
</trans-unit>
<trans-unit id="4845030128243887325" datatype="html">
<source>Months</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">123</context>
</context-group>
<target>Months</target>
</trans-unit>
<trans-unit id="233324084168950985" datatype="html">
<source>Forever</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">124</context>
</context-group>
<target>Forever</target>
</trans-unit>
<trans-unit id="6336910053127073373" datatype="html">
<source>active share(s) for this folder. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">135,136</context>
</context-group>
<target>active share(s) for this folder.</target>
</trans-unit>
<trans-unit id="1043390381565182083" datatype="html">
<source>Creator</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">143</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/sharings-list/sharings-list.component.html</context>
<context context-type="linenumber">16</context>
</context-group>
<target>Creator</target>
</trans-unit>
<trans-unit id="8037476586059399916" datatype="html">
<source>Expires</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.html</context>
<context context-type="linenumber">144</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/sharings-list/sharings-list.component.html</context>
<context context-type="linenumber">17</context>
</context-group>
<target>Expires</target>
</trans-unit>
<trans-unit id="1625809888219597132" datatype="html">
<source>Invalid settings</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.ts</context>
<context context-type="linenumber">43</context>
</context-group>
<target>Invalid settings</target>
</trans-unit>
<trans-unit id="2807800733729323332" datatype="html">
<source>Yes</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.ts</context>
<context context-type="linenumber">60</context>
</context-group>
<target>Yes</target>
</trans-unit>
<trans-unit id="3542042671420335679" datatype="html">
<source>No</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.ts</context>
<context context-type="linenumber">61</context>
</context-group>
<target>No</target>
</trans-unit>
<trans-unit id="765974048716015903" datatype="html">
<source>loading..</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.ts</context>
<context context-type="linenumber">127</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.ts</context>
<context context-type="linenumber">142</context>
</context-group>
<target>loading..</target>
</trans-unit>
<trans-unit id="4229383470843970064" datatype="html">
<source>Click share to get a link.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.ts</context>
<context context-type="linenumber">154</context>
</context-group>
<target>Click share to get a link.</target>
</trans-unit>
<trans-unit id="5217966104824748038" datatype="html">
<source>Sharing link has been copied to clipboard</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/gallery/share/share.gallery.component.ts</context>
<context context-type="linenumber">165</context>
</context-group>
<target>Sharing link has been copied to clipboard</target>
</trans-unit>
<trans-unit id="1692815930495952260" datatype="html">
<source>Please log in</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/login/login.component.html</context>
<context context-type="linenumber">12</context>
</context-group>
<target>Please log in</target>
</trans-unit>
<trans-unit id="1023046241952262024" datatype="html">
<source> Wrong username or password </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/login/login.component.html</context>
<context context-type="linenumber">15,16</context>
</context-group>
<target>Wrong username or password</target>
</trans-unit>
<trans-unit id="931252989873527145" datatype="html">
<source>Remember me</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/login/login.component.html</context>
<context context-type="linenumber">49</context>
</context-group>
<target>Remember me</target>
</trans-unit>
<trans-unit id="5173115640670709698" datatype="html">
<source>Login </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/login/login.component.html</context>
<context context-type="linenumber">58</context>
</context-group>
<target>Login</target>
</trans-unit>
<trans-unit id="3466167636009088678" datatype="html">
<source> Statistic: </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/gallery-statistic/gallery-statistic.component.html</context>
<context context-type="linenumber">2,4</context>
</context-group>
<target>Statistic:</target>
</trans-unit>
<trans-unit id="1205037876874222931" datatype="html">
<source>Folders</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/gallery-statistic/gallery-statistic.component.html</context>
<context context-type="linenumber">6</context>
</context-group>
<target>Folders</target>
</trans-unit>
<trans-unit id="8405309693308875139" datatype="html">
<source>Photos</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/gallery-statistic/gallery-statistic.component.html</context>
<context context-type="linenumber">10</context>
</context-group>
<target>Photos</target>
</trans-unit>
<trans-unit id="8936704404804793618" datatype="html">
<source>Videos</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/gallery-statistic/gallery-statistic.component.html</context>
<context context-type="linenumber">14</context>
</context-group>
<target>Videos</target>
</trans-unit>
<trans-unit id="258586247001688466" datatype="html">
<source>Persons</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/gallery-statistic/gallery-statistic.component.html</context>
<context context-type="linenumber">19</context>
</context-group>
<target>Persons</target>
</trans-unit>
<trans-unit id="45739481977493163" datatype="html">
<source>Size</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/gallery-statistic/gallery-statistic.component.html</context>
<context context-type="linenumber">23</context>
</context-group>
<target>Size</target>
</trans-unit>
<trans-unit id="6211757133507101662" datatype="html">
<source>Job failed</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/scheduled-jobs.service.ts</context>
<context context-type="linenumber">129</context>
</context-group>
<target>Job failed</target>
</trans-unit>
<trans-unit id="7393380261620707212" datatype="html">
<source>Job finished</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/scheduled-jobs.service.ts</context>
<context context-type="linenumber">135</context>
</context-group>
<target>Job finished</target>
</trans-unit>
<trans-unit id="2608815712321922387" datatype="html">
<source>Active shares</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/sharings-list/sharings-list.component.html</context>
<context context-type="linenumber">4</context>
</context-group>
<target>Active shares</target>
</trans-unit>
<trans-unit id="2176659033176029418" datatype="html">
<source>Key</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/sharings-list/sharings-list.component.html</context>
<context context-type="linenumber">14</context>
</context-group>
<target>Key</target>
</trans-unit>
<trans-unit id="7046259383943324039" datatype="html">
<source>Folder</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/sharings-list/sharings-list.component.html</context>
<context context-type="linenumber">15</context>
</context-group>
<target>Folder</target>
</trans-unit>
<trans-unit id="4938468904180779002" datatype="html">
<source> No sharing was created. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/sharings-list/sharings-list.component.html</context>
<context context-type="linenumber">39,40</context>
</context-group>
<target>No sharing was created.</target>
</trans-unit>
<trans-unit id="5253186130625984783" datatype="html">
<source> It seems that you are running the application in a Docker container. This setting should not be changed in docker. Make sure, that you know what you are doing.
</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">1,5</context>
</context-group>
<target>It seems that you are running the application in a Docker container. This setting should not be changed in docker. Make sure, that you know what you are doing.</target>
</trans-unit>
<trans-unit id="4948407374074297419" datatype="html">
<source>Add new</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">87</context>
</context-group>
<target>Add new</target>
</trans-unit>
<trans-unit id="5014150909482122080" datatype="html">
<source>Add new theme</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">97</context>
</context-group>
<target>Add new theme</target>
</trans-unit>
<trans-unit id="4131271480390950600" datatype="html">
<source>Theme name</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">104</context>
</context-group>
<target>Theme name</target>
</trans-unit>
<trans-unit id="8589439542246737000" datatype="html">
<source>Add new Theme</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">124</context>
</context-group>
<target>Add new Theme</target>
</trans-unit>
<trans-unit id="3074987902485823708" datatype="html">
<source>Icon</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">192</context>
</context-group>
<target>Icon</target>
</trans-unit>
<trans-unit id="7382005450112017816" datatype="html">
<source>Load from SVG file</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">212</context>
</context-group>
<target>Load from SVG file</target>
</trans-unit>
<trans-unit id="2995318609110293026" datatype="html">
<source>To auto load these values from file: pick an SVG file with a single 'path'. You can use e.g: path_to_url </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">218,220</context>
</context-group>
<target>To auto load these values from file: pick an SVG file with a single 'path'. You can use e.g: path_to_url
</trans-unit>
<trans-unit id="2448998566468414760" datatype="html">
<source>Save & Close</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">247</context>
</context-group>
<target>Save & Close</target>
</trans-unit>
<trans-unit id="3853557835274460749" datatype="html">
<source>Tile Url*</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">261</context>
</context-group>
<target>Tile Url*</target>
</trans-unit>
<trans-unit id="2119806575622481064" datatype="html">
<source>Add Layer</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">292</context>
</context-group>
<target>Add Layer</target>
</trans-unit>
<trans-unit id="7045831295346420833" datatype="html">
<source>Add matcher</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">353</context>
</context-group>
<target>Add matcher</target>
</trans-unit>
<trans-unit id="8941069064218228603" datatype="html">
<source>Add path theme group</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">399</context>
</context-group>
<target>Add path theme group</target>
</trans-unit>
<trans-unit id="3138682220834083018" datatype="html">
<source>Add Link</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">464</context>
</context-group>
<target>Add Link</target>
</trans-unit>
<trans-unit id="6160336790605687552" datatype="html">
<source>Experimental</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">636</context>
</context-group>
<target>Experimental</target>
</trans-unit>
<trans-unit id="9041159334935490874" datatype="html">
<source>';' separated list.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">639</context>
</context-group>
<target>';' separated list.</target>
</trans-unit>
<trans-unit id="6594334664356245979" datatype="html">
<source>See</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">642</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/template.component.html</context>
<context context-type="linenumber">78</context>
</context-group>
<target>See</target>
</trans-unit>
<trans-unit id="174687433494549208" datatype="html">
<source>Reset database after changing this settings!</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">647</context>
</context-group>
<target>Reset database after changing this settings!</target>
</trans-unit>
<trans-unit id="568052795765814866" datatype="html">
<source>Restart server after changing this settings!</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.html</context>
<context context-type="linenumber">652</context>
</context-group>
<target>Restart server after changing this settings!</target>
</trans-unit>
<trans-unit id="6855462350544488601" datatype="html">
<source>default</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.ts</context>
<context context-type="linenumber">195</context>
</context-group>
<target>default</target>
</trans-unit>
<trans-unit id="3279583516959443817" datatype="html">
<source>readonly</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.ts</context>
<context context-type="linenumber">270</context>
</context-group>
<target>readonly</target>
</trans-unit>
<trans-unit id="2331083694651605942" datatype="html">
<source>default value</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/settings-entry/settings-entry.component.ts</context>
<context context-type="linenumber">272</context>
</context-group>
<target>default value</target>
</trans-unit>
<trans-unit id="3574891459850265938" datatype="html">
<source>config is not supported with these settings.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/template.component.html</context>
<context context-type="linenumber">34</context>
</context-group>
<target>config is not supported with these settings.</target>
</trans-unit>
<trans-unit id="662506850593821474" datatype="html">
<source>Save </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/template.component.html</context>
<context context-type="linenumber">46</context>
</context-group>
<target>Save</target>
</trans-unit>
<trans-unit id="5562099532623028109" datatype="html">
<source>Reset </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/template.component.html</context>
<context context-type="linenumber">50</context>
</context-group>
<target>Reset</target>
</trans-unit>
<trans-unit id="1353646366342026793" datatype="html">
<source>settings saved</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/template.component.ts</context>
<context context-type="linenumber">287</context>
</context-group>
<target>settings saved</target>
</trans-unit>
<trans-unit id="4648900870671159218" datatype="html">
<source>Success</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/template/template.component.ts</context>
<context context-type="linenumber">288</context>
</context-group>
<target>Success</target>
</trans-unit>
<trans-unit id="199756697926372667" datatype="html">
<source>User list</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/users/users.component.html</context>
<context context-type="linenumber">4</context>
</context-group>
<target>User list</target>
</trans-unit>
<trans-unit id="5918723526444903137" datatype="html">
<source>Add user</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/users/users.component.html</context>
<context context-type="linenumber">48</context>
</context-group>
<target>Add user</target>
</trans-unit>
<trans-unit id="1996265061837601864" datatype="html">
<source>Add new User</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/users/users.component.html</context>
<context context-type="linenumber">58</context>
</context-group>
<target>Adicionar novo usurio</target>
</trans-unit>
<trans-unit id="7819314041543176992" datatype="html">
<source>Close</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/users/users.component.html</context>
<context context-type="linenumber">74</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">404</context>
</context-group>
<target>Close</target>
</trans-unit>
<trans-unit id="4032325907350308427" datatype="html">
<source>Add User </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/users/users.component.html</context>
<context context-type="linenumber">77,78</context>
</context-group>
<target>Adicionar usurio</target>
</trans-unit>
<trans-unit id="1821735653273245237" datatype="html">
<source>User creation error!</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/users/users.component.ts</context>
<context context-type="linenumber">81</context>
</context-group>
<target>User creation error!</target>
</trans-unit>
<trans-unit id="9128681615749206002" datatype="html">
<source>Trigger job run manually</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/button/job-button.settings.component.html</context>
<context context-type="linenumber">3</context>
</context-group>
<target>Trigger job run manually</target>
</trans-unit>
<trans-unit id="1442537757726795809" datatype="html">
<source>Run now</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/button/job-button.settings.component.html</context>
<context context-type="linenumber">9</context>
</context-group>
<target>Run now</target>
</trans-unit>
<trans-unit id="2159130950882492111" datatype="html">
<source>Cancel</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/button/job-button.settings.component.html</context>
<context context-type="linenumber">18</context>
</context-group>
<target>Cancel</target>
</trans-unit>
<trans-unit id="3030272344799552884" datatype="html">
<source>Job started</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/button/job-button.settings.component.ts</context>
<context context-type="linenumber">68</context>
</context-group>
<target>Job started</target>
</trans-unit>
<trans-unit id="2836205394227530190" datatype="html">
<source>Stopping job</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/button/job-button.settings.component.ts</context>
<context context-type="linenumber">88</context>
</context-group>
<target>Stopping job</target>
</trans-unit>
<trans-unit id="3615321865355398203" datatype="html">
<source> Last run: </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.html</context>
<context context-type="linenumber">2,4</context>
</context-group>
<target>Last run:</target>
</trans-unit>
<trans-unit id="8770180893388957738" datatype="html">
<source>Run between</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.html</context>
<context context-type="linenumber">5</context>
</context-group>
<target>Run between</target>
</trans-unit>
<trans-unit id="5611592591303869712" datatype="html">
<source>Status</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.html</context>
<context context-type="linenumber">14</context>
</context-group>
<target>Status</target>
</trans-unit>
<trans-unit id="509736707516044180" datatype="html">
<source>Cancelling...</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.html</context>
<context context-type="linenumber">33</context>
</context-group>
<target>Cancelling...</target>
</trans-unit>
<trans-unit id="2284946191054601015" datatype="html">
<source>time elapsed</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.html</context>
<context context-type="linenumber">44</context>
</context-group>
<target>time elapsed</target>
</trans-unit>
<trans-unit id="4749295647449765550" datatype="html">
<source>Processed</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.html</context>
<context context-type="linenumber">83</context>
</context-group>
<target>Processed</target>
</trans-unit>
<trans-unit id="7611487429832462405" datatype="html">
<source>Skipped</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.html</context>
<context context-type="linenumber">86</context>
</context-group>
<target>Skipped</target>
</trans-unit>
<trans-unit id="5246819740476460403" datatype="html">
<source>Left</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.html</context>
<context context-type="linenumber">89</context>
</context-group>
<target>Left</target>
</trans-unit>
<trans-unit id="1616102757855967475" datatype="html">
<source>All</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.html</context>
<context context-type="linenumber">92</context>
</context-group>
<target>All</target>
</trans-unit>
<trans-unit id="344985694001196609" datatype="html">
<source> Logs </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.html</context>
<context context-type="linenumber">118,120</context>
</context-group>
<target>Logs</target>
</trans-unit>
<trans-unit id="6816983613862053954" datatype="html">
<source>processed</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.ts</context>
<context context-type="linenumber">30</context>
</context-group>
<target>processed</target>
</trans-unit>
<trans-unit id="2136984849049323349" datatype="html">
<source>skipped</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.ts</context>
<context context-type="linenumber">34</context>
</context-group>
<target>skipped</target>
</trans-unit>
<trans-unit id="7126464771610287155" datatype="html">
<source>all</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.ts</context>
<context context-type="linenumber">38</context>
</context-group>
<target>all</target>
</trans-unit>
<trans-unit id="4000123028861070708" datatype="html">
<source>running</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.ts</context>
<context context-type="linenumber">101</context>
</context-group>
<target>running</target>
</trans-unit>
<trans-unit id="2919141718048459530" datatype="html">
<source>cancelling</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.ts</context>
<context context-type="linenumber">103</context>
</context-group>
<target>cancelling</target>
</trans-unit>
<trans-unit id="5955314125015446309" datatype="html">
<source>canceled</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.ts</context>
<context context-type="linenumber">105</context>
</context-group>
<target>canceled</target>
</trans-unit>
<trans-unit id="8013973649266860157" datatype="html">
<source>interrupted</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.ts</context>
<context context-type="linenumber">107</context>
</context-group>
<target>interrupted</target>
</trans-unit>
<trans-unit id="2059708434886905909" datatype="html">
<source>finished</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.ts</context>
<context context-type="linenumber">109</context>
</context-group>
<target>finished</target>
</trans-unit>
<trans-unit id="4083337005045748464" datatype="html">
<source>failed</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/progress/job-progress.settings.component.ts</context>
<context context-type="linenumber">111</context>
</context-group>
<target>failed</target>
</trans-unit>
<trans-unit id="8293670171001042991" datatype="html">
<source>every</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">13</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">130</context>
</context-group>
<target>every</target>
</trans-unit>
<trans-unit id="6334092464207199213" datatype="html">
<source>after</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">20</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.ts</context>
<context context-type="linenumber">78</context>
</context-group>
<target>after</target>
</trans-unit>
<trans-unit id="6458677044022639721" datatype="html">
<source>Job:</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">48</context>
</context-group>
<target>Job:</target>
</trans-unit>
<trans-unit id="3770273819204930148" datatype="html">
<source>Periodicity:</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">63</context>
</context-group>
<target>Periodicity:</target>
</trans-unit>
<trans-unit id="1545019447684907468" datatype="html">
<source>Set the time to run the job. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">75,76</context>
</context-group>
<target>Set the time to run the job.</target>
</trans-unit>
<trans-unit id="1598058373778280238" datatype="html">
<source>After:</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">83</context>
</context-group>
<target>After:</target>
</trans-unit>
<trans-unit id="1963407138412411589" datatype="html">
<source>The job will run after that job finishes. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">97,98</context>
</context-group>
<target>The job will run after that job finishes.</target>
</trans-unit>
<trans-unit id="7479716926471212179" datatype="html">
<source>At:</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">106</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">119</context>
</context-group>
<target>At:</target>
</trans-unit>
<trans-unit id="2663284587089894626" datatype="html">
<source>Allow parallel run</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">143</context>
</context-group>
<target>Allow parallel run</target>
</trans-unit>
<trans-unit id="7793629991365019273" datatype="html">
<source>Enables the job to start even if another job is already running. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">159,160</context>
</context-group>
<target>Enables the job to start even if another job is already running.</target>
</trans-unit>
<trans-unit id="3941409331265855477" datatype="html">
<source> Search query to list photos and videos. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">249,250</context>
</context-group>
<target>Search query to list photos and videos.</target>
</trans-unit>
<trans-unit id="7699622144571229146" datatype="html">
<source>Sort by</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">256</context>
</context-group>
<target>Sort by</target>
</trans-unit>
<trans-unit id="642273971136998226" datatype="html">
<source> Sorts the photos and videos by this. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">298,299</context>
</context-group>
<target>Sorts the photos and videos by this.</target>
</trans-unit>
<trans-unit id="8698515801873408462" datatype="html">
<source>Pick</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">305</context>
</context-group>
<target>Pick</target>
</trans-unit>
<trans-unit id="8552498455622807836" datatype="html">
<source> Number of photos and videos to pick. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">315,316</context>
</context-group>
<target>Number of photos and videos to pick.</target>
</trans-unit>
<trans-unit id="5242498003738057671" datatype="html">
<source>';' separated integers. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">351,352</context>
</context-group>
<target>';' separated integers.</target>
</trans-unit>
<trans-unit id="163671953128893071" datatype="html">
<source>Add Job</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">374</context>
</context-group>
<target>Add Job</target>
</trans-unit>
<trans-unit id="8500119868694688450" datatype="html">
<source>Add new job</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">384</context>
</context-group>
<target>Add new job</target>
</trans-unit>
<trans-unit id="2893483139524749280" datatype="html">
<source>Select a job to schedule. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">399,400</context>
</context-group>
<target>Select a job to schedule.</target>
</trans-unit>
<trans-unit id="6188210409712327095" datatype="html">
<source>Add Job </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.html</context>
<context context-type="linenumber">408</context>
</context-group>
<target>Add Job</target>
</trans-unit>
<trans-unit id="1461196514655349848" datatype="html">
<source>periodic</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.ts</context>
<context context-type="linenumber">80</context>
</context-group>
<target>periodic</target>
</trans-unit>
<trans-unit id="151283875747851076" datatype="html">
<source>scheduled</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.ts</context>
<context context-type="linenumber">81</context>
</context-group>
<target>scheduled</target>
</trans-unit>
<trans-unit id="8739442281958563044" datatype="html">
<source>Monday</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.ts</context>
<context context-type="linenumber">84</context>
</context-group>
<target>Monday</target>
</trans-unit>
<trans-unit id="9176037901730521018" datatype="html">
<source>Tuesday</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.ts</context>
<context context-type="linenumber">85</context>
</context-group>
<target>Tuesday</target>
</trans-unit>
<trans-unit id="8798932904948432529" datatype="html">
<source>Wednesday</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.ts</context>
<context context-type="linenumber">86</context>
</context-group>
<target>Wednesday</target>
</trans-unit>
<trans-unit id="1433683192825895947" datatype="html">
<source>Thursday</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.ts</context>
<context context-type="linenumber">87</context>
</context-group>
<target>Thursday</target>
</trans-unit>
<trans-unit id="3730139500618908668" datatype="html">
<source>Friday</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.ts</context>
<context context-type="linenumber">88</context>
</context-group>
<target>Friday</target>
</trans-unit>
<trans-unit id="1830554030016307335" datatype="html">
<source>Saturday</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.ts</context>
<context context-type="linenumber">89</context>
</context-group>
<target>Saturday</target>
</trans-unit>
<trans-unit id="6950140976689343775" datatype="html">
<source>Sunday</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.ts</context>
<context context-type="linenumber">90</context>
</context-group>
<target>Sunday</target>
</trans-unit>
<trans-unit id="6320319413541466015" datatype="html">
<source>day</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/settings/workflow/workflow.component.ts</context>
<context context-type="linenumber">91</context>
</context-group>
<target>day</target>
</trans-unit>
<trans-unit id="528147028328608000" datatype="html">
<source>Unknown sharing key. </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/sharelogin/share-login.component.html</context>
<context context-type="linenumber">11,12</context>
</context-group>
<target>Unknown sharing key.</target>
</trans-unit>
<trans-unit id="6314278975578272694" datatype="html">
<source>Wrong password</source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/sharelogin/share-login.component.html</context>
<context context-type="linenumber">15</context>
</context-group>
<target>Wrong password</target>
</trans-unit>
<trans-unit id="8443199995255821192" datatype="html">
<source>Enter </source>
<context-group purpose="location">
<context context-type="sourcefile">src/frontend/app/ui/sharelogin/share-login.component.html</context>
<context context-type="linenumber">38</context>
</context-group>
<target>Enter</target>
</trans-unit>
</body>
</file>
</xliff>
``` | /content/code_sandbox/src/frontend/translate/messages.pt-br.xlf | xml | 2016-03-12T11:46:41 | 2024-08-16T19:56:44 | pigallery2 | bpatrik/pigallery2 | 1,727 | 69,675 |
```xml
<glade-catalog name="remarkable_window" domain="glade-3"
depends="gtk+" version="1.0">
<glade-widget-classes>
<glade-widget-class title="Remarkable Window" name="RemarkableWindow"
generic-name="RemarkableWindow" parent="GtkWindow"
icon-name="widget-gtk-window"/>
</glade-widget-classes>
</glade-catalog>
``` | /content/code_sandbox/data/ui/remarkable_window.xml | xml | 2016-06-11T20:27:09 | 2024-08-16T11:43:15 | Remarkable | jamiemcg/Remarkable | 1,961 | 94 |
```xml
declare var __DEV__: boolean;
import hyphenate from "./hyphenate-style-name";
import validateKeyframesObject from "./validate-keyframes-object";
import generateAlphabeticName from "./generate-alphabetic-name";
import {hash} from "./hash";
import type {
StyleObject,
FontFaceObject,
KeyframesObject,
} from "styletron-standard";
export function hashCssObject(
cssObject: StyleObject | FontFaceObject | KeyframesObject,
): string {
return generateAlphabeticName(hash(JSON.stringify(cssObject)));
}
export function keyframesToBlock(keyframes: {[x: string]: any}): string {
if (__DEV__) {
validateKeyframesObject(keyframes);
}
if (__DEV__ && typeof Object.getPrototypeOf(keyframes) !== "undefined") {
if (Object.getPrototypeOf(keyframes) !== Object.getPrototypeOf({})) {
// eslint-disable-next-line no-console
console.warn(
"Only plain objects should be used as animation values. Unexpectedly recieved:",
keyframes,
);
}
}
let result = "";
for (const animationState in keyframes) {
result += `${animationState}{${declarationsToBlock(
keyframes[animationState],
)}}`;
}
return result;
}
export function declarationsToBlock(style: any): string {
let css = "";
for (const prop in style) {
const val = style[prop];
if (typeof val === "string" || typeof val === "number") {
css += `${hyphenate(prop)}:${val};`;
}
}
// trim trailing semicolon
return css.slice(0, -1);
}
export function keyframesBlockToRule(id: string, block: string): string {
return `@keyframes ${id}{${block}}`;
}
export function fontFaceBlockToRule(id: string, block: string): string {
return `@font-face{font-family:${id};${block}}`;
}
``` | /content/code_sandbox/packages/styletron-engine-monolithic/src/css.ts | xml | 2016-04-01T00:00:06 | 2024-08-14T21:28:45 | styletron | styletron/styletron | 3,317 | 419 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="path_to_url"
package="com.example.uilayouttest">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
``` | /content/code_sandbox/chapter3/UILayoutTest/app/src/main/AndroidManifest.xml | xml | 2016-10-04T02:55:57 | 2024-08-16T11:00:26 | booksource | guolindev/booksource | 3,105 | 140 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/// <reference types="@stdlib/types"/>
import { Layout, MatrixTriangle, TransposeOperation, DiagonalType } from '@stdlib/types/blas';
/**
* Interface describing `dtrmv`.
*/
interface Routine {
/**
* Performs one of the matrix-vector operations `x = A*x` or `x = A^T*x`, where `x` is an `N` element vector and `A` is an `N` by `N` unit, or non-unit, upper or lower triangular matrix.
*
* @param order - storage layout
* @param uplo - specifies whether `A` is an upper or lower triangular matrix
* @param trans - specifies whether `A` should be transposed, conjugate-transposed, or not transposed
* @param diag - specifies whether `A` has a unit diagonal
* @param N - number of elements along each dimension in the matrix `A`
* @param A - input matrix
* @param LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`)
* @param x - input vector
* @param strideX - `x` stride length
* @returns `x`
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var A = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 0.0, 0.0, 1.0 ] );
* var x = new Float64Array( [ 1.0, 2.0, 3.0 ] );
*
* dtrmv( row-major', 'upper', 'no-transpose', 'non-unit', 3, A, 3, x, 1 );
* // x => <Float64Array>[ 14.0, 8.0, 3.0 ]
*/
( order: Layout, uplo: MatrixTriangle, trans: TransposeOperation, diag: DiagonalType, N: number, A: Float64Array, LDA: number, x: Float64Array, strideX: number ): Float64Array;
/**
* Performs one of the matrix-vector operations `x = A*x` or `x = A^T*x`, using alternative indexing semantics and where `x` is an `N` element vector and `A` is an `N` by `N` unit, or non-unit, upper or lower triangular matrix.
*
* @param uplo - specifies whether `A` is an upper or lower triangular matrix
* @param trans - specifies whether `A` should be transposed, conjugate-transposed, or not transposed
* @param diag - specifies whether `A` has a unit diagonal
* @param N - number of elements along each dimension in the matrix `A`
* @param A - input matrix
* @param strideA1 - stride of the first dimension of `A`
* @param strideA2 - stride of the first dimension of `A`
* @param offsetA - starting index for `A`
* @param x - input vector
* @param strideX - `x` stride length
* @param offsetX - starting index for `x`
* @returns `x`
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var A = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 0.0, 0.0, 1.0 ] );
* var x = new Float64Array( [ 1.0, 2.0, 3.0 ] );
*
* dtrmv.ndarray( 'upper', 'no-transpose', 'non-unit', 3, A, 3, 1, 0, x, 1, 0 );
* // x => <Float64Array>[ 14.0, 8.0, 3.0 ]
*/
ndarray( uplo: MatrixTriangle, trans: TransposeOperation, diag: DiagonalType, N: number, A: Float64Array, strideA1: number, strideA2: number, offsetA: number, x: Float64Array, strideX: number, offsetX: number ): Float64Array;
}
/**
* Performs one of the matrix-vector operations `x = A*x` or `x = A^T*x`, where `x` is an `N` element vector and `A` is an `N` by `N` unit, or non-unit, upper or lower triangular matrix.
*
* @param order - storage layout
* @param uplo - specifies whether `A` is an upper or lower triangular matrix
* @param trans - specifies whether `A` should be transposed, conjugate-transposed, or not transposed
* @param diag - specifies whether `A` has a unit diagonal
* @param N - number of elements along each dimension in the matrix `A`
* @param A - input matrix
* @param LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`)
* @param x - input vector
* @param strideX - `x` stride length
* @returns `x`
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
* var x = new Float64Array( [ 1.0, 1.0, 1.0 ] );
*
* dtrmv( 'row-major', 'lower', 'no-transpose', 'non-unit', 3, A, 3, x, 1 );
* // x => <Float64Array>[ 1.0, 5.0, 15.0 ]
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
* var x = new Float64Array( [ 1.0, 1.0, 1.0 ] );
*
* dtrmv.ndarray( 'lower', 'no-transpose', 'non-unit', 3, A, 3, 1, 0, x, 1, 0 );
* // x => <Float64Array>[ 1.0, 5.0, 15.0 ]
*/
declare var dtrmv: Routine;
// EXPORTS //
export = dtrmv;
``` | /content/code_sandbox/lib/node_modules/@stdlib/blas/base/dtrmv/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 1,602 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="path_to_url"
xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<groupId>SecretsManagerJ2</groupId>
<artifactId>SecretsManagerJ2</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<configuration>
<groups>IntegrationTest</groups>
</configuration>
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>2.20.21</version>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.9.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>secretsmanager</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.9.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-commons</artifactId>
<version>1.9.2</version>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.9.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>secretsmanager</artifactId>
<version>2.20.26</version>
</dependency>
</dependencies>
</project>
``` | /content/code_sandbox/javav2/example_code/secrets-manager/pom.xml | xml | 2016-08-18T19:06:57 | 2024-08-16T18:59:44 | aws-doc-sdk-examples | awsdocs/aws-doc-sdk-examples | 9,298 | 699 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="path_to_url"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="tests/PhpUnit/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="true"
stopOnFailure="true"
verbose="true"
xsi:noNamespaceSchemaLocation="path_to_url"
>
<coverage includeUncoveredFiles="false">
<include>
<directory suffix=".php">./src/</directory>
</include>
<report>
<clover outputFile="./coverage/coverage-clover.xml"/>
<html outputDirectory="./coverage/" lowUpperBound="35" highLowerBound="70"/>
<text outputFile="php://stdout" showUncoveredFiles="true"/>
</report>
</coverage>
<testsuites>
<testsuite name="Laravel Test Suite">
<directory suffix="Test.php">./tests/PhpUnit</directory>
</testsuite>
</testsuites>
<logging/>
<php>
<env name="CACHE_DRIVER" value="file"/>
</php>
</phpunit>
``` | /content/code_sandbox/phpunit.xml | xml | 2016-11-26T14:04:16 | 2024-08-14T11:31:03 | health | antonioribeiro/health | 1,942 | 282 |
```xml
import {useDecorators} from "@tsed/core";
import {CollectionOf} from "@tsed/schema";
import {Component} from "./component.js";
/**
* Configure the property as Tags component.
* @decorator
* @formio
* @property
* @schema
*/
export function InputTags(props: Record<string, any> = {}): PropertyDecorator {
return useDecorators(
CollectionOf(String),
Component({
...props,
tableView: false,
storeas: "array",
type: "tags"
})
);
}
``` | /content/code_sandbox/packages/third-parties/schema-formio/src/decorators/inputTags.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 119 |
```xml
export function add(num1: number, num2: number) {
return num1 + num2;
}
export function addOne(number: number) {
number++;
return number;
}
export function negate(number: number) {
return -number;
}
export function isNegativeNumber(number: number) {
var isNegative = false;
if (number < 0) {
isNegative = true;
}
return isNegative;
}
``` | /content/code_sandbox/packages/vitest-runner/testResources/multiple-configs/math.ts | xml | 2016-02-12T13:14:28 | 2024-08-15T18:38:25 | stryker-js | stryker-mutator/stryker-js | 2,561 | 95 |
```xml
import { KeyCodes } from './KeyCodes';
import { getDocument } from './dom/getDocument';
import { getItem, setItem } from './sessionStorage';
import { setRTL as mergeStylesSetRTL } from '@fluentui/merge-styles';
const RTL_LOCAL_STORAGE_KEY = 'isRTL';
// Default to undefined so that we initialize on first read.
let _isRTL: boolean | undefined;
/**
* Gets the rtl state of the page (returns true if in rtl.)
*/
export function getRTL(theme: { rtl?: boolean } = {}): boolean {
if (theme.rtl !== undefined) {
return theme.rtl;
}
if (_isRTL === undefined) {
// Fabric supports persisting the RTL setting between page refreshes via session storage
let savedRTL = getItem(RTL_LOCAL_STORAGE_KEY);
if (savedRTL !== null) {
_isRTL = savedRTL === '1';
setRTL(_isRTL);
}
let doc = getDocument();
if (_isRTL === undefined && doc) {
_isRTL = ((doc.body && doc.body.getAttribute('dir')) || doc.documentElement.getAttribute('dir')) === 'rtl';
mergeStylesSetRTL(_isRTL);
}
}
return !!_isRTL;
}
/**
* Sets the rtl state of the page (by adjusting the dir attribute of the html element.)
*/
export function setRTL(isRTL: boolean, persistSetting: boolean = false): void {
let doc = getDocument();
if (doc) {
doc.documentElement.setAttribute('dir', isRTL ? 'rtl' : 'ltr');
}
if (persistSetting) {
setItem(RTL_LOCAL_STORAGE_KEY, isRTL ? '1' : '0');
}
_isRTL = isRTL;
mergeStylesSetRTL(_isRTL);
}
/**
* Returns the given key, but flips right/left arrows if necessary.
*/
export function getRTLSafeKeyCode(key: number, theme: { rtl?: boolean } = {}): number {
if (getRTL(theme)) {
if (key === KeyCodes.left) {
key = KeyCodes.right;
} else if (key === KeyCodes.right) {
key = KeyCodes.left;
}
}
return key;
}
``` | /content/code_sandbox/packages/utilities/src/rtl.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 477 |
```xml
import * as React from 'react';
import { IconButton } from '../../../../Button';
import { css, getId, initializeComponentRef } from '../../../../Utilities';
import { Persona, PersonaSize } from '../../../../Persona';
import * as stylesImport from './ExtendedSelectedItem.scss';
import type { ISelectedPeopleItemProps } from '../SelectedPeopleList';
const styles: any = stylesImport;
export interface IPeoplePickerItemState {
contextualMenuVisible: boolean;
}
export class ExtendedSelectedItem extends React.Component<ISelectedPeopleItemProps, IPeoplePickerItemState> {
protected persona = React.createRef<HTMLDivElement>();
constructor(props: ISelectedPeopleItemProps) {
super(props);
initializeComponentRef(this);
this.state = { contextualMenuVisible: false };
}
public render(): JSX.Element {
const { item, onExpandItem, onRemoveItem, removeButtonAriaLabel, index, selected } = this.props;
const itemId = getId();
return (
<div
ref={this.persona}
className={css(
'ms-PickerPersona-container',
styles.personaContainer,
{ ['is-selected ' + styles.personaContainerIsSelected]: selected },
{ ['is-invalid ' + styles.validationError]: !item.isValid },
)}
data-is-focusable={true}
data-is-sub-focuszone={true}
data-selection-index={index}
role={'listitem'}
aria-labelledby={'selectedItemPersona-' + itemId}
>
<div hidden={!item.canExpand || onExpandItem === undefined}>
<IconButton
onClick={this._onClickIconButton(onExpandItem)}
iconProps={{ iconName: 'Add', style: { fontSize: '14px' } }}
className={css('ms-PickerItem-removeButton', styles.expandButton, styles.actionButton)}
ariaLabel={removeButtonAriaLabel}
/>
</div>
<div className={css(styles.personaWrapper)}>
<div className={css('ms-PickerItem-content', styles.itemContent)} id={'selectedItemPersona-' + itemId}>
<Persona
{...item}
onRenderCoin={this.props.renderPersonaCoin}
onRenderPrimaryText={this.props.renderPrimaryText}
size={PersonaSize.size32}
/>
</div>
<IconButton
onClick={this._onClickIconButton(onRemoveItem)}
iconProps={{ iconName: 'Cancel', style: { fontSize: '14px' } }}
className={css('ms-PickerItem-removeButton', styles.removeButton, styles.actionButton)}
ariaLabel={removeButtonAriaLabel}
/>
</div>
</div>
);
}
private _onClickIconButton(
action: (() => void) | undefined,
): (ev: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void {
return (ev: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement>): void => {
ev.stopPropagation();
ev.preventDefault();
if (action) {
action();
}
};
}
}
``` | /content/code_sandbox/packages/react/src/components/SelectedItemsList/SelectedPeopleList/Items/ExtendedSelectedItem.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 630 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<transitionSet xmlns:android="path_to_url"
xmlns:tools="path_to_url"
xmlns:app="path_to_url"
android:transitionOrdering="together">
<changeBounds
android:interpolator="@android:interpolator/fast_out_slow_in"
android:duration="350"
tools:ignore="NewApi">
<targets>
<target android:targetId="@id/searchBar" />
</targets>
</changeBounds>
<transition
class="wangdaye.com.geometricweather.common.ui.transitions.RoundCornerTransition"
android:interpolator="@android:interpolator/fast_out_slow_in"
android:duration="350"
app:radius_from="0dp"
app:radius_to="24dp"
tools:ignore="NewApi">
<targets>
<target android:targetId="@id/searchBar" />
</targets>
</transition>
<transition
class="wangdaye.com.geometricweather.common.ui.transitions.ScaleTransition"
android:interpolator="@android:interpolator/decelerate_quad"
android:duration="350"
app:scale_type="hide">
<targets>
<target android:targetId="@id/fab" />
</targets>
</transition>
</transitionSet>
``` | /content/code_sandbox/app/src/main/res/transition/search_activity_shared_return.xml | xml | 2016-02-21T04:39:19 | 2024-08-16T13:35:51 | GeometricWeather | WangDaYeeeeee/GeometricWeather | 2,420 | 288 |
```xml
export * from "./Contract";
export * from "./FileSystemUtilityModule";
``` | /content/code_sandbox/src/main/Core/FileSystemUtility/index.ts | xml | 2016-10-11T04:59:52 | 2024-08-16T11:53:31 | ueli | oliverschwendener/ueli | 3,543 | 15 |
```xml
import { graphql } from './gql/index';
import { makeYoga } from './yoga';
import persistedDocumentsDictionary from './gql/persisted-documents.json';
const persistedDocuments = new Map<string, string>(Object.entries(persistedDocumentsDictionary));
const HelloQuery = graphql(/* GraphQL */ `
query HelloQuery {
hello
}
`);
describe('Persisted Documents', () => {
it('execute document without persisted operation enabled', async () => {
const yoga = makeYoga({ persistedDocuments: null });
const result = await yoga.fetch('path_to_url {
method: 'POST',
headers: {
'content-type': 'application/json',
accept: 'application/json',
},
body: JSON.stringify({
query: HelloQuery,
}),
});
expect(await result.json()).toMatchInlineSnapshot(`
Object {
"data": Object {
"hello": "Hello world!",
},
}
`);
});
it('can not execute arbitrary operation with persisted operations enabled', async () => {
const yoga = makeYoga({ persistedDocuments });
const result = await yoga.fetch('path_to_url {
method: 'POST',
headers: {
'content-type': 'application/json',
accept: 'application/json',
},
body: JSON.stringify({
query: HelloQuery,
}),
});
expect(await result.json()).toMatchInlineSnapshot(`
Object {
"errors": Array [
Object {
"message": "PersistedQueryOnly",
},
],
}
`);
});
it('can execute persisted operation with persisted operations enabled', async () => {
const yoga = makeYoga({ persistedDocuments });
const result = await yoga.fetch('path_to_url {
method: 'POST',
headers: {
'content-type': 'application/json',
accept: 'application/json',
},
body: JSON.stringify({
extensions: {
persistedQuery: {
version: 1,
sha256Hash: (HelloQuery as any)['__meta__']['hash'],
},
},
}),
});
expect(await result.json()).toMatchInlineSnapshot(`
Object {
"data": Object {
"hello": "Hello world!",
},
}
`);
});
});
``` | /content/code_sandbox/examples/persisted-documents-string-mode/src/yoga.spec.ts | xml | 2016-12-05T19:15:11 | 2024-08-15T14:56:08 | graphql-code-generator | dotansimha/graphql-code-generator | 10,759 | 480 |
```xml
/**
* Switches a video element into fullscreen.
*/
export declare function requestFullscreen(element: HTMLMediaElement): Promise<void>;
/**
* Switches a video element out of fullscreen.
*/
export declare function exitFullscreen(element: HTMLMediaElement): Promise<void>;
/**
* Listens for fullscreen change events on a video element. The provided
* callback will be called with `true` when the video is switched into
* fullscreen and `false` when the video is switched out of fullscreen.
*/
export declare function addFullscreenListener(element: HTMLVideoElement, callback: (isFullscreen: boolean) => void): () => any;
//# sourceMappingURL=FullscreenUtils.web.d.ts.map
``` | /content/code_sandbox/packages/expo-av/build/FullscreenUtils.web.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 136 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/**
* High word mask for the significand of a double-precision floating-point number.
*
* @example
* var mask = FLOAT64_HIGH_WORD_SIGNIFICAND_MASK;
* // returns 1048575
*/
declare const FLOAT64_HIGH_WORD_SIGNIFICAND_MASK: number;
// EXPORTS //
export = FLOAT64_HIGH_WORD_SIGNIFICAND_MASK;
``` | /content/code_sandbox/lib/node_modules/@stdlib/constants/float64/high-word-significand-mask/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 132 |
```xml
import { AndroidConfig, ConfigPlugin, IOSConfig, createRunOncePlugin } from 'expo/config-plugins';
const pkg = require('expo-av/package.json');
const MICROPHONE_USAGE = 'Allow $(PRODUCT_NAME) to access your microphone';
const withAV: ConfigPlugin<{ microphonePermission?: string | false } | void> = (
config,
{ microphonePermission } = {}
) => {
IOSConfig.Permissions.createPermissionsPlugin({
NSMicrophoneUsageDescription: MICROPHONE_USAGE,
})(config, {
NSMicrophoneUsageDescription: microphonePermission,
});
return AndroidConfig.Permissions.withPermissions(
config,
[
microphonePermission !== false && 'android.permission.RECORD_AUDIO',
'android.permission.MODIFY_AUDIO_SETTINGS',
].filter(Boolean) as string[]
);
};
export default createRunOncePlugin(withAV, pkg.name, pkg.version);
``` | /content/code_sandbox/packages/expo-av/plugin/src/withAV.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 181 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="path_to_url" xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<groupId>com.itmuch.cloud</groupId>
<artifactId>microservice-consumer-movie-feign-hystrix-fallback-factory</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<!-- spring boot -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.7.RELEASE</version>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
</dependencies>
<!-- spring cloud -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.SR2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<!-- spring-bootmaven -->
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
``` | /content/code_sandbox/2018-Finchley/microservice-consumer-movie-feign-hystrix-fallback-factory/pom.xml | xml | 2016-08-26T09:35:58 | 2024-08-12T06:14:53 | spring-cloud-study | eacdy/spring-cloud-study | 1,042 | 527 |
```xml
import { api } from '@proton/pass/lib/api/api';
import { type Lock, LockMode } from '@proton/pass/lib/auth/lock/types';
export const checkSessionLock = async (): Promise<Lock> => {
try {
const { LockInfo } = await api({ url: 'pass/v1/user/session/lock/check', method: 'get' });
return {
mode: LockInfo?.Exists ? LockMode.SESSION : LockMode.NONE,
locked: false,
ttl: LockInfo?.UnlockedSecs ?? undefined,
};
} catch (e: any) {
if (e?.name === 'LockedSession') return { mode: LockMode.SESSION, locked: true };
throw e;
}
};
export const forceSessionLock = async (): Promise<void> => {
await api({
url: 'pass/v1/user/session/lock/force_lock',
method: 'post',
});
};
export const createSessionLock = async (LockCode: string, UnlockedSecs: number): Promise<string> =>
(
await api({
url: 'pass/v1/user/session/lock',
method: 'post',
data: { LockCode, UnlockedSecs },
})
).LockData!.StorageToken;
export const deleteSessionLock = async (LockCode: string): Promise<string> =>
(
await api({
url: 'pass/v1/user/session/lock',
method: 'delete',
data: { LockCode },
})
).LockData!.StorageToken;
export const unlockSession = async (LockCode: string): Promise<string> =>
(
await api({
url: 'pass/v1/user/session/lock/unlock',
method: 'post',
data: { LockCode },
})
).LockData!.StorageToken;
``` | /content/code_sandbox/packages/pass/lib/auth/lock/session/lock.requests.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 386 |
```xml
import { act, renderHook } from '@testing-library/react-hooks';
import useInViewport from '../index';
const targetEl = document.createElement('div');
document.body.appendChild(targetEl);
const mockIntersectionObserver = jest.fn().mockReturnValue({
observe: () => null,
disconnect: () => null,
});
window.IntersectionObserver = mockIntersectionObserver;
describe('useInViewport', () => {
it('should work when target is in viewport', async () => {
const { result } = renderHook(() => useInViewport(targetEl));
const { calls } = mockIntersectionObserver.mock;
const [onChange] = calls[calls.length - 1];
act(() => {
onChange([
{
targetEl,
isIntersecting: true,
},
]);
});
const [inViewport] = result.current;
expect(inViewport).toBeTruthy();
});
it('should not work when target is null', async () => {
const observe = jest.fn();
mockIntersectionObserver.mockReturnValue({
observe,
disconnect: () => null,
});
renderHook(() => useInViewport(null));
expect(observe).toHaveBeenCalledTimes(0);
});
it('should disconnect when unmount', async () => {
const disconnect = jest.fn();
mockIntersectionObserver.mockReturnValue({
observe: () => null,
disconnect,
});
const { unmount } = renderHook(() => useInViewport(targetEl));
unmount();
expect(disconnect).toBeCalled();
});
});
``` | /content/code_sandbox/packages/zarm/src/use-in-viewport/__tests__/index.test.tsx | xml | 2016-07-13T11:45:37 | 2024-08-12T19:23:48 | zarm | ZhongAnTech/zarm | 1,707 | 318 |
```xml
// Exporting the document as a stream
import * as fs from "fs";
import { Document, Packer, Paragraph, Tab, TextRun } from "docx";
const doc = new Document({
sections: [
{
properties: {},
children: [
new Paragraph({
children: [
new TextRun("Hello World"),
new TextRun({
text: "Foo Bar",
bold: true,
}),
new TextRun({
children: [new Tab(), "Github is the best"],
bold: true,
}),
],
}),
],
},
],
});
const stream = Packer.toStream(doc);
stream.pipe(fs.createWriteStream("My Document.docx"));
``` | /content/code_sandbox/demo/74-nodejs-stream.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 149 |
```xml
import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
const Tiles2Icon = createSvgIcon({
svg: ({ classes }) => (
<svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false">
<path d="M256 2048V768h640v1280H256zM384 896v1024h384V896H384zM256 640V0h640v640H256zm128-512v384h384V128H384zM1024 0h640v1280h-640V0zm512 1152V128h-384v1024h384zm-512 896v-640h640v640h-640zm128-512v384h384v-384h-384z" />
</svg>
),
displayName: 'Tiles2Icon',
});
export default Tiles2Icon;
``` | /content/code_sandbox/packages/react-icons-mdl2/src/components/Tiles2Icon.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 207 |
```xml
<query-profile id="rootWithFilter" inherits="root">
<field name="model.filter">+best</field>
</query-profile>
``` | /content/code_sandbox/container-search/src/test/java/com/yahoo/search/query/profile/config/test/queryprofilevariants2/rootWithFilter.xml | xml | 2016-06-03T20:54:20 | 2024-08-16T15:32:01 | vespa | vespa-engine/vespa | 5,524 | 31 |
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<ContentPage
xmlns="path_to_url"
xmlns:x="path_to_url"
x:Class="Xamarin.Forms.Controls.GalleryPages.RefreshViewGalleries.RefreshCollectionViewGallery"
Title="CollectionView (Pull To Refresh)">
<ContentPage.Content>
<RefreshView
IsRefreshing="{Binding IsRefreshing}"
RefreshColor="Pink"
Command="{Binding RefreshCommand}"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand">
<CollectionView
ItemsSource="{Binding Items}">
<CollectionView.ItemTemplate>
<DataTemplate>
<ScrollView>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="48" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<BoxView
Grid.Column="0"
Color="{Binding Color}"
HeightRequest="48"/>
<Label
Grid.Column="1"
Text="{Binding Name}"/>
</Grid>
</ScrollView>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
</RefreshView>
</ContentPage.Content>
</ContentPage>
``` | /content/code_sandbox/Xamarin.Forms.Controls/GalleryPages/RefreshViewGalleries/RefreshCollectionViewGallery.xaml | xml | 2016-03-18T15:52:03 | 2024-08-16T16:25:43 | Xamarin.Forms | xamarin/Xamarin.Forms | 5,637 | 249 |
```xml
<resources xmlns:tools="path_to_url">
<!-- app. -->
<string name="app_name"></string>
<string name="geometric_weather"> </string>
<!-- keyword. -->
<string name="current_location"> </string>
<string name="default_location"> </string>
<string name="live"></string>
<string name="today"></string>
<string name="refresh_at">O </string>
<string name="precipitation"></string>
<string name="maxi_temp"></string>
<string name="mini_temp"></string>
<string name="time"></string>
<string name="day"></string>
<string name="night"></string>
<string name="wind"></string>
<string name="sensible_temp"> </string>
<string name="humidity"></string>
<string name="uv_index">Uv </string>
<string name="forecast"></string>
<string name="briefings"></string>
<string name="daytime"></string>
<string name="nighttime"></string>
<string name="publish_at"> </string>
<string name="feels_like"></string>
<string name="follow_system"></string>
<string name="of_clock">:00</string>
<string name="yesterday"></string>
<string name="tomorrow"></string>
<string name="week"></string>
<string name="week_1"></string>
<string name="week_2"></string>
<string name="week_3"></string>
<string name="week_4"></string>
<string name="week_5"></string>
<string name="week_6"></string>
<string name="week_7"></string>
<string name="wind_0"></string>
<string name="wind_1"> </string>
<string name="wind_2"></string>
<string name="wind_3"> </string>
<string name="wind_4"> </string>
<string name="wind_5"> </string>
<string name="wind_6"> </string>
<string name="wind_7"> </string>
<string name="wind_8"></string>
<string name="wind_9"> </string>
<string name="wind_10"></string>
<string name="wind_11"> </string>
<string name="wind_12">/</string>
<string name="aqi_1"> </string>
<string name="aqi_2"> </string>
<string name="aqi_3">S-</string>
<string name="aqi_4">M-</string>
<string name="aqi_5">H-</string>
<string name="aqi_6"></string>
<string name="daily_overview"></string>
<string name="hourly_overview"></string>
<string name="air_quality"> </string>
<string name="life_details"></string>
<string name="sunrise_sunset"> & </string>
<string name="next"></string>
<string name="done"></string>
<string name="cancel" tools:ignore="ButtonCase"></string>
<string name="on"></string>
<string name="off"></string>
<string name="about_app"> A</string>
<string name="introduce"></string>
<string name="email">E-mail</string>
<string name="gitHub">GitHub</string>
<string name="translator"></string>
<string name="thanks"></string>
<!-- about. -->
<string name="retrofit">Retrofit 2.0</string>
<string name="about_retrofit">HTTP Ja by Square, Inc.</string>
<string name="glide">Glide</string>
<string name="about_glide"> , .</string>
<string name="gson">Gson</string>
<string name="about_gson"> / JSON .</string>
<string name="greenDAO">GreenDAO</string>
<string name="about_greenDAO">greenDAO ORM A SQLite .</string>
<!-- feedback. -->
<string name="feedback_request_permission"></string>
<string name="feedback_request_location"></string>
<string name="feedback_request_location_permission_success"> .</string>
<string name="feedback_request_location_permission_failed"> .</string>
<string name="feedback_location_failed"> .</string>
<string name="feedback_get_weather_failed"> .</string>
<string name="feedback_view_style"> .</string>
<string name="feedback_show_widget_card"> .</string>
<string name="feedback_black_text"> .</string>
<string name="feedback_click_toggle"> .</string>
<string name="feedback_no_data"> </string>
<string name="feedback_collect_failed"> .</string>
<string name="feedback_collect_succeed"> .</string>
<string name="feedback_delete_succeed"> .</string>
<string name="feedback_location_list_cannot_be_null"> .</string>
<string name="feedback_search_location"> </string>
<string name="feedback_not_yet_location"> </string>
<string name="feedback_search_nothing"> </string>
<string name="feedback_initializing"></string>
<string name="feedback_refresh_notification_after_back"> .</string>
<string name="feedback_refresh_notification_now"> .</string>
<string name="feedback_refresh_ui_after_refresh"> .</string>
<string name="feedback_restart"> .</string>
<!-- action -->
<string name="action_alert"></string>
<string name="action_manage"></string>
<string name="action_search"></string>
<string name="action_settings"></string>
<string name="action_about"> </string>
<!-- widget -->
<string name="widget_day"></string>
<string name="widget_week"></string>
<string name="widget_day_week"> + </string>
<string name="widget_clock_day_horizontal"> + ( )</string>
<string name="widget_clock_day_vertical"> + ( )</string>
<string name="widget_clock_day_week"> + + </string>
<string name="wait_refresh"></string>
<string name="ellipsis"></string>
<!-- settings -->
<string name="settings_category_basic"></string>
<string name="settings_title_background_free"> .</string>
<string name="settings_language">.</string>
<string name="settings_title_refresh_rate"> </string>
<string name="settings_title_permanent_service"> .</string>
<string name="settings_category_forecast"></string>
<string name="settings_title_forecast_today"> .</string>
<string name="settings_title_forecast_today_time"> .</string>
<string name="settings_title_forecast_tomorrow"> .</string>
<string name="settings_title_forecast_tomorrow_time"> .</string>
<string name="settings_category_widget"></string>
<string name="settings_title_icon_provider"> .</string>
<string name="settings_category_notification"></string>
<string name="settings_title_notification"> .</string>
<string name="settings_title_notification_temp_icon"> .</string>
<string name="settings_title_notification_text_color"> .</string>
<string name="settings_title_notification_background"> .</string>
<string name="settings_notification_background_off"> .</string>
<string name="settings_title_notification_can_be_cleared"> .</string>
<string name="settings_notification_can_be_cleared_on"> .</string>
<string name="settings_notification_can_be_cleared_off"> .</string>
<string name="settings_title_notification_hide_icon"> .</string>
<string name="settings_notification_hide_icon_on">.</string>
<string name="settings_notification_hide_icon_off">.</string>
<string name="settings_title_notification_hide_in_lockScreen"> .</string>
<string name="settings_notification_hide_in_lockScreen_on"> ( ).</string>
<string name="settings_notification_hide_in_lockScreen_off">.</string>
<string name="settings_title_notification_hide_big_view"> .</string>
<string name="settings_notification_hide_big_view_on">.</string>
<string name="settings_notification_hide_big_view_off">.</string>
</resources>
``` | /content/code_sandbox/app/src/main/res/values-sr/strings.xml | xml | 2016-02-21T04:39:19 | 2024-08-16T13:35:51 | GeometricWeather | WangDaYeeeeee/GeometricWeather | 2,420 | 1,880 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "path_to_url">
<mapper namespace="org.maxkey.persistence.mapper.RolesMapper">
<sql id="where_statement">
<if test="id != null and id != ''">
and id = #{id}
</if>
<if test="name != null and name != ''">
and name like '%${name}%'
</if>
</sql>
<select id="queryDynamicRoles" parameterType="Roles" resultType="Roles">
select
*
from
mxk_groups
where
dynamic = '1'
<include refid="where_statement"/>
</select>
<select id="queryPageResults" parameterType="Roles" resultType="Roles">
select
*
from
mxk_roles
where
(1=1)
<include refid="where_statement"/>
</select>
<update id="logisticDelete" parameterType="Roles" >
update mxk_roles set
status = '2'
where 1 = 1
<if test="id != null">
and id = #{id}
</if>
<if test="name != name">
and name = #{name}
</if>
</update>
<update id="logisticBatchDelete" parameterType="java.util.List">
update mxk_roles set status='2' where id in
<foreach item="item" collection="list" open="(" separator="," close=")">
#{item}
</foreach>
</update>
<select id="queryRolePermissions" parameterType="RolePermissions" resultType="RolePermissions">
select
*
from
mxk_role_permissions
where
status = 1
<if test="id != null and id != ''">
and id = #{id}
</if>
<if test="roleId != null and roleId != ''">
and roleid = #{roleId}
</if>
<if test="appId != null and appId != ''">
and appid = #{appId}
</if>
</select>
<update id="logisticDeleteRolePermissions" parameterType="java.util.List">
update mxk_role_permissions set status=9 where id in
<foreach item="item" collection="list" open="(" separator="," close=")">
#{item.id}
</foreach>
</update>
<insert id="insertRolePermissions" parameterType="java.util.List">
insert into mxk_role_permissions ( id,appid,roleid,resourceid,status)
values
<foreach collection="list" item="item" index="index" separator=",">
(#{item.id},#{item.appId},#{item.roleId},#{item.resourceId},#{item.status})
</foreach>
</insert>
</mapper>
``` | /content/code_sandbox/maxkey-persistence/src/main/resources/org/dromara/maxkey/persistence/mapper/xml/highgo/RolesMapper.xml | xml | 2016-11-16T03:06:50 | 2024-08-16T09:22:42 | MaxKey | dromara/MaxKey | 1,423 | 689 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="path_to_url">
<item android:drawable="@drawable/ic_player_15_plus_disabled" android:state_enabled="false" />
<item android:drawable="@drawable/ic_player_15_plus" />
</selector>
``` | /content/code_sandbox/app/src/main/res/drawable/media_player_15_plus.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 66 |
```xml
export type TTransformersRelationEdge <TTransformerName extends string> = [
transformerNameA: TTransformerName,
transformerNameB: TTransformerName | null
];
``` | /content/code_sandbox/src/types/utils/TTransformersRelationEdge.ts | xml | 2016-05-09T08:16:53 | 2024-08-16T19:43:07 | javascript-obfuscator | javascript-obfuscator/javascript-obfuscator | 13,358 | 38 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<sql-parser-test-cases>
<preview-sql sql-case-id="preview-sql" sql="SELECT * FROM t_order;" />
<parse-sql sql-case-id="parse-sql" sql="SELECT * FROM t_order;" />
<format-sql sql-case-id="format-sql" sql="SELECT * FROM t_order WHERE order_id=1;" />
</sql-parser-test-cases>
``` | /content/code_sandbox/test/it/parser/src/main/resources/case/rul/sql.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 171 |
```xml
describe('Toolbar menu overflow with wrapped first item', () => {
const selectors = {
toolbarItem: 'ui-toolbar__item',
toolbar: 'ui-toolbar',
toolbarItemWrapper: 'ui-toolbar__itemwrapper',
};
const itemsCount = 20;
const toolbarItem = (index: number) => `.${selectors.toolbarItem}:nth-child(${index + 1})`;
const toolbarItemWrapped = (index: number) =>
`.${selectors.toolbarItemWrapper}:nth-child(${index + 1}) .${selectors.toolbarItem}`;
const toolbar = `.${selectors.toolbar}`;
let itemWidth;
beforeEach(() => {
cy.gotoTestCase(__filename, toolbar);
// Getting width required for an item. Assumes all items have same width.
if (itemWidth === undefined) {
cy.get(toolbarItem(0))
.invoke('outerWidth')
.then(width => {
itemWidth = width;
});
}
});
afterEach(() => {
// resizes the viewport to contain all items.
cy.resizeViewport(itemWidth * (itemsCount + 2));
cy.wait(500);
});
it("hiding focused item will set focus to first focusable element, even if it's wrapped", () => {
const itemToBeHiddenIndex = itemsCount / 2 - 1; // last un-wrapped item.
const itemToReceiveFocusIndex = 0; // first item is wrapped.
// clicks to set focus on last un-wrapped item.
cy.clickOn(toolbarItem(itemToBeHiddenIndex));
cy.isFocused(toolbarItem(itemToBeHiddenIndex));
// resizes the viewport to hide the focused item.
cy.resizeViewport(itemWidth * (itemsCount / 2));
cy.wait(500);
// check that the focus was applied to first item as fall-back.
cy.isFocused(toolbarItemWrapped(itemToReceiveFocusIndex));
});
it("hiding focused wrapped item will set focus to first focusable element, even if it's wrapped", () => {
const itemToBeHiddenIndex = itemsCount / 2; // first wrapped item (not accounting the very first).
const itemToReceiveFocusIndex = 0; // first item is wrapped.
// clicks to set focus on first wrapped item.
cy.clickOn(toolbarItemWrapped(itemToBeHiddenIndex));
cy.isFocused(toolbarItemWrapped(itemToBeHiddenIndex));
// resizes the viewport to hide that item.
cy.resizeViewport(itemWidth * (itemsCount / 2));
cy.wait(500);
// check that the focus was applied to first item as fall-back.
cy.isFocused(toolbarItemWrapped(itemToReceiveFocusIndex));
});
});
``` | /content/code_sandbox/packages/fluentui/e2e/tests/toolbarMenuOverflowWrapped.spec.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 574 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup>
<ClInclude Include="..\..\test\access_v_fail4.cpp">
<Filter>lib\qvm\libs\qvm\test</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="lib">
<UniqueIdentifier>{5D3A1871-49FE-636F-45BF-281665B13DB0}</UniqueIdentifier>
</Filter>
<Filter Include="lib\qvm">
<UniqueIdentifier>{07326A5C-2538-1D48-7A1E-17B959076370}</UniqueIdentifier>
</Filter>
<Filter Include="lib\qvm\libs">
<UniqueIdentifier>{432F2930-20DF-506D-02DF-596A38982D4F}</UniqueIdentifier>
</Filter>
<Filter Include="lib\qvm\libs\qvm">
<UniqueIdentifier>{28513C07-021F-3DDE-6B7D-5F3670BB0ED2}</UniqueIdentifier>
</Filter>
<Filter Include="lib\qvm\libs\qvm\test">
<UniqueIdentifier>{328E2B83-3994-7442-6688-75F16D754C5F}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>
``` | /content/code_sandbox/deps/boost_1_66_0/libs/qvm/bld/test/access_v_fail4.vcxproj.filters | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 331 |
```xml
import {getTheme, mergeStyles, mergeStyleSets , FontSizes, FontWeights, DefaultPalette } from 'office-ui-fabric-react/lib/Styling';
import { CommunicationColors } from '@uifabric/fluent-theme/lib/fluent/FluentColors';
import {
IStackStyles,
IStackTokens,
IStackItemStyles,
ITextFieldStyles,
ITextFieldSubComponentStyles,
IModalStyles,
ImageLoadState,
IDatePickerStyles,
ITextFieldProps,
IStyle,
IButtonStyles,
calculatePrecision
} from 'office-ui-fabric-react';
const theme = getTheme();
// Styles definition
export const stackStyles: IStackStyles = {
root: {
alignItems: 'center',
marginTop: 10
}
};
export const stackItemStyles: IStackItemStyles = {
root: {
background: theme.palette.themePrimary,
color: theme.palette.white,
padding: 5
}
};
export const textFieldStylesTaskName: ITextFieldStyles = {
field: { backgroundColor: `${theme.palette.neutralLighter} !important` },
root: {},
description: {},
errorMessage: {},
fieldGroup: {},
icon: {},
prefix: {},
suffix: {},
wrapper: {},
subComponentStyles: undefined
};
export const modalStyles: IModalStyles = {
main: { minWidth: 400 ,maxWidth: 450, },
root: {},
keyboardMoveIcon: {},
keyboardMoveIconContainer: {},
layer: {},
scrollableContent: {}
};
export const datePickerStyles: IDatePickerStyles = {
callout: {},
icon: {},
root: {},
textField: {}
};
export const textFieldStylesdatePicker: ITextFieldProps = {
style: { display: 'flex', justifyContent: 'flex-start', marginLeft: 15 },
iconProps: { style: { left: 0 } }
};
export const peoplePicker: IStyle = {
backgroundColor: theme.palette.neutralLighter
};
export const addMemberButton: IButtonStyles = {
root: { marginLeft: 0, paddingLeft: 0, marginTop: 0, fontSize: FontSizes.medium , width:26},
textContainer: {
fontSize: FontSizes.medium,
fontWeight: 'normal',
color: '#666666',
marginLeft: 2
}
};
``` | /content/code_sandbox/samples/react-mytasks/src/webparts/myTasks/components/NewTask/NewTaskStyles.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 499 |
```xml
<vector xmlns:android="path_to_url"
android:width="27dp"
android:height="27dp"
android:viewportWidth="27"
android:viewportHeight="27">
<path
android:pathData="M11,2C6.029,2 2,6.029 2,11C2,13.38 2.924,15.544 4.432,17.153L13.586,8C14.367,7.219 15.633,7.219 16.414,8L19.915,11.5C19.064,11.509 18.243,11.642 17.469,11.883L15,9.414L5.958,18.456C7.396,19.431 9.132,20 11,20C11.168,20 11.335,19.995 11.5,19.986C11.5,19.991 11.5,19.995 11.5,20C11.5,20.68 11.58,21.342 11.731,21.976C11.489,21.992 11.246,22 11,22C4.925,22 0,17.075 0,11C0,4.925 4.925,0 11,0C17.075,0 22,4.925 22,11C22,11.246 21.992,11.489 21.976,11.731C21.342,11.58 20.68,11.5 20,11.5C19.995,11.5 19.991,11.5 19.986,11.5C19.995,11.335 20,11.168 20,11C20,6.029 15.971,2 11,2ZM7,7C7,6.448 7.448,6 8,6C8.552,6 9,6.448 9,7C9,7.552 8.552,8 8,8C7.448,8 7,7.552 7,7ZM8,4C6.343,4 5,5.343 5,7C5,8.657 6.343,10 8,10C9.657,10 11,8.657 11,7C11,5.343 9.657,4 8,4Z"
android:fillColor="#000000"
android:fillAlpha="0.87"
android:fillType="evenOdd"/>
<path
android:pathData="M20,13.5C16.41,13.5 13.5,16.41 13.5,20C13.5,23.59 16.41,26.5 20,26.5C23.59,26.5 26.5,23.59 26.5,20C26.5,16.41 23.59,13.5 20,13.5ZM23.538,18.82C23.928,18.43 23.928,17.796 23.538,17.406C23.147,17.015 22.514,17.015 22.124,17.406L19.056,20.473L17.876,19.293C17.486,18.902 16.853,18.902 16.462,19.293C16.072,19.683 16.072,20.317 16.462,20.707L18.349,22.594C18.537,22.782 18.791,22.887 19.056,22.887C19.322,22.887 19.576,22.782 19.764,22.594L23.538,18.82Z"
android:fillColor="#929292"
android:fillType="evenOdd"/>
</vector>
``` | /content/code_sandbox/app/src/main/res/drawable/ic_cu_status_completed.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 898 |
```xml
import React, { useState, useRef } from 'react';
import classNames from 'classnames';
import {
ButtonToolbar,
Button,
CheckboxGroup,
Checkbox,
RadioGroup,
Radio,
Toggle,
Slider,
Input,
Loader,
Container,
Sidebar,
Sidenav,
Content,
Nav,
IconButton,
Stack,
Panel,
Steps,
Divider,
RadioTileGroup,
RadioTile,
DatePicker,
HStack
} from 'rsuite';
import { Icon } from '@rsuite/icons';
import {
MdDashboard,
MdGroup,
MdOutlineStackedBarChart,
MdKeyboardArrowLeft,
MdOutlineKeyboardArrowRight
} from 'react-icons/md';
import { VscLock, VscWorkspaceTrusted, VscRepo } from 'react-icons/vsc';
import Link from 'next/link';
import Logo from '@/components/Logo';
import Header from './Header';
const Brand = ({ expand, ...rest }) => {
return (
<Stack className="brand" {...rest}>
<Logo height={26} style={{ marginTop: 6 }} />
{expand && (
<Link href="/">
<span style={{ marginLeft: 14 }}>Admin Template</span>
</Link>
)}
</Stack>
);
};
const NavToggle = ({ expand, onChange }) => {
return (
<Stack className="nav-toggle" justifyContent={expand ? 'flex-end' : 'center'}>
<IconButton
onClick={onChange}
appearance="subtle"
size="lg"
icon={expand ? <MdKeyboardArrowLeft /> : <MdOutlineKeyboardArrowRight />}
/>
</Stack>
);
};
interface AdminFrameProps {
loading: boolean;
}
function AdminFrame(props: AdminFrameProps) {
const { loading } = props;
const [expand, setExpand] = useState(false);
const rootRef = useRef();
const containerClasses = classNames('page-container', {
'container-full': !expand
});
return (
<Container className="rs-admin-frame" ref={rootRef}>
<Sidebar
style={{ display: 'flex', flexDirection: 'column' }}
width={expand ? 260 : 56}
collapsible
>
<Sidenav.Header>
<Brand expand={expand} />
</Sidenav.Header>
<Sidenav expanded={expand} defaultOpenKeys={['3']} appearance="subtle">
<Sidenav.Body>
<Nav defaultActiveKey="1">
<Nav.Item eventKey="1" icon={<Icon as={MdDashboard} />}>
Overview
</Nav.Item>
<Nav.Item eventKey="2" icon={<Icon as={MdGroup} />}>
User Group
</Nav.Item>
<Nav.Menu
eventKey="3"
trigger="hover"
title="Advanced"
icon={<Icon as={MdOutlineStackedBarChart} />}
placement="rightStart"
>
<Nav.Item eventKey="3-1">Geo</Nav.Item>
<Nav.Item eventKey="3-2">Devices</Nav.Item>
<Nav.Item eventKey="3-3">Brand</Nav.Item>
<Nav.Item eventKey="3-4">Loyalty</Nav.Item>
<Nav.Item eventKey="3-5">Visit Depth</Nav.Item>
</Nav.Menu>
</Nav>
</Sidenav.Body>
</Sidenav>
<NavToggle expand={expand} onChange={() => setExpand(!expand)} />
</Sidebar>
<Container className={containerClasses}>
<Header />
<Content>
<Panel header="Overview">
{loading && <Loader content="Downloading Less.js" />}
<Panel className="rs-card">
<Steps current={0}>
<Steps.Item title="Project Type" />
<Steps.Item title="Project Info" />
<Steps.Item title="Team settings" />
</Steps>
<Divider />
<CheckboxGroup name="check" defaultValue={['1', '2']} inline>
<Checkbox value="1">Owner</Checkbox>
<Checkbox value="2">Admin</Checkbox>
<Checkbox value="3">Member</Checkbox>
</CheckboxGroup>
<Divider />
<HStack spacing={30}>
<RadioGroup name="radio" defaultValue="1" inline>
<Radio value="1">Public</Radio>
<Radio value="2">Private</Radio>
</RadioGroup>
<Toggle defaultChecked>Flight mode</Toggle>
</HStack>
<Divider />
<HStack>
<DatePicker container={() => rootRef.current} /> <Input />
</HStack>
<Divider />
<Divider />
<Slider progress defaultValue={50} />
<Divider />
<RadioTileGroup defaultValue="private" aria-label="Visibility Level">
<RadioTile icon={<Icon as={VscLock} />} label="Private" value="private">
Project access must be granted explicitly to each user. If this project is part of
a group, access will be granted to members of the group.
</RadioTile>
<RadioTile
icon={<Icon as={VscWorkspaceTrusted} />}
label="Internal"
value="internal"
>
The project can be accessed by any logged in user except external users.
</RadioTile>
<RadioTile icon={<Icon as={VscRepo} />} label="Public" value="public">
The project can be accessed without any authentication.
</RadioTile>
</RadioTileGroup>
<Divider />
<ButtonToolbar>
<Button appearance="default">Default</Button>
<Button appearance="primary">Primary</Button>
<Button appearance="link">Link</Button>
<Button appearance="ghost">Ghost</Button>
</ButtonToolbar>
</Panel>
</Panel>
</Content>
</Container>
</Container>
);
}
export default AdminFrame;
``` | /content/code_sandbox/docs/components/AdminFrame/AdminFrame.tsx | xml | 2016-06-06T02:27:46 | 2024-08-16T16:41:54 | rsuite | rsuite/rsuite | 8,263 | 1,271 |
```xml
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<!-- This program is free software; you can redistribute it and/or -->
<!-- published by the Free Software Foundation; either version 2 of the -->
<!-- -->
<!-- This program is distributed in the hope that it will be useful, -->
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
<!-- -->
<!-- along with this program; if not, write to the -->
<!-- Free Software Foundation, Inc., -->
<!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -->
<!-- -->
<!-- Sipp default 'uas' scenario. -->
<!-- -->
<scenario name="Strict route test">
<recv request="INVITE" crlf="true">
</recv>
<send>
<![CDATA[
SIP/2.0 100 Trying
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
]]>
</send>
<send retrans="500">
<![CDATA[
SIP/2.0 407 Proxy Authenticate
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
Proxy-Authenticate: DIGEST realm="test", nonce="12345", algorithm=MD5
]]>
</send>
<recv request="ACK"
optional="false"
rtd="true"
crlf="true">
</recv>
<recv request="INVITE" crlf="true">
</recv>
<send>
<![CDATA[
SIP/2.0 100 Trying
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
]]>
</send>
<send>
<![CDATA[
SIP/2.0 180 Ringing
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
]]>
</send>
<send>
<![CDATA[
SIP/2.0 183 progress
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:target@[local_ip]>
Record-route: <sip:proxy@[local_ip]:[local_port]>
Content-Type: application/sdp
v=0
o=- 3442013205 3442013205 IN IP4 [local_ip]
s=pjsip
c=IN IP4 [local_ip]
t=0 0
m=audio 4002 RTP/AVP 0
a=rtpmap:0 PCMU/8000
]]>
</send>
<send retrans="500">
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:target@[local_ip]>
Record-route: <sip:proxy@[local_ip]:[local_port];maddr=[local_ip]>
Content-Type: application/sdp
v=0
o=- 3442013205 3442013205 IN IP4 [local_ip]
s=pjsip
c=IN IP4 [local_ip]
t=0 0
m=audio 4002 RTP/AVP 0
a=rtpmap:0 PCMU/8000
]]>
</send>
<recv request="ACK"
optional="false"
rtd="true"
crlf="true">
</recv>
<recv request="BYE" crlf="true">
</recv>
<send>
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
]]>
</send>
<!-- Keep the call open for a while in case the 200 is lost to be -->
<!-- able to retransmit it if we receive the BYE again. -->
<pause milliseconds="1000"/>
<!-- definition of the response time repartition table (unit is ms) -->
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
<!-- definition of the call length repartition table (unit is ms) -->
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</scenario>
``` | /content/code_sandbox/tests/pjsua/scripts-sipp/strict-route.xml | xml | 2016-01-24T05:00:33 | 2024-08-16T03:31:21 | pjproject | pjsip/pjproject | 1,960 | 1,110 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<data>
<messages>
<ccp_dialog_title translation="" />
<ccp_dialog_search_hint_message translation="..." />
<ccp_dialog_no_result_ack_message translation="" />
</messages>
<countries>
<country
name=""
english_name="Andorra"
name_code="ad"
phone_code="376" />
<country
name=""
english_name="United Arab Emirates (UAE)"
name_code="ae"
phone_code="971" />
<country
name=""
english_name="Afghanistan"
name_code="af"
phone_code="93" />
<country
name=""
english_name="Antigua and Barbuda"
name_code="ag"
phone_code="1" />
<country
name=""
english_name="Anguilla"
name_code="ai"
phone_code="1" />
<country
name=""
english_name="Albania"
name_code="al"
phone_code="355" />
<country
name=""
english_name="Armenia"
name_code="am"
phone_code="374" />
<country
name=""
english_name="Angola"
name_code="ao"
phone_code="244" />
<country
name=""
english_name="Antarctica"
name_code="aq"
phone_code="672" />
<country
name=""
english_name="Argentina"
name_code="ar"
phone_code="54" />
<country
name=""
english_name="American Samoa"
name_code="as"
phone_code="1" />
<country
name=""
english_name="Austria"
name_code="at"
phone_code="43" />
<country
name=""
english_name="Australia"
name_code="au"
phone_code="61" />
<country
name=""
english_name="Aruba"
name_code="aw"
phone_code="297" />
<country
name=""
english_name="land Islands"
name_code="ax"
phone_code="358" />
<country
name=""
english_name="Azerbaijan"
name_code="az"
phone_code="994" />
<country
name=""
english_name="Bosnia And Herzegovina"
name_code="ba"
phone_code="387" />
<country
name=""
english_name="Barbados"
name_code="bb"
phone_code="1"/>
<country
name=""
english_name="Bangladesh"
name_code="bd"
phone_code="880" />
<country
name=""
english_name="Belgium"
name_code="be"
phone_code="32" />
<country
name=""
english_name="Burkina Faso"
name_code="bf"
phone_code="226" />
<country
name=""
english_name="Bulgaria"
name_code="bg"
phone_code="359" />
<country
name=""
english_name="Bahrain"
name_code="bh"
phone_code="973" />
<country
name=""
english_name="Burundi"
name_code="bi"
phone_code="257" />
<country
name=""
english_name="Benin"
name_code="bj"
phone_code="229" />
<country
name=""
english_name="Saint Barthlemy"
name_code="bl"
phone_code="590" />
<country
name=""
english_name="Bermuda"
name_code="bm"
phone_code="1"/>
<country
name=""
english_name="Brunei Darussalam"
name_code="bn"
phone_code="673" />
<country
name=""
english_name="Bolivia, Plurinational State Of"
name_code="bo"
phone_code="591" />
<country
name=""
english_name="Brazil"
name_code="br"
phone_code="55" />
<country
name=""
english_name="Bahamas"
name_code="bs"
phone_code="1" />
<country
name=""
english_name="Bhutan"
name_code="bt"
phone_code="975" />
<country
name=""
english_name="Botswana"
name_code="bw"
phone_code="267" />
<country
name=""
english_name="Belarus"
name_code="by"
phone_code="375" />
<country
name=""
english_name="Belize"
name_code="bz"
phone_code="501" />
<country
name=""
english_name="Canada"
name_code="ca"
phone_code="1" />
<country
name=""
english_name="Cocos (keeling) Islands"
name_code="cc"
phone_code="61" />
<country
name=""
english_name="Congo, The Democratic Republic Of The"
name_code="cd"
phone_code="243" />
<country
name=""
english_name="Central African Republic"
name_code="cf"
phone_code="236" />
<country
name=""
english_name="Congo"
name_code="cg"
phone_code="242" />
<country
name=""
english_name="Switzerland"
name_code="ch"
phone_code="41" />
<country
name=""
english_name="Cte D'ivoire"
name_code="ci"
phone_code="225" />
<country
name=""
english_name="Cook Islands"
name_code="ck"
phone_code="682" />
<country
name=""
english_name="Chile"
name_code="cl"
phone_code="56" />
<country
name=""
english_name="Cameroon"
name_code="cm"
phone_code="237" />
<country
name=""
english_name="China"
name_code="cn"
phone_code="86" />
<country
name=""
english_name="Colombia"
name_code="co"
phone_code="57" />
<country
name=""
english_name="Costa Rica"
name_code="cr"
phone_code="506" />
<country
name=""
english_name="Cuba"
name_code="cu"
phone_code="53" />
<country
name=""
english_name="Cape Verde"
name_code="cv"
phone_code="238" />
<country
name=""
english_name="Curaao"
name_code="cw"
phone_code="599" />
<country
name=""
english_name="Christmas Island"
name_code="cx"
phone_code="61" />
<country
name=""
english_name="Cyprus"
name_code="cy"
phone_code="357" />
<country
name=""
english_name="Czech Republic"
name_code="cz"
phone_code="420" />
<country
name=""
english_name="Germany"
name_code="de"
phone_code="49" />
<country
name=""
english_name="Djibouti"
name_code="dj"
phone_code="253" />
<country
name=""
english_name="Denmark"
name_code="dk"
phone_code="45" />
<country
name=""
english_name="Dominica"
name_code="dm"
phone_code="1" />
<country
name=""
english_name="Dominican Republic"
name_code="do"
phone_code="1" />
<country
name=""
english_name="Algeria"
name_code="dz"
phone_code="213" />
<country
name=""
english_name="Ecuador"
name_code="ec"
phone_code="593" />
<country
name=""
english_name="Estonia"
name_code="ee"
phone_code="372" />
<country
name=""
english_name="Egypt"
name_code="eg"
phone_code="20" />
<country
name=""
english_name="Eritrea"
name_code="er"
phone_code="291" />
<country
name=""
english_name="Spain"
name_code="es"
phone_code="34" />
<country
name=""
english_name="Ethiopia"
name_code="et"
phone_code="251" />
<country
name=""
english_name="Finland"
name_code="fi"
phone_code="358" />
<country
name=""
english_name="Fiji"
name_code="fj"
phone_code="679" />
<country
name=""
english_name="Falkland Islands (malvinas)"
name_code="fk"
phone_code="500" />
<country
name=""
english_name="Micronesia, Federated States Of"
name_code="fm"
phone_code="691" />
<country
name=""
english_name="Faroe Islands"
name_code="fo"
phone_code="298" />
<country
name=""
english_name="France"
name_code="fr"
phone_code="33" />
<country
name=""
english_name="Gabon"
name_code="ga"
phone_code="241" />
<country
name=""
english_name="United Kingdom"
name_code="gb"
phone_code="44" />
<country
name=""
english_name="Grenada"
name_code="gd"
phone_code="1" />
<country
name=""
english_name="Georgia"
name_code="ge"
phone_code="995" />
<country
name=""
english_name="French Guyana"
name_code="gf"
phone_code="594" />
<country
name=""
english_name="Guernsey"
name_code="gg"
phone_code="44" />
<country
name=""
english_name="Ghana"
name_code="gh"
phone_code="233" />
<country
name=""
english_name="Gibraltar"
name_code="gi"
phone_code="350" />
<country
name=""
english_name="Greenland"
name_code="gl"
phone_code="299" />
<country
name=""
english_name="Gambia"
name_code="gm"
phone_code="220" />
<country
name=""
english_name="Guinea"
name_code="gn"
phone_code="224" />
<country
name=""
english_name="Guadeloupe"
name_code="gp"
phone_code="590" />
<country
name=""
english_name="Equatorial Guinea"
name_code="gq"
phone_code="240" />
<country
name=""
english_name="Greece"
name_code="gr"
phone_code="30" />
<country
name=""
english_name="Guatemala"
name_code="gt"
phone_code="502" />
<country
name=""
english_name="Guam"
name_code="gu"
phone_code="1" />
<country
name=""
english_name="Guinea-bissau"
name_code="gw"
phone_code="245" />
<country
name=""
english_name="Guyana"
name_code="gy"
phone_code="592" />
<country
name=""
english_name="Hong Kong"
name_code="hk"
phone_code="852" />
<country
name=""
english_name="Honduras"
name_code="hn"
phone_code="504" />
<country
name=""
english_name="Croatia"
name_code="hr"
phone_code="385" />
<country
name=""
english_name="Haiti"
name_code="ht"
phone_code="509" />
<country
name=""
english_name="Hungary"
name_code="hu"
phone_code="36" />
<country
name=""
english_name="Indonesia"
name_code="id"
phone_code="62" />
<country
name=""
english_name="Ireland"
name_code="ie"
phone_code="353" />
<country
name=""
english_name="Israel"
name_code="il"
phone_code="972" />
<country
name=""
english_name="Isle Of Man"
name_code="im"
phone_code="44" />
<country
name=""
english_name="Iceland"
name_code="is"
phone_code="354" />
<country
name=""
english_name="India"
name_code="in"
phone_code="91" />
<country
name=""
english_name="British Indian Ocean Territory"
name_code="io"
phone_code="246" />
<country
name=""
english_name="Iraq"
name_code="iq"
phone_code="964" />
<country
name=""
english_name="Iran, Islamic Republic Of"
name_code="ir"
phone_code="98" />
<country
name=""
english_name="Italy"
name_code="it"
phone_code="39" />
<country
name=""
english_name="Jersey"
name_code="je"
phone_code="44" />
<country
name=""
english_name="Jamaica"
name_code="jm"
phone_code="1" />
<country
name=""
english_name="Jordan"
name_code="jo"
phone_code="962" />
<country
name=""
english_name="Japan"
name_code="jp"
phone_code="81" />
<country
name=""
english_name="Kenya"
name_code="ke"
phone_code="254" />
<country
name=""
english_name="Kyrgyzstan"
name_code="kg"
phone_code="996" />
<country
name=""
english_name="Cambodia"
name_code="kh"
phone_code="855" />
<country
name=""
english_name="Kiribati"
name_code="ki"
phone_code="686" />
<country
name=""
english_name="Comoros"
name_code="km"
phone_code="269" />
<country
name=""
english_name="Saint Kitts and Nevis"
name_code="kn"
phone_code="1" />
<country
name=""
english_name="North Korea"
name_code="kp"
phone_code="850" />
<country
name=""
english_name="South Korea"
name_code="kr"
phone_code="82" />
<country
name=""
english_name="Kuwait"
name_code="kw"
phone_code="965" />
<country
name=""
english_name="Cayman Islands"
name_code="ky"
phone_code="1" />
<country
name=""
english_name="Kazakhstan"
name_code="kz"
phone_code="7" />
<country
name=""
english_name="Lao People's Democratic Republic"
name_code="la"
phone_code="856" />
<country
name=""
english_name="Lebanon"
name_code="lb"
phone_code="961" />
<country
name=""
english_name="Saint Lucia"
name_code="lc"
phone_code="1" />
<country
name=""
english_name="Liechtenstein"
name_code="li"
phone_code="423" />
<country
name=""
english_name="Sri Lanka"
name_code="lk"
phone_code="94" />
<country
name=""
english_name="Liberia"
name_code="lr"
phone_code="231" />
<country
name=""
english_name="Lesotho"
name_code="ls"
phone_code="266" />
<country
name=""
english_name="Lithuania"
name_code="lt"
phone_code="370" />
<country
name=""
english_name="Luxembourg"
name_code="lu"
phone_code="352" />
<country
name=""
english_name="Latvia"
name_code="lv"
phone_code="371" />
<country
name=""
english_name="Libya"
name_code="ly"
phone_code="218" />
<country
name=""
english_name="Morocco"
name_code="ma"
phone_code="212" />
<country
name=""
english_name="Monaco"
name_code="mc"
phone_code="377" />
<country
name=""
english_name="Moldova, Republic Of"
name_code="md"
phone_code="373" />
<country
name=""
english_name="Montenegro"
name_code="me"
phone_code="382" />
<country
name=""
english_name="Saint Martin"
name_code="mf"
phone_code="590" />
<country
name=""
english_name="Madagascar"
name_code="mg"
phone_code="261" />
<country
name=""
english_name="Marshall Islands"
name_code="mh"
phone_code="692" />
<country
name=""
english_name="Macedonia (FYROM)"
name_code="mk"
phone_code="389" />
<country
name=""
english_name="Mali"
name_code="ml"
phone_code="223" />
<country
name=""
english_name="Myanmar"
name_code="mm"
phone_code="95" />
<country
name=""
english_name="Mongolia"
name_code="mn"
phone_code="976" />
<country
name=""
english_name="Macau"
name_code="mo"
phone_code="853" />
<country
name=""
english_name="Northern Mariana Islands"
name_code="mp"
phone_code="1" />
<country
name=""
english_name="Martinique"
name_code="mq"
phone_code="596" />
<country
name=""
english_name="Mauritania"
name_code="mr"
phone_code="222" />
<country
name=""
english_name="Montserrat"
name_code="ms"
phone_code="1" />
<country
name=""
english_name="Malta"
name_code="mt"
phone_code="356" />
<country
name=""
english_name="Mauritius"
name_code="mu"
phone_code="230" />
<country
name=""
english_name="Maldives"
name_code="mv"
phone_code="960" />
<country
name=""
english_name="Malawi"
name_code="mw"
phone_code="265" />
<country
name=""
english_name="Mexico"
name_code="mx"
phone_code="52" />
<country
name=""
english_name="Malaysia"
name_code="my"
phone_code="60" />
<country
name=""
english_name="Mozambique"
name_code="mz"
phone_code="258" />
<country
name=""
english_name="Namibia"
name_code="na"
phone_code="264" />
<country
name=""
english_name="New Caledonia"
name_code="nc"
phone_code="687" />
<country
name=""
english_name="Niger"
name_code="ne"
phone_code="227" />
<country
name=""
english_name="Norfolk Islands"
name_code="nf"
phone_code="672" />
<country
name=""
english_name="Nigeria"
name_code="ng"
phone_code="234" />
<country
name=""
english_name="Nicaragua"
name_code="ni"
phone_code="505" />
<country
name=""
english_name="Netherlands"
name_code="nl"
phone_code="31" />
<country
name=""
english_name="Norway"
name_code="no"
phone_code="47" />
<country
name=""
english_name="Nepal"
name_code="np"
phone_code="977" />
<country
name=""
english_name="Nauru"
name_code="nr"
phone_code="674" />
<country
name=""
english_name="Niue"
name_code="nu"
phone_code="683" />
<country
name=""
english_name="New Zealand"
name_code="nz"
phone_code="64" />
<country
name=""
english_name="Oman"
name_code="om"
phone_code="968" />
<country
name=""
english_name="Panama"
name_code="pa"
phone_code="507" />
<country
name=""
english_name="Peru"
name_code="pe"
phone_code="51" />
<country
name=""
english_name="French Polynesia"
name_code="pf"
phone_code="689" />
<country
name=""
english_name="Papua New Guinea"
name_code="pg"
phone_code="675" />
<country
name=""
english_name="Philippines"
name_code="ph"
phone_code="63" />
<country
name=""
english_name="Pakistan"
name_code="pk"
phone_code="92" />
<country
name=""
english_name="Poland"
name_code="pl"
phone_code="48" />
<country
name=""
english_name="Saint Pierre And Miquelon"
name_code="pm"
phone_code="508" />
<country
name=""
english_name="Pitcairn Islands"
name_code="pn"
phone_code="870" />
<country
name=""
english_name="Puerto Rico"
name_code="pr"
phone_code="1" />
<country
name=""
english_name="Palestine"
name_code="ps"
phone_code="970" />
<country
name=""
english_name="Portugal"
name_code="pt"
phone_code="351" />
<country
name=""
english_name="Palau"
name_code="pw"
phone_code="680" />
<country
name=""
english_name="Paraguay"
name_code="py"
phone_code="595" />
<country
name=""
english_name="Qatar"
name_code="qa"
phone_code="974" />
<country
name=""
english_name="Runion"
name_code="re"
phone_code="262" />
<country
name=""
english_name="Romania"
name_code="ro"
phone_code="40" />
<country
name=""
english_name="Serbia"
name_code="rs"
phone_code="381" />
<country
name=""
english_name="Russian Federation"
name_code="ru"
phone_code="7" />
<country
name=""
english_name="Rwanda"
name_code="rw"
phone_code="250" />
<country
name=""
english_name="Saudi Arabia"
name_code="sa"
phone_code="966" />
<country
name=""
english_name="Solomon Islands"
name_code="sb"
phone_code="677" />
<country
name=""
english_name="Seychelles"
name_code="sc"
phone_code="248" />
<country
name=""
english_name="Sudan"
name_code="sd"
phone_code="249" />
<country
name=""
english_name="Sweden"
name_code="se"
phone_code="46" />
<country
name=""
english_name="Singapore"
name_code="sg"
phone_code="65" />
<country
name=" - "
english_name="Saint Helena, Ascension And Tristan Da Cunha"
name_code="sh"
phone_code="290" />
<country
name=""
english_name="Slovenia"
name_code="si"
phone_code="386" />
<country
name=""
english_name="Slovakia"
name_code="sk"
phone_code="421" />
<country
name=""
english_name="Sierra Leone"
name_code="sl"
phone_code="232" />
<country
name=""
english_name="San Marino"
name_code="sm"
phone_code="378" />
<country
name=""
english_name="Senegal"
name_code="sn"
phone_code="221" />
<country
name=""
english_name="Somalia"
name_code="so"
phone_code="252" />
<country
name=""
english_name="Suriname"
name_code="sr"
phone_code="597" />
<country
name=""
english_name="South Sudan"
name_code="ss"
phone_code="211" />
<country
name=""
english_name="Sao Tome And Principe"
name_code="st"
phone_code="239" />
<country
name=""
english_name="El Salvador"
name_code="sv"
phone_code="503" />
<country
name=""
english_name="Sint Maarten"
name_code="sx"
phone_code="1" />
<country
name=""
english_name="Syrian Arab Republic"
name_code="sy"
phone_code="963" />
<country
name=""
english_name="Swaziland"
name_code="sz"
phone_code="268" />
<country
name=""
english_name="Turks and Caicos Islands"
name_code="tc"
phone_code="1" />
<country
name=""
english_name="Chad"
name_code="td"
phone_code="235" />
<country
name=""
english_name="Togo"
name_code="tg"
phone_code="228" />
<country
name=""
english_name="Thailand"
name_code="th"
phone_code="66" />
<country
name=""
english_name="Tajikistan"
name_code="tj"
phone_code="992" />
<country
name=""
english_name="Tokelau"
name_code="tk"
phone_code="690" />
<country
name=""
english_name="Timor-leste"
name_code="tl"
phone_code="670" />
<country
name=""
english_name="Turkmenistan"
name_code="tm"
phone_code="993" />
<country
name=""
english_name="Tunisia"
name_code="tn"
phone_code="216" />
<country
name=""
english_name="Tonga"
name_code="to"
phone_code="676" />
<country
name=""
english_name="Turkey"
name_code="tr"
phone_code="90" />
<country
name=""
english_name="Trinidad & Tobago"
name_code="tt"
phone_code="1" />
<country
name=""
english_name="Tuvalu"
name_code="tv"
phone_code="688" />
<country
name=""
english_name="Taiwan"
name_code="tw"
phone_code="886" />
<country
name=""
english_name="Tanzania, United Republic Of"
name_code="tz"
phone_code="255" />
<country
name=""
english_name="Ukraine"
name_code="ua"
phone_code="380" />
<country
name=""
english_name="Uganda"
name_code="ug"
phone_code="256" />
<country
name=""
english_name="United States (USA)"
name_code="us"
phone_code="1" />
<country
name=""
english_name="Uruguay"
name_code="uy"
phone_code="598" />
<country
name=""
english_name="Uzbekistan"
name_code="uz"
phone_code="998" />
<country
name=""
english_name="Holy See (vatican City State)"
name_code="va"
phone_code="379" />
<country
name=""
english_name="Saint Vincent & The Grenadines"
name_code="vc"
phone_code="1" />
<country
name=""
english_name="Venezuela, Bolivarian Republic Of"
name_code="ve"
phone_code="58" />
<country
name=""
english_name="British Virgin Islands"
name_code="vg"
phone_code="1" />
<country
name=""
english_name="US Virgin Islands"
name_code="vi"
phone_code="1" />
<country
name=""
english_name="Vietnam"
name_code="vn"
phone_code="84" />
<country
name=""
english_name="Vanuatu"
name_code="vu"
phone_code="678" />
<country
name=""
english_name="Wallis And Futuna"
name_code="wf"
phone_code="681" />
<country
name=""
english_name="Samoa"
name_code="ws"
phone_code="685" />
<country
name=""
english_name="Kosovo"
name_code="xk"
phone_code="383" />
<country
name=""
english_name="Yemen"
name_code="ye"
phone_code="967" />
<country
name=""
english_name="Mayotte"
name_code="yt"
phone_code="262" />
<country
name=""
english_name="South Africa"
name_code="za"
phone_code="27" />
<country
name=""
english_name="Zambia"
name_code="zm"
phone_code="260" />
<country
name=""
english_name="Zimbabwe"
name_code="zw"
phone_code="263" />
</countries>
</data>
``` | /content/code_sandbox/ccp/src/main/res/raw/ccp_chinese_traditional.xml | xml | 2016-01-20T10:28:34 | 2024-08-13T16:24:01 | CountryCodePickerProject | hbb20/CountryCodePickerProject | 1,506 | 6,825 |
```xml
import { EncryptedBytes } from '../Types/EncryptedBytes'
import { FileMemoryCache } from './FileMemoryCache'
describe('file memory cache', () => {
const createBytes = (size: number): EncryptedBytes => {
return { encryptedBytes: new TextEncoder().encode('a'.repeat(size)) }
}
it('should add file', () => {
const cache = new FileMemoryCache(5)
const file = createBytes(1)
cache.add('123', file)
expect(cache.get('123')).toEqual(file)
})
it('should fail to add file if exceeds maximum', () => {
const maxSize = 5
const cache = new FileMemoryCache(maxSize)
const file = createBytes(maxSize + 1)
expect(cache.add('123', file)).toEqual(false)
})
it('should allow filling files up to limit', () => {
const cache = new FileMemoryCache(5)
cache.add('1', createBytes(3))
cache.add('2', createBytes(2))
expect(cache.get('1')).toBeTruthy()
expect(cache.get('2')).toBeTruthy()
})
it('should clear early files when adding new files above limit', () => {
const cache = new FileMemoryCache(5)
cache.add('1', createBytes(3))
cache.add('2', createBytes(2))
cache.add('3', createBytes(5))
expect(cache.get('1')).toBeFalsy()
expect(cache.get('2')).toBeFalsy()
expect(cache.get('3')).toBeTruthy()
})
it('should remove single file', () => {
const cache = new FileMemoryCache(5)
cache.add('1', createBytes(3))
cache.add('2', createBytes(2))
cache.remove('1')
expect(cache.get('1')).toBeFalsy()
expect(cache.get('2')).toBeTruthy()
})
it('should clear all files', () => {
const cache = new FileMemoryCache(5)
cache.add('1', createBytes(3))
cache.add('2', createBytes(2))
cache.clear()
expect(cache.get('1')).toBeFalsy()
expect(cache.get('2')).toBeFalsy()
})
it('should return correct size', () => {
const cache = new FileMemoryCache(20)
cache.add('1', createBytes(3))
cache.add('2', createBytes(10))
expect(cache.size).toEqual(13)
})
})
``` | /content/code_sandbox/packages/files/src/Domain/Cache/FileMemoryCache.spec.ts | xml | 2016-12-05T23:31:33 | 2024-08-16T06:51:19 | app | standardnotes/app | 5,180 | 531 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<EnableDefaultItems>false</EnableDefaultItems>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Include="testgenerator.cs" />
</ItemGroup>
</Project>
``` | /content/code_sandbox/tests/test-libraries/testgenerator.csproj | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 131 |
```xml
import parseua from 'next/dist/compiled/ua-parser-js'
interface UserAgent {
isBot: boolean
ua: string
browser: {
name?: string
version?: string
major?: string
}
device: {
model?: string
type?: string
vendor?: string
}
engine: {
name?: string
version?: string
}
os: {
name?: string
version?: string
}
cpu: {
architecture?: string
}
}
export function isBot(input: string): boolean {
return /Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(
input
)
}
export function userAgentFromString(input: string | undefined): UserAgent {
return {
...parseua(input),
isBot: input === undefined ? false : isBot(input),
}
}
export function userAgent({ headers }: { headers: Headers }): UserAgent {
return userAgentFromString(headers.get('user-agent') || undefined)
}
``` | /content/code_sandbox/packages/next/src/server/web/spec-extension/user-agent.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 323 |
```xml
import * as React from 'react';
import polyglotI18nProvider from 'ra-i18n-polyglot';
import englishMessages from 'ra-language-english';
import { AdminContext } from '../AdminContext';
import { Create } from '../detail';
import { SimpleForm } from '../form';
import { NullableBooleanInput } from './NullableBooleanInput';
import { FormInspector } from './common';
export default { title: 'ra-ui-materialui/input/NullableBooleanInput' };
export const Basic = () => (
<Wrapper>
<NullableBooleanInput source="published" />
</Wrapper>
);
export const Disabled = () => (
<Wrapper>
<NullableBooleanInput source="announced" defaultValue={true} disabled />
<NullableBooleanInput source="published" disabled />
</Wrapper>
);
export const ReadOnly = () => (
<Wrapper>
<NullableBooleanInput source="announced" defaultValue={true} readOnly />
<NullableBooleanInput source="published" readOnly />
</Wrapper>
);
const i18nProvider = polyglotI18nProvider(() => englishMessages);
const Wrapper = ({ children }) => (
<AdminContext i18nProvider={i18nProvider} defaultTheme="light">
<Create resource="posts">
<SimpleForm>
{children}
<FormInspector name="published" />
</SimpleForm>
</Create>
</AdminContext>
);
``` | /content/code_sandbox/packages/ra-ui-materialui/src/input/NullableBooleanInput.stories.tsx | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 300 |
```xml
import { ChangeEvent } from 'react';
import { InputGroup } from '@@/form-components/InputGroup';
type Props = {
serviceIndex: number;
portIndex: number;
onChange: (e: ChangeEvent<HTMLInputElement>) => void;
value?: number;
};
export function ContainerPortInput({
serviceIndex,
portIndex,
value,
onChange,
}: Props) {
return (
<InputGroup size="small">
<InputGroup.Addon required>Container port</InputGroup.Addon>
<InputGroup.Input
type="number"
className="form-control min-w-max"
name={`container_port_${portIndex}`}
placeholder="e.g. 80"
min="1"
max="65535"
value={value ?? ''}
onChange={onChange}
required
data-cy={`k8sAppCreate-containerPort-${serviceIndex}-${portIndex}`}
/>
</InputGroup>
);
}
``` | /content/code_sandbox/app/react/kubernetes/applications/CreateView/application-services/components/ContainerPortInput.tsx | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 197 |
```xml
import React from 'react';
import { MAILBOX_LABEL_IDS } from '@proton/shared/lib/constants';
import { isFrozenExpiration } from '@proton/shared/lib/mail/messages';
import { getMessageHasData } from 'proton-mail/helpers/message/messages';
import type { MessageState } from 'proton-mail/store/messages/messagesTypes';
import ExtraExpirationSelfDestruction from './ExtraExpirationSelfDestruction';
import ExtraExpirationSentExpirationAutoDelete from './ExtraExpirationSentExpirationAutoDelete';
interface Props {
message: MessageState;
}
const ExtraExpiration = ({ message }: Props) => {
if (!getMessageHasData(message)) {
return null;
}
// TODO: Remove when API has fixed expiresIn and freeze flag issue (MAILBE-1129)
const isFrozen = isFrozenExpiration(message.data) || !!message.draftFlags?.expiresIn;
const hasExpiration = !!(message.data?.ExpirationTime || message.draftFlags?.expiresIn);
const hasSpamOrTrash =
message.data?.LabelIDs?.includes(MAILBOX_LABEL_IDS.TRASH) ||
message.data?.LabelIDs?.includes(MAILBOX_LABEL_IDS.SPAM);
return (
<>
{hasExpiration && isFrozen ? <ExtraExpirationSentExpirationAutoDelete message={message} /> : null}
{hasExpiration && !isFrozen && !hasSpamOrTrash ? (
<ExtraExpirationSelfDestruction message={message} />
) : null}
{hasExpiration && !isFrozen && hasSpamOrTrash ? (
<ExtraExpirationSentExpirationAutoDelete message={message} autoDelete />
) : null}
</>
);
};
export default ExtraExpiration;
``` | /content/code_sandbox/applications/mail/src/app/components/message/extras/expiration/ExtraExpiration.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 346 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<faces-config xmlns="path_to_url"
xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url"
version="2.2">
<application>
<action-listener>org.primefaces.application.DialogActionListener</action-listener>
<navigation-handler>org.primefaces.application.DialogNavigationHandler</navigation-handler>
<view-handler>org.primefaces.application.DialogViewHandler</view-handler>
</application>
</faces-config>
``` | /content/code_sandbox/PrimeFaces/Primefaces-Utilities-Sample/src/main/webapp/WEB-INF/faces-config.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 120 |
```xml
import express, { urlencoded } from 'express';
import type Provider from 'oidc-provider';
export const oauthRoutes = async (port: number) => {
const clientIDAuthorizationCode = 'authorization_code';
const clientIDAuthorizationCodePKCE = 'authorization_code_pkce';
const clientIDImplicit = 'implicit';
const clientIDClientCreds = 'client_credentials';
const clientIDResourceOwner = 'resource_owner';
const clientSecret = 'secret';
const clientRedirectUri = `path_to_url{port}/callback`;
/* eslint-disable camelcase */
const oidcConfig = {
interactions: {
url: (_, interaction) => {
return `/oidc/interaction/${interaction.uid}`;
},
},
cookies: {
long: {
httpOnly: false,
},
short: {
httpOnly: false,
},
},
features: {
devInteractions: {
enabled: false,
},
registration: {
enabled: false,
},
revocation: {
enabled: true,
},
userinfo: {
enabled: true,
},
clientCredentials: {
enabled: true,
},
},
clients: [
{
client_id: clientIDAuthorizationCode,
client_secret: clientSecret,
redirect_uris: [clientRedirectUri],
grant_types: ['authorization_code'],
},
{
client_id: clientIDAuthorizationCodePKCE,
client_secret: clientSecret,
redirect_uris: [clientRedirectUri],
grant_types: ['authorization_code'],
},
{
client_id: clientIDImplicit,
client_secret: clientSecret,
redirect_uris: [clientRedirectUri],
token_endpoint_auth_method: 'none',
grant_types: ['implicit'],
response_types: ['id_token', 'id_token token'],
},
{
client_id: clientIDClientCreds,
client_secret: clientSecret,
redirect_uris: [clientRedirectUri],
grant_types: ['authorization_code', 'client_credentials'],
},
{
client_id: clientIDResourceOwner,
client_secret: clientSecret,
redirect_uris: [clientRedirectUri],
grant_types: ['authorization_code', 'password'],
},
],
pkce: {
methods: [
'S256',
'plain',
],
required: (_, client) => {
// Require PKCE for the PKCE client id
return client.clientId === clientIDAuthorizationCodePKCE;
},
},
responseTypes: [
'code',
'id_token', 'id_token token',
'none',
],
issueRefreshToken: () => {
return false;
},
// path_to_url
loadExistingGrant: async ctx => {
const grantId = (ctx.oidc.result?.consent?.grantId) || (ctx.oidc.session!.grantIdFor(ctx.oidc.client!.clientId));
if (grantId) {
const grant = await ctx.oidc.provider.Grant.find(grantId);
if (grant) {
if (ctx.oidc.account && grant.exp! < ctx.session?.exp) {
grant.exp = ctx.session?.exp;
await grant!.save();
}
return grant;
}
}
const grant = new ctx.oidc.provider.Grant({
clientId: ctx.oidc.client!.clientId,
accountId: ctx.oidc.session!.accountId,
});
grant.addOIDCScope('openid email profile');
await grant.save();
return grant;
},
};
/* eslint-enable camelcase */
const provider = (await import('oidc-provider')).default;
const oidc = new provider(`path_to_url{port}`, oidcConfig);
allowLocalhostImplicit(oidc);
registerROPC(oidc);
const oauthRouter = express.Router();
// Route for verifying that id tokens are valid for implicit id token only flows
oauthRouter.get('/id-token', async (req, res) => {
const client = await oidc.Client.find(clientIDImplicit);
if (!client) {
res
.status(500)
.header('Content-Type', 'text/plain')
.send('Client not found');
return;
}
const authorizationHeader = req.header('Authorization');
if (!authorizationHeader) {
res
.status(400)
.header('Content-Type', 'text/plain')
.send('Missing Authorization header');
return;
}
try {
const validated = await oidc.IdToken.validate(extractToken(authorizationHeader), client);
res
.status(200)
.json(validated);
} catch (err) {
res
.status(500)
.header('Content-Type', 'text/plain')
.send('Invalid authorization header');
}
});
// Route for verifying that client credentials are valid
oauthRouter.get('/client-credential', async (req, res) => {
const authorizationHeader = req.header('Authorization');
if (!authorizationHeader) {
res
.status(400)
.header('Content-Type', 'text/plain')
.send('Missing Authorization header');
return;
}
const clientCredentials = await oidc.ClientCredentials.find(extractToken(authorizationHeader));
if (!clientCredentials) {
res
.status(400)
.header('Content-Type', 'text/plain')
.send('Invalid client credentials');
return;
}
res
.status(200)
.json(clientCredentials);
});
oauthRouter.get('/interaction/:uid', async (req, res, next) => {
try {
const {
uid, prompt,
} = await oidc.interactionDetails(req, res);
switch (prompt.name) {
case 'login': {
return res.send(`
<html>
<body>
<form autocomplete="off" action="/oidc/interaction/${uid}/login" method="post">
<input required type="text" name="login" placeholder="Enter any login" autofocus="on">
<input required type="password" name="password" placeholder="and password">
<button type="submit">Sign-in</button>
</form>
</body>
</html>
`);
}
default:
return next(new Error('Invalid prompt'));
}
} catch (err) {
return next(err);
}
});
const body = urlencoded({ extended: false });
oauthRouter.post('/interaction/:uid/login', body, async (req, res, next) => {
try {
await oidc.interactionDetails(req, res);
const account = await (oidc.Account as any).findAccount(
null,
req.body.login,
);
const result = {
login: {
accountId: account!.accountId,
},
};
await oidc.interactionFinished(req, res, result, { mergeWithLastSubmission: false });
} catch (err) {
next(err);
}
});
oauthRouter.use(oidc.callback());
return oauthRouter;
};
// Allow implicit to function despite the redirect address being http and localhost
// path_to_url
function allowLocalhostImplicit(oidc: Provider) {
const { invalidate: orig } = (oidc.Client as any).Schema.prototype;
(oidc.Client as any).Schema.prototype.invalidate = function invalidate(message: any, code: any) {
if (code === 'implicit-force-https' || code === 'implicit-forbid-localhost') {
return;
}
orig.call(this, message);
};
}
// Custom grant type to support ROPC, as oidc-provider does not natively support it
// path_to_url#password-grant-type-ropc
const parameters = ['username', 'password', 'scope'];
function registerROPC(oidc: Provider) {
oidc.registerGrantType('password', async (ctx, next) => {
const params = ctx.oidc.params;
if (!params) {
throw new Error('invalid params provided');
}
if (!ctx.oidc.client) {
throw new Error('invalid client provided');
}
if (typeof params.username !== 'string' || typeof params.password !== 'string') {
throw new Error('invalid credentials provided');
}
const account = await ctx.oidc.provider.Account.findAccount(
ctx,
params.username
);
if (!account) {
throw new Error('invalid account');
}
const grant = new ctx.oidc.provider.Grant({
clientId: ctx.oidc.client.clientId,
accountId: account.accountId,
});
await grant.save();
const { AccessToken } = ctx.oidc.provider;
const at = new AccessToken({
accountId: account.accountId,
client: ctx.oidc.client,
grantId: grant.jti,
gty: 'password',
scope: typeof params.scope === 'string' ? params.scope : '',
claims: {
userinfo: {
sub: {
value: account.accountId,
},
},
},
});
const accessToken = await at.save();
/* eslint-disable camelcase */
ctx.body = {
access_token: accessToken,
expires_in: at.expiration,
scope: at.scope,
token_type: at.tokenType,
};
/* eslint-enable camelcase */
await next();
}, parameters);
}
function extractToken(authorizationHeader: string) {
const split = authorizationHeader.split(' ');
if (split.length === 2 && split[0] === 'Bearer') {
return split[1];
}
return '';
}
``` | /content/code_sandbox/packages/insomnia-smoke-test/server/oauth.ts | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 2,065 |
```xml
import { fs } from 'memfs';
import path from 'path';
import { createTempDirectoryPath } from '../createTempPath';
import * as GitIgnore from '../mergeGitIgnorePaths';
import { removeFromGitIgnore, upsertGitIgnoreContents } from '../mergeGitIgnorePaths';
const testRoot = createTempDirectoryPath();
beforeAll(async () => {
await fs.promises.mkdir(testRoot, { recursive: true });
});
afterAll(async () => {
await fs.promises.rm(testRoot, { recursive: true, force: true });
});
const gitignore1 = `
# hello world
*/foo
ios/
/android
## bar
`;
// A gitignore with an old generated section
const gitignore2 = `a
b
${GitIgnore.createGeneratedHeaderComment('...')}
foo
bar
${GitIgnore.generatedFooterComment}
c
d`;
// A broken generated section
const gitignore3 = `a
b
${GitIgnore.createGeneratedHeaderComment('...')}
foo
bar
c
d`;
// Footer is before header
const gitignore4 = `a
b
${GitIgnore.generatedFooterComment}
foo
bar
${GitIgnore.createGeneratedHeaderComment('...')}
c
d`;
it(`sanitizes comments, new lines, and sort order`, () => {
expect(GitIgnore.getSanitizedGitIgnoreLines(gitignore1)).toStrictEqual([
'*/foo',
'/android ',
'ios/',
]);
});
describe('removeGeneratedGitIgnoreContents', () => {
it(`removes a generated gitignore`, () => {
expect(GitIgnore.removeGeneratedGitIgnoreContents(gitignore2)?.split('\n')).toStrictEqual([
'a',
'b',
'c',
'd',
]);
});
it(`removes nothing from a regular gitignore`, () => {
expect(GitIgnore.removeGeneratedGitIgnoreContents(gitignore1)).toBe(null);
});
it(`removes nothing when the generated footer is missing`, () => {
expect(GitIgnore.removeGeneratedGitIgnoreContents(gitignore3)).toBe(null);
});
it(`removes nothing when the footer precede the header`, () => {
expect(GitIgnore.removeGeneratedGitIgnoreContents(gitignore4)).toBe(null);
});
});
describe('mergeGitIgnore', () => {
it(`skips merging if the target file is missing`, async () => {
// fs
const projectRoot = path.join(testRoot, 'merge-git-ignore-skip-when-target-missing');
await fs.promises.mkdir(projectRoot, { recursive: true });
// Setup
const targetGitIgnorePath = path.join(projectRoot, '.gitignore');
// Skip writing a gitignore
const sourceGitIgnorePath = path.join(projectRoot, '.gitignore-other');
await fs.promises.writeFile(
sourceGitIgnorePath,
[
'alpha',
'beta',
// in the future we may want to merge this value with the existing matching value
// or maybe we could keep the code simple and not do that :]
'bar',
].join('\n')
);
expect(GitIgnore.mergeGitIgnorePaths(targetGitIgnorePath, sourceGitIgnorePath)).toBe(null);
expect(fs.existsSync(targetGitIgnorePath)).toBe(false);
});
it(`merges two git ignore files in the filesystem`, async () => {
// fs
const projectRoot = path.join(testRoot, 'merge-git-ignore-works');
await fs.promises.mkdir(projectRoot, { recursive: true });
// Setup
const targetGitIgnorePath = path.join(projectRoot, '.gitignore');
await fs.promises.writeFile(
targetGitIgnorePath,
[
'foo',
// Test a duplicate value
'bar',
].join('\n')
);
const sourceGitIgnorePath = path.join(projectRoot, '.gitignore-other');
await fs.promises.writeFile(
sourceGitIgnorePath,
[
'alpha',
'beta',
// in the future we may want to merge this value with the existing matching value
// or maybe we could keep the code simple and not do that :]
'bar',
].join('\n')
);
const results = GitIgnore.mergeGitIgnorePaths(targetGitIgnorePath, sourceGitIgnorePath);
expect(results).not.toBe(null);
expect(results?.contents).toMatch(
/generated expo-cli sync-69a5afdba5ff28bbd11618f94ae2dc4bfdfd7cae/
);
expect(results?.contents).toMatch(/foo/);
expect(results?.contents).toMatch(/alpha/);
expect(results?.didMerge).toBe(true);
expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(results?.contents);
});
});
describe(removeFromGitIgnore, () => {
it('can remove a line from gitignore', async () => {
const targetGitIgnorePath = path.join(testRoot, './removeFromGitIgnore');
await fs.promises.writeFile(targetGitIgnorePath, gitignore1);
removeFromGitIgnore(targetGitIgnorePath, '*/foo');
expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(`
# hello world
ios/
/android
## bar
`);
});
it('will remove the generated section if it is empty', async () => {
const targetGitIgnorePath = path.join(testRoot, './removeFromGitIgnore-remove-generated');
await fs.promises.writeFile(
targetGitIgnorePath,
`
# hello world
*/foo
ios/
/android
## bar
# @generated expo-cli sync-4f49d69613b186e71104c7ca1b26c1e5b78c9193
# The following patterns were generated by expo-cli
test-string
# @end expo-cli`
);
removeFromGitIgnore(targetGitIgnorePath, 'test-string');
expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(`
# hello world
*/foo
ios/
/android
## bar
`);
});
});
describe(upsertGitIgnoreContents, () => {
it('can create a new gitignore file', async () => {
const targetGitIgnorePath = path.join(testRoot, './upsertGitIgnoreContents-create');
const results = upsertGitIgnoreContents(targetGitIgnorePath, 'test-string');
expect(results?.contents).toBe(`
# @generated expo-cli sync-4f49d69613b186e71104c7ca1b26c1e5b78c9193
# The following patterns were generated by expo-cli
test-string
# @end expo-cli`);
expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(results?.contents);
});
it('can update an existing gitignore file', async () => {
const targetGitIgnorePath = path.join(testRoot, './upsertGitIgnoreContents-update');
await fs.promises.writeFile(targetGitIgnorePath, gitignore1);
const results = upsertGitIgnoreContents(targetGitIgnorePath, 'test-string');
expect(results?.contents).toBe(`
# hello world
*/foo
ios/
/android
## bar
# @generated expo-cli sync-4f49d69613b186e71104c7ca1b26c1e5b78c9193
# The following patterns were generated by expo-cli
test-string
# @end expo-cli`);
expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(results?.contents);
});
it('can append an existing gitignore file', async () => {
const targetGitIgnorePath = path.join(testRoot, './upsertGitIgnoreContents-merge');
await fs.promises.writeFile(
targetGitIgnorePath,
`# hello world
*/foo
ios/
/android
## bar
# @generated expo-cli sync-4f49d69613b186e71104c7ca1b26c1e5b78c9193
# The following patterns were generated by expo-cli
test-string
# @end expo-cli`
);
const results = upsertGitIgnoreContents(targetGitIgnorePath, 'another-test-string');
expect(results?.contents).toBe(`# hello world
*/foo
ios/
/android
## bar
# @generated expo-cli sync-f479b6a00a92ff9cb6fa390e462eed9d41287dc1
# The following patterns were generated by expo-cli
test-string
another-test-string
# @end expo-cli`);
expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(results?.contents);
});
it('will ignore the update if it already exists', async () => {
const targetGitIgnorePath = path.join(testRoot, './upsertGitIgnoreContents-ignore');
await fs.promises.writeFile(
targetGitIgnorePath,
`# hello world
*/foo
ios/
/android
## bar
# @generated expo-cli sync-4f49d69613b186e71104c7ca1b26c1e5b78c9193
# The following patterns were generated by expo-cli
test-string
# @end expo-cli`
);
const results = upsertGitIgnoreContents(targetGitIgnorePath, 'test-string');
expect(results).toBeNull();
});
});
``` | /content/code_sandbox/packages/@expo/cli/src/utils/__tests__/mergeGitIgnorePaths-test.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 1,969 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.SDK" />
<PackageReference Include="PropertyChanged.Fody" PrivateAssets="all" />
<PackageReference Include="Fody" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ResXManager.Model\ResXManager.Model.csproj" />
</ItemGroup>
<ItemGroup>
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>
</Project>
``` | /content/code_sandbox/src/ResXManager.VSIX.Compatibility/ResXManager.VSIX.Compatibility.csproj | xml | 2016-06-03T12:04:15 | 2024-08-15T21:49:16 | ResXResourceManager | dotnet/ResXResourceManager | 1,299 | 174 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="FTRWebViewController">
<connections>
<outlet property="_activityIndicator" destination="Dow-02-PiP" id="a9e-VB-xYz"/>
<outlet property="_webView" destination="8B3-Zu-4Xm" id="WY1-Bm-LLD"/>
<outlet property="_webViewBounceSwitch" destination="qUg-34-n03" id="kS5-Ox-Nqf"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<webView contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8B3-Zu-4Xm">
<rect key="frame" x="0.0" y="0.0" width="375" height="619"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<connections>
<outlet property="delegate" destination="-1" id="OUR-2i-ber"/>
</connections>
</webView>
<activityIndicatorView hidden="YES" opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" misplaced="YES" hidesWhenStopped="YES" style="gray" translatesAutoresizingMaskIntoConstraints="NO" id="Dow-02-PiP">
<rect key="frame" x="177.5" y="367.5" width="20" height="20"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="lmI-6V-z28"/>
<constraint firstAttribute="width" constant="20" id="xMr-uO-BLq"/>
</constraints>
</activityIndicatorView>
<view contentMode="scaleToFill" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="IM9-Gf-dmX">
<rect key="frame" x="0.0" y="619" width="375" height="48"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="k27-It-B2V">
<rect key="frame" x="8" y="8" width="50" height="30"/>
<accessibility key="accessibilityConfiguration" label="loadGoogle"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="3v8-fB-og8"/>
<constraint firstAttribute="width" constant="50" id="AYj-fv-6sH"/>
</constraints>
<state key="normal" title="Google">
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="userDidTapLoadGoogle" destination="-1" eventType="touchUpInside" id="grk-8L-GPA"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ci5-c5-vzb">
<rect key="frame" x="66" y="8" width="38" height="30"/>
<accessibility key="accessibilityConfiguration" label="loadLocalFile"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="VZf-oV-D8a"/>
<constraint firstAttribute="width" constant="38" id="d0B-cz-tgJ"/>
</constraints>
<state key="normal" title="Local">
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="userDidTapLoadLocalTestPage" destination="-1" eventType="touchUpInside" id="XLr-qj-4O5"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vpc-AG-Y4W">
<rect key="frame" x="111" y="8" width="81" height="30"/>
<accessibility key="accessibilityConfiguration" label="loadHTMLString"/>
<constraints>
<constraint firstAttribute="width" constant="81" id="huu-lE-3GF"/>
<constraint firstAttribute="height" constant="30" id="zfW-E8-fBo"/>
</constraints>
<state key="normal" title="LoadHTML:">
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="userDidTapLoadHTMLUsingLoadHTMLString" destination="-1" eventType="touchUpInside" id="21Q-20-srs"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="NMd-uP-vFD">
<rect key="frame" x="192" y="8" width="62" height="33"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<accessibility key="accessibilityConfiguration" label="loadPDF"/>
<state key="normal" title="LoadPDF"/>
<connections>
<action selector="userDidTapLoadPDF" destination="-1" eventType="touchUpInside" id="NoG-d2-3uq"/>
</connections>
</button>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="qUg-34-n03">
<rect key="frame" x="318" y="9" width="51" height="31"/>
<accessibility key="accessibilityConfiguration" label="bounceSwitch"/>
<constraints>
<constraint firstAttribute="width" constant="49" id="CFC-j2-1vl"/>
<constraint firstAttribute="height" constant="31" id="F4n-mG-nWQ"/>
</constraints>
<connections>
<action selector="userDidToggleBounce:" destination="-1" eventType="valueChanged" id="53t-tN-4ku"/>
</connections>
</switch>
</subviews>
<color key="backgroundColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="48" id="GLr-vA-GE7"/>
<constraint firstItem="ci5-c5-vzb" firstAttribute="centerY" secondItem="vpc-AG-Y4W" secondAttribute="centerY" id="OeS-pN-79u"/>
<constraint firstItem="vpc-AG-Y4W" firstAttribute="leading" secondItem="ci5-c5-vzb" secondAttribute="trailing" constant="7" id="Sc7-Bz-nZp"/>
<constraint firstItem="k27-It-B2V" firstAttribute="leading" secondItem="IM9-Gf-dmX" secondAttribute="leading" constant="8" id="Z9c-oF-bJN"/>
<constraint firstAttribute="trailing" secondItem="qUg-34-n03" secondAttribute="trailing" constant="8" id="c8y-5B-caN"/>
<constraint firstItem="k27-It-B2V" firstAttribute="top" secondItem="IM9-Gf-dmX" secondAttribute="top" constant="8" id="eNP-5H-5aq"/>
<constraint firstItem="qUg-34-n03" firstAttribute="top" secondItem="IM9-Gf-dmX" secondAttribute="top" constant="9" id="fSx-0E-t7P"/>
<constraint firstItem="ci5-c5-vzb" firstAttribute="leading" secondItem="k27-It-B2V" secondAttribute="trailing" constant="8" id="r0X-Hq-dEt"/>
<constraint firstItem="ci5-c5-vzb" firstAttribute="centerY" secondItem="k27-It-B2V" secondAttribute="centerY" id="uBh-R0-SRo"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="8B3-Zu-4Xm" firstAttribute="centerX" secondItem="Dow-02-PiP" secondAttribute="centerX" id="2OT-na-w3X"/>
<constraint firstItem="8B3-Zu-4Xm" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="6Zj-5x-vk4"/>
<constraint firstItem="IM9-Gf-dmX" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="JCk-4e-brk"/>
<constraint firstAttribute="trailing" secondItem="IM9-Gf-dmX" secondAttribute="trailing" id="bcH-zU-zgY"/>
<constraint firstItem="IM9-Gf-dmX" firstAttribute="top" secondItem="8B3-Zu-4Xm" secondAttribute="bottom" id="d0R-re-Rjd"/>
<constraint firstAttribute="trailing" secondItem="8B3-Zu-4Xm" secondAttribute="trailing" id="hGI-OX-Oip"/>
<constraint firstItem="8B3-Zu-4Xm" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="mDX-y9-UOe"/>
<constraint firstItem="8B3-Zu-4Xm" firstAttribute="centerY" secondItem="Dow-02-PiP" secondAttribute="centerY" constant="-68" id="o57-El-CUU"/>
<constraint firstAttribute="bottom" secondItem="IM9-Gf-dmX" secondAttribute="bottom" id="oCj-92-WEE"/>
</constraints>
</view>
</objects>
</document>
``` | /content/code_sandbox/Tests/FunctionalTests/TestRig/Sources/FTRWebViewController.xib | xml | 2016-02-04T17:55:29 | 2024-08-08T03:33:02 | EarlGrey | google/EarlGrey | 5,612 | 2,795 |
```xml
import { PathExt } from '@jupyterlab/coreutils';
const TESTPATH = 'foo/test/simple/test-path.js';
describe('@jupyterlab/coreutils', () => {
describe('PathExt', () => {
describe('.join()', () => {
it('should join the arguments and normalize the path', () => {
const path = PathExt.join('foo', '../../../bar');
expect(path).toBe('../../bar');
});
it('should not return "." for an empty path', () => {
const path = PathExt.join('', '');
expect(path).toBe('');
});
});
describe('.basename()', () => {
it('should return the last portion of a path', () => {
expect(PathExt.basename(TESTPATH)).toBe('test-path.js');
});
});
describe('.dirname()', () => {
it('should get the directory name of a path', () => {
expect(PathExt.dirname(TESTPATH)).toBe('foo/test/simple');
});
it('should not return "." for an empty path', () => {
const path = PathExt.dirname('');
expect(path).toBe('');
});
it('should not return "." for a path in the root directory', () => {
const path = PathExt.dirname('foo.txt');
expect(path).toBe('');
});
});
describe('.extname()', () => {
it('should get the file extension of the path', () => {
expect(PathExt.extname(TESTPATH)).toBe('.js');
});
it('should only take the last occurrence of a dot', () => {
expect(PathExt.extname('foo.tar.gz')).toBe('.gz');
});
});
describe('.normalize()', () => {
it('should normalize a string path', () => {
const path = PathExt.normalize('./fixtures///b/../b/c.js');
expect(path).toBe('fixtures/b/c.js');
});
it('should not return "." for an empty path', () => {
const path = PathExt.normalize('');
expect(path).toBe('');
});
});
describe('.resolve()', () => {
it('should resolve a sequence of paths to an absolute path on the server', () => {
const path = PathExt.resolve('var/src', '../', 'file/');
expect(path.indexOf('var/file')).not.toBe(-1);
});
});
describe('.relative()', () => {
it('should solve the relative path', () => {
const path = PathExt.relative('var/src', 'var/apache');
expect(path).toBe('../apache');
});
});
describe('.normalizeExtension()', () => {
it('should normalize a file extension to be of type `.foo`', () => {
expect(PathExt.normalizeExtension('foo')).toBe('.foo');
expect(PathExt.normalizeExtension('.bar')).toBe('.bar');
});
});
});
});
``` | /content/code_sandbox/packages/coreutils/test/path.spec.ts | xml | 2016-06-03T20:09:17 | 2024-08-16T19:12:44 | jupyterlab | jupyterlab/jupyterlab | 14,019 | 602 |
```xml
import type { Extension } from "@Core/Extension";
import type { ExtensionRegistry as ExtensionRegistryInterface } from "./Contract";
export class ExtensionRegistry implements ExtensionRegistryInterface {
private readonly extensions: Record<string, Extension> = {};
public register(extension: Extension) {
if (this.idIsAlreadyRegistered(extension.id)) {
throw new Error(`Extension with id "${extension.id}" is already registered`);
}
this.extensions[extension.id] = extension;
}
public getById(extensionId: string): Extension {
if (!this.idIsAlreadyRegistered(extensionId)) {
throw new Error(`Unable to find extension with id "${extensionId}"`);
}
return this.extensions[extensionId];
}
public getAll(): Extension[] {
return Object.values(this.extensions);
}
private idIsAlreadyRegistered(id: string) {
return Object.keys(this.extensions).includes(id);
}
}
``` | /content/code_sandbox/src/main/Core/ExtensionRegistry/ExtensionRegistry.ts | xml | 2016-10-11T04:59:52 | 2024-08-16T11:53:31 | ueli | oliverschwendener/ueli | 3,543 | 187 |
```xml
import _ from "lodash";
import {IrcEventHandler} from "../../client";
import Helper from "../../helper";
import Msg from "../../models/msg";
import User from "../../models/user";
import pkg from "../../../package.json";
import {MessageType} from "../../../shared/types/msg";
const ctcpResponses = {
CLIENTINFO: () =>
Object.getOwnPropertyNames(ctcpResponses)
.filter((key) => key !== "CLIENTINFO" && typeof ctcpResponses[key] === "function")
.join(" "),
PING: ({message}: {message: string}) => message.substring(5),
SOURCE: () => pkg.repository.url,
VERSION: () => pkg.name + " -- " + pkg.homepage,
};
export default <IrcEventHandler>function (irc, network) {
const client = this;
const lobby = network.getLobby();
irc.on("ctcp response", function (data) {
const shouldIgnore = network.ignoreList.some(function (entry) {
return Helper.compareHostmask(entry, data);
});
if (shouldIgnore) {
return;
}
let chan = network.getChannel(data.nick);
if (typeof chan === "undefined") {
chan = lobby;
}
const msg = new Msg({
type: MessageType.CTCP,
time: data.time,
from: chan.getUser(data.nick),
ctcpMessage: data.message,
});
chan.pushMessage(client, msg, true);
});
// Limit requests to a rate of one per second max
irc.on(
"ctcp request",
_.throttle(
(data) => {
// Ignore echoed ctcp requests that aren't targeted at us
// See path_to_url
if (
data.nick === irc.user.nick &&
data.nick !== data.target &&
network.irc.network.cap.isEnabled("echo-message")
) {
return;
}
const shouldIgnore = network.ignoreList.some(function (entry) {
return Helper.compareHostmask(entry, data);
});
if (shouldIgnore) {
return;
}
const target = data.from_server ? data.hostname : data.nick;
const response = ctcpResponses[data.type];
if (response) {
irc.ctcpResponse(target, data.type, response(data));
}
// Let user know someone is making a CTCP request against their nick
const msg = new Msg({
type: MessageType.CTCP_REQUEST,
time: data.time,
from: new User({nick: target}),
hostmask: data.ident + "@" + data.hostname,
ctcpMessage: data.message,
});
lobby.pushMessage(client, msg, true);
},
1000,
{trailing: false}
)
);
};
``` | /content/code_sandbox/server/plugins/irc-events/ctcp.ts | xml | 2016-02-09T03:16:03 | 2024-08-16T10:52:38 | thelounge | thelounge/thelounge | 5,518 | 596 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleIdentifier</key>
<string>org.sil.ukelele.keyboardlayout.halmak</string>
<key>CFBundleName</key>
<string>Halmak</string>
<key>CFBundleVersion</key>
<string>2.0.0</string>
<key>KLInfo_Halmak</key>
<dict>
<key>TISInputSourceID</key>
<string>org.sil.ukelele.keyboardlayout.halmak.halmak</string>
<key>TISIntendedLanguage</key>
<string>en</string>
</dict>
</dict>
</plist>
``` | /content/code_sandbox/macos/Halmak.bundle/Contents/Info.plist | xml | 2016-04-02T00:02:09 | 2024-08-12T00:50:02 | halmak | kaievns/halmak | 1,053 | 195 |
```xml
/* eslint-disable @typescript-eslint/restrict-template-expressions */
import fs from "fs/promises";
import path from "path";
import filenamify from "filenamify";
import Config from "../../config";
import {MessageStorage} from "./types";
import Channel from "../../models/chan";
import {Message} from "../../models/msg";
import Network from "../../models/network";
import {MessageType} from "../../../shared/types/msg";
class TextFileMessageStorage implements MessageStorage {
isEnabled: boolean;
username: string;
constructor(username: string) {
this.username = username;
this.isEnabled = false;
}
// eslint-disable-next-line @typescript-eslint/require-await
async enable() {
this.isEnabled = true;
}
// eslint-disable-next-line @typescript-eslint/require-await
async close() {
this.isEnabled = false;
}
async index(network: Network, channel: Channel, msg: Message) {
if (!this.isEnabled) {
return;
}
const logPath = path.join(
Config.getUserLogsPath(),
this.username,
TextFileMessageStorage.getNetworkFolderName(network)
);
try {
await fs.mkdir(logPath, {recursive: true});
} catch (e) {
throw new Error(`Unable to create logs directory: ${e}`);
}
let line = `[${msg.time.toISOString()}] `;
// message types from src/models/msg.js
switch (msg.type) {
case MessageType.ACTION:
// [2014-01-01 00:00:00] * @Arnold is eating cookies
line += `* ${msg.from.mode}${msg.from.nick} ${msg.text}`;
break;
case MessageType.JOIN:
// [2014-01-01 00:00:00] *** Arnold (~arnold@foo.bar) joined
line += `*** ${msg.from.nick} (${msg.hostmask}) joined`;
break;
case MessageType.KICK:
// [2014-01-01 00:00:00] *** Arnold was kicked by Bernie (Don't steal my cookies!)
line += `*** ${msg.target.nick} was kicked by ${msg.from.nick} (${msg.text})`;
break;
case MessageType.MESSAGE:
// [2014-01-01 00:00:00] <@Arnold> Put that cookie down.. Now!!
line += `<${msg.from.mode}${msg.from.nick}> ${msg.text}`;
break;
case MessageType.MODE:
// [2014-01-01 00:00:00] *** Arnold set mode +o Bernie
line += `*** ${msg.from.nick} set mode ${msg.text}`;
break;
case MessageType.NICK:
// [2014-01-01 00:00:00] *** Arnold changed nick to Bernie
line += `*** ${msg.from.nick} changed nick to ${msg.new_nick}`;
break;
case MessageType.NOTICE:
// [2014-01-01 00:00:00] -Arnold- pssst, I have cookies!
line += `-${msg.from.nick}- ${msg.text}`;
break;
case MessageType.PART:
// [2014-01-01 00:00:00] *** Arnold (~arnold@foo.bar) left (Bye all!)
line += `*** ${msg.from.nick} (${msg.hostmask}) left (${msg.text})`;
break;
case MessageType.QUIT:
// [2014-01-01 00:00:00] *** Arnold (~arnold@foo.bar) quit (Connection reset by peer)
line += `*** ${msg.from.nick} (${msg.hostmask}) quit (${msg.text})`;
break;
case MessageType.CHGHOST:
// [2014-01-01 00:00:00] *** Arnold changed host to: new@fancy.host
line += `*** ${msg.from.nick} changed host to '${msg.new_ident}@${msg.new_host}'`;
break;
case MessageType.TOPIC:
// [2014-01-01 00:00:00] *** Arnold changed topic to: welcome everyone!
line += `*** ${msg.from.nick} changed topic to '${msg.text}'`;
break;
default:
// unhandled events will not be logged
return;
}
line += "\n";
try {
await fs.appendFile(
path.join(logPath, TextFileMessageStorage.getChannelFileName(channel)),
line
);
} catch (e) {
throw new Error(`Failed to write user log: ${e}`);
}
}
async deleteChannel() {
// Not implemented for text log files
}
getMessages() {
// Not implemented for text log files
// They do not contain enough data to fully re-create message objects
// Use sqlite storage instead
return Promise.resolve([]);
}
canProvideMessages() {
return false;
}
static getNetworkFolderName(network: Network) {
// Limit network name in the folder name to 23 characters
// So we can still fit 12 characters of the uuid for de-duplication
const networkName = cleanFilename(network.name.substring(0, 23).replace(/ /g, "-"));
return `${networkName}-${network.uuid.substring(networkName.length + 1)}`;
}
static getChannelFileName(channel: Channel) {
return `${cleanFilename(channel.name)}.log`;
}
}
export default TextFileMessageStorage;
function cleanFilename(name: string) {
name = filenamify(name, {replacement: "_"});
name = name.toLowerCase();
return name;
}
``` | /content/code_sandbox/server/plugins/messageStorage/text.ts | xml | 2016-02-09T03:16:03 | 2024-08-16T10:52:38 | thelounge | thelounge/thelounge | 5,518 | 1,223 |
```xml
import { KeyDefinitionLike, MigrationHelper } from "../migration-helper";
import { Migrator } from "../migrator";
type ExpectedAccountType = {
settings?: {
collapsedGroupings?: string[];
};
};
const COLLAPSED_GROUPINGS: KeyDefinitionLike = {
key: "collapsedGroupings",
stateDefinition: {
name: "vaultFilter",
},
};
export class CollapsedGroupingsMigrator extends Migrator<21, 22> {
async migrate(helper: MigrationHelper): Promise<void> {
const accounts = await helper.getAccounts<ExpectedAccountType>();
async function migrateAccount(userId: string, account: ExpectedAccountType): Promise<void> {
const value = account?.settings?.collapsedGroupings;
if (value != null) {
await helper.setToUser(userId, COLLAPSED_GROUPINGS, value);
delete account.settings.collapsedGroupings;
await helper.set(userId, account);
}
}
await Promise.all([...accounts.map(({ userId, account }) => migrateAccount(userId, account))]);
}
async rollback(helper: MigrationHelper): Promise<void> {
const accounts = await helper.getAccounts<ExpectedAccountType>();
async function rollbackAccount(userId: string, account: ExpectedAccountType): Promise<void> {
const value = await helper.getFromUser(userId, COLLAPSED_GROUPINGS);
if (account) {
account.settings = Object.assign(account.settings ?? {}, {
collapsedGroupings: value,
});
await helper.set(userId, account);
}
await helper.setToUser(userId, COLLAPSED_GROUPINGS, null);
}
await Promise.all([...accounts.map(({ userId, account }) => rollbackAccount(userId, account))]);
}
}
``` | /content/code_sandbox/libs/common/src/state-migrations/migrations/22-move-collapsed-groupings-to-state-provider.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 361 |
```xml
// @ts-ignore
import HttpsProxyAgent from 'next/dist/compiled/https-proxy-agent'
// @ts-ignore
import HttpProxyAgent from 'next/dist/compiled/http-proxy-agent'
import type { Agent } from 'https'
/**
* If the http(s)_proxy environment variables is set, return a proxy agent.
*/
export function getProxyAgent(): Agent | undefined {
const httpsProxy = process.env['https_proxy'] || process.env['HTTPS_PROXY']
if (httpsProxy) {
return new HttpsProxyAgent(httpsProxy)
}
const httpProxy = process.env['http_proxy'] || process.env['HTTP_PROXY']
if (httpProxy) {
return new HttpProxyAgent(httpProxy)
}
}
``` | /content/code_sandbox/packages/font/src/google/get-proxy-agent.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 154 |
```xml
import { FieldValidationResult, FormValidationResult } from 'lc-form-validation';
import { actionTypes } from '../common/constants/actionTypes';
import { MemberErrors } from '../model';
import { MemberFieldChangePayload } from '../components/member/actions/memberFieldChange';
export const createEmptyMemberErrors = (): MemberErrors => ({
login: new FieldValidationResult(),
});
export const memberErrorsReducer = (state = createEmptyMemberErrors(), action) => {
switch (action.type) {
case actionTypes.FETCH_MEMBERS_COMPLETED:
return handleFetchMembersCompleted(state, action.payload);
case actionTypes.UPDATE_MEMBER_FIELD:
return handleUpdateMemberField(state, action.payload);
case actionTypes.SAVE_MEMBER:
return handleSaveMember(state, action.payload);
}
return state;
};
const handleFetchMembersCompleted = (state: MemberErrors, payload) => {
return createEmptyMemberErrors();
};
const handleUpdateMemberField = (state: MemberErrors, payload: MemberFieldChangePayload): MemberErrors => {
return {
...state,
[payload.fieldValidationResult.key]: payload.fieldValidationResult,
};
};
const handleSaveMember = (state: MemberErrors, payload: FormValidationResult): MemberErrors => {
const newMemberErrors = { ...state };
return payload.fieldErrors.reduce((memberErrors, fieldValidationResult) => {
memberErrors[fieldValidationResult.key] = fieldValidationResult;
return memberErrors;
}, newMemberErrors);
};
``` | /content/code_sandbox/old_class_components_samples/13 TestComponents/src/reducers/memberErrors.ts | xml | 2016-02-28T11:58:58 | 2024-07-21T08:53:34 | react-typescript-samples | Lemoncode/react-typescript-samples | 1,846 | 301 |
```xml
import * as babel from '@babel/core';
import { getConfig } from '@expo/config';
import { expoRouterBabelPlugin } from '../expo-router-plugin';
jest.mock('@expo/config', () => ({
...jest.requireActual('@expo/config'),
getConfig: jest.fn(() => ({
exp: {
web: {
lang: 'en',
name: 'webName',
},
},
pkg: {},
})),
}));
jest.mock('resolve-from', () => ({
__esModule: true,
default: jest.fn(() => '/foo/bar/node_modules/entry.js'),
}));
function getCaller(props: Record<string, string | boolean>): babel.TransformCaller {
return props as unknown as babel.TransformCaller;
}
beforeEach(() => {
jest.mocked(getConfig).mockClear();
process.env._EXPO_INTERNAL_TESTING = '1';
});
const DEF_OPTIONS = {
babelrc: false,
presets: [],
plugins: [expoRouterBabelPlugin],
sourceMaps: true,
configFile: false,
filename: '/unknown',
compact: false,
comments: true,
retainLines: true,
caller: getCaller({
name: 'metro',
engine: 'hermes',
projectRoot: '/foo/bar',
platform: 'ios',
}),
};
it(`inlines static mode`, () => {
process.env.NODE_ENV = 'development';
const options = {
...DEF_OPTIONS,
caller: getCaller({
name: 'metro',
projectRoot: '/foo/bar',
asyncRoutes: true,
platform: 'ios',
}),
};
// All of this code should remain intact.
const sourceCode = `
process.env.EXPO_ROUTER_IMPORT_MODE;
export default process.env.EXPO_ROUTER_IMPORT_MODE;
const mode = process.env.EXPO_ROUTER_IMPORT_MODE;
`;
expect(babel.transform(sourceCode, options)!.code).toEqual(`
"lazy";
export default "lazy";
const mode = "lazy";`);
expect(getConfig).toHaveBeenCalledTimes(0);
});
it(`skips async routes setting in server environments`, () => {
const options = {
...DEF_OPTIONS,
caller: getCaller({
name: 'metro',
projectRoot: '/foo/bar',
asyncRoutes: true,
isServer: true,
platform: 'web',
}),
};
expect(babel.transform(`process.env.EXPO_ROUTER_IMPORT_MODE;`, options)!.code).toEqual(`"sync";`);
});
it(`skips async routes setting in native production`, () => {
const options = {
...DEF_OPTIONS,
caller: getCaller({
name: 'metro',
projectRoot: '/foo/bar',
isDev: false,
asyncRoutes: true,
platform: 'ios',
}),
};
expect(babel.transform(`process.env.EXPO_ROUTER_IMPORT_MODE;`, options)!.code).toEqual(`"sync";`);
});
it(`inlines constants`, () => {
process.env.NODE_ENV = 'development';
const options = {
babelrc: false,
presets: [],
plugins: [expoRouterBabelPlugin],
sourceMaps: true,
filename: 'unknown',
configFile: false,
compact: false,
comments: true,
retainLines: true,
caller: getCaller({
name: 'metro',
engine: 'hermes',
projectRoot: '/foo/bar',
platform: 'ios',
}),
};
// All of this code should remain intact.
const sourceCode = `
// EXPO_PROJECT_ROOT
process.env.EXPO_PROJECT_ROOT;
// EXPO_PUBLIC_USE_STATIC
process.env.EXPO_PUBLIC_USE_STATIC;
// EXPO_ROUTER_ABS_APP_ROOT
process.env.EXPO_ROUTER_ABS_APP_ROOT;
// EXPO_ROUTER_APP_ROOT
process.env.EXPO_ROUTER_APP_ROOT;`;
expect(babel.transform(sourceCode, options)!.code).toEqual(`
// EXPO_PROJECT_ROOT
"/foo/bar";
// EXPO_PUBLIC_USE_STATIC
false;
// EXPO_ROUTER_ABS_APP_ROOT
"/foo/bar/app";
// EXPO_ROUTER_APP_ROOT
"../app";`);
});
it(`uses custom app entry`, () => {
process.env.NODE_ENV = 'development';
const options = {
...DEF_OPTIONS,
caller: getCaller({
name: 'metro',
engine: 'hermes',
projectRoot: '/foo/bar',
platform: 'ios',
routerRoot: '/random/value',
}),
};
// All of this code should remain intact.
const sourceCode = `
// EXPO_PROJECT_ROOT
process.env.EXPO_PROJECT_ROOT;
// EXPO_ROUTER_ABS_APP_ROOT
process.env.EXPO_ROUTER_ABS_APP_ROOT;
// EXPO_ROUTER_APP_ROOT
process.env.EXPO_ROUTER_APP_ROOT;`;
expect(babel.transform(sourceCode, options)!.code).toEqual(`
// EXPO_PROJECT_ROOT
"/foo/bar";
// EXPO_ROUTER_ABS_APP_ROOT
"/random/value";
// EXPO_ROUTER_APP_ROOT
"../../../random/value";`);
expect(getConfig).toHaveBeenCalledTimes(0);
});
it(`uses custom relative app entry`, () => {
process.env.NODE_ENV = 'development';
const options = {
...DEF_OPTIONS,
caller: getCaller({
name: 'metro',
engine: 'hermes',
projectRoot: '/foo/bar',
platform: 'ios',
routerRoot: './random/value',
}),
};
// All of this code should remain intact.
const sourceCode = `
// EXPO_PROJECT_ROOT
process.env.EXPO_PROJECT_ROOT;
// EXPO_ROUTER_ABS_APP_ROOT
process.env.EXPO_ROUTER_ABS_APP_ROOT;
// EXPO_ROUTER_APP_ROOT
process.env.EXPO_ROUTER_APP_ROOT;`;
expect(babel.transform(sourceCode, options)!.code).toEqual(`
// EXPO_PROJECT_ROOT
"/foo/bar";
// EXPO_ROUTER_ABS_APP_ROOT
"/foo/bar/random/value";
// EXPO_ROUTER_APP_ROOT
"../random/value";`);
expect(getConfig).toHaveBeenCalledTimes(0);
});
``` | /content/code_sandbox/packages/babel-preset-expo/src/__tests__/expo-router-plugin.test.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 1,280 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
~
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<window xmlns="path_to_url"
xmlns:c="path_to_url"
caption="Owners">
<data readOnly="true">
<collection id="ownersDc"
class="com.haulmont.cuba.web.testmodel.petclinic.Owner"
view="owner-with-category-view">
<loader id="ownersDl">
<query>
<![CDATA[select e from pc_Owner e]]>
<condition>
<and>
<c:jpql>
<c:where>e.category = :component_categoryFilterField</c:where>
</c:jpql>
<c:jpql>
<c:where>e.name like :component_nameFilterField</c:where>
</c:jpql>
</and>
</condition>
</query>
</loader>
</collection>
<collection id="petsDc" class="com.haulmont.cuba.web.testmodel.petclinic.Pet">
<loader id="petsDl">
<query><![CDATA[select e from pc_Pet e where e.owner = :container_ownersDc]]></query>
</loader>
</collection>
</data>
<dialogMode height="600"
width="800"/>
<facets>
<dataLoadCoordinator id="dlc" auto="true"/>
</facets>
<layout expand="split"
spacing="true">
<filter id="filter"
applyTo="ownersTable"
dataLoader="ownersDl">
<properties include=".*"/>
</filter>
<split id="split" orientation="horizontal" width="100%">
<groupTable id="ownersTable"
width="100%"
dataContainer="ownersDc">
<columns>
<column id="name"/>
<column id="email"/>
<column id="category"/>
</columns>
<rowsCount/>
<buttonsPanel id="buttonsPanel"
alwaysVisible="true">
<pickerField id="categoryFilterField" metaClass="pc_OwnerCategory" width="150px"/>
<textField id="nameFilterField" width="100px"/>
</buttonsPanel>
</groupTable>
<table height="100%" width="100%" dataContainer="petsDc">
<columns>
<column id="name"/>
</columns>
</table>
</split>
</layout>
</window>
``` | /content/code_sandbox/modules/web/test/spec/cuba/web/dataloadcoordinator/screens/dlc-auto.xml | xml | 2016-03-24T07:55:56 | 2024-07-14T05:13:48 | cuba | cuba-platform/cuba | 1,342 | 582 |
```xml
/*
* Wire
*
* This program is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
* along with this program. If not, see path_to_url
*
*/
import {ACCOUNT_ACTION, addAccount, deleteAccount, updateAccount, updateAccountBadge} from '../';
import {generateUUID} from '../../lib/util';
import {switchAccount} from '../AccountAction';
describe('action creators', () => {
describe('addAccount', () => {
it('should create action to add account with session', () => {
const action = addAccount();
expect(action.type).toEqual(ACCOUNT_ACTION.ADD_ACCOUNT);
expect(action.sessionID).toEqual(expect.any(String));
});
});
describe('updateAccount', () => {
it('should create action to update account', () => {
const id = generateUUID();
const data = {name: 'Foo'};
const action = {
data,
id,
type: ACCOUNT_ACTION.UPDATE_ACCOUNT,
};
expect(updateAccount(id, data)).toEqual(action);
});
});
describe('switchAccount', () => {
it('should create action to switch account', () => {
const id = generateUUID();
const action = {
id,
type: ACCOUNT_ACTION.SWITCH_ACCOUNT,
};
expect(switchAccount(id)).toEqual(action);
});
});
describe('updateAccountBadge', () => {
it('should create action to update account badge', () => {
const id = generateUUID();
const count = 42;
const action = {
count,
id,
type: ACCOUNT_ACTION.UPDATE_ACCOUNT_BADGE,
};
expect(updateAccountBadge(id, count)).toEqual(action);
});
});
describe('deleteAccount', () => {
it('should create action to delete an account', () => {
const id = generateUUID();
const action = {
id,
type: ACCOUNT_ACTION.DELETE_ACCOUNT,
};
expect(deleteAccount(id)).toEqual(action);
});
});
});
``` | /content/code_sandbox/electron/renderer/src/actions/__tests__/actions.spec.ts | xml | 2016-07-26T13:55:48 | 2024-08-16T03:45:51 | wire-desktop | wireapp/wire-desktop | 1,075 | 472 |
```xml
///
///
///
/// path_to_url
///
/// Unless required by applicable law or agreed to in writing, software
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
///
import { Inject, Injectable, Type } from '@angular/core';
import { Observable } from 'rxjs';
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
import { DynamicComponentFactoryService } from '@core/services/dynamic-component-factory.service';
import { CommonModule } from '@angular/common';
import { mergeMap, tap } from 'rxjs/operators';
import { CustomDialogComponent } from './custom-dialog.component';
import {
CustomDialogContainerComponent,
CustomDialogContainerData
} from '@home/components/widget/dialog/custom-dialog-container.component';
import { SHARED_MODULE_TOKEN } from '@shared/components/tokens';
import {
HOME_COMPONENTS_MODULE_TOKEN,
SHARED_HOME_COMPONENTS_MODULE_TOKEN,
WIDGET_COMPONENTS_MODULE_TOKEN
} from '@home/components/tokens';
@Injectable()
export class CustomDialogService {
private customModules: Array<Type<any>>;
constructor(
private dynamicComponentFactoryService: DynamicComponentFactoryService,
@Inject(SHARED_MODULE_TOKEN) private sharedModule: Type<any>,
@Inject(SHARED_HOME_COMPONENTS_MODULE_TOKEN) private sharedHomeComponentsModule: Type<any>,
@Inject(HOME_COMPONENTS_MODULE_TOKEN) private homeComponentsModule: Type<any>,
@Inject(WIDGET_COMPONENTS_MODULE_TOKEN) private widgetComponentsModule: Type<any>,
public dialog: MatDialog
) {
}
setAdditionalModules(modules: Array<Type<any>>) {
this.customModules = modules;
}
customDialog(template: string, controller: (instance: CustomDialogComponent) => void, data?: any,
config?: MatDialogConfig): Observable<any> {
const modules = [this.sharedModule, CommonModule, this.sharedHomeComponentsModule, this.homeComponentsModule,
this.widgetComponentsModule];
if (Array.isArray(this.customModules)) {
modules.push(...this.customModules);
}
return this.dynamicComponentFactoryService.createDynamicComponent(
class CustomDialogComponentInstance extends CustomDialogComponent {}, template, modules).pipe(
mergeMap((componentData) => {
const dialogData: CustomDialogContainerData = {
controller,
customComponentType: componentData.componentType,
customComponentModuleRef: componentData.componentModuleRef,
data
};
let dialogConfig: MatDialogConfig = {
disableClose: true,
panelClass: ['tb-dialog', 'tb-fullscreen-dialog'],
data: dialogData
};
if (config) {
dialogConfig = {...dialogConfig, ...config};
}
return this.dialog.open<CustomDialogContainerComponent, CustomDialogContainerData, any>(
CustomDialogContainerComponent,
dialogConfig).afterClosed().pipe(
tap(() => {
this.dynamicComponentFactoryService.destroyDynamicComponent(componentData.componentType);
})
);
}
));
}
}
``` | /content/code_sandbox/ui-ngx/src/app/modules/home/components/widget/dialog/custom-dialog.service.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 615 |
```xml
<vector xmlns:android="path_to_url"
android:width="128dp"
android:height="128dp"
android:viewportWidth="128"
android:viewportHeight="128">
<path
android:pathData="m128,64c0,35.346 -28.654,64 -64,64s-64,-28.654 -64,-64 28.654,-64 64,-64 64,28.654 64,64"
android:fillColor="#fd5"/>
<path
android:fillColor="#000"
android:pathData="m116,66c0,28.719 -23.281,52 -52,52s-52,-23.281 -52,-52 23.281,-52 52,-52 52,23.281 52,52"
android:fillAlpha="0.2"/>
<path
android:pathData="m114,62c0,27.614 -22.386,50 -50,50s-50,-22.386 -50,-50 22.386,-50 50,-50 50,22.386 50,50"
android:strokeWidth="4"
android:fillColor="#c84747"
android:strokeColor="#fff"/>
<path
android:pathData="m99.741,62.001a35.756,35.756 0,0 1,-35.756 35.756,35.756 35.756,0 0,1 -35.756,-35.756 35.756,35.756 0,0 1,35.756 -35.756,35.756 35.756,0 0,1 35.756,35.756"
android:fillColor="#444"/>
<path
android:pathData="m79.965,93.979c12.123,-6.049 19.785,-18.43 19.791,-31.979 -0.006,-13.548 -7.668,-25.929 -19.791,-31.979l-15.965,13.979 -15.938,-13.961c-12.128,6.039 -19.801,18.413 -19.818,31.961 0.018,13.548 7.691,25.922 19.818,31.961l15.938,-13.961z"
android:fillColor="#fff"/>
<path
android:pathData="m54.001,48c-4.001,2 -5.001,12 -5.001,12 -2.121,0.558 -5.04,2.3 -5.04,4.078l0.039,3.922c0.002,2 1.001,3 4.001,3v5s-0.274,1.947 1,2h5c1.25,0 1,-2 1,-2v-4h18v4s-0.244,2 1.007,2h5.001c1.25,0 0.992,-2 0.992,-2v-5c3,0 4,-1 4.009,-3v-4c-0.545,-1.871 -3.259,-3.438 -5.001,-4 0,0 -1.008,-10 -5.001,-12zM71.506,52c2.501,3 2.501,8 2.501,8h-20.005s0,-5 2.501,-8z"
android:fillColor="#444"/>
<path
android:fillColor="#000"
android:pathData="m58.902,111.196l40.231,-69.682c0.767,-1.329 2.454,-1.781 3.783,-1.014l15.989,9.231c1.329,0.767 1.781,2.454 1.014,3.783l-40.231,69.682c-0.767,1.329 -2.454,1.781 -3.783,1.014l-15.989,-9.231c-1.329,-0.767 -1.781,-2.454 -1.014,-3.783z"
android:fillAlpha="0.2"/>
<path
android:pathData="m58.9,107.199l40.345,-69.88c0.735,-1.274 2.397,-1.682 3.726,-0.915l15.989,9.231c1.329,0.767 1.806,2.41 1.071,3.684l-40.345,69.88c-0.735,1.274 -2.397,1.682 -3.726,0.915l-15.989,-9.231c-1.329,-0.767 -1.806,-2.41 -1.071,-3.684z"
android:fillColor="#cc826b"/>
<path
android:pathData="m60.07,105.173l13.856,8l3,-5.196l-13.856,-8zM66.07,94.781l6.928,4l3,-5.196l-6.928,-4zM72.07,84.388l13.856,8l3,-5.196l-13.856,-8zM78.07,73.996l6.928,4l3,-5.196l-6.928,-4zM84.07,63.604l13.856,8l3,-5.196l-13.856,-8zM90.26,52.881l6.928,4l2.81,-4.866l-6.928,-4zM96.07,42.819l13.856,8l3,-5.196l-13.856,-8z"
android:fillColor="#ac573d"/>
</vector>
``` | /content/code_sandbox/app/src/main/res/drawable/ic_quest_max_height_measure.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 1,351 |
```xml
import { ElementUIComponent } from './component'
/** Backtop Component */
export declare class ElBacktop extends ElementUIComponent {
/** Backtop target */
target: string
/** Backtop visibility height */
visibilityHeight: string | number
/** Backtop right position */
right: string | number
/** Backtop bottom position */
bottom: string | number
}
``` | /content/code_sandbox/types/backtop.d.ts | xml | 2016-09-03T06:19:26 | 2024-08-16T02:26:18 | element | ElemeFE/element | 54,066 | 82 |
```xml
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
import { getFormattedDateString } from "../../common/dateFormatProps";
import { measureTextWidth } from "../../common/utils";
import { getDefaultMaxDate, getDefaultMinDate } from "./datePickerCore";
/**
* DatePicker-related utility functions which may be useful outside this package to
* build date/time components. Initially created for use in @blueprintjs/datetime2.
*/
export const DatePickerUtils = {
getDefaultMaxDate,
getDefaultMinDate,
getFormattedDateString,
measureTextWidth,
};
``` | /content/code_sandbox/packages/datetime/src/components/date-picker/datePickerUtils.ts | xml | 2016-10-25T21:17:50 | 2024-08-16T15:14:48 | blueprint | palantir/blueprint | 20,593 | 142 |
```xml
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { SliderDemo } from './sliderdemo';
@NgModule({
imports: [RouterModule.forChild([{ path: '', component: SliderDemo }])],
exports: [RouterModule]
})
export class SliderDemoRoutingModule {}
``` | /content/code_sandbox/src/app/showcase/pages/slider/sliderdemo-routing.module.ts | xml | 2016-01-16T09:23:28 | 2024-08-16T19:58:20 | primeng | primefaces/primeng | 9,969 | 61 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.