From: The Android Open Source Project Date: Fri, 13 Feb 2009 20:57:53 +0000 (-0800) Subject: auto import from //branches/cupcake/...@131421 X-Git-Tag: android-x86-2.2~251 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1a472c136ca46ee01bc27270682ea7a4952cafa7;p=android-x86%2Fpackages-apps-Calendar.git auto import from //branches/cupcake/...@131421 --- diff --git a/res/values-en-rGB/strings.xml b/res/values-en-rGB/strings.xml deleted file mode 100644 index 5141fd7..0000000 --- a/res/values-en-rGB/strings.xml +++ /dev/null @@ -1,105 +0,0 @@ - - - "Calendar" - - - "What" - "When" - "Where" - "Repeats" - "(No subject)" - - - - - - - - - "Agenda" - "Day" - "Week" - "Month" - "View event" - "New event" - "Edit event" - "Delete event" - "Today" - "My calendars" - "Settings" - "(plus %d more …)" - "My calendars" - "Add calendars" - "Remove calendars" - "Event details" - "Event name" - "Event location" - "Event description" - - - - - - - - - "When:" - "Where:" - "(%s more reminder)" - "(%s more reminders)" - "View event" - "Meeting invitation" - "Add reminder" - "To" - "From" - "All day" - "Calendar" - "Show extra options" - "Hide extra options" - "Description" - "Presence" - "Privacy" - "Reminders" - - - - - "Calendar" - "Local time zone" - "Attending?" - "Today" - "Num events" - "Edit event" - "Delete" - "Delete event" - "Save" - "Discard changes" - "Import" - "Snooze all" - "Dismiss all" - "Does not repeat" - "Daily" - "Every weekday (Mon–Fri)" - "Weekly (every %s)" - "Monthly (every %1$s %2$s)" - "Monthly (on day %s)" - "Yearly (on %s)" - "Custom… (cannot customise on phone)" - "Change only this event." - "Change all events in the series." - "Change this and all future events." - "This event will be deleted." - "Delete" - "Settings" - "Calendar view setting" - "Reminder settings" - "Hide declined events" - "Set alerts & notifications" - "Set reminder" - "Vibrate" - "Select ringtone" - "Set default reminder" - "Set default reminder" - "10" - diff --git a/res/values-nb/strings.xml b/res/values-nb/strings.xml index f5a1ab7..ceeee31 100644 --- a/res/values-nb/strings.xml +++ b/res/values-nb/strings.xml @@ -38,10 +38,8 @@ "En dag" "%d dager" - - - - + "Vis agenda" + "Vis dag" "Agenda" "Dag" "Uke" @@ -111,8 +109,7 @@ "Endre denne og alle framtidige hendelser." "Denne hendelsen vil bli slettet." "Slett" - - + "Endre svar" "Innstillinger" "Kalender visningsinnstilling" "Innstillinger for påminnelser" @@ -124,16 +121,13 @@ "Sett standard påminnelse" "Standard påminnelsestid" "10" - - - - - - - - - - - - + "Kalender:" + "Nå: %s" + "Neste: %s" + "Senere: %s" + + "En hendelse til" + "%d hendelser til" + + "Ingen kommende kalenderhendelser" diff --git a/src/com/android/calendar/CalendarGadgetProvider.java b/src/com/android/calendar/CalendarGadgetProvider.java index 86213fe..efe939b 100644 --- a/src/com/android/calendar/CalendarGadgetProvider.java +++ b/src/com/android/calendar/CalendarGadgetProvider.java @@ -92,12 +92,12 @@ public class CalendarGadgetProvider extends BroadcastReceiver { public void onReceive(Context context, Intent intent) { String action = intent.getAction(); - if (GadgetManager.GADGET_ENABLED_ACTION.equals(action)) { + if (GadgetManager.ACTION_GADGET_ENABLED.equals(action)) { if (LOGD) Log.d(TAG, "ENABLED"); - } else if (GadgetManager.GADGET_DISABLED_ACTION.equals(action)) { + } else if (GadgetManager.ACTION_GADGET_DISABLED.equals(action)) { if (LOGD) Log.d(TAG, "DISABLED"); // TODO: remove all alarmmanager subscriptions? - } else if (GadgetManager.GADGET_UPDATE_ACTION.equals(action)) { + } else if (GadgetManager.ACTION_GADGET_UPDATE.equals(action)) { if (LOGD) Log.d(TAG, "UPDATE"); // Update specific gadgets @@ -169,7 +169,7 @@ public class CalendarGadgetProvider extends BroadcastReceiver { // Schedule an alarm to wake ourselves up for the next update. We also cancel // all existing wake-ups because PendingIntents don't match against extras. - Intent updateIntent = new Intent(GadgetManager.GADGET_UPDATE_ACTION); + Intent updateIntent = new Intent(GadgetManager.ACTION_GADGET_UPDATE); PendingIntent pendingUpdate = PendingIntent.getBroadcast(context, 0 /* no requestCode */, updateIntent, 0 /* no flags */);