Skip to content

genstrings fails on GHIntervalLocalize #3

@benlachman

Description

@benlachman

Genstrings fails with the error:

"Bad entry in file ./Categories/GHNSString+TimeInterval.m (line = 35): Argument is not a literal string."

I'm assuming that because

define GHIntervalLocalize(key, defaultValue) NSLocalizedStringWithDefaultValue(key, tableName, bundle, defaultValue, nil)

doesn't actually define tableName or bundle anywhere. However changing the last bit to:

NSLocalizedStringWithDefaultValue(key, nil, [NSBundle mainBundle], defaultValue, nil)

doesn't actually help.

Any thoughts?

Thanks for the very useful categories!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions