← Back to team overview

deja-dup-team team mailing list archive

[Merge] ~vej/deja-dup:improveTranslatorComments into deja-dup:HEAD

 

Vej has proposed merging ~vej/deja-dup:improveTranslatorComments into deja-dup:HEAD.

Requested reviews:
  Michael Terry (mterry)

For more details, see:
https://code.launchpad.net/~vej/deja-dup/+git/deja-dup/+merge/328955

While suggesting translations for German I encountered a few strings which were not clear to me. After looking them up in the code to find out their meaning I added these comments to help others with their translation tasks.
-- 
Your team Déjà Dup Maintainers is subscribed to branch deja-dup:HEAD.
diff --git a/deja-dup/widgets/ConfigLocationCustom.vala b/deja-dup/widgets/ConfigLocationCustom.vala
index 6af0577..6df9ba7 100644
--- a/deja-dup/widgets/ConfigLocationCustom.vala
+++ b/deja-dup/widgets/ConfigLocationCustom.vala
@@ -38,6 +38,7 @@ public class ConfigLocationCustom : ConfigLocationTable
     var hint = new Gtk.Grid();
     hint.row_spacing = 6;
 
+    // Translators: This is followed by a list of valid adresses (smb://gnome.org, ssh://192.168.0.1, ftp://[2001:db8::1])
     add_label(hint, 0, row++, 2, 1, _("Server addresses are made up of a protocol prefix and an address. Examples:"));
 
     add_label(hint, 0, row++, 2, 1, "smb://gnome.org, ssh://192.168.0.1, ftp://[2001:db8::1]";);
diff --git a/deja-dup/widgets/ConfigLocationGCS.vala b/deja-dup/widgets/ConfigLocationGCS.vala
index 6e26328..832b128 100644
--- a/deja-dup/widgets/ConfigLocationGCS.vala
+++ b/deja-dup/widgets/ConfigLocationGCS.vala
@@ -31,6 +31,8 @@ public class ConfigLocationGCS : ConfigLocationTable
     // Translators: GCS is Google Cloud Services
     add_widget(_("GCS Access Key I_D"),
                new ConfigEntry(DejaDup.GCS_ID_KEY, DejaDup.GCS_ROOT));
+    // Translators: "Bucket" refers to a term used by Google Cloud Services
+    // see https://cloud.google.com/storage/docs/key-terms#bucket
     add_widget(_("_Bucket"),
                new ConfigEntry(DejaDup.GCS_BUCKET_KEY, DejaDup.GCS_ROOT));
     add_widget(_("_Folder"),
diff --git a/libdeja/BackendGOA.vala b/libdeja/BackendGOA.vala
index c8da38c..df3f2f8 100644
--- a/libdeja/BackendGOA.vala
+++ b/libdeja/BackendGOA.vala
@@ -137,8 +137,10 @@ public class BackendGOA : BackendRemote
       var provider = Goa.Provider.get_for_provider_type(type);
 
       var msg = _("Waiting for Online Accounts to be configured in your backup settings…");
-      if (provider != null)
+      if (provider != null){
+        // Translators: %s is the name of the provider inside of GNOME Online Accounts
         msg = _("Waiting for %s to be configured in your backup settings…").printf(provider.get_provider_name(null));
+      }
 
       pause_op(_("Storage location not available"), msg);
       var loop = new MainLoop(null, false);

Follow ups