diff --git a/app/res/values/strings.xml b/app/res/values/strings.xml index 79f3f4b014..88779de3c1 100644 --- a/app/res/values/strings.xml +++ b/app/res/values/strings.xml @@ -600,6 +600,8 @@ Completed %d visits %d days remaining%s + Opportunity + from %s Learning @@ -628,6 +630,7 @@ Training Failed Complete Project by %s + Learning Progress You have completed %d of %d lessons.\nFinish learning to earn your certificate. You haven\'t completed any lessons.\nStart learning to earn your certificate. You have earned a certificate for this job and are eligible to claim the job and begin delivering care.\nYour score: %d\nPassing score: %d @@ -820,6 +823,7 @@ save + Opportunity Details Delivery Details Review the delivery details %d maximum Visits @@ -830,6 +834,7 @@ Download Delivery Download + Delivery Progress Progress Payment You haven’t completed any lessons. Start learning to earn your certificate. diff --git a/app/src/org/commcare/fragments/connect/ConnectDeliveryDetailsFragment.java b/app/src/org/commcare/fragments/connect/ConnectDeliveryDetailsFragment.java index dd89d7ca3b..3c53be0818 100644 --- a/app/src/org/commcare/fragments/connect/ConnectDeliveryDetailsFragment.java +++ b/app/src/org/commcare/fragments/connect/ConnectDeliveryDetailsFragment.java @@ -51,7 +51,7 @@ public void onCreate(Bundle savedInstanceState) { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { ConnectJobRecord job = ConnectManager.getActiveJob(); - getActivity().setTitle(job.getTitle()); + getActivity().setTitle(getString(R.string.connect_job_info_title)); View view = inflater.inflate(R.layout.fragment_connect_delivery_details, container, false); diff --git a/app/src/org/commcare/fragments/connect/ConnectDeliveryProgressFragment.java b/app/src/org/commcare/fragments/connect/ConnectDeliveryProgressFragment.java index b2d7189cb0..39be4e98f1 100644 --- a/app/src/org/commcare/fragments/connect/ConnectDeliveryProgressFragment.java +++ b/app/src/org/commcare/fragments/connect/ConnectDeliveryProgressFragment.java @@ -64,7 +64,7 @@ public void onCreate(Bundle savedInstanceState) { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { ConnectJobRecord job = ConnectManager.getActiveJob(); - getActivity().setTitle(job.getTitle()); + getActivity().setTitle(getString(R.string.connect_delivery_progress_title)); if (getArguments() != null) { showLearningLaunch = getArguments().getBoolean("showLaunch", true); diff --git a/app/src/org/commcare/fragments/connect/ConnectJobIntroFragment.java b/app/src/org/commcare/fragments/connect/ConnectJobIntroFragment.java index ad13aa8582..42e7f12ae0 100644 --- a/app/src/org/commcare/fragments/connect/ConnectJobIntroFragment.java +++ b/app/src/org/commcare/fragments/connect/ConnectJobIntroFragment.java @@ -55,7 +55,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { ConnectJobRecord job = ConnectManager.getActiveJob(); - getActivity().setTitle(job.getTitle()); + getActivity().setTitle(getString(R.string.connect_job_intro_title)); View view = inflater.inflate(R.layout.fragment_connect_job_intro, container, false); diff --git a/app/src/org/commcare/fragments/connect/ConnectLearningProgressFragment.java b/app/src/org/commcare/fragments/connect/ConnectLearningProgressFragment.java index d04ced207b..03afd6e252 100644 --- a/app/src/org/commcare/fragments/connect/ConnectLearningProgressFragment.java +++ b/app/src/org/commcare/fragments/connect/ConnectLearningProgressFragment.java @@ -50,7 +50,7 @@ public void onCreate(Bundle savedInstanceState) { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { ConnectJobRecord job = ConnectManager.getActiveJob(); - getActivity().setTitle(job.getTitle()); + getActivity().setTitle(getString(R.string.connect_learn_title)); if(getArguments() != null) { showAppLaunch = getArguments().getBoolean("showLaunch", true); diff --git a/app/src/org/commcare/fragments/connectId/ConnectIDSignupFragment.java b/app/src/org/commcare/fragments/connectId/ConnectIDSignupFragment.java index d3c3ea82f9..b10904b4c4 100644 --- a/app/src/org/commcare/fragments/connectId/ConnectIDSignupFragment.java +++ b/app/src/org/commcare/fragments/connectId/ConnectIDSignupFragment.java @@ -148,7 +148,7 @@ public void afterTextChanged(Editable s) { displayNumber(existingPhone); } - getActivity().setTitle("ConnectID Signup"); + getActivity().setTitle(getString(R.string.connect_registration_title)); return view; }