PHP code example of philippoehrlein / typo-and-paste
1. Go to this page and download the library: Download philippoehrlein/typo-and-paste library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
philippoehrlein / typo-and-paste example snippets
'philippoehrlein.typo-and-paste.translations' => [
'translations' => [
'en' => [
'button_title' => 'Special Characters',
'copied_message' => '${character} copied to clipboard',
],
'de' => [
'button_title' => 'Sonderzeichen',
'copied_message' => '${character} in die Zwischenablage kopiert',
],
// Additional languages can be added here…
]
],
'philippoehrlein.typo-and-paste' => [
'characters' => [
[
'label' => [
'en' => 'Quotation Marks',
'de' => 'Anführungszeichen',
// Additional translations can be added here…
],
'lang' => 'fr',
'characters' => ['«', '»', '‹', '›']
],
// Additional characters and categories can be added here…
]
],
return [
'philippoehrlein.typo-and-paste' => [
'translations' => [
'en' => [
'button_title' => 'Special Characters',
'copied_message' => '${character} copied to clipboard',
],
'de' => [
'button_title' => 'Sonderzeichen',
'copied_message' => '${character} in die Zwischenablage kopiert',
],
// Additional languages can be added here...
],
'characters' => [
[
'label' => [
'en' => 'Quotation Marks',
'de' => 'Anführungszeichen',
// Additional translations can be added here...
],
'lang' => 'fr',
'characters' => ['«', '»', '‹', '›']
],
// Additional characters and categories can be added here...
]
]
];
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.