diff --git a/bin/androidxml2po.bash b/bin/androidxml2po.bash index 463d19f31..df7b2439e 100755 --- a/bin/androidxml2po.bash +++ b/bin/androidxml2po.bash @@ -42,7 +42,14 @@ res_lang=("ca" "cs" "de" "es" "fr" "id" "it" "ja" "ko" "nb" "nl" "pl" "pt" "ru" #Change the dirs where the files are located. launchpad_po_files_dir="translations" launchpad_pot_file_dir="translations" -android_xml_files_res_dir="astrid/res/values" + +folder="astrid" +if [ "$2" != "" ]; then + echo "Operating on folder $2" + folder="../$2" +fi +android_xml_files_res_dir="${folder}/res/values" + #Change the typical filenames. android_xml_filenames="strings" #Location of xml2po @@ -53,7 +60,7 @@ function import_po2xml { for resource_file in $android_xml_filenames; do echo "Concatenating strings into single XML" - ${catxml} "${android_xml_files_res_dir}"/"${resource_file}"-*.xml > "${launchpad_pot_file_dir}/${resource_file}".xml + ${catxml} "${android_xml_files_res_dir}"/"${resource_file}"*.xml > "${launchpad_pot_file_dir}/${resource_file}".xml echo "Importing .xml from .pot: $resource_file" for (( i=0 ; i<${#po_lang[*]} ; i=i+1 )); do echo " Importing .xml from .po for "${resource_file}-${po_lang[i]}"" @@ -69,7 +76,7 @@ function export_xml2po { for resource_file in $android_xml_filenames; do echo "Concatenating strings into single XML" - ${catxml} "${android_xml_files_res_dir}"/"${resource_file}"-*.xml > "${launchpad_pot_file_dir}/${resource_file}".xml + ${catxml} "${android_xml_files_res_dir}"/"${resource_file}"-*.xml ../astridApi/res/values/${resource_file}*.xml > "${launchpad_pot_file_dir}/${resource_file}".xml echo "Exporting .xml to .pot: $resource_file" ${xml2po} -a -l en -o \ "${launchpad_pot_file_dir}/${resource_file}".pot \ diff --git a/translations/strings.xml b/translations/strings.xml deleted file mode 100644 index 6446ab76c..000000000 --- a/translations/strings.xml +++ /dev/null @@ -1,1428 +0,0 @@ - - - - - - - - Alarms - - - Add an Alarm - - - Alarm %s - - - - Alarm! - - - - - - - - - - - - - Backups - - - Status - - - Latest: %s - - Last Backup Failed - - (tap to show error) - - Never Backed Up! - - - Options - - - Automatic Backups - - Automatic Backups Disabled - - Backup will occur daily - - - How do I restore backups? - - You need to add the Astrid Power Pack to manage and restore your backups. As a favor, Astrid also automatically backs up your tasks, just in case. - - - - - Backups - - - Manage Your Backups - - - Import Tasks - - - Export Tasks - - - - - Import Error - - Backed Up %s to %s. - - - Exporting... - - - Restore Summary - - - -File %s contained %s.\n\n -%s imported,\n -%s already exist\n -%s had errors\n - - - - Importing... - - - Reading task %d... - - - Could not find this item: - - - Cannot access folder: %s - - - Cannot access your SD card! - - - Select a File to Restore - - - - - - - - - - Astrid Tasks - - - Astrid Permission - - - read tasks, display task filters - - - Astrid Permission - - - create new tasks, edit existing tasks - - - - - - 1 Year - - %d Years - - - - 1 Month - - %d Months - - - - 1 Week - - %d Weeks - - - - 1 Day - - %d Days - - - - 1 Hour - - %d Hours - - - - 1 Minute - - %d Minutes - - - - 1 Second - - %d Seconds - - - - 1 Hr - - %d Hrs - - - - 1 Min - - %d Min - - - - 1 Sec - - %d Sec - - - - 1 task - - %d tasks - - - - - - Confirm? - - - Question: - - - Information - - - Yes - - - No - - - Close - - - Oops, looks like some trouble occurred! Here\'s what happened:\n\n%s - - - Delete this task? - - - Delete this item: %s? - - - Done - - - Cancel - - - Please wait... - - - Upgrading your tasks... - - - Time (hours : minutes) - - - Astrid should to be updated to the latest - version in the Android market! Please do that before continuing, or wait a - few seconds. - - - Go To Market - - - - - Click To Set - - - $D $T - - - Disable - - - - - No Tasks! - - - Add-ons - - - Sort & Hidden - - - Settings - - - Help - - - Search This List - - - Custom - - - Add to this list... - - -

Help: Task Listing

-bar at the top: shows the name of this filter, and a button to go back -to your list of filters. -

-middle: shows all your tasks. -

-bottom: quick add tasks. left button: add straight to the list. right -button: add task & go to the edit page. - ]]> - - - - - %s [hidden] - - - %s [deleted] - - - - - - Finished %s - - - Edit - - - Edit Task - - - Delete Task - - - Undelete Task - - - - - Sorting and Hidden Tasks - - - Show Completed Tasks - - - Show Hidden Tasks - - - Show Deleted Tasks - - - Sort Options - - - Astrid Smart Sort - - - By Title - - - By Due Date - - - By Importance - - - By Last Modified - - - Reverse Sort - - - Just Once - - - Always - - - - - Astrid: Filters - - - Loading Filters... - - - Create Shortcut On Desktop - - - Search Tasks... - - - Help - - - Create Shortcut - - - Name of shortcut: - - - Search For Tasks - - - Matching \'%s\' - - -

