Skip to content

Instantly share code, notes, and snippets.

@Zodiac1978
Zodiac1978 / strings.md
Last active June 9, 2023 04:56
Strings in WordPress which are settings and should not be translated
Context Possibe values
default GMT offset or timezone string Must be either a valid offset (-12 to 14) or a valid timezone string (America/New_York)
start of week 0 = Sunday, 1 = Monday (0 or 1)
Events widget offset prefix Used as part of a string like GMT+5 in the Events Widget. (?)
draft_length Maximum number of words used in a preview of a draft on the dashboard. (number)
Comment number declension: on or off If comment number in your language requires declension, translate this to ‘on’. (on or off)
decline months names: on or off If months in your language require a genitive case, translate this to ‘on’. (on or off)
Word count type. Do not translate! If your word count is based on single characters (e.g. East Asian characters), enter ‘characters_excluding_spaces’ or ‘characters_including_spaces’. Otherwise, enter ‘words’.
Google Font Name and Variants Use this to specify the proper Google Font name and variants to load that is supporte
import _ from 'lodash';
import PropTypes from 'prop-types';
import React, { Fragment } from 'react';
import { BlockControls } from '@wordpress/block-editor';
import { isUnmodifiedDefaultBlock } from '@wordpress/blocks';
import {
ToolbarButton,
ToolbarGroup,
} from '@wordpress/components';
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active April 23, 2024 13:36 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy