Skip to content

Commit

Permalink
Merge pull request #10 from naxa-developers/enhancement/6078-ohsomeNo…
Browse files Browse the repository at this point in the history
…w-myContributions

Enhancement/6078 ohsome now my contributions
  • Loading branch information
mahesh-naxa authored Oct 12, 2023
2 parents 0c62f47 + de8bfc3 commit 2117e41
Show file tree
Hide file tree
Showing 4 changed files with 1,690 additions and 1,817 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/statsTimestamp/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ export default defineMessages({
project: {
id: 'stats.ohsome.timestamp.project',
defaultMessage:
'These stats were retrieved using the default changeset comment of the project and were last updated at {formattedDate}',
'These stats were retrieved using the default changeset comment of the project and were last updated at {formattedDate} ({timeZone}).',
},
});
4 changes: 2 additions & 2 deletions frontend/src/components/userDetail/elementsMapped.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ export const ElementsMapped = ({ userStats, osmStats }) => {
<StatsCard
icon={<MarkerIcon className={iconClass} style={iconStyle} />}
description={<FormattedMessage {...messages.poiMapped} />}
value={osmStats.total_poi_count_add || 0}
value={osmStats.total_poi_count_add || '-'}
/>
<StatsCard
icon={<WavesIcon className={iconClass} style={iconStyle} />}
description={<FormattedMessage {...messages.waterwaysMapped} />}
value={osmStats.total_waterway_km_add || 0}
value={osmStats.total_waterway_km_add || '-'}
/>
</div>
<div className="cf w-100 relative tr pt3 pr3">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@
"project.stats.changesets": "Changesets",
"project.stats.edits": "Edits",
"stats.ohsome.timestamp.generic": "These statistics come from ohsomeNow Stats and were last updated at {formattedDate} ({timeZone}). Missing fields will be made available soon!",
"stats.ohsome.timestamp.project": "These stats were retrieved using the default changeset comment of the project and were last updated at {formattedDate} ({timeZone})",
"stats.ohsome.timestamp.project": "These stats were retrieved using the default changeset comment of the project and were last updated at {formattedDate} ({timeZone}).",
"project.tasks.unsaved_map_changes.title": "You have some unsaved map changes",
"project.tasks.unsaved_map_changes.split": "Save or undo it to be able to split the task",
"project.tasks.unsaved_map_changes.unlock": "Save or undo it to be able to select another task",
Expand Down
Loading

0 comments on commit 2117e41

Please sign in to comment.