Help: Filters Page

-

On the Filters page you can see all of the filters that you can use to -organize your tasks. Some Astrid Add-ons will add new filters to this -list. -

-You can turn any filter into a shortcut on your desktop by long-pressing -to bring up the context menu, then selecting "Create Shortcut". Other options -that are displayed will depend on the particular plugins that you -are using. -

-If you are having trouble with a particular plugin, please report errors -to the plugin creator for fastest service. -

- ]]>
- - - Created Shortcut: %s - - - - - Astrid: Editing \'%s\' - - - Astrid: New Task - - - Basic - - - Advanced - - - Add-ons - - - Title - - - Task Summary - - - Importance - - - Deadline - - - Due at specific time? - - - No Due Time - - - Hide Until - - - Notes - - - Enter Task Notes... - - - How Long Will it Take? - - - Time Already Spent on Task - - - Save Changes - - - Don\'t Save - - - Delete Task - - - Task Saved: due in %s - - - Task Saved: due %s ago - - - Task Saved - - - Task Editing Was Canceled - - - Task Deleted! - - - - Specific Day/Time - Today - Tomorrow - (day after) - Next Week - No Deadline - - - - - Don\'t hide - Task is due - Day before due - Week before due - Specific Day - - - - No Add-ons Found! - - - Get Some Add-ons - - - - - Welcome to Astrid! - - - I Agree!! - - - I Disagree - - - - - Get Support - - - - - What\'s New In Astrid? - - - - - Astrid: Preferences - - - Appearance - - - Task List Size - - Font size on the main listing page - - - Show Notes In Task - - Notes will be displayed when you tap a task - - Notes will always displayed - - - New Task Defaults - - - Default Urgency - - Currently Set To: %s - - - Default Importance - - Currently Set To: %s - - - Default Hide Until - - Currently Set To: %s - - - - !!!! (Highest) - !!! - !! - ! (Lowest) - - - - - No Deadline - Today - Tomorrow - Day After Tomorrow - Next Week - - - - - Don\'t hide - Task is due - Day before due - Week before due - - - - - - Astrid: Add Ons - - - Astrid Team - - - Installed - - - Available - - - Free - - - Visit Website - - - Android Market - - - - - Synchronizing your tasks... - - - Synchronizing... - - - - - Loading... - - - Select tasks to view... - - - - - -It looks like you are using an app that can kill processes (%s)! If you can, -add Astrid to the exclusion list so it doesn\'t get killed. Otherwise, -Astrid might not let you know when your tasks are due.\n - - - - I Won\'t Kill Astrid! - - - Astrid Task/Todo List - - - -Astrid is the much loved open-source todo list / task manager designed to help -you get stuff done. It features reminders, tags, sync, Locale plug-in, a widget and more. - - - - - - - - - - - - - Active Tasks - - - Search... - - - Recently Modified - - - Custom Filter... - - - Saved Filters - - - Delete Filter - - - - - Custom Filter - - - Name this filter to save it... - - - Copy of %s - - - Active Tasks - - - or - - - not - - - also - - - Chaining: %s - - - Delete Row - - - This screen lets you create a new filters. Add - criteria using the button below, short or long-press them to adjust, and - then click \"View\"! - - - Add Criteria - - - View - - - Save & View - - - - - Due By: ? - - Due By... - - - No Due Date - Yesterday - Today - Tomorrow - Day After Tomorrow - Next Week - - - - Importance at least ? - - Importance... - - - Tagged: ? - - Tagged... - - - - - - - - - - - - Error adding task to calendar! - - - Calendar Integration: - - - Create Calendar Event - - - Open Calendar Event - - - Error opening event! - - - - - %s (completed) - - - Default Calendar - - - - - - - - - - - Astrid Filter Alert - - - Astrid will send you a reminder - when you have any tasks in the following filter: - - - Filter: - - - Limit notifications to: - - - - once an hour - once every six hours - once every twelve hours - once a day - once every three days - once a week - - - - You have $NUM matching: $FILTER - - - Please install the Astrid Locale plugin! - - - - - - - - - - Producteev - - - Workspaces - - - Assigned To - - - Assigned To \'%s\' - - - - - Producteev - - - Default Workspace - - - Do Not Synchronize - - - Default Workspace - - - New tasks will be added to: %s - - - New tasks will not be synchronized by default - - - - - Log In to Producteev - - - Sign in with your existing - Producteev account, or create a new account! - - - Terms & Conditions - - - Sign In - - - Create New User - - - E-mail - - - Password - - - Confirm Password - - - First Name - - - Last Name - - - Error: fill out all fields! - - - Error: passwords don\'t match! - - - Error: e-mail or password incorrect! - - - - - Astrid: Producteev - - - Connection Error! Check your Internet connection. - - - E-Mail was not specified! - - - Password was not specified! - - - - - Assign this task to this person: - - - <Unassigned> - - - Assign this task to this workspace: - - - <Default> - - - - - - - - - - - Remind me... - - - ... when task is due - - - ... when task is overdue - - - ... randomly once - - - Ring/Vibrate Type: - - - Ring Once - - - Ring Until I Dismiss Alarm - - - - an hour - a day - a week - in two weeks - a month - in two months - - - - - - Reminder! - - - Snooze... - - - Go Away! - - - - - Reminder Settings - - - Quiet Hours Start - - No notifications will appear after %s - - Quiet hours is disabled - - - Quiet Hours End - - Notifications will begin appearing starting at %s - - - Notification Ringtone - - Custom ringtone has been set - - Ringtone set to silent - - Default ringtone will be used - - - Notification Persistence - - Notifications must be viewed individually to be cleared - - Notifications can be cleared with \"Clear All\" button - - - Notification Icon Set - - Choose Astrid\'s notification bar icon - - - Vibrate on Alert - - Astrid will vibrate when sending notifications - - Astrid will not vibrate when sending notifications - - - Astrid Reminders - - Astrid will show up to give you an encouragement during reminders - - Astrid not give you any encouragement messages - - - Random Reminders - - New tasks will have no random reminders - - New tasks will remind randomly: %s - - - New Task Defaults - - - - disabled - hourly - daily - weekly - bi-weekly - monthly - bi-monthly - - - - - disabled - 8 PM - 9 PM - 10 PM - 11 PM - 12 AM - 1 AM - 2 AM - 3 AM - 4 AM - 5 AM - 6 AM - 7 AM - 8 AM - 9 AM - 10 AM - 11 AM - 12 PM - 1 PM - 2 PM - 3 PM - 4 PM - 5 PM - 6 PM - 7 PM - - - - - 9 AM - 10 AM - 11 AM - 12 PM - 1 PM - 2 PM - 3 PM - 4 PM - 5 PM - 6 PM - 7 PM - 8 PM - 9 PM - 10 PM - 11 PM - 12 AM - 1 AM - 2 AM - 3 AM - 4 AM - 5 AM - 6 AM - 7 AM - 8 AM - - - - - - - Hi there! Have a sec? - Can I see you for a sec? - Have a few minutes? - Did you forget? - Excuse me! - When you have a minute: - On your agenda: - Free for a moment? - Astrid here! - Hi! Can I bug you? - A minute of your time? - It\'s a great day to - - - - - Time to work! - Due date is here! - Ready to start? - You said you would do: - You\'re supposed to start: - Time to start: - It\'s time! - Excuse me! Time for - You free? Time to - - - - - Don\'t be lazy now! - Snooze time is up! - No more snoozing! - Now are you ready? - No more postponing! - - - - - I\'ve got something for you! - Ready to put this in the past? - Why don\'t you get this done? - How about it? Ready tiger? - Ready to do this? - Can you handle this? - You can be happy! Just finish this! - I promise you\'ll feel better if you finish this! - Won\'t you do this today? - Please finish this, I\'m sick of it! - Can you finish this? Yes you can! - Are you ever going to do this? - Feel good about yourself! Let\'s go! - I\'m so proud of you! Lets get it done! - A little snack after you finish this? - Just this one task? Please? - Time to shorten your todo list! - - - - - Please tell me it isn\'t true that you\'re a procrastinator! - Doesn\'t being lazy get old sometimes? - Somewhere, someone is depending on you to finish this! - When you said postpone, you really meant \'I\'m doing this\', right? - This is the last time you postpone this, right? - Just finish this today, I won\'t tell anyone! - Why postpone when you can um... not postpone! - You\'ll finish this eventually, I presume? - I think you\'re really great! How about not putting this off? - Will you be able to achieve your goals if you do that? - Postpone, postpone, postpone. When will you change! - I\'ve had enough with your excuses! Just do it already! - Didn\'t you make that excuse last time? - I can\'t help you organize your life if you do that... - - - - - - - - - - - Repeating Tasks - - - Allows tasks to repeat - - - Repeats - - - Every %d - - - Repeat Interval - - - - Day(s) - Week(s) - Month(s) - Hour(s) - - - - - from due date - from completion date - - - - $I on $D - - - Every %s - - - %s after completion - - - - - - - - - - Remember the Milk Settings - - - RTM Repeating Task - - - Needs synchronization with RTM - - - Remember the Milk - - - Lists - - - RTM List \'%s\' - - - - - Remember the Milk - - - RTM List: - - - RTM Repeat Status: - - - i.e. every week, after 14 days - - - - - Remember the Milk - - - - - Status - - - Not Logged In! - - Sync Ongoing... - - Last Sync: %s - - Failed On: %s - - Last Successful Sync: %s - - Never Synchronized! - - - Options - - - Background Sync - - Background synchronization is disabled - - Currently set to: %s - - - Wifi Only Setting - - Background synchronization only happens when on Wifi - - Background synchronization will always occur - - - Actions - - - Synchronize Now! - - Log In & Synchronize! - - - Log Out - - Clears all synchronization data - - - Log out / clear synchronization data? - - - - disable - every fifteen minutes - every thirty minutes - every hour - every three hours - every six hours - every twelve hours - every day - every three days - every week - - - - - - Please Log In and Authorize Astrid: - - - -Sorry, there was an error verifying your login. Please try again. -\n\n -Error Message: %s - - - - - - Astrid: Remember the Milk - - - Connection Error! Check your Internet connection, - or maybe RTM servers (status.rememberthemilk.com), for possible solutions. - - - - - - - - - - - - - Tags: - - - Tag Name - - - Select a tag - - - - - Tags - - - Sorted By Size - - - Untagged - - - Tagged \'%s\' - - - - - - - - - - Start Timer - - - Stop Timer - - - Timers Active for %s! - - - Timer Filters - - - Tasks Being Timed - - -