~jeremywootten/pantheon-files/vala-icon-renderer

« back to all changes in this revision

Viewing changes to libcore/SoundManager.vala

  • Committer: Cody Garver
  • Author(s): Corentin Noël
  • Date: 2016-06-27 22:42:49 UTC
  • mfrom: (2218.1.1 pantheon-files)
  • Revision ID: cody@elementary.io-20160627224249-2g3lxx3ltr6nn4yq
Fix for translation in the About dialog, and generally better translation support within the app by taking in account all the locales the user has configured

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
            ca_context = null;
39
39
            Canberra.Context.create (out ca_context);
40
40
            if (ca_context != null) {
41
 
                ca_context.change_props (Canberra.PROP_APPLICATION_NAME, PF.Sound.APP_TITLE,
 
41
                ca_context.change_props (Canberra.PROP_APPLICATION_NAME, _(PF.Sound.APP_TITLE),
42
42
                                         Canberra.PROP_APPLICATION_ID, PF.Sound.APP_ID,
43
43
                                         Canberra.PROP_APPLICATION_ICON_NAME, PF.Sound.APP_LOGO);
44
44
                ca_context.open ();