[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [libosinfo] Translate all (potentially) user visible strings



On Tue, Oct 30, 2012 at 10:19 AM, Michal Privoznik <mprivozn redhat com> wrote:
> On 30.10.2012 03:50, Zeeshan Ali (Khattak) wrote:
>> From: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>
>>
>> Make some strings more translator-friendly at the same time.
>> ---
>>  osinfo/osinfo_deployment.c           |  5 ++-
>>  osinfo/osinfo_devicelink.c           |  3 +-
>>  osinfo/osinfo_devicelinkfilter.c     |  3 +-
>>  osinfo/osinfo_entity.c               |  3 +-
>>  osinfo/osinfo_install_config_param.c |  5 ++-
>>  osinfo/osinfo_install_script.c       | 43 ++++++++++----------
>>  osinfo/osinfo_list.c                 |  3 +-
>>  osinfo/osinfo_loader.c               | 30 +++++++-------
>>  osinfo/osinfo_media.c                | 41 ++++++++++---------
>>  osinfo/osinfo_os.c                   |  5 ++-
>>  osinfo/osinfo_product.c              | 13 +++---
>>  osinfo/osinfo_resources.c            | 11 ++---
>>  osinfo/osinfo_tree.c                 | 23 ++++++-----
>>  po/POTFILES.in                       | 18 ++++++++
>>  tools/osinfo-db-validate.c           | 24 ++++++-----
>>  tools/osinfo-detect.c                | 35 ++++++++--------
>>  tools/osinfo-install-script.c        | 22 +++++-----
>>  tools/osinfo-query.c                 | 79 ++++++++++++++++++------------------
>>  18 files changed, 200 insertions(+), 166 deletions(-)
>>
>> diff --git a/osinfo/osinfo_deployment.c b/osinfo/osinfo_deployment.c
>> index 709c8c6..d69fd81 100644
>> --- a/osinfo/osinfo_deployment.c
>> +++ b/osinfo/osinfo_deployment.c
>> @@ -25,6 +25,7 @@
>>  #include <config.h>
>>
>>  #include <osinfo/osinfo.h>
>> +#include <glib/gi18n-lib.h>
>
> One more thing, maybe the right time has come to introduce internal.h
> file which would carry all of these common #include-s. For now, it
> doesn't offer much trade off, I know. But it will in the future.

Yeah, I was thinking of that too.

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]