r29489 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r29488‎ | r29489 | r29490 >
Date:10:56, 9 January 2008
Author:siebrand
Status:old
Tags:
Comment:
* Remove some leading and trailing spaces from messages
* fix XHTML issues
* update indentation and aligning of message groups
Modified paths:
  • /trunk/extensions/MetavidWiki/languages/MV_Messages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/languages/MV_Messages.php
@@ -2,200 +2,193 @@
33 /*
44 * MV_Messages.php Created on Jan 8, 2008
55 *
6 - * Internationalization file for MetavidWiki extension
 6+ * Internationalization file for MetavidWiki extension
77 */
8 - $messages = array();
9 -
 8+
 9+$messages = array();
 10+
1011 /** English
1112 * @author Michael Dale
1213 */
13 -$messages['en'] = array(
14 - 'metavid' => 'Metavid Page',
15 - 'mv_missing_stream' => 'Missing Stream: $1',
16 -
17 - #stream/files key descriptions:
18 - 'mv_ogg_low_quality' =>'Web Stremable ogg theora, hosted on metavid',
19 - 'mv_ogg_high_quality' =>'High Quality ogg theora, hosted on metavid',
20 - 'mv_archive_org_link' =>'Links into Archive.org mpeg2 originals',
21 -
22 - 'mv_error_stream_missing' =>'<span class="error">Error: There is no video stream associated with this metadata.</span><br> Please report this to the site adimistrator.<br> <i>stream metadata interface is disabled</i>',
23 -
 14+$messages['en'] = array(
 15+ 'metavid' => 'Metavid Page',
 16+ 'mv_missing_stream' => 'Missing Stream: $1',
 17+
 18+ #stream/files key descriptions:
 19+ 'mv_ogg_low_quality' => 'Web Stremable ogg theora, hosted on metavid',
 20+ 'mv_ogg_high_quality' => 'High Quality ogg theora, hosted on metavid',
 21+ 'mv_archive_org_link' => 'Links into Archive.org mpeg2 originals',
 22+
 23+ 'mv_error_stream_missing' => '<span class="error">Error: There is no video stream associated with this metadata.</span><br /> Please report this to the site adimistrator.<br /> <i>stream metadata interface is disabled</i>',
 24+
2425 #add/edit stream text:
25 - 'mv_stream_meta' =>'Stream Page',
26 - 'mv_add_stream' =>'Metavd Add Stream',
27 - 'mv_edit_stream' =>'Metavid Edit Stream',
28 - 'mv_add_stream_page' =>'Mv Add Stream',
29 - 'mv_edit_strea_docu' =>'<p>Edit stream <b>admin</b> <br> for normal user view/edit see $1 page',
30 - 'mv_add_stream_docu' =>'<p>Add a new Stream with the field below.</p><p> More information is given on the <a href="$1">help page for add stream</a>.</p>',
31 - 'mv_add_stream_submit' =>'Add stream',
32 - 'mv_no_stream_files' =>'No Existing Stream files',
33 - 'mv_edit_stream_files' =>'Edit stream files',
34 - 'mv_path_type_url_anx' =>'full media url ',
35 - 'mv_path_type_wiki_title' =>'wiki media title',
36 - 'mv_path_type_label' =>'path type',
37 - 'mv_base_offset_label' =>'base offset',
38 - 'mv_duration_label' =>'duration',
39 - 'mv_file_desc_label' =>'stream desc msg',
40 - 'mv_delete_stream_file' =>'delete stream file reference',
41 - 'mv_save_changes' =>'Save Changes',
42 - 'mv_file_with_same_desc' =>'Error: stream file with same description key <i>$1</i> already present',
43 - 'mv_updated_stream_files' =>'Updated Stream Files Record',
44 - 'mv_removed_file_stream' =>'Removed Stream file: $1',
45 - 'mv_missing_stream_text' =>'The stream you requested <b>$1</b> is not available.<br>'.
46 - 'You may want to check the <a href="$2">Stream List</a><br>'.
47 - 'Or you many want to <a href="$3">Add The Stream</a> ',
 26+ 'mv_stream_meta' => 'Stream Page',
 27+ 'mv_add_stream' => 'Metavd Add Stream',
 28+ 'mv_edit_stream' => 'Metavid Edit Stream',
 29+ 'mv_add_stream_page' => 'Mv Add Stream',
 30+ 'mv_edit_strea_docu' => '<p>Edit stream <b>admin</b> <br /> for normal user view/edit see $1 page',
 31+ 'mv_add_stream_docu' => '<p>Add a new Stream with the field below.</p><p> More information is given on the <a href="$1">help page for add stream</a>.</p>',
 32+ 'mv_add_stream_submit' => 'Add stream',
 33+ 'mv_no_stream_files' => 'No Existing Stream files',
 34+ 'mv_edit_stream_files' => 'Edit stream files',
 35+ 'mv_path_type_url_anx' => 'full media url',
 36+ 'mv_path_type_wiki_title' => 'wiki media title',
 37+ 'mv_path_type_label' => 'path type',
 38+ 'mv_base_offset_label' => 'base offset',
 39+ 'mv_duration_label' => 'duration',
 40+ 'mv_file_desc_label' => 'stream desc msg',
 41+ 'mv_delete_stream_file' => 'delete stream file reference',
 42+ 'mv_save_changes' => 'Save Changes',
 43+ 'mv_file_with_same_desc' => 'Error: stream file with same description key <i>$1</i> already present',
 44+ 'mv_updated_stream_files' => 'Updated Stream Files Record',
 45+ 'mv_removed_file_stream' => 'Removed Stream file: $1',
 46+ 'mv_missing_stream_text' => 'The stream you requested <b>$1</b> is not available.<br />You may want to check the <a href="$2">Stream List</a><br />Or you many want to <a href="$3">Add The Stream</a>.',
4847
49 - 'mv_add_stream_file' =>'Add Stream File',
50 - 'mv_media_path' =>'media path',
51 - 'mv_file_list' =>'Stream Files',
52 - 'mv_label_stream_name' =>'Stream Name',
53 - 'mv_label_stream_desc' =>'Stream Description',
54 - 'add_stream_permission' =>'You lack permission to add a new stream ',
55 - 'edit_stream_missing' => 'Missing stream name',
56 - 'mv_stream_already_exists' =>'The stream <a href="$2">$1</a> already exists',
57 - 'mv_summary_add_stream' =>'stream added by form',
58 - 'mv_error_stream_insert' =>'failed to insert stream',
59 - 'mv_redirect_and_delete_reason' =>'removed redirect page',
60 - 'mv_remove_reason' =>'Reason For deletion:',
61 - 'mv_stream_delete_warrning' =>'<b>Removing this Stream will also remove $1 pieces of assocative metadata</b><br>',
62 -
 48+ 'mv_add_stream_file' => 'Add Stream File',
 49+ 'mv_media_path' => 'media path',
 50+ 'mv_file_list' => 'Stream Files',
 51+ 'mv_label_stream_name' => 'Stream Name',
 52+ 'mv_label_stream_desc' => 'Stream Description',
 53+ 'add_stream_permission' => 'You lack permission to add a new stream',
 54+ 'edit_stream_missing' => 'Missing stream name',
 55+ 'mv_stream_already_exists' => 'The stream <a href="$2">$1</a> already exists',
 56+ 'mv_summary_add_stream' => 'stream added by form',
 57+ 'mv_error_stream_insert' => 'failed to insert stream',
 58+ 'mv_redirect_and_delete_reason' => 'removed redirect page',
 59+ 'mv_remove_reason' => 'Reason For deletion:',
 60+ 'mv_stream_delete_warrning' => '<b>Removing this Stream will also remove $1 pieces of assocative metadata</b><br />',
 61+
6362 #stream type
64 - 'mv_label_stream_type' =>'Stream Type',
65 - 'mv_metavid_file' =>'Existing File on Server',
66 - 'mv_metavid_live' =>'Set Up Live Stream',
67 - 'mv_upload_file' =>'Upload file',
68 - 'mv_external_file' =>'External File',
69 - 'mv_stream_delete_warning' =>'Deleting this Stream will additionally remove $1 pages of metadata',
70 -
 63+ 'mv_label_stream_type' => 'Stream Type',
 64+ 'mv_metavid_file' => 'Existing File on Server',
 65+ 'mv_metavid_live' => 'Set Up Live Stream',
 66+ 'mv_upload_file' => 'Upload file',
 67+ 'mv_external_file' => 'External File',
 68+ 'mv_stream_delete_warning' => 'Deleting this Stream will additionally remove $1 pages of metadata',
 69+
7170 #tools
72 - 'mv_tool_search' =>'Search',
73 - 'mv_tool_search_title' =>'Search within this Stream',
74 - 'mv_tool_navigate' =>'Navigate',
75 - 'mv_tool_navigate_title' =>'Navigate the full stream',
76 - 'mv_tool_export' =>'Export',
77 - 'mv_tool_export_title' =>'Export Stream Metadata',
78 - 'mv_tool_embed' =>'Embed',
79 - 'mv_tool_embed_title' =>'Embed options for the current requested segment',
80 - 'mv_tool_overlay' =>'Template Overlays',
81 - 'mv_tool_overlay_title' =>'Template based metadata Overlays',
82 - 'mv_results_found_for' =>'Search Results <b>$1</b> to <b>$2</b> of <b>$3</b> for:',
83 -
84 - #mvd types:
85 - 'ht_en' =>'Transcript',
86 - 'ht_en_desc' =>'English transcripts. This overlay type is for text which spoken in the video stream. Links can be added, but all text should be what is spoken in the video stream.',
87 - 'anno_en' =>'Annotations and Categories',
88 - 'anno_en_desc' =>'English categorizations and annotations. This overlay can be used to \"tag\"/Categorize sections of video or to add annotative information that is not spoken text',
89 -
90 -
91 - 'mv_data_page_title' =>'$1 for $2 from $3 ',
92 - 'mv_time_separator' =>' to ',
93 -
 71+ 'mv_tool_search' => 'Search',
 72+ 'mv_tool_search_title' => 'Search within this Stream',
 73+ 'mv_tool_navigate' => 'Navigate',
 74+ 'mv_tool_navigate_title' => 'Navigate the full stream',
 75+ 'mv_tool_export' => 'Export',
 76+ 'mv_tool_export_title' => 'Export Stream Metadata',
 77+ 'mv_tool_embed' => 'Embed',
 78+ 'mv_tool_embed_title' => 'Embed options for the current requested segment',
 79+ 'mv_tool_overlay' => 'Template Overlays',
 80+ 'mv_tool_overlay_title' => 'Template based metadata Overlays',
 81+ 'mv_results_found_for' => 'Search Results <b>$1</b> to <b>$2</b> of <b>$3</b> for:',
 82+
 83+ #mvd types:
 84+ 'ht_en' => 'Transcript',
 85+ 'ht_en_desc' => 'English transcripts. This overlay type is for text which spoken in the video stream. Links can be added, but all text should be what is spoken in the video stream.',
 86+ 'anno_en' => 'Annotations and Categories',
 87+ 'anno_en_desc' => 'English categorizations and annotations. This overlay can be used to \"tag\"/Categorize sections of video or to add annotative information that is not spoken text',
 88+
 89+ 'mv_data_page_title' => '$1 for $2 from $3',
 90+ 'mv_time_separator' => 'to',
 91+
9492 # Messages for Special List stream
95 - 'mv_list_streams' =>'Metavid List Streams',
96 - 'mv_list_streams_page' =>'Mv List Streams',
97 - 'mv_list_streams_docu' => 'The following streams exist:',
98 - 'mv_list_streams_none' => 'No streams exist',
99 -
 93+ 'mv_list_streams' => 'Metavid List Streams',
 94+ 'mv_list_streams_page' => 'Mv List Streams',
 95+ 'mv_list_streams_docu' => 'The following streams exist:',
 96+ 'mv_list_streams_none' => 'No streams exist',
 97+
10098 #messages for metavid export feed:
101 - 'mvvideofeed' => 'Metavid Video Feed Export',
102 - 'video_feed_cat' =>'Video Feed for Category:',
103 - 'mv_cat_search_note' =>'Note: Categories only lists top level categories, for all metadata in category ranges search for $1',
104 -
 99+ 'mvvideofeed' => 'Metavid Video Feed Export',
 100+ 'video_feed_cat' => 'Video Feed for Category:',
 101+ 'mv_cat_search_note' => 'Note: Categories only lists top level categories, for all metadata in category ranges search for $1',
 102+
105103 # Messages for MV_DataPage
106 - 'mv_mvd_linkback' =>'Part of stream $1 <br>Jump to Stream View: $2<br>',
107 -
 104+ 'mv_mvd_linkback' => 'Part of stream $1 <br />Jump to Stream View: $2<br />',
 105+
108106 #messages for MVD pages
109 - 'mvBadMVDtitle' =>'missing type, stream missing, or not valid time format',
110 - 'mvMVDFormat' => 'MVD title should be of format: mvd:type:stream_name/start_time/end_time',
111 -
 107+ 'mvBadMVDtitle' => 'missing type, stream missing, or not valid time format',
 108+ 'mvMVDFormat' => 'MVD title should be of format: mvd:type:stream_name/start_time/end_time',
 109+
112110 #messeges for interface mvd pages:
113 - 'mv_play' =>'Play',
114 - 'mv_edit' =>'Edit',
115 - 'mv_history' =>'History',
116 - 'mv_history_title' =>'Edit and Video Alignment History',
117 - 'mv_edit_title' =>'Edit Text',
118 - 'mv_edit_adjust_title' =>'Edit Text and Video Alignment',
119 - 'mv_remove' =>'remove',
120 - 'mv_remove_title' =>'remove this meta data segment',
121 - 'mv_adjust' =>'adjust',
122 - 'mv_adjust_submit' =>'Save Adjustment',
123 - 'mv_adjust_title' =>'Adjust Start and End time',
124 - 'mv_adjust_preview' =>'Preview Adjustment',
125 - 'mv_adjust_preview_stop' =>'Stop Preview',
126 - 'mv_adjust_default_reason' =>'metavid interface adjust',
127 - 'mv_adjust_old_title_missing'=>'The page you are tyring to move from ($1) does not exist',
128 - 'mv_adjust_ok_move' =>'Success, adjusting...',
129 -
130 - 'mv_start_desc' =>'Start Time',
131 - 'mv_end_desc' =>'End Time',
132 -
133 - #search
134 - 'mediasearch' =>'Media Search',
135 - 'mv_search_sel_t' =>'Select Search Type',
136 - 'mv_run_search' =>'Run Search',
137 - 'mv_add_filter' =>'Add Filter',
138 - 'mv_search_match' =>'Search Text',
139 - 'mv_search_spoken_by' =>'Spoken By',
140 - 'mv_search_category' =>'Category',
141 - 'mv_search_smw_property' =>'Semantic Properties',
142 - 'mv_search_smw_property_numeric'=>'Numeric Semantic Value',
143 - 'mv_search_and' =>'and',
144 - 'mv_search_or' =>'or',
145 - 'mv_search_not' =>'not',
146 - 'mv_search_stream_name' =>'Stream Name',
147 - 'mv_stream_name' =>'stream name',
148 -
149 -
150 - 'mv_match' =>'match',
151 - 'mv_spoken_by' =>'spoken by',
152 - 'mv_category' =>'category',
153 -
154 -
155 - 'mv_search_no_results' =>'No media matches ',
156 - 'mv_media_matches' =>'Media matches ',
157 - 'mv_remove_filter' =>'remove filter',
158 - 'mv_advaced_search' =>'Advanced Media Search',
159 - 'mv_expand_play' =>'Expand and Play in-line',
160 - 'mv_view_in_stream_interface'=>'View in Stream Interface',
161 - 'mv_view_wiki_page' =>'View wiki page',
162 - 'mv_error_mvd_not_found' =>'Error mvd not found',
163 - 'mv_match_text' =>' ~ $1 matches ',
164 -
165 - #sequence text:
166 - 'mv_edit_sequence' =>'Editing Sequence:$1',
167 - 'mv_sequence_player_title' =>'sequence player',
168 -
169 - 'mv_save_sequence' =>'Save Sequence',
170 - 'mv_sequence_page_desc' =>'Save The Current Sequence',
171 - 'mv_sequence_add' =>'Add clips',
172 - 'mv_sequence_add_manual' =>'Add By Name',
173 - 'mv_sequence_add_manual_desc'=>'Add clips by Stream Name',
174 - 'mv_sequence_add_search' =>'Add By Search',
175 - 'mv_sequence_add_search_desc'=>'Add clips by Media Search',
176 - 'mv_seq_add_end' =>'Add to End of Sequence',
177 -
178 - 'mv_sequence_timeline' =>'Sequence Timeline:',
179 - 'mv_edit_sequence_desc_help'=>'Sequence Description<br>',
180 - 'mv_edithelpsequence' =>'Help:Sequence_Editing',
181 - 'mv_seq_summary' =>'Sequence Edit Summary',
182 - 'mv_add_clip_by_name' =>'Add Clip By Name',
183 -
184 -
185 -
186 - #mv tools
187 - 'mv_export_cmml' =>'export cmml',
188 - 'mv_search_stream' =>'Search Stream',
189 - 'mv_navigate_stream' =>'Navigate Full Stream',
190 - 'mv_embed_options' =>'Embed Options',
191 - 'mv_overlay' =>'Overlay Controls',
192 - 'mv_stream_tool_heading' =>'Stream Tools',
193 - 'mv_tool_missing' =>'tool request ($1) does not exist',
194 - 'mv_bad_tool_request' =>'bad tool line should be form: tool_name|tool_display_name',
195 -
196 - #msg for overlay interface:
197 - 'mv_search_stream' =>'Search Stream',
198 - 'mv_search_stream_title' =>'Search the Current Stream',
199 - 'mv_new_ht_en' =>'New Transcript',
200 - 'mv_new_anno_en' =>'New Tag or Annotation',
 111+ 'mv_play' => 'Play',
 112+ 'mv_edit' => 'Edit',
 113+ 'mv_history' => 'History',
 114+ 'mv_history_title' => 'Edit and Video Alignment History',
 115+ 'mv_edit_title' => 'Edit Text',
 116+ 'mv_edit_adjust_title' => 'Edit Text and Video Alignment',
 117+ 'mv_remove' => 'remove',
 118+ 'mv_remove_title' => 'remove this meta data segment',
 119+ 'mv_adjust' => 'adjust',
 120+ 'mv_adjust_submit' => 'Save Adjustment',
 121+ 'mv_adjust_title' => 'Adjust Start and End time',
 122+ 'mv_adjust_preview' => 'Preview Adjustment',
 123+ 'mv_adjust_preview_stop' => 'Stop Preview',
 124+ 'mv_adjust_default_reason' => 'metavid interface adjust',
 125+ 'mv_adjust_old_title_missing' => 'The page you are tyring to move from ($1) does not exist',
 126+ 'mv_adjust_ok_move' => 'Success, adjusting...',
 127+
 128+ 'mv_start_desc' => 'Start Time',
 129+ 'mv_end_desc' => 'End Time',
 130+
 131+ #search
 132+ 'mediasearch' => 'Media Search',
 133+ 'mv_search_sel_t' => 'Select Search Type',
 134+ 'mv_run_search' => 'Run Search',
 135+ 'mv_add_filter' => 'Add Filter',
 136+ 'mv_search_match' => 'Search Text',
 137+ 'mv_search_spoken_by' => 'Spoken By',
 138+ 'mv_search_category' => 'Category',
 139+ 'mv_search_smw_property' => 'Semantic Properties',
 140+ 'mv_search_smw_property_numeric' => 'Numeric Semantic Value',
 141+ 'mv_search_and' => 'and',
 142+ 'mv_search_or' => 'or',
 143+ 'mv_search_not' => 'not',
 144+ 'mv_search_stream_name' => 'Stream Name',
 145+ 'mv_stream_name' => 'stream name',
 146+
 147+ 'mv_match' => 'match',
 148+ 'mv_spoken_by' => 'spoken by',
 149+ 'mv_category' => 'category',
 150+
 151+ 'mv_search_no_results' => 'No media matches',
 152+ 'mv_media_matches' => 'Media matches',
 153+ 'mv_remove_filter' => 'remove filter',
 154+ 'mv_advaced_search' => 'Advanced Media Search',
 155+ 'mv_expand_play' => 'Expand and Play in-line',
 156+ 'mv_view_in_stream_interface' => 'View in Stream Interface',
 157+ 'mv_view_wiki_page' => 'View wiki page',
 158+ 'mv_error_mvd_not_found' => 'Error mvd not found',
 159+ 'mv_match_text' => '~ $1 matches',
 160+
 161+ #sequence text:
 162+ 'mv_edit_sequence' => 'Editing Sequence:$1',
 163+ 'mv_sequence_player_title' => 'sequence player',
 164+
 165+ 'mv_save_sequence' => 'Save Sequence',
 166+ 'mv_sequence_page_desc' => 'Save The Current Sequence',
 167+ 'mv_sequence_add' => 'Add clips',
 168+ 'mv_sequence_add_manual' => 'Add By Name',
 169+ 'mv_sequence_add_manual_desc' => 'Add clips by Stream Name',
 170+ 'mv_sequence_add_search' => 'Add By Search',
 171+ 'mv_sequence_add_search_desc' => 'Add clips by Media Search',
 172+ 'mv_seq_add_end' => 'Add to End of Sequence',
 173+
 174+ 'mv_sequence_timeline' => 'Sequence Timeline:',
 175+ 'mv_edit_sequence_desc_help' => 'Sequence Description<br />',
 176+ 'mv_edithelpsequence' => 'Help:Sequence_Editing',
 177+ 'mv_seq_summary' => 'Sequence Edit Summary',
 178+ 'mv_add_clip_by_name' => 'Add Clip By Name',
 179+
 180+ #mv tools
 181+ 'mv_export_cmml' => 'export cmml',
 182+ 'mv_search_stream' => 'Search Stream',
 183+ 'mv_navigate_stream' => 'Navigate Full Stream',
 184+ 'mv_embed_options' => 'Embed Options',
 185+ 'mv_overlay' => 'Overlay Controls',
 186+ 'mv_stream_tool_heading' => 'Stream Tools',
 187+ 'mv_tool_missing' => 'tool request ($1) does not exist',
 188+ 'mv_bad_tool_request' => 'bad tool line should be form: tool_name|tool_display_name',
 189+
 190+ #msg for overlay interface:
 191+ 'mv_search_stream' => 'Search Stream',
 192+ 'mv_search_stream_title' => 'Search the Current Stream',
 193+ 'mv_new_ht_en' => 'New Transcript',
 194+ 'mv_new_anno_en' => 'New Tag or Annotation',
201195 );
202 -?>

Status & tagging log