forked from organicmaps/organicmaps
[android] fix string in whats new.
This commit is contained in:
parent
4921a15d85
commit
02af66e57e
2 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
</integer-array>
|
||||
|
||||
<string-array name="news_title_keys">
|
||||
<item>whatsnew_lp_integration_title</item>
|
||||
<item>whatsnew_lp_title</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="news_messages_1">
|
||||
|
|
|
@ -267,12 +267,14 @@ public class BookmarkCategory implements Parcelable
|
|||
return 0;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static String getRepresentation(@NonNull Context context, @NonNull Author author)
|
||||
{
|
||||
Resources res = context.getResources();
|
||||
return String.format(res.getString(R.string.author_name_by_prefix), author.getName());
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static String getContentByString(@NonNull Context context, @NonNull Author author)
|
||||
{
|
||||
Resources res = context.getResources();
|
||||
|
|
Loading…
Add table
Reference in a new issue