Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- === modified file 'cmake/Translations.cmake'
- --- cmake/Translations.cmake 2012-09-22 19:00:59 +0000
- +++ cmake/Translations.cmake 2014-06-22 18:38:55 +0000
- @@ -35,7 +35,7 @@
- endforeach()
- add_custom_command (TARGET pot COMMAND
- - ${XGETTEXT_EXECUTABLE} -d ${NLS_PACKAGE} -o ${CMAKE_CURRENT_SOURCE_DIR}/${NLS_PACKAGE}.pot
- + ${XGETTEXT_EXECUTABLE} -c -d ${NLS_PACKAGE} -o ${CMAKE_CURRENT_SOURCE_DIR}/${NLS_PACKAGE}.pot
- ${VALA_SOURCE} ${C_SOURCE} --keyword="_" --from-code=UTF-8
- )
- endmacro()
- === modified file 'src/Plug.vala'
- --- src/Plug.vala 2014-06-22 10:29:49 +0000
- +++ src/Plug.vala 2014-06-22 18:36:59 +0000
- @@ -272,6 +272,8 @@
- Granite.Widgets.Utils.apply_text_style_to_label (Granite.TextStyle.TITLE, title);
- title.set_alignment (0, 0);
- + // make sure to keep all three %s in the string, otherwise switchboard will crash!
- + // the first %s will be replaced by the version, the second by the codename and the third by the arch
- var version = new Gtk.Label (_("Version: %s \"%s\" ( %s )").printf(version, codename, arch));
- version.set_alignment (0, 0);
- version.set_selectable (true);
- @@ -452,4 +454,4 @@
- debug ("Activating About plug");
- var plug = new About.Plug ();
- return plug;
- -}
- \ No newline at end of file
- +}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement