more changes
This commit is contained in:
parent
f60656b738
commit
9f135d38fc
@ -75,7 +75,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<php if (function_exists('the_matching_transcript_excerpts')) {
|
<?php if (function_exists('the_matching_transcript_excerpts')) {
|
||||||
the_matching_transcript_excerpts();
|
the_matching_transcript_excerpts();
|
||||||
} ?></pre>
|
} ?></pre>
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
'capabilities' => array(__('Capabilities', 'what-did-they-say'), 'edit_users'),
|
'capabilities' => array(__('Capabilities', 'what-did-they-say'), 'edit_users'),
|
||||||
'default-styles' => array(__('Styles', 'what-did-they-say'), 'edit_themes'),
|
'default-styles' => array(__('Styles', 'what-did-they-say'), 'edit_themes'),
|
||||||
'change-languages' => array(__('Languages', 'what-did-they-say'), 'change_languages'),
|
'change-languages' => array(__('Languages', 'what-did-they-say'), 'change_languages'),
|
||||||
'shortcodes-info' => array(__('Short codes Info', 'what-did-they-say'), 'submit_transcriptions'),
|
'shortcodes-info' => array(__('Short Codes Info', 'what-did-they-say'), 'submit_transcriptions'),
|
||||||
'misc-options' => array(__('Misc. Options', 'what-did-they-say'), 'manage_options'),
|
'misc-options' => array(__('Misc. Options', 'what-did-they-say'), 'manage_options'),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
84
readme.txt
84
readme.txt
@ -1,10 +1,84 @@
|
|||||||
=== What Did They Say?!? ===
|
=== What Did They Say?!? ===
|
||||||
Contributors: johncoswell
|
Contributors: johncoswell
|
||||||
Donate link: http://www.comicpresspremium.com/
|
Donate link: http://www.coswellproductions.com/wordpress/wordpress-plugins
|
||||||
Tags: admin, comics
|
Tags: admin, comics, webcomics, transcript, video, audio
|
||||||
Requires at least: 2.8
|
Requires at least: 2.8
|
||||||
Tested up to: 2.8.3
|
Tested up to: 2.8.4
|
||||||
Stable tag: 0.1
|
Stable tag: 0.9
|
||||||
|
|
||||||
Want to make multilingual transcriptions a breeze? Use What Did They Say?!? and let your users provide transcriptions to your work, in their language, quickly and securely.
|
What Did They Say?!? lets your users provide multilingual transcriptions to your media, in their language, quickly and securely.
|
||||||
|
|
||||||
|
== Description ==
|
||||||
|
|
||||||
|
Run a webcomic site? Post a lot of videos or audio files for your readers to enjoy? Wish you could easily and attractively present
|
||||||
|
transcripts for your media files...and even let dedicated users manage those transcripts for you? Then What Did They Day?!? is what you need!
|
||||||
|
|
||||||
|
**What Did They Say?!?** (WDTS) integrates fully with your WordPress site. You can use it without making any theme modifications, and you can customize
|
||||||
|
the output as little or as much as you want. Site search also searches transcript content. It's easy to add new languages to support.
|
||||||
|
And there's a complete transcript workflow for editing, submitting, and approving transcripts, so it's simple and safe to allow others
|
||||||
|
to provide transcripts. Backups are also easy, as transcript data is stored with each post -- no separate database tables to worry about.
|
||||||
|
|
||||||
|
== Installation ==
|
||||||
|
|
||||||
|
Download and unzip the latest version of **What Did They Say?!?** to your `wp-content/plugins` directory. If you plan on using custom transcript
|
||||||
|
filters, create the directory `wp-content/transcript-filters`.
|
||||||
|
|
||||||
|
**What Did They Say?!?** puts a menu item under Options. It also adds a meta box to post editing.
|
||||||
|
|
||||||
|
== Frequently Asked Questions ==
|
||||||
|
|
||||||
|
= How do I activate the automatic site integration? =
|
||||||
|
|
||||||
|
On the WDTS *Introduction* page, check **Enable automatic transcript embedding**. Some themes do not play nicely with this embedding
|
||||||
|
by default, so you may be asked to enable **Inject transcripts at level 100 instead of level 15** on the *Misc. Options* page.
|
||||||
|
|
||||||
|
= How do I add transcript excerpts to search results? =
|
||||||
|
|
||||||
|
In the appropriate place in your search results Loop, add the following Template Tag:
|
||||||
|
|
||||||
|
`<?php if (function_exists('the_matching_transcript_excerpts')) {
|
||||||
|
the_matching_transcript_excerpts();
|
||||||
|
} ?>`
|
||||||
|
|
||||||
|
= How do I create my own transcript filters and styles? =
|
||||||
|
|
||||||
|
There are two ways to do it:
|
||||||
|
|
||||||
|
* If the new filters and styles are for one particilar theme, add your filters and styles to that theme's functions.php.
|
||||||
|
* If the new filters and styles will go on different themes, or you want to distribute them, add them to the `wp-content/transcript-filters` directory.
|
||||||
|
|
||||||
|
If you're using the `wp-content/transcript-filters` directory, use the following process. This requries some technical knowledge:
|
||||||
|
|
||||||
|
* Create a new directory for your filter, using only lowercase characters, the numbers 0-9, dashes, and underscores.
|
||||||
|
* Inside of this directory place one .php/.inc file and/or one .css file.
|
||||||
|
* If you're overriding filters, create a new class in the PHP file that extends `WDTSDisplayFilters (defined in `classes/WDTSDisplayFilters.inc`) and override functions as necessary.
|
||||||
|
* If done correctly, the new filter will be available under the *Styles* tab.
|
||||||
|
|
||||||
|
= How does the transcript workflow work? =
|
||||||
|
|
||||||
|
Transcripts can be in one of two states: **queued** and **approved**. Users can interact with them depending upon the permissions given to them:
|
||||||
|
|
||||||
|
* Queued transcripts are only visible to the user who submitted the transcript and to users that can approve transcripts.
|
||||||
|
* Approved transcripts are visible to everyone.
|
||||||
|
* Users who can submit transcripts can create new queued transcripts and edit their queued transcripts.
|
||||||
|
* Once a transcript is approved, it can only be edited by users who can approve transcripts.
|
||||||
|
* Users who can approve transcripts can also directly edit the approved transcripts.
|
||||||
|
* If a user submits a transcript to the queue, they can delete it before it's approved.
|
||||||
|
|
||||||
|
Permissions are handed out based on role and is set under the *Capabilities* tab.
|
||||||
|
|
||||||
|
= How do short codes work? =
|
||||||
|
|
||||||
|
**Short codes** are the recommended way that you create your transcripts. They eliminate the dependency on particular HTML structures and styles, which means
|
||||||
|
it's trivial to rework how your transcripts look and behave. It also improves security as it's less likely that bad HTML will sneak into your transcripts.
|
||||||
|
Short codes information can be found under the *Short Codes Info* tab. Each transcript editing area has buttons that allow you to quickly insert the proper
|
||||||
|
short codes into your transcripts.
|
||||||
|
|
||||||
|
== Screenshots ==
|
||||||
|
|
||||||
|
1. The **What Did They Say?!?** admin screen, with tabs running across the top.
|
||||||
|
|
||||||
|
== Changelog ==
|
||||||
|
|
||||||
|
= 0.9 =
|
||||||
|
* Initial release, primarily for testing purposes.
|
@ -11,228 +11,6 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr><td rowspan="1" colspan="3">TestWhatDidTheySay</td></tr>
|
<tr><td rowspan="1" colspan="3">TestWhatDidTheySay</td></tr>
|
||||||
</thead><tbody>
|
</thead><tbody>
|
||||||
<tr>
|
|
||||||
<td>open</td>
|
|
||||||
<td>/wp-admin/</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>clickAndWait</td>
|
|
||||||
<td>link=Installed</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertTextPresent</td>
|
|
||||||
<td>What Did They Say?!?</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>clickAndWait</td>
|
|
||||||
<td>//a[contains(@href,'what-did-they-say') and contains(@href,'activate')]</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertTextPresent</td>
|
|
||||||
<td>Plugin activated.</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertElementPresent</td>
|
|
||||||
<td>//a[contains(text(), "What Did They Say?!?")]</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>clickAndWait</td>
|
|
||||||
<td>link=exact:What Did They Say?!?</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<!--Reset-->
|
|
||||||
<tr>
|
|
||||||
<td>assertTextPresent</td>
|
|
||||||
<td>Reset Settings to Default</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>click</td>
|
|
||||||
<td>//input[@value='Reset What Did They Say?!?']</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertConfirmation</td>
|
|
||||||
<td>Are you sure? You could leave transcriptions inaccessible.</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>waitForPageToLoad</td>
|
|
||||||
<td>30000</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertTextPresent</td>
|
|
||||||
<td>What Did They Say?!? options reset</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<!--Capabilities-->
|
|
||||||
<tr>
|
|
||||||
<td>select</td>
|
|
||||||
<td>wdts[capabilities][submit_transcriptions]</td>
|
|
||||||
<td>label=Editor</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>select</td>
|
|
||||||
<td>wdts[capabilities][approve_transcriptions]</td>
|
|
||||||
<td>label=Editor</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>select</td>
|
|
||||||
<td>wdts[capabilities][change_languages]</td>
|
|
||||||
<td>label=Editor</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>clickAndWait</td>
|
|
||||||
<td>//input[@value='Change capabilities']</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertTextPresent</td>
|
|
||||||
<td>User capabilities updated.</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertSelectedLabel</td>
|
|
||||||
<td>wdts[capabilities][submit_transcriptions]</td>
|
|
||||||
<td>Editor</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertSelectedLabel</td>
|
|
||||||
<td>wdts[capabilities][approve_transcriptions]</td>
|
|
||||||
<td>Editor</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertSelectedLabel</td>
|
|
||||||
<td>wdts[capabilities][change_languages]</td>
|
|
||||||
<td>Editor</td>
|
|
||||||
</tr>
|
|
||||||
<!--Make new language default-->
|
|
||||||
<tr>
|
|
||||||
<td>assertText</td>
|
|
||||||
<td>//th/span[contains(text(), "English")]/../../td[1]</td>
|
|
||||||
<td>(yes)</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>clickAndWait</td>
|
|
||||||
<td>//th/span[contains(text(), "German")]/../..//input[@value="Default"]</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertTextPresent</td>
|
|
||||||
<td>German set as default.</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertNotText</td>
|
|
||||||
<td>//th/span[contains(text(), "English")]/../../td[1]</td>
|
|
||||||
<td>(yes)</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertText</td>
|
|
||||||
<td>//th/span[contains(text(), "German")]/../../td[1]</td>
|
|
||||||
<td>(yes)</td>
|
|
||||||
</tr>
|
|
||||||
<!--Add a new language-->
|
|
||||||
<tr>
|
|
||||||
<td>select</td>
|
|
||||||
<td>//select[@name='wdts[code]']</td>
|
|
||||||
<td>label=Danish</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>clickAndWait</td>
|
|
||||||
<td>//input[@value='Add New Language']</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertTextPresent</td>
|
|
||||||
<td>Danish added.</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<!--Delete a language-->
|
|
||||||
<tr>
|
|
||||||
<td>click</td>
|
|
||||||
<td>//input[@value='Delete']</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertConfirmation</td>
|
|
||||||
<td>You are about to delete this language from the available list. Continue?</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>waitForPageToLoad</td>
|
|
||||||
<td>30000</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertTextPresent</td>
|
|
||||||
<td>Danish deleted.</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<!--Rename a language-->
|
|
||||||
<tr>
|
|
||||||
<td>assertVisible</td>
|
|
||||||
<td>//span[contains(text(), "German")]</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>click</td>
|
|
||||||
<td>//span[contains(text(), "German")]/../..//a[contains(text(), "Rename")]</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertNotVisible</td>
|
|
||||||
<td>//span[contains(text(), "German")]</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>type</td>
|
|
||||||
<td>//span[contains(text(), "German")]/..//input[@name="wdts[name]"]</td>
|
|
||||||
<td>Deutsch</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>clickAndWait</td>
|
|
||||||
<td>//span[contains(text(), "German")]/..//input[@type="submit"]</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertTextPresent</td>
|
|
||||||
<td>German renamed to Deutsch.</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<!--Reset Settings-->
|
|
||||||
<tr>
|
|
||||||
<td>assertTextPresent</td>
|
|
||||||
<td>Reset Settings to Default</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>click</td>
|
|
||||||
<td>//input[@value='Reset What Did They Say?!?']</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertConfirmation</td>
|
|
||||||
<td>Are you sure? You could leave transcriptions inaccessible.</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>waitForPageToLoad</td>
|
|
||||||
<td>30000</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>assertTextPresent</td>
|
|
||||||
<td>What Did They Say?!? options reset</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<!--Meta Box-->
|
<!--Meta Box-->
|
||||||
<tr>
|
<tr>
|
||||||
<td>clickAndWait</td>
|
<td>clickAndWait</td>
|
||||||
|
77
test/selenium/TestActivation.html
Normal file
77
test/selenium/TestActivation.html
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
<link rel="selenium.base" href="http://comicpress.local/" />
|
||||||
|
<title>TestActivation</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table cellpadding="1" cellspacing="1" border="1">
|
||||||
|
<thead>
|
||||||
|
<tr><td rowspan="1" colspan="3">TestActivation</td></tr>
|
||||||
|
</thead><tbody>
|
||||||
|
<tr>
|
||||||
|
<td>open</td>
|
||||||
|
<td>/wp-admin/</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>storeElementPresent</td>
|
||||||
|
<td>//a[contains(@href,'manage-wdts')]</td>
|
||||||
|
<td>not_activated</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>gotoIf</td>
|
||||||
|
<td>!${not_activated}</td>
|
||||||
|
<td>not_activated</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>//a[@href="plugins.php"]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>//a[contains(@href,"what-did-they-say") and contains(@href,"deactivate")]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertTextPresent</td>
|
||||||
|
<td>Plugin deactivated.</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>label</td>
|
||||||
|
<td>not_activated</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>link=Installed</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertTextPresent</td>
|
||||||
|
<td>What Did They Say?!?</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>//a[contains(@href,'what-did-they-say') and contains(@href,'activate')]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertTextPresent</td>
|
||||||
|
<td>Plugin activated.</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertElementPresent</td>
|
||||||
|
<td>//a[contains(text(), "What Did They Say?!?")]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody></table>
|
||||||
|
</body>
|
||||||
|
</html>
|
47
test/selenium/TestAddLanguage.html
Normal file
47
test/selenium/TestAddLanguage.html
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
<link rel="selenium.base" href="" />
|
||||||
|
<title>TestAddLanguage</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table cellpadding="1" cellspacing="1" border="1">
|
||||||
|
<thead>
|
||||||
|
<tr><td rowspan="1" colspan="3">TestAddLanguage</td></tr>
|
||||||
|
</thead><tbody>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>link=exact:What Did They Say?!?</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>click</td>
|
||||||
|
<td>wdts-tab-change-languages</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>select</td>
|
||||||
|
<td>//select[@name='wdts[code]']</td>
|
||||||
|
<td>label=Danish</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>//input[@value='Add New Language']</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertTextPresent</td>
|
||||||
|
<td>Danish added.</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertElementPresent</td>
|
||||||
|
<td>//span[text()="Danish"]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody></table>
|
||||||
|
</body>
|
||||||
|
</html>
|
67
test/selenium/TestChangeCapabilities.html
Normal file
67
test/selenium/TestChangeCapabilities.html
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
<link rel="selenium.base" href="" />
|
||||||
|
<title>TestChangeCapabilities</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table cellpadding="1" cellspacing="1" border="1">
|
||||||
|
<thead>
|
||||||
|
<tr><td rowspan="1" colspan="3">TestChangeCapabilities</td></tr>
|
||||||
|
</thead><tbody>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>link=exact:What Did They Say?!?</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>click</td>
|
||||||
|
<td>wdts-tab-capabilities</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>select</td>
|
||||||
|
<td>wdts[capabilities][submit_transcriptions]</td>
|
||||||
|
<td>label=Editor</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>select</td>
|
||||||
|
<td>wdts[capabilities][approve_transcriptions]</td>
|
||||||
|
<td>label=Editor</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>select</td>
|
||||||
|
<td>wdts[capabilities][change_languages]</td>
|
||||||
|
<td>label=Editor</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>//input[@value='Change capabilities']</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertTextPresent</td>
|
||||||
|
<td>User capabilities updated.</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertSelectedLabel</td>
|
||||||
|
<td>wdts[capabilities][submit_transcriptions]</td>
|
||||||
|
<td>Editor</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertSelectedLabel</td>
|
||||||
|
<td>wdts[capabilities][approve_transcriptions]</td>
|
||||||
|
<td>Editor</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertSelectedLabel</td>
|
||||||
|
<td>wdts[capabilities][change_languages]</td>
|
||||||
|
<td>Editor</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody></table>
|
||||||
|
</body>
|
||||||
|
</html>
|
57
test/selenium/TestChangeDefaultLanguage.html
Normal file
57
test/selenium/TestChangeDefaultLanguage.html
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
<link rel="selenium.base" href="" />
|
||||||
|
<title>TestChangeDefaultLanguage</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table cellpadding="1" cellspacing="1" border="1">
|
||||||
|
<thead>
|
||||||
|
<tr><td rowspan="1" colspan="3">TestChangeDefaultLanguage</td></tr>
|
||||||
|
</thead><tbody>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>link=exact:What Did They Say?!?</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>click</td>
|
||||||
|
<td>wdts-tab-change-languages</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertElementPresent</td>
|
||||||
|
<td>//form/input[@value="en"]/../input[@disabled]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>//th/span[contains(text(), "German")]/../..//input[@value="Default"]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertTextPresent</td>
|
||||||
|
<td>German set as default.</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertElementNotPresent</td>
|
||||||
|
<td>//form/input[@value="en"]/../input[@disabled]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertElementPresent</td>
|
||||||
|
<td>//form/input[@value="de"]/../input[@disabled]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertElementPresent</td>
|
||||||
|
<td>//form/input[@value="de"]/../input[@disabled]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody></table>
|
||||||
|
</body>
|
||||||
|
</html>
|
32
test/selenium/TestDeactivate.html
Normal file
32
test/selenium/TestDeactivate.html
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
<link rel="selenium.base" href="" />
|
||||||
|
<title>TestDeactivate</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table cellpadding="1" cellspacing="1" border="1">
|
||||||
|
<thead>
|
||||||
|
<tr><td rowspan="1" colspan="3">TestDeactivate</td></tr>
|
||||||
|
</thead><tbody>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>link=Installed</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>//a[contains(@href,'what-did-they-say') and contains(@href,'deactivate')]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertTextPresent</td>
|
||||||
|
<td>Plugin deactivated.</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody></table>
|
||||||
|
</body>
|
||||||
|
</html>
|
47
test/selenium/TestDeleteLanguage.html
Normal file
47
test/selenium/TestDeleteLanguage.html
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
<link rel="selenium.base" href="" />
|
||||||
|
<title>TestDeleteLanguage</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table cellpadding="1" cellspacing="1" border="1">
|
||||||
|
<thead>
|
||||||
|
<tr><td rowspan="1" colspan="3">TestDeleteLanguage</td></tr>
|
||||||
|
</thead><tbody>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>link=exact:What Did They Say?!?</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>click</td>
|
||||||
|
<td>wdts-tab-change-languages</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>click</td>
|
||||||
|
<td>//form/input[@value="de"]/../input[@value='Delete']</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertConfirmation</td>
|
||||||
|
<td>You are about to delete this language from the available list. Continue?</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>waitForPageToLoad</td>
|
||||||
|
<td>30000</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertTextPresent</td>
|
||||||
|
<td>German deleted.</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody></table>
|
||||||
|
</body>
|
||||||
|
</html>
|
97
test/selenium/TestMetaboxApprovedTranscriptEditing.html
Normal file
97
test/selenium/TestMetaboxApprovedTranscriptEditing.html
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
<link rel="selenium.base" href="" />
|
||||||
|
<title>TestMetaboxApprovedTranscriptEditing</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table cellpadding="1" cellspacing="1" border="1">
|
||||||
|
<thead>
|
||||||
|
<tr><td rowspan="1" colspan="3">TestMetaboxApprovedTranscriptEditing</td></tr>
|
||||||
|
</thead><tbody>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>link=Add New</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>type</td>
|
||||||
|
<td>title</td>
|
||||||
|
<td>WDTS Test Post</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>publish</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertTextPresent</td>
|
||||||
|
<td>Post published.</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>storeValue</td>
|
||||||
|
<td>post_ID</td>
|
||||||
|
<td>post_id</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertSelectedLabel</td>
|
||||||
|
<td>wdts-language</td>
|
||||||
|
<td>English</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>type</td>
|
||||||
|
<td>wdts-transcripts-en</td>
|
||||||
|
<td>This is a test transcript.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>select</td>
|
||||||
|
<td>wdts-language</td>
|
||||||
|
<td>label=German</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>type</td>
|
||||||
|
<td>wdts-transcripts-de</td>
|
||||||
|
<td>Dies ist ein Test transcript.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>publish</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertTextPresent</td>
|
||||||
|
<td>Post updated.</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertValue</td>
|
||||||
|
<td>wdts-transcripts-en</td>
|
||||||
|
<td>This is a test transcript.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertValue</td>
|
||||||
|
<td>wdts-transcripts-de</td>
|
||||||
|
<td>Dies ist ein Test transcript.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>click</td>
|
||||||
|
<td>link=Delete</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertConfirmation</td>
|
||||||
|
<td>You are about to delete this post 'WDTS Test Post'<br /> 'Cancel' to stop, 'OK' to delete.</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>waitForPageToLoad</td>
|
||||||
|
<td>30000</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody></table>
|
||||||
|
</body>
|
||||||
|
</html>
|
57
test/selenium/TestRenameLanguage.html
Normal file
57
test/selenium/TestRenameLanguage.html
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
<link rel="selenium.base" href="" />
|
||||||
|
<title>TestRenameLanguage</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table cellpadding="1" cellspacing="1" border="1">
|
||||||
|
<thead>
|
||||||
|
<tr><td rowspan="1" colspan="3">TestRenameLanguage</td></tr>
|
||||||
|
</thead><tbody>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>link=exact:What Did They Say?!?</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>click</td>
|
||||||
|
<td>wdts-tab-change-languages</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertVisible</td>
|
||||||
|
<td>//span[contains(text(), "German")]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>click</td>
|
||||||
|
<td>//span[contains(text(), "German")]/../..//a[contains(text(), "Rename")]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertNotVisible</td>
|
||||||
|
<td>//span[contains(text(), "German")]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>type</td>
|
||||||
|
<td>//span[contains(text(), "German")]/..//input[@name="wdts[name]"]</td>
|
||||||
|
<td>Deutsch</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>//span[contains(text(), "German")]/..//input[@type="submit"]</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertTextPresent</td>
|
||||||
|
<td>German renamed to Deutsch.</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody></table>
|
||||||
|
</body>
|
||||||
|
</html>
|
52
test/selenium/TestResetOptions.html
Normal file
52
test/selenium/TestResetOptions.html
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
<link rel="selenium.base" href="" />
|
||||||
|
<title>TestResetOptions</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table cellpadding="1" cellspacing="1" border="1">
|
||||||
|
<thead>
|
||||||
|
<tr><td rowspan="1" colspan="3">TestResetOptions</td></tr>
|
||||||
|
</thead><tbody>
|
||||||
|
<tr>
|
||||||
|
<td>clickAndWait</td>
|
||||||
|
<td>link=exact:What Did They Say?!?</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>click</td>
|
||||||
|
<td>wdts-tab-misc-options</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertTextPresent</td>
|
||||||
|
<td>Reset Settings to Default</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>click</td>
|
||||||
|
<td>//input[@value='Reset What Did They Say?!?']</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertConfirmation</td>
|
||||||
|
<td>Are you sure? You could leave transcriptions inaccessible.</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>waitForPageToLoad</td>
|
||||||
|
<td>30000</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>assertTextPresent</td>
|
||||||
|
<td>What Did They Say?!? options reset</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody></table>
|
||||||
|
</body>
|
||||||
|
</html>
|
27
test/selenium/TestSuiteWhatDidTheySay.html
Normal file
27
test/selenium/TestSuiteWhatDidTheySay.html
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
<head>
|
||||||
|
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
|
||||||
|
<title>Test Suite</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody>
|
||||||
|
<tr><td><b>Test Suite</b></td></tr>
|
||||||
|
<tr><td><a href="TestActivation.html">TestActivation</a></td></tr>
|
||||||
|
<tr><td><a href="TestResetOptions.html">TestResetOptions</a></td></tr>
|
||||||
|
<tr><td><a href="TestChangeCapabilities.html">TestChangeCapabilities</a></td></tr>
|
||||||
|
<tr><td><a href="TestResetOptions.html">TestResetOptions</a></td></tr>
|
||||||
|
<tr><td><a href="TestChangeDefaultLanguage.html">TestChangeDefaultLanguage</a></td></tr>
|
||||||
|
<tr><td><a href="TestResetOptions.html">TestResetOptions</a></td></tr>
|
||||||
|
<tr><td><a href="TestAddLanguage.html">TestAddLanguage</a></td></tr>
|
||||||
|
<tr><td><a href="TestResetOptions.html">TestResetOptions</a></td></tr>
|
||||||
|
<tr><td><a href="TestDeleteLanguage.html">TestDeleteLanguage</a></td></tr>
|
||||||
|
<tr><td><a href="TestResetOptions.html">TestResetOptions</a></td></tr>
|
||||||
|
<tr><td><a href="TestRenameLanguage.html">TestRenameLanguage</a></td></tr>
|
||||||
|
<tr><td><a href="TestResetOptions.html">TestResetOptions</a></td></tr>
|
||||||
|
<tr><td><a href="TestMetaboxApprovedTranscriptEditing.html">TestMetaboxApprovedTranscriptEditing</a></td></tr>
|
||||||
|
<tr><td><a href="TestDeactivate.html">TestDeactivate</a></td></tr>
|
||||||
|
</tbody></table>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -3,7 +3,7 @@
|
|||||||
Plugin Name: What Did They Say?!?
|
Plugin Name: What Did They Say?!?
|
||||||
Plugin URI: http://www.coswellproductions.com/wordpress/wordpress-plugins/
|
Plugin URI: http://www.coswellproductions.com/wordpress/wordpress-plugins/
|
||||||
Description: Manage and display text transcriptions of comics, videos, or other media.
|
Description: Manage and display text transcriptions of comics, videos, or other media.
|
||||||
Version: 0.1
|
Version: 0.9
|
||||||
Author: John Bintz
|
Author: John Bintz
|
||||||
Author URI: http://www.coswellproductions.com/wordpress/
|
Author URI: http://www.coswellproductions.com/wordpress/
|
||||||
Text Domain: what-did-they-say
|
Text Domain: what-did-they-say
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: what-did-they-say 0.1\n"
|
"Project-Id-Version: what-did-they-say 0.9\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2009-10-06 07:11-0400\n"
|
"POT-Creation-Date: 2009-10-07 12:43-0400\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -145,11 +145,11 @@ msgstr ""
|
|||||||
msgid "Transcript update failure!"
|
msgid "Transcript update failure!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_editor-script.inc:16 classes/WhatDidTheySayAdmin.inc:264
|
#: classes/partials/_editor-script.inc:16 classes/WDTSDisplayFilters.inc:10
|
||||||
msgid "Show transcripts"
|
msgid "Show transcripts"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_editor-script.inc:17 classes/WhatDidTheySayAdmin.inc:265
|
#: classes/partials/_editor-script.inc:17 classes/WDTSDisplayFilters.inc:11
|
||||||
msgid "Hide transcripts"
|
msgid "Hide transcripts"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -220,100 +220,104 @@ msgstr ""
|
|||||||
msgid "On individual post pages"
|
msgid "On individual post pages"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:66
|
#: classes/partials/_default-styles.inc:69
|
||||||
|
msgid "Use the selected transcript filter set:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: classes/partials/_default-styles.inc:79
|
||||||
msgid "Change default styles"
|
msgid "Change default styles"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:69
|
#: classes/partials/_default-styles.inc:82
|
||||||
msgid "Transcript Line Breaks"
|
msgid "Transcript Line Breaks"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:71
|
#: classes/partials/_default-styles.inc:84
|
||||||
msgid ""
|
msgid ""
|
||||||
"If you're using short codes or HTML to construct your transcripts, you don't "
|
"If you're using short codes or HTML to construct your transcripts, you don't "
|
||||||
"need to enable transcript line breaks."
|
"need to enable transcript line breaks."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:73
|
#: classes/partials/_default-styles.inc:86
|
||||||
msgid "Default CSS Selectors Information"
|
msgid "Default CSS Selectors Information"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:75
|
#: classes/partials/_default-styles.inc:88
|
||||||
msgid ""
|
msgid ""
|
||||||
"By default, the following CSS selectors are used by <strong>What Did They "
|
"By default, the following CSS selectors are used by <strong>What Did They "
|
||||||
"Say?!?</strong>:"
|
"Say?!?</strong>:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:78
|
#: classes/partials/_default-styles.inc:91
|
||||||
msgid "The container for the transcript"
|
msgid "The container for the transcript"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:80
|
#: classes/partials/_default-styles.inc:93
|
||||||
msgid "Character dialog"
|
msgid "Character dialog"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:82
|
#: classes/partials/_default-styles.inc:95
|
||||||
msgid "The character's name"
|
msgid "The character's name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:84
|
#: classes/partials/_default-styles.inc:97
|
||||||
msgid ""
|
msgid ""
|
||||||
"The direction the characters is speaking in/from (off-stage, to another "
|
"The direction the characters is speaking in/from (off-stage, to another "
|
||||||
"character)"
|
"character)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:86
|
#: classes/partials/_default-styles.inc:99
|
||||||
msgid "A scene heading"
|
msgid "A scene heading"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:88
|
#: classes/partials/_default-styles.inc:101
|
||||||
msgid "Action within a scene"
|
msgid "Action within a scene"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:91
|
#: classes/partials/_default-styles.inc:104
|
||||||
msgid "Overriding Filters"
|
msgid "Overriding Filters"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:94
|
#: classes/partials/_default-styles.inc:107
|
||||||
msgid ""
|
msgid ""
|
||||||
"If you want to override how transcript HTML is structured, create hooks in "
|
"If you want to override how transcript HTML is structured, create hooks in "
|
||||||
"your theme that implement the following filters."
|
"your theme that implement the following filters."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:95
|
#: classes/partials/_default-styles.inc:108
|
||||||
msgid ""
|
msgid ""
|
||||||
"All of them return the same parameters that are passed in as an array(), "
|
"All of them return the same parameters that are passed in as an array(), "
|
||||||
"with the return <code>$content</code> containing the filter output."
|
"with the return <code>$content</code> containing the filter output."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:100
|
#: classes/partials/_default-styles.inc:113
|
||||||
msgid "Output <code>$content</code> contains the HTML for dialog blocks."
|
msgid "Output <code>$content</code> contains the HTML for dialog blocks."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:103
|
#: classes/partials/_default-styles.inc:116
|
||||||
msgid "Output <code>$content</code> contains the HTML for scene action blocks."
|
msgid "Output <code>$content</code> contains the HTML for scene action blocks."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:106
|
#: classes/partials/_default-styles.inc:119
|
||||||
msgid ""
|
msgid ""
|
||||||
"Ouptut <code>$content</code> contains the HTML for scene heading blocks."
|
"Ouptut <code>$content</code> contains the HTML for scene heading blocks."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:109
|
#: classes/partials/_default-styles.inc:122
|
||||||
msgid "Output <code>$content</code> contains the HTML for a single transcript."
|
msgid "Output <code>$content</code> contains the HTML for a single transcript."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:112
|
#: classes/partials/_default-styles.inc:125
|
||||||
msgid "Output <code>$content</code> contains the HTML for a language name."
|
msgid "Output <code>$content</code> contains the HTML for a language name."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:115
|
#: classes/partials/_default-styles.inc:128
|
||||||
msgid ""
|
msgid ""
|
||||||
"Output <code>$content</code> contains the HTML for all the provided <code>"
|
"Output <code>$content</code> contains the HTML for all the provided <code>"
|
||||||
"$transcripts</code> that match <code>$search_string</code>."
|
"$transcripts</code> that match <code>$search_string</code>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:118
|
#: classes/partials/_default-styles.inc:131
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Output <code>$content</code> contains the sprintf() format string for how "
|
"Output <code>$content</code> contains the sprintf() format string for how "
|
||||||
@ -321,14 +325,14 @@ msgid ""
|
|||||||
"code>."
|
"code>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:121
|
#: classes/partials/_default-styles.inc:134
|
||||||
msgid ""
|
msgid ""
|
||||||
"Output <code>$content</code> contains three elements: a container (.wdts-"
|
"Output <code>$content</code> contains three elements: a container (.wdts-"
|
||||||
"transcript-opener), and an opener & closer in the container (.wdts-"
|
"transcript-opener), and an opener & closer in the container (.wdts-"
|
||||||
"opener and .wdts-container)."
|
"opener and .wdts-container)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/_default-styles.inc:125
|
#: classes/partials/_default-styles.inc:138
|
||||||
msgid ""
|
msgid ""
|
||||||
"A filter in your theme that would change the display of langauge names would "
|
"A filter in your theme that would change the display of langauge names would "
|
||||||
"look like the following:"
|
"look like the following:"
|
||||||
@ -480,7 +484,7 @@ msgid "Capabilities"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/admin.inc:7
|
#: classes/partials/admin.inc:7
|
||||||
msgid "Short codes Info"
|
msgid "Short Codes Info"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/admin.inc:8
|
#: classes/partials/admin.inc:8
|
||||||
@ -488,7 +492,7 @@ msgid "Misc. Options"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/partials/admin.inc:14 classes/partials/admin.inc:47
|
#: classes/partials/admin.inc:14 classes/partials/admin.inc:47
|
||||||
#: classes/WhatDidTheySayAdmin.inc:207 classes/WhatDidTheySayAdmin.inc:208
|
#: classes/WhatDidTheySayAdmin.inc:249 classes/WhatDidTheySayAdmin.inc:250
|
||||||
msgid "What Did They Say?!?"
|
msgid "What Did They Say?!?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -628,96 +632,96 @@ msgstr ""
|
|||||||
msgid "Hey, where are the keys?"
|
msgid "Hey, where are the keys?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:56
|
#: classes/WhatDidTheySayAdmin.inc:59
|
||||||
msgid "Submit transcriptions to a post"
|
msgid "Submit transcriptions to a post"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:57
|
#: classes/WhatDidTheySayAdmin.inc:60
|
||||||
msgid "Approve transcriptions to a post"
|
msgid "Approve transcriptions to a post"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:58
|
#: classes/WhatDidTheySayAdmin.inc:61
|
||||||
msgid "Change the available languages"
|
msgid "Change the available languages"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:231
|
#: classes/WhatDidTheySayAdmin.inc:273
|
||||||
msgid "Manage Transcripts"
|
msgid "Manage Transcripts"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:306
|
#: classes/WhatDidTheySayAdmin.inc:481
|
||||||
#, php-format
|
|
||||||
msgid "Transcript: %s"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:335
|
|
||||||
#, php-format
|
|
||||||
msgid "%s transcript excerpt:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:568
|
|
||||||
msgid "Transcript added to queue."
|
msgid "Transcript added to queue."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:570
|
#: classes/WhatDidTheySayAdmin.inc:483
|
||||||
msgid "Transcript not added to queue."
|
msgid "Transcript not added to queue."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:641
|
#: classes/WhatDidTheySayAdmin.inc:554
|
||||||
msgid "Transcripts updated."
|
msgid "Transcripts updated."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:704
|
#: classes/WhatDidTheySayAdmin.inc:623
|
||||||
msgid "Default styles option updated."
|
msgid "Default styles option updated."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:720
|
#: classes/WhatDidTheySayAdmin.inc:639
|
||||||
msgid "Insertion level updated."
|
msgid "Insertion level updated."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:738
|
#: classes/WhatDidTheySayAdmin.inc:657
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s deleted."
|
msgid "%s deleted."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:740
|
#: classes/WhatDidTheySayAdmin.inc:659
|
||||||
msgid "Language not deleted!"
|
msgid "Language not deleted!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:747
|
#: classes/WhatDidTheySayAdmin.inc:666
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s added."
|
msgid "%s added."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:749
|
#: classes/WhatDidTheySayAdmin.inc:668
|
||||||
msgid "Language not added!"
|
msgid "Language not added!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:755
|
#: classes/WhatDidTheySayAdmin.inc:674
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s set as default."
|
msgid "%s set as default."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:757
|
#: classes/WhatDidTheySayAdmin.inc:676
|
||||||
msgid "Language not set as default!"
|
msgid "Language not set as default!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:763
|
#: classes/WhatDidTheySayAdmin.inc:682
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%1$s renamed to %2$s."
|
msgid "%1$s renamed to %2$s."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:765
|
#: classes/WhatDidTheySayAdmin.inc:684
|
||||||
msgid "Language not renamed!"
|
msgid "Language not renamed!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:788
|
#: classes/WhatDidTheySayAdmin.inc:707
|
||||||
msgid "User capabilities updated."
|
msgid "User capabilities updated."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:807
|
#: classes/WhatDidTheySayAdmin.inc:726
|
||||||
msgid "<strong>What Did They Say?!?</strong> options reset."
|
msgid "<strong>What Did They Say?!?</strong> options reset."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/WhatDidTheySayAdmin.inc:826
|
#: classes/WhatDidTheySayAdmin.inc:745
|
||||||
msgid "<strong>What Did They Say?!?</strong> core options changed."
|
msgid "<strong>What Did They Say?!?</strong> core options changed."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: classes/WDTSDisplayFilters.inc:52
|
||||||
|
#, php-format
|
||||||
|
msgid "Transcript: %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: classes/WDTSDisplayFilters.inc:81
|
||||||
|
#, php-format
|
||||||
|
msgid "%s transcript excerpt:"
|
||||||
|
msgstr ""
|
||||||
|
Loading…
Reference in New Issue
Block a user