Gå til hovedindholdet

Important Strings

<?php global $language; if ($language->language == 'en') { print 'You cannot translate English to English.
Please select another language from the dropdown above'; } else { $priority1 = array( 'Do-It-Yourself marketing using our large, open repository of editable Ubuntu marketing materials.', 'Ubuntu marketing for human beings', 'Get', 'Make', 'Translate', 'Share', 'Download marketing materials others have shared', 'Tips, tricks, and suggestions for making Ubuntu marketing materials', 'Find an existing material and translate it to your language', 'Help others spread Ubuntu by sharing your marketing materials', 'Media', 'Poster', 'Brochure', 'Site Button', 'Website Button', 'Presentations', 'Packaging', 'Unusual', 'Purpose', 'Awareness', 'Release Party', 'Install Party', 'License', 'Derivative', 'Release', 'Source', 'Provide easily printable files for brochures and posters..', 'Print', 'Print File', 'Provide easily printable files for brochures and posters.', 'Image', 'An image to use as a preview thumbnail.', 'Top Rated', 'Popular', 'Recent', 'Random', 'About us', 'Top Rated Materials', 'Log out' ); $priority2 = array( 'authenticated user', 'Legal', 'What is this designed to be on?', 'What is it designed to help?', 'I will to specify a different license in the description to the right.', 'License specified above', 'Original Author', 'OS Version', 'Not Release Specific', 'Leave this blank if the material you are submitting is a translation or your original work.
The original author is the person who created the source of this material if it is a derivative.', 'I will to specify a different license in the description to the right.', 'Release this under Creative Commons Attribution-Share Alike 3.0', 'Enter the code without spaces and pay attention to upper/lower case.', 'Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.', 'Enter the code above', 'Sticker', 'T-Shirt', 'Enter the code depicted in ASCII art style.', 'Legal Disclaimer', 'Ubuntu and Canonical are registered trademarks of Canonical Ltd.', 'Source Extension' ); $priority3 = array( 'Community', 'More Ubuntu', 'Get Ubuntu', 'Ubuntu Brainstorm', 'Ubuntu Forums', 'Time Zone', 'Your time !adjustment hours', 'Same as your time', 'Browse...', 'This question is for testing whether you are a human visitor and to prevent automated spam submissions.', 'Maximum Filesize: %size', 'Allowed Extensions: %ext', 'Submit contribution', 'Change contribution', 'Subscriptions (@number)' ); function to_translate($list) { $to_translate_count = 0; $to_translate_total = 0; $output = ''; foreach ($list as $to_translate) { if ($to_translate == t($to_translate)) { $output .= $to_translate . '
'; $untranslated ++; } $to_translate_total ++; } $translated = $to_translate_total - $untranslated; print $output . '
'; $percent = $translated / $to_translate_total * 100; print ''; print '' . $translated . ' / ' . $to_translate_total . ' translations' .''; print '' . round($percent, 1) . ' %'; print '
'; } function translated($list) { print ' SourceTranslation'; foreach ($list as $translated) { if ($translated != t($translated)) { print '' . $translated . '' . t($translated) . ''; } } print ''; } print '

To Translate:

'; print '

Click "TRANSLATE TEXT" at the bottom left, and search for strings in these lists.

'; print '

First Priority

'; to_translate($priority1); print '

Second Priority

'; to_translate($priority2); print '

Third Priority

'; to_translate($priority3); print ''; ?> table.translated-strings td { padding: 0 0 0 5px !important; margin: 0 !important; border-bottom: 1px solid #EEE; } table.translated-strings tr { padding: 0 !important; margin: 0 !important; } <?php print '

Translated:

'; print '

Already translated strings are listed as well, to allow for enhancement.

To modify, click "TRANSLATE TEXT", and search for the translation of the string.'; print '

First Priority

'; translated($priority1); print '

Second Priority

'; translated($priority2); print '

Third Priority

'; translated($priority3); print '

If you notice any other strings, please file a bug on launchpad, telling us the strings and proposed priority.





'; } ?